/* ベースのフォントサイズ, 変数を定義 (1rem = 10px) */
html {
    font-size: 62.5%;
    font-family: 'YuGothic', sans-serif;

    --color-1: #6FCBE9;
    --color-2: #BFD15F;
    --color-3: #DB8C72;
    --color-4: #C6AB88;
    --color-5: #6C6E77;

    --pc-content-width: 900px; /* PC版のコンテンツ幅 */
    --sp-content-width: 100%; /* スマホ版のコンテンツ幅 */

    scroll-behavior: smooth; /* スムーススクロール */
}

/* イメージを最大幅に収める */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* 特定の要素を標準化 */
html, body {
    height: 100%;
    width: 100%;
}
body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 1.4rem; /* 14px */
    line-height: 2.5rem;
    color: #252525;
    background-color: #fff;
}
summary {
    list-style: none;        /* Firefox向け */
    list-style-type: none;   /* Safari/Chrome向け */
    -webkit-appearance: none; /* Safariの特有の三角マークを削除 */
    display: block;
    cursor: pointer;
}
summary::-webkit-details-marker {
    display: none;
}
p {
    text-align: justify;
}
span.bold{
    font-weight: bold;
}

/* ここからページ固有の設定 */
.only-sp{
    display: none;
}
main {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
section, footer{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
section{
    padding: 110px calc( (100% - var(--pc-content-width)) / 2);
}
footer{
    padding: 30px calc( (100% - var(--pc-content-width)) / 2);
}
.df {
    display: flex;
}
div.section-title{
    text-align: center;
}
.eng {
    font-family: 'Aboreto', sans-serif;
}
div.section-title h2.section-title-jp{
    font-size: 1.4rem;
    line-height: 2.5rem;
    letter-spacing: 0.05em;
    font-weight: bold;
}
div.section-title div.section-title-en{
    font-size: 4rem;
    line-height: 100%;
    letter-spacing: 0.03em;
    margin: 24px 0;
}
div.section-sub-title h3{
    font-size: 1.8rem;
    text-align: center;
}
section>div,
footer>div{
    width: 100%;
}
.fz32 {
    font-size: 32px;
}
.fz16 {
    font-size: 16px;
}
.fz14 {
    font-size: 14px;
}
div.link-button{
    width: 100%;
    display: flex;
    text-align: center;
    position: relative;
}
div.link-button a.button{
    display: flex;
    position: relative;
    margin:  auto;
    width: 100%;
    max-width: 546px;
    height: 70px;
    border-radius: 35px;
    padding: 10px 35px;
    line-height: 2.5rem;
}
div.link-button a.button::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 15px;
    height: 15px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
}
div.link-button a.button .button-overlay{
    position:absolute;
    inset:0;               /* 親いっぱいに広げる */
    pointer-events:none;   /* ボタンのクリック判定を邪魔しない */
    border-radius: 35px;
    opacity:0;             /* ふだんは透明 */
    transition:opacity .3s ease; /* 1 秒かけてフェード */
}
div.link-button a.button:hover .button-overlay{
    opacity: 1;
}
div.link-button a.button .button-text{
    z-index: 10;
    font-size: 1.8rem;
    font-weight: bold;
    margin: auto;
    margin-top: -3px;
}
div.link-button a.button .button-text span.button-text-first-line{
    font-size: 1.4rem;
    font-weight: normal;
}
div.link-button a.button .button-text span.button-text-date{
    font-size: 1.6rem;
}
div.link-button a.button.disabled{
    pointer-events: none;
}
/* ここから個別のボタンの色設定 */
div.link-button a.button.button-yellow-to-red{
    background: linear-gradient(to right, #F0CA29, #FF002D);
    color: #fff;
}
/* マウスホバー時の背景色を重ねて表示（初期状態で透明） */
div.link-button a.button.button-yellow-to-red::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #FF002D, #F0CA29);
    opacity: 0;
    transition: opacity .3s;
    border-radius: 100px;
}
/* マウスホバー時に透明化を解除 */
div.link-button a.button.button-yellow-to-red:hover::before {
    opacity: 1;
}
div.link-button a.button.button-white .button-overlay::after{
    position: absolute;
    top: 50%;
    right: 23px; /* border-radius - width / 2 */
    font-weight: bold;
    content: '';
    background-image: url(../asset/img/button_arrow_color2.png);
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
}
#main .contact_btn {
    padding: 16px 20px;
}
#main .contact_btn img {
    margin-left: 10px;
}
#main .contact_btn:hover img {
    filter: brightness(0) saturate(100%) invert(83%) sepia(10%) saturate(588%) hue-rotate(33deg) brightness(92%) contrast(90%);
}
p a {
    text-decoration: underline;
}
.accordion_content {
    display: none;
    overflow: hidden;
}
.accordion_content a,.media_category a {
    text-decoration: underline;
}
/* PC版のコンテンツ幅以下の場合のセクション設定（タブレット・スマホなど） */
@media screen and (max-width: 1060px) {
    section{
        padding: 80px 20px;
    }
    footer{
        padding: 40px 20px;
    }
}

/* ここからスマートフォン設定 */
@media screen and (max-width: 767px) {
    div.section-title div.section-title-en{
        font-size: 3.2rem;
        margin-top: 20px;
    }
    div.section-title h2.section-title-jp{
        font-size: 1.4rem;
        font-weight: bold;
        margin-top: -10px;
        margin-bottom: 40px;
        line-height: 2.5rem;
    }
    section div.section-main{
        margin-top: 60px;
    }

    section div.section-main{
        margin-top: 40px;
    }
    .only-sp{
        display: block;
    }
    .only-pc {
        display: none;
    }
    div.link-button a.button{
        height: 58px;
        border-radius: 29px;
        padding: 8px 29px;
        line-height: 2.5rem;
    }
    div.link-button a.button::after{
        width: 10px;
        height: 10px;
        right: 22.5px;
    }
    div.link-button a.button .button-text{
        font-size: 1.4rem;
        margin-top: 0;
    }
    div.link-button a.button .button-text::first-line{
        line-height: 1.7rem;
    }
    div.link-button a.button .button-text span.button-text-first-line{
        font-size: 1.2rem;
        font-weight: normal;
    }
    div.link-button a.button .button-text span.button-text-date{
        font-size: 1.2rem;
    }
    
    div.link-button a.button .button-overlay{
        transition:unset; /* モバイル版ではアニメーションなし */
    }
    .contact_btn {
        display: inline-block;
        width: 335px !important;
        height: 55px;
        line-height: 2;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: auto;
    }
}