@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #0b4c52;
    --link-color: #80999b;
    --linkhover-color: #556e70;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid var(--base-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
}

.dashed-border-bottom{
    border-bottom: 2px #a0a0a0 dashed;
}

/*通常テキスト文章
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    padding: 0 1.2em 0.2em;
    background: linear-gradient(transparent 50%, #e8f3cd 50%);
}

.center {
	text-align: center;
	margin-bottom: 4rem;
}

.radius-link {
    font-size: 2.5rem;
    background: #5a8d99;
    padding: 1.0rem;
    color: #ffffff;
    border-radius: 0.5rem;
    margin: 2rem 2rem;
}
.radius-link a { 
    color: #ffffff;
    margin: 1.2rem 1rem;
}
.radius-link a:hover { 
    color: #dfebed;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
    padding-bottom: 0.2rem;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
    color: var(--white-color);
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* ページ位置（パンくずリスト）
-------------------------------------*/
#page-location {
    padding: 1rem 2rem;
}
#page-location a {
	display: unset;
}



/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}

}

/*SNSシェアボタン
-------------------------------------*/
p.sns-share-section>a {
  border: 1px solid;
  padding: 1.2rem 1rem;
  border-radius: 0.5rem;
  margin: 0rem 1rem;
}

a.my-bluesky-share-button {
  color: #227fd7;
  background-color: #e2f1ff;
}

a.my-twitter-share-button {
  color: #677075;
  background-color: #ededed;
}

a.my-wavebox-share-button {
  color: #7140ff;
  background-color: #f3efff;
}

a.my-marshmallow-share-button {
  color: #f3969a;
  background-color: #ffeded;
}

/* 各種コンテンツの項目装飾
-------------------------------------*/
.contents-title {
    background-color: #3e5a54;
    color :#fff;
    padding: 1em 2em;
    margin:  2rem 0 1rem;
    font-weight: bold;
    font-size: 2.0rem;
}

.contents-title-correct {
    background-color:#a8c8ce;
    padding: 1em 2em;
    margin:  2rem 0 1rem;
}
.contents-text {
    margin: 1rem 4rem;
}

.contents-title-1 {
    background-color: #deb643;
    color: #ffffff;
}

.contents-title-2 {
    background-color: #fa9789;
    color: #ffffff;
}

.contents-title-3 {
    background-color: #89c0fa;
    color: #ffffff;
}

.contents-subtitle-1 {
    background-color: #f6f7d0;
    color: #4d4d4d;
}

.contents-subtitle-2 {
    background-color: #fadbe1;
    color: #4d4d4d;
}

.contents-subtitle-3 {
    background-color: #deeaf7;
    color: #4d4d4d;
}

.contents-subtitle-4 {
    background-color: #d4ebe1;
    color: #4d4d4d;
}

.contents-aftorword {
    background-color: #a8c8ce;
    color: #4d4d4d;
}

/*アコーディオン
-------------------------------------*/

.accordion-question:not([open]) {
    margin-bottom: 7px;
}

.accordion-question > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    cursor: pointer;
}

.accordion-question > summary::-webkit-details-marker {
    display: none;
}

.accordion-question > summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333;
    border-right: 3px solid #333333;
    content: '';
    transition: transform .3s;
}

.accordion-question[open] > summary::after {
    transform: rotate(225deg);
}

.accordion-question p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em 2em 2em;
    color: #333333;
    /*transition: transform .5s, opacity .5s;*/
}

.accordion-question[open] p {
    transform: none;
    opacity: 1;
}

.accordion-q-sub {
    margin: 2rem;
}

.accordion-q-sub > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0.5em 2em;
    background-color: #f7f7f7;
    border-bottom:1px solid #a0a0a0;
    cursor: pointer;
}

.accordion-q-sub > summary::-webkit-details-marker {
    display: none;
}

.accordion-q-sub > summary::before,
.accordion-q-sub > summary::after {
    width: 2px;
    height: .9em;
    border-radius: 5px;
    background-color: #333333;
    content: '';
}

.accordion-q-sub > summary::before {
    position: absolute;
    right: 2em;
    rotate: 90deg;
}

.accordion-q-sub > summary::after {
    transition: rotate .3s;
}

.accordion-q-sub[open] > summary::after {
    rotate: 90deg;
}

.accordion-q-sub p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em 2em 2em;
    color: #333333;
    /*transition: transform .5s, opacity .5s;*/
}

.accordion-q-sub[open] p {
    transform: none;
    opacity: 1;
}