/*====================================================================
header
=====================================================================*/
:root {
    --brand: #8cd7ff;
    --text: #111;
}

/* ヘッダー土台 */
/* .header-container {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
} */

.header-container {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 10px 16px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    display: none;
}

/* ロゴ（左の水色帯っぽく） */
.site-logo {
    margin: 0;
}

.logo-area {
    display: block;
    background: var(--brand);
    padding: 15px;
    width: 50vw;
    /* 水色の余白 */
    /* border-radius: 4px; */
}

.logo {
    display: block;
    height: 40px;
    width: auto;
}

/* ナビ（PC） */
.header-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin-left: auto;
    padding: 0;
    white-space: nowrap;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: .05em;
}

.header-nav a {
    color: var(--text);
    text-decoration: none;
    transition: opacity .2s;
}

.header-nav a:hover {
    opacity: .7;
}

/* 区切り線 */
.header-nav li+li {
    position: relative;
}

.header-nav li+li::before {
    content: "";
    position: relative;
    left: -11px;
    display: inline-block;
    width: 1px;
    height: 1em;
    background: #aaa;
    vertical-align: middle;
}

/* CTA */
.cta {
    /* margin-left: auto; */
    display: inline-block;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    transition: opacity .2s;
}

.cta:hover {
    opacity: .85;
}

/* ハンバーガー（SPのみ表示） */
.menu-btn {
    display: none;
    margin-left: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 0;
}

.menu-btn span {
    display: block;
    height: 2px;
    background: #000;
    margin: 7px 6px;
}

/*====================================================================
kv 
=====================================================================*/

/* .kv-container {
    display: flex;
}

.kv-img__left, .kv-img__rigth {
    width: 50%;
} */

.kv {
    background: #fff;
}

.kv-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 48%) 1fr;
    /* 左右比率 */
    min-height: clamp(420px, 70vh, 760px);
    /* 画面端の黒フレームが必要ないなら削除 */
}

/* 左（テキスト＋ロゴ） */
.kv-img__left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(16px, 4vh, 28px);
    padding: clamp(16px, 4vw, 56px);
    background: #fff;
}

.kv-img__left p {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    margin: 0;
    font-weight: 700;
    letter-spacing: .08em;
    font-size: 12px;
    width: fit-content;
}

.kv-img__left p::after {
    /* 下の細いアンダーライン */
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    margin-top: .5em;
    background: #222;
}

.kv-img__left img {
    margin: 0 auto;
    max-width: min(50%, 520px);
    /* ロゴの最大幅 */
    width: 100%;
    height: auto;
}

/* 右（写真＋右下テキスト画像） */
.kv-img__right {
    position: relative;
    overflow: hidden;
    background: #ddd;
}

.kv-img__right>img:first-child {
    /* メイン写真 */
    /* position: absolute; */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 全面にフィット */
    object-position: 62% center;
    /* 見せたい位置に調整 */
    display: block;
}

.kv-img__right>img:last-child {
    /* 右下の白手書きテキスト */
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px;
    /* right: clamp(12px, 3vw, 40px);
    bottom: clamp(10px, 2.5vw, 28px); */
    width: min(20vw, 520px);
    max-width: 60%;
    height: auto;
    pointer-events: none;
    /* クリック貫通 */
}

/* 区切り線（中央の細い境界が欲しい場合） */
.kv-container::before {
    content: "";
    position: absolute;
    left: calc(min(320px, 48vw) + (48% - min(320px, 48vw)));
    /* グリッド境界に合わせる */
    display: none;
    /* 必要なら block にして使用 */
    width: 1px;
    top: 0;
    bottom: 0;
    background: #222;
}

/*====================================================================
about
=====================================================================*/

.about {
    margin: 0 auto;
    background-color: var(--main-color);
}

.about-container {
    margin: 0 auto;
    padding-top: 100px;
}

.about-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 -1.7%;
}

.about-card__detail {
    width: 30%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
}

.about-card__img {
    text-align: center;
}

.about-card__img img {
    width: 150px;
    height: 150px;
}

.about-card__title, .about-card__subtitle {
    text-align: center;
    letter-spacing: 0.2em;
}

.about-card__title {
    font-size: 18px;
    font-weight: bold;
}

.about-card__subtitle {
    display: block;
    margin-top: 5px;
    color: var(--main-color);
}

.about-card__text {
    font-weight: 300;
    margin-top: 20px;
}

.about-wrapper {
    display: flex;
    margin-top: 100px;
}

.about-text {
    font-weight: 300;
}

/*====================================================================
shop-list
=====================================================================*/

.shop-list {
    margin-top: 100px;
}

.shop-list__content {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.shop-list__content li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 45%;
}

.shop-list__img {
    width: 50%;
    height: auto;
}

.shop-list__box {
    width: 45%;
}

.shop-list__box span {
    font-size: 14px;
}

.shop-map {
    color: rgb(62, 62, 255);
    font-size: 14px;
    text-decoration: none;
}

.shop-map:hover {
    opacity: 0.7;
}

.shop-btn a, .contact-btn a {
    max-width: 200px;
}

.shop-btn {
    margin-top: 20px;
}

.shop-btn a {
    display: inline-block;
    padding: 3px 0;
    text-align: center;
    width: 15vw;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 9999px;
    /* 完全な丸み */
    text-decoration: none;
    transition: all 0.3s;
}

.shop-btn a:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

.contact-btn {
    margin-top: 10px;
}

.contact-btn a {
    display: inline-block;
    padding: 3px 0;
    width: 15vw;
    text-align: center;
    border: 1px solid #000;
    border-radius: 9999px;
    color: #000;
    text-decoration: none;
    background: #fff;
    transition: all 0.3s;
}

.contact-btn a:hover {
    background: #000;
    color: #fff;
}

.banner {
    margin-top: 80px;
}

.banner a {
    transition: all .3s;
}

.banner a:hover {
    opacity: 0.7;
}

/*====================================================================
recommended-list
=====================================================================*/

.recommended {
    margin-top: 150px;
    background-color: var(--bg-color);
}

.recommended-container {
    padding-top: 100px;
    padding-bottom: 150px;
}

.recommended-card {
    margin-top: 80px;
}

/* カードのグリッド（PC2列、SP1列） */
.recommended-card {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 28px);
}

/* 各カードの箱 */
.recommended-card>li {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* 画像：比率固定＋切り抜き */
.recommended-card>li>img {
    display: block;
    width: 100%;
    height: 200px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* テキスト部 */
.recommended-card__title {
    margin: 16px 18px 8px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.4;
}

.recommended-card__text {
    margin: 0 18px 18px;
    color: #4b5563;
    line-height: 1.9;
}

/* 画像や長い英単語で横幅が崩れない保険 */
.recommended-card * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.recommended-card__title {
    font-weight: 400;
}

.recommended-card__text {
    font-weight: 300;
}

/*====================================================================
recommended-list
=====================================================================*/

.philosophy {
    margin-top: 100px;
}

.philosophy-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.philosophy-wrapper {
    width: 60%;
}

.philosophy-wrapper br {
    display: none;
}

.philosophy-img {
    width: 30%;
}

.philosophy-img--sp {
    display: none;
}

.philosophy-img--pc {
    display: block;
}

/* .philosophy-heading {
    position: relative;
    display: inline-block;
    font-family: var(--zen);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.4;
} */

.philosophy-heading {
    display: inline;
    /* ← inlineでOK（inline-blockでも可） */
    font-family: var(--zen);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.4;
    /* 行の下 15px だけ色を塗る */
    background:
        linear-gradient(transparent calc(100% - 15px), var(--main-color) 0);
    /* 複数行に折り返されたときも、各行で背景を“複製”する */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    /* お好みで少し余白を足すと綺麗 */
    padding-bottom: 2px;
}

.philosophy-content {
    font-weight: 300;
}

.philosophy-content:nth-of-type(2) .philosophy-heading {
    margin-top: 40px;
}

/* .philosophy-heading::before {
    content: "";
    position: absolute;
    z-index: -999;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 15px;
    background-color: var(--main-color);
} */

.philosophy-content p {
    margin-top: 20px;
}

.philosophy-content p span {
    font-weight: 700;
}

.company-link {
    font-weight: 400;
    margin-top: 50px;
    text-align: center;
}

.company-link a {
    display: inline-block;
    padding: 8px 10vw;
    border: 1px solid #999;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s;
}

.company-link a:hover {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

/*====================================================================
footer
=====================================================================*/

.footer-container .shop-list {
    background-color: var(--bg-color);
    padding: 100px 0;
}

.footer-content {
    background-color: var(--main-color);
    padding-top: 50px;
    padding-bottom: 10px;
}

.footer-nav {
    text-align: center;
    font-weight: 400;
}

.footer-nav ul {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    padding: 14px 36px;
    border-radius: 9999px;
    list-style: none;
    margin: 0;
}

.footer-nav a {
    text-decoration: none;
    color: #222;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #8cd7ff;
}

.footer-nav li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 1em;
    background: #aaa;
    margin-left: 24px;
}

.footer-logo {
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 150px;
    height: 150px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

.footer-links li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.9em;
    background-color: #333;
    margin-left: 24px;
}

.footer-links a {
    text-decoration: none;
    color: #222;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 10px;
    text-align: center;
}




/*====================================================================








ここからレスポンシブ対応
タブレット









=====================================================================*/



@media (max-width: 980px) {


    /*====================================================================
header
=====================================================================*/
    .header-container {
        display: flex;
        padding-right: 10px;
    }

    .logo-area {
        width: 45vw;
    }

    /* PCのnavは消してボタン表示 */
    .menu-btn {
        display: block;
    }

    .header-nav {
        position: fixed;
        inset: 0 0 0 30%;
        background: #fff;
        transform: translateX(100%);
        transition: transform .25s ease;
        box-shadow: -20px 0 40px rgba(0, 0, 0, .12);
        padding: 80px 24px 24px;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .header-nav li+li::before {
        display: none;
    }

    .cta {
        display: none;
    }

    /* CTAは中の一番上に移したければnav内へ複製でもOK */
    .header-container.nav-open .header-nav {
        transform: translateX(0);
    }

    .header-container.nav-open .menu-btn span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .header-container.nav-open .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .header-container.nav-open .menu-btn span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /*====================================================================
kv
=====================================================================*/

    .kv-container {
        grid-template-columns: 1fr;
        /* 縦2段 */
        min-height: auto;
    }

    .kv-text__pc {
        display: none;
    }

    .kv-img__right>img:last-child {
        width: 100%;
        height: 50px;
    }

    .kv-img__right>img:first-child {
        height: 330px;
    }

    .kv-img__left {
        order: 2;
        align-items: center;
        text-align: center;
        padding: 50px;
    }

    .kv-img__left img {
        height: 150px;
    }

    .kv-img__right {
        order: 1;
        /* aspect-ratio: 16/10; */
        /* モバイルで高さ確保（必要に応じて調整） */
    }



    /*====================================================================
about
=====================================================================*/

    .about-card {
        display: block;
        margin: 0 auto;
    }

    .about-card__detail {
        width: 90%;
    }

    .about-card__detail:not(:first-child) {
        margin-top: 30px;
    }

    .about-wrapper {
        display: block;
        width: 90%;
        margin: 0 auto;
        margin-top: 50px;
    }

    .about-img {
        text-align: center;
    }

    .about-img img {
        width: 50%;
    }

    /*====================================================================
shop-list
=====================================================================*/

    .shop-list__content {
        display: block;
    }

    .shop-list__content li {
        width: 90%;
        margin: 0 auto;
        padding-bottom: 50px;
        border-bottom: 1px solid #000;
        align-items: flex-start;
    }

    .shop-list__content li:not(:first-child) {
        margin-top: 50px;
    }

    .shop-btn a {
        width: 50vw;
    }

    .contact-btn a {
        width: 50vw;
    }

    .banner {
        text-align: center;
    }

    .banner img {
        width: 90%;
    }

    /*====================================================================
recommended
=====================================================================*/

    .recommended-card {
        grid-template-columns: 1fr;
    }

    .recommended-card>li {
        width: 90%;
        margin: 0 auto;
    }

    /*====================================================================
philosophy
=====================================================================*/

    .philosophy-img--sp {
        /* display: block; */
        position: relative;
        display: block;
        width: 100vw;
        margin: 50px 0;
        /* ビューポート全幅 */
        max-width: none;
        /* 親のmax-widthなどを無効化 */
        left: 50%;
        /* 親の中央基準から */
        transform: translateX(-50%);
        /* 画像自身を中央に戻す */
    }

    .philosophy-img--sp img {
        height: 500px;
        object-fit: cover;
        object-position: 50% 50%;
    }

    .adjust-img img {
        object-position: 50% 10%;
    }

    .philosophy-img--pc {
        display: none;
    }

    .philosophy-flex {
        display: block;
    }

    .philosophy-wrapper {
        width: 90%;
        margin: 0 auto;
    }

    .philosophy-wrapper br {
        display: block;
    }

    .company-link a {
        width: 300px;
    }


    /*====================================================================
footer
=====================================================================*/

    .footer-content {
        padding-top: 0;
    }

    .footer-nav ul {
        display: block;
        text-align: left;
        padding: 0;
        border-radius: 0px;
    }

    .footer-nav ul li {
        position: relative;
        padding: 15px;
    }

    .footer-nav li::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 100vw;
        /* ← 画面幅いっぱい */
        height: 1px;
        background: #000;
        transform: translateX(-50%);
        /* 中央寄せ補正 */
    }

    .footer-nav li:last-child::before {
        display: none;
    }

    .footer-nav li:not(:last-child)::after {
        display: none;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .footer-links li:not(:last-child)::after {
        display: none;
    }

}

/*====================================================================








ここからレスポンシブ対応
スマホ









=====================================================================*/



@media (max-width: 480px) {

    /*====================================================================
kv
=====================================================================*/

    /* .kv-img__right>img:first-child {
        height: 330px;
    } */

    /*====================================================================
shop-list
=====================================================================*/

    .shop-btn a {
        width: 160px;
    }

    .contact-btn a {
        width: 160px;
    }

}