@charset "utf-8";
/* ==========================
common
========================== */
:root {
    --black: #2F2F2F;
    --white: #fff;
    --background-lightgray: #f5f5f5;
    --flame-gray: #c0c0c0;
    --contentWidth: 91.4%;
    --contentPadding: 4.2%;
}

html {
    font-size: 62.5%;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kaku-gothic-new-bold {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
}

body {
    font-family:
        "Zen Kaku Gothic New",
        sans-serif;
    font-style: normal;
    color: var(--black);
    background-color: #fff;
    line-height: 1.4;
    margin-top: 0px;
    box-sizing: border-box;
}

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

.topic {
    color: var(--black);
    text-align: center;
    font-family: Montserrat;
    font-size: 4.8rem;
    font-weight: 600;
}
@media screen and (min-width:769px) {
    .topic {
        font-size: 9.6rem;
    }
}

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

/* ==========================
header
========================== */
.container {
    position: relative; /* 必要に応じて設定 */
}

.header {
    display: flex;
    width: 100%;
    /* width: calc(100% - 6%); 右側のパディングが見切れてしまうのを修正 */
    padding: 0px 4.2%;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9); /* 背景色を半透明に */
    z-index: 1000; /* ヘッダーを最前面に配置 */
}
@media screen and (min-width: 769px) {
    .header {
        width: 100%;
        /* width: calc(100% - 4.2%); 右側のパディングが見切れてしまうのを修正 */
    }
}

body {
    margin-top: 80px; /* ヘッダーの高さ分だけ余白を作成 */
}

.header__logoSP {
    width: 126px;
    height: 60px;
}
@media screen and (min-width: 769px){
    .header__logoSP {
        display: none;
    }
}

.header__logoPC {
    display: none;
}
@media screen and (min-width: 769px){
    .header__logoPC {
        display: block;
        width: 350px;
        height: 55px;
    }
}

.header__btnmodal img {
    width: 35px;
    height: 24px;
}
@media screen and (min-width:769px) {
    .header__btnmodal {
        display: none;
    }
}

.nav__listPC {
    display: none; 
}
@media screen and (min-width:769px) {
    .nav__listPC {
        margin-top: 0;
        display: flex;
        align-items: center;
        gap: 34px;
    }
}


/* ナビゲーションのモダール表示 */
.modal {
    display: none; /* 初期は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* モーダル表示時のスタイル */
.modal.active {
    display: flex; /* 表示時にフレックスボックスで中央寄せ */
}

/* 閉じるボタンのスタイル */
.modal__close {
    position: absolute; /* モーダル全体の右上に配置 */
    top: 10px; /* 上からの距離 */
    right: 20px; /* 右からの距離 */
    background: none;
    border: none;
    font-size: 4rem;
    cursor: pointer;
    color: white; /* 白色で目立たせる */
    font-weight: 400;
    z-index: 1001; /* モーダル内の他の要素よりも前に表示 */
}

/* モーダルの中身 */
.modal__content {
    background-color: #fff;
    padding: 20px;
    /* border-radius: 8px; */
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav__item {
    margin: 40px 0;
}

.nav__item a {
    color: var(--black);
    text-align: center;
    font-family: Montserrat;
    font-size: 2.4rem;
    font-weight: 600;
}

/* ==========================
footer
========================== */
.section--contact {
    scroll-margin-top: 80px;
    padding: 45px var(--contentPadding);
    width: 100%;
    background-color: var(--background-lightgray);
}
@media screen and (min-width:769px){
    .section--contact {
        padding: 30px var(--contentPadding);
    }
}

.topic--contact {
    margin: 30px 0 30px;
    text-align: left;
}

.btn--contact {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px; /* 高さの半分 */
    border: 1px solid var(--black);
    background: #FFF;
    padding: 10px 50px 10px 10px;
    margin-bottom: 20px;
    margin: 0 auto;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    width: 343px;
    height: 50px; /* 高さを固定 */
    box-sizing: border-box; /* パディング込みのサイズ計算 */
    position: relative;
    transform: 0.4s;
}
@media screen and (min-width:769px){
    .btn--contact {
        margin: 0; /* 左寄せにする */
        text-align: left;
    }  
}

.address__logo {
    width: 125px;
    height: 120px;
    object-fit: contain;
}

.address {
    display: flex;
    justify-content: center; /* 親要素内で中央揃え */
    padding: 30px 16px;
    align-items: center;
    gap: 20px;
}
@media screen and (min-width:769px){
    .address {
        justify-content: left;
    }
}

.officeName {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.0;
}

.address__txt {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
}

.footerNav {
    display: flex;
    padding: 20px 16px;
    justify-content: center;
    align-items: center;
}
@media screen and (min-width:769px){
    .footerNav__list {
        display: flex;
        align-items: center;
        gap: 30px;
    }
}

.footerNav__item {
    font-family: Montserrat;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.btn--contact::after {
    content: '';
    display: inline-block;
    width: 31px;
    height: 24px;
    background-image: url(../images/icon-mail.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.btn--viewMoreOut {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 25px; /* 高さの半分 */
    border: 1px solid var(--black);
    background: #FFF;
    padding: 10px 48px;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    width: 256px;
    height: 50px; /* 高さを固定 */
    box-sizing: border-box; /* パディング込みのサイズ計算 */
    transform: 0.4s;
}
@media screen and (min-width:769px){
    .btn--viewMoreOut {
        margin-left: 0 0 0 auto;
    }
}

.btn:hover {
    background-color: var(--flame-gray);
    color: var(--white);
    border-color: var(--flame-gray);
}

.sns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    margin-top: 45px;
}
@media screen and (min-width:769px){
    .sns {
        justify-content: right;
    }
}

.sns__item{
    width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
}

.copy {
    display: flex;
    background-color: var(--white);
    width: auto;
    height: 100px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.copy small {
    font-family: Montserrat;
    font-size: 1.4rem;
    font-weight: 400;
}