@charset "UTF-8";

/*-------------------------
Color
-------------------------*/
:root {
    --color-primary: #FF7880;
    --color-secondary: #5ABDDB;
    --color-tertiary: #fc999f;
    --color-main: #544236;
    --color-background-primary: #FFF7F1;
    --color-background-secondary: #A8E4F3;
    --color-background-tertiary: #FFD2BE;
    --color-background-accordion: #FFF1E1;
    --color-white: #FFF;
    --color-black: #000;
    --color-gray: #ccc;
    --color-transparent-gray: rgba(0, 0, 0, 0.5);
    --color-transparent: rgba(255, 255, 255, 0);
}

.color-primary {
    color: var(--color-primary);
}

.color-secondary {
    color: var(--color-secondary);
}

.color-main {
    color: var(--color-main);
}

.color-white {
    color: var(--color-white);
}

.bk-primary {
    background-color: var(--color-primary);
}

.bk-secondary {
    background-color: var(--color-secondary);
}

.bk-secondary-light {
    background-color: var(--color-background-secondary);
}

.bk-tertiary-light {
    background-color: var(--color-background-tertiary);
}

/*-------------------------
Common
-------------------------*/

body {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    color: var(--color-main);
    background-color: var(--color-background-primary);
}

img {
    max-width: 100%;
    height: auto;
}

#inner {
    padding: 120px 20px 40px;
}

#inner section {
    margin-bottom: 100px;
}

@media screen and (max-width: 769px) {
    #inner section {
        margin-bottom: 64px;
    }

    section p {
        text-align: left;
    }
}

figure {
    margin-top: 24px;
}

.textCen {
    text-align: center;
}

.textLeft {
    text-align: left;
}

/*-------------------------
Heading
-------------------------*/
h1 {
    margin-bottom: 64px;
    color: var(--color-primary);
    text-align: center;
}

h2 {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: center;
}

h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

@media screen and (max-width: 769px) {
    h1 {
        margin-bottom: 32px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

/*-------------------------
Typography
-------------------------*/
p {
    line-height: 2;
    text-align: center;
}

.subttl {
    font-size: 20px;
}

.mainttl {
    font-size: 32px;
    color: var(--color-primary);
}

@media screen and (max-width: 769px) {
    .subttl {
        font-size: 16px;
    }

    .mainttl {
        font-size: 22px;
    }
}

.ttl-underline {
    text-align: left;
    border-bottom: 1px solid var(--color-primary);
}

.text-link {
    font-size: 24px;
    text-decoration: underline;
    text-align: center;
}

.text-link--small {
    font-size: 20px;
    text-decoration: underline;
    text-align: center;
    color: var(--color-primary);
    margin: 24px auto;
}

.text-link:hover,
.text-link--small:hover {
    text-decoration: none;
}

@media screen and (max-width: 769px) {

    .text-link,
    .text-link--small {
        font-size: 18px;
    }

    .text-link:hover,
    .text-link--small:hover {
        text-decoration: underline;
    }
}

/*-------------------------
Container
-------------------------*/
.container_large,
.container_medium {
    margin: 0 auto 0;
    position: relative;
}

.container_large {
    max-width: 980px;
}

.container_medium {
    max-width: 750px;
}

@media screen and (max-width: 769px) {

    .container_large,
    .container_medium {
        max-width: 440px;
    }
}

/*-------------------------
Brakpoint
-------------------------*/
.sp-none {
    display: block;
}

@media screen and (max-width: 769px) {
    .sp-none {
        display: none;
    }
}

.pc-none {
    display: none;
}

@media screen and (max-width: 769px) {
    .pc-none {
        display: block;
    }
}

/*-------------------------
区切り線
-------------------------*/
.dotted {
    margin: 80px 0 80px;
    height: 1px;
    background-image: repeating-linear-gradient(90deg, var(--color-main), var(--color-main), 8px, transparent 8px, transparent 16px);
    background-position: left bottom;
    background-repeat: repeat-x;
    background-size: 100% 1px;
}

@media screen and (max-width: 769px) {
    .dotted {
        margin: 40px 0 40px;
    }
}

/*-------------------------
Hover
-------------------------*/
.hover-opacity {
    transition-property: opacity;
}

.hover-opacity:hover {
    opacity: 0.6;
}

.hover-underline:hover {
    text-decoration: underline;
}

@media screen and (max-width: 769px) {
    .hover-opacity {
        transition-property: none;
    }

    .hover-opacity:hover {
        opacity: 1;
    }

    .hover-underline:hover {
        text-decoration: none;
    }
}

/*-------------------------
Pagetop
-------------------------*/
.patetop-btn {
    display: block;
    text-align: center;
}

.pagetop {
    font-size: 20px;
    color: var(--color-primary);
    text-align: center;
    cursor: pointer;
}

/*-------------------------
Header
-------------------------*/
header {
    background-color: var(--color-primary);
}

#header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 980px;
    height: 100px;
    margin: 0 auto;
    z-index: 100;
    background-color: var(--color-primary);
}

@media screen and (max-width: 980px) {
    #header-inner {
        width: 100%;
        height: 56px;
        top: 0;
        position: fixed;
    }
}

#header-inner ul {
    display: flex;
}

#header-inner ul li {
    padding: 0 16px;
    border-right: 1px solid var(--color-white);
    color: var(--color-white);
    font-size: 14px;
}

#header-inner ul:first-child {
    padding-bottom: 12px;
}

#header-inner ul li:first-child {
    border-left: 1px solid var(--color-white);
}

@media screen and (max-width: 980px) {
    #header-inner ul {
        display: block;
    }
}

@media screen and (max-width: 980px) {
    #header-inner ul {
        background-color: var(--color-background-primary);
        width: 80%;
        margin-left: 20%;
        right: 0;
    }

    #header-inner ul:first-child {
        padding-bottom: 0;
    }

    #header-inner ul li {
        color: var(--color-main);
        padding: 16px 24px 16px 44px;
        font-size: 16px;
        border-bottom: 1px dotted var(--color-primary);
        text-align: left;
        position: relative;
    }

    #header-inner ul li::after {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        margin: auto;
        content: "";
        width: 8px;
        height: 8px;
        border-top: 2px solid var(--color-main);
        border-right: 2px solid var(--color-main);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #header-inner ul li:first-child {
        border-width: 0px 0px 1px;

    }

    #header-inner ul:first-child li:first-child {
        background-color: var(--color-background-secondary);
    }

    #header-inner ul:last-child li:last-child {
        border-bottom: 0;
    }

    #header-inner ul li:first-child {
        border-left: 0;
    }

    #header-inner img {
        width: 200px;
        height: auto;
        padding-left: 20px;
    }
}

/*-------------------------
Humberger
-------------------------*/

.drawer_hidden {
    display: none;
    /* チェックボックスを非表示にする */
}

.drawer_open {
    display: none;
    /* PCで非表示 */
}

@media screen and (max-width: 980px) {
    .drawer_open {
        display: flex;
        height: 56px;
        width: 56px;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 100;
        /* 重なり順を一番上にする */
    }
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: var(--color-white);
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: var(--color-transparent);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
@media screen and (max-width: 980px) {
    .nav_content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 56px;
        left: 100%;
        /* メニューを画面の外に飛ばす */
        z-index: 99;
        transition: .5s;
        text-align: center;
    }
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
    left: 0;
}

/* アイコンがクリックされたら背景色を表示 */
.drower_overlay {
    background-color: var(--color-transparent-gray);
    position: absolute;
    top: 56px;
    width: 100%;
    height: 100vh;
    bottom: 0;
    z-index: 1;
    display: none;
}

#drawer_input:checked~.drower_overlay {
    display: block;
}

/*-------------------------
Footer
-------------------------*/
footer {
    background-color: var(--color-white);
}

#footer-inner {
    padding: 24px 20px;
    justify-content: space-between;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
}

@media screen and (max-width: 769px) {
    #footer-inner {
        display: block;
        padding-top: 20px;
    }
}

.sns-link {
    text-align: left;
}

.footer-credit {
    text-align: right;
}

@media screen and (max-width: 769px) {
    .footer-credit {
        padding-top: 16px;
    }

}

.footer-credit p {
    padding: 0 16px 4px;
    text-decoration: underline;
    content: "";
    background-image: url('../img/common/icon_arrow-rignt.svg');
    background-repeat: no-repeat;
    background-position: right center;
    text-align: right;
}

.footer-credit p:hover {
    text-decoration: none;
}

.footer-credit small {
    font-size: 13px;
}

/* ページトップ */
.pagetop-ft-btn {
    display: none;
}

@media screen and (max-width: 769px) {
    .pagetop-ft-btn {
        display: block;
        position: fixed;
        right: 16px;
        bottom: 16px;
        text-align: center;
    }

    .pagetop-ft-btn img {
        display: block;
        margin: 0 auto;
    }

    .pagetop-ft-btn button {
        background-color: var(--color-primary);
        color: var(--color-white);
        font-size: 13px;
        line-height: 1.2;
        width: 60px;
        height: 60px;
        margin-top: 10px;
    }

    .is-hidden {
        visibility: hidden;
        opacity: 0;
    }
}

/* sns */
#footer-sns-link-area ul {
    display: flex;
    line-height: 1;
}

#footer-sns-link-area .twitter {
    margin-right: 5px;
}

#footer-sns-link-area .facebook {
    height: 20px;
    margin-right: 15px;
}


/*footerまでスクロールしたら消す*/
.is-hidden {
    visibility: hidden;
    opacity: 0;
}

/*-------------------------
YouTube
-------------------------*/
.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    width: 100%;
    height: 100%;
}

/*-------------------------
Intro
-------------------------*/

@media screen and (max-width: 769px) {
    .intro h2 {
        font-size: 18px;
    }

    .intro h3,
    .intro h3 span {
        font-size: 22px;
    }
}

/*-------------------------
PAGE-ANKER
-------------------------*/

.ankerList {
    display: flex;
    align-items: center;
    margin: 80px auto;
    justify-content: center;
    text-align: center;
}

.ankerList li {
    line-height: 1.2;
    width: 128px;
    height: 128px;
    margin-right: 20px;
    border-radius: 50%;
    padding: 20px 0;
    display: block;
}

.ankerList-items :last-child {
    margin-right: 0;
}

.ankerList dd {
    height: 72px;
    width: 128px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

@media screen and (max-width: 769px) {

    .ankerList {
        margin: 40px auto 40px;
        flex-wrap: wrap;
    }

    .ankerList li {
        width: 100px;
        height: 100px;
        padding: 14px 0;
        font-size: 14px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .ankerList dd {
        height: 60px;
    }

}