@charset "utf-8";

/* ======================
common
====================== */
html {
    font-size: 62.5%;
}

body {
    font-family:
        "Noto Sans JP",
        Arial,
        sans-serif;
    font-style: normal;
    color: #413755;
    text-align: center;
    line-height: 1.7;
    background-color: #EDEAEF;
}

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

.section__topic {
    font-family: Arial;
    font-weight: 500;
    font-size: 4.0rem;
    line-height: 75px;
}

.btn {
    display: block;
    text-align: right;
}

.btn__more {
    width: 100px;
    text-align: right;
    margin-top: 40px;
}

/* .btn__more pc */
@media screen and (min-width: 769px) {
    .btn__more {
        width: 120px;
    }
}/* pc 769px */

/* page top btn */
.pagetop {
    display: none;
}

/* .page top btn pc */
@media screen and (min-width: 769px) {
    .pagetop {
        display: block;
        position: fixed;
        top: 70%;
        right: 1%;
        transform: translateX(-50%);
        padding: 10px 0;
        font-size: 18px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;/* 滑らかなフェードイン・アウト */
        z-index: 10;
    }

    .pagetop__arrow {
        height: 120px;
        width: 50px;
    }
}/* pc 769px */

@media screen and (min-width: 1100px) {
    .pagetop {
        right: 5%;
    }
}/* pc 1100px */

 .section {
    padding: 0 7.2%;
}

/* .section pc */
@media screen and (min-width: 769px) {
    .section {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0;
    }

    .section__topic {
        font-family: Arial;
        font-weight: 500;
        font-size: 6.0rem;
    }
}/* pc 769px */

/* ======================
otherMenu .carousel
====================== */
.otherMenu__txt {
    font-size: 1.3rem;
    font-weight: 500;
    padding-bottom: 7px;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 80%;
    height: 600px;
    margin: 0 auto;
}

.carousel__content {
    scroll-snap-align: start;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: none;
    padding-bottom: 30px;
}

.carousel__item,
.carousel__lifeItem {
    max-width: 300px;
    height: 550px;
    padding-top: 10px;
    margin: 0 auto;
    margin-left: 30px;
}

.carousel__item:first-of-type {
    margin-left: 0;
}

.carousel__item img,
.carousel__lifeItem img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.carousel__txtGroup {
    width: 100%;
    margin: 0 auto;
    margin-top: 15px;
}

.carousel__name {
    font-size: 1.7rem;
    font-weight: 700;
    text-align: left;
}

.carousel__txt {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: left;
    line-height: 1.7;
    margin-top: 2px;
}

.carousel__txtGroup--life {
    margin-top: 20px;
}

/* .section pc */
@media screen and (min-width: 769px) {
    .otherMenu__txt {
        padding-bottom: 2px;
    }

    .carousel {
        margin-top: 10px;
    }

    .carousel__item,
    .carousel__lifeItem {
        max-width: 340px;
        margin-left: 50px;
    }
}/* pc 769px */

/* carousel botton */
.carousel::before,
.carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px; /* ボタンの幅 */
    z-index: 1;/* ボタンを前面に */
    pointer-events: none;/* ボタンのクリックを透過 */
}

.carousel::scroll-button(left) {
    left: 10px;
    content: '<';
    /* 左矢印 */
    font-size: 20px;
    background-color: #413755;
    color: #EDEAEF;
    border-radius: 50%;
    border: 1px solid #413755;
    max-width: 100%;
    padding: 5px 10px;
    margin-top: 20px;
    pointer-events: auto;/* ボタンのクリックを有効化 */
}

.carousel::scroll-button(right) {
    right: 10px;
    content: '>';/* 右矢印 */
    font-size: 20px;
    background-color: #413755;
    color: #EDEAEF;
    border-radius: 50%;
    border: 1px solid #413755;
    padding: 5px 10px;
    margin-top: 20px;
    margin-left: 10PX;
    pointer-events: auto;/* ボタンのクリックを有効化 */
}

/* ======================
.header
====================== */
.header {
    padding: 17px 6.4%;
}

.header__topic,
.nav__topic {
    width: 30px;
}

.nav__topic_pc,
.nav__topic_sp {
    width: 100%;
}

/* .navの初期表示 */
.nav {
    background: rgba(237, 234, 239, 0.90);
    width: 100%;
    height: 100vh;
    padding: 17px 3.2%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 3.2%;
}

.nav__list {
    text-align: left;
    margin-top: 66px;
    padding: 0 3.0%;
}

.nav__item {
    font-size: 2.0rem;
    font-weight: 700;
    margin-top: 52px;
}

.nav__item img {
    display: inline-block;
    max-width: 35px;
    vertical-align: -9px;
    margin-right: 24px;
}

.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    max-width: 25px;
    cursor: pointer;
    position: absolute;
    top: 17px;
    right: 6.4%;
}

.nav__btn {
    max-width: 25px;
}

html {
    scroll-behavior: smooth;
}

/* .header pc */
@media screen and (min-width: 769px) {
    .header {
        margin: 0 auto;
        padding: 17px 6.4%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__topic {
        width: 43px;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
    }

    .nav__topic_pc {
        width: 100%;
    }

    .nav__list {
        margin-top: 0;
        display: flex;
    }

    .nav__item {
        font-family: Arial;
        font-size: 1.6rem;
        font-weight: 100;
        margin-top: 0;
        margin-left: 60px;
    }

    .nav__header {
        display: none;
    }

    .nav__item img {
        display: none;
        margin-right: 0;
    }

    .nav__item:first-of-type {
        display: none;
    }

    .header__btn {
        display: none;
    }

    /* ======================
    header/footer共通指定 
    hover アンダーライン
    ====================== */
    /* aタグ用リセットスタイル */
    .hover-underline a {
        color: #413755;
        text-decoration: none;
    }

    /* 下線が左から流れるアニメーション */
    .hover-underline {
        padding-bottom: 4px;/* テキストと下線の間隔 */
        background-image: linear-gradient(#413755, #413755);
        background-repeat: no-repeat;
        background-position: bottom right;/* 下線の初期位置 */
        background-size: 0 1px;/* 下線のサイズ（横幅、高さ） */
        transition: background-size 0.3s;
    }

    .hover-underline:hover {
        background-position: bottom left;/* 下線のホバー時位置 */
        background-size: 100% 1.5px;/* 下線の横幅を100%にする */
    }
}/* pc 769px */

/* ======================
.footer
====================== */
.footer {
    max-width: 100%;
    padding: 40px;
}

.footer__topic {
    width: 32px;
}

.menu {
    margin-top: 40px;
    text-align: left;
}

.menu__list {
    font-family: "Noto Sans JP";
}

.menu__item {
    font-size: 1.5rem;
    font-weight: 100;
    margin-top: 25px;
}

.menu__item:first-of-type {
    margin-top: 0;
}

.copy {
    margin-top: 50px;
}

/* .footer pc */
@media screen and (min-width: 769px) {
    .footer {
        padding: 0 6.4% 40px;
        margin: 0 auto;
    }

    .menu {
        margin-top: 0;
    }

    .footer__group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 40px;
    }

    .footer__topic {
        width: 43px;
    }

    .menu__list {
        display: inline-block;
        display: flex;
        align-items: center;
        height: 86px;
    }

    .menu__item {
        font-size: 1.6rem;
        font-weight: 400;
        margin-top: 0px;
        margin-left: 60px;
    }

    .copy {
        margin-top: 20px;
    }
}/* pc 769px */