@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* ============================================
    CSS変数
============================================ */
:root {
    --color-orange: #f76601;
    --color-yellow: #fdee02;
    --color-black: #151515;
    --color-white: #ffffff;
    --color-beige: #FDF3E3;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-din: "din-2014", sans-serif;
    --section-padding-pc: 72px;
    --section-padding-sp: 42px;
}

/* ============================================
    DIN 2014 フォント定義
============================================ */
@font-face {
    font-family: "din-2014";
    font-weight: 700;
    font-style: normal;
}

/* ============================================
    ベース
============================================ */
body {
    font-family: YakuHanJP, var(--font-main), sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--color-black);
}
a {
    text-decoration: none;
    color: var(--color-black);
    word-break: break-all;
}
img {
    height: auto;
    max-width: 100%;
}
.inner {
    width: 100%;
    padding: 0 40px;
}

@media screen and (max-width:640px) {
    .inner {
        width: 100%;
        padding: 0 5%;
    }
}

/* ============================================
    背景
============================================ */
.pc_back {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/mv_bg.svg') no-repeat center center;
    background-size: cover;
    z-index: 0;
}
@media screen and (max-width:640px) {
    .pc_back {
        display: none;
    }
}

/* ============================================
    全体ラッパー
============================================ */
#wrap {
    position: relative;
    min-height: 100vh;
}

/* ============================================
    左カラム（固定）
============================================ */
.back_left {
    position: fixed;
    top: 50%;
    left: calc((50% - 250px) / 2);
    transform: translate(-50%,-50%);
    width: 300px;
    aspect-ratio: 11 / 15;
    z-index: 2;
    background: url(../images/back_left_bg.svg) no-repeat;
    background-size: contain;
}
.back_left__inner {
    padding: 24px 24px 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.back_left .panel_img {
    width: 62px;
    margin: 0 auto;
    transform: translateX(-6px);
}
.back_left .catch {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-orange);
    text-align: center;
    margin-top: 20px;
    line-height: 1;
}
.back_left .logo {
    font-family: var(--font-din);
    text-align: center;
    line-height: 1;
}
.logo {
    width: 220px;
    margin: 15px auto 0;
}

.side-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 30px;
}
.side-nav ul li {
    padding: 3px 0 3px 10px;
}
.side-nav ul li.active {
    border-radius: 4px;
    background-color: #fdee02;
}
.side-nav ul li a {
    position: relative;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.4;
    padding-left: 10px;
}
.side-nav ul li a::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--color-orange);
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.sub-links {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.sub-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-orange);
    text-decoration: underline;
}

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

/* ============================================
    右カラム（固定）
============================================ */
.back_right {
    position: fixed;
    top: 50%;
    right: calc((50% - 250px) / 2);
    transform: translate(50%,-50%);
    width: 300px;
    z-index: 2;
}

.right-catch {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-black);
    line-height: 1.6;
    margin-bottom: 20px;
}
.back_right .cta-btn {
    min-height: 64px;
}
.back_right .cta-btn .cta-btn__icon {
    width: 18px;
    height: 18px;
}
.tel-box {
    border: 3px solid var(--color-orange);
    border-radius: 8px;
    padding: 14px 20px;
    margin-top: 30px;
    text-align: center;
    background: rgba(255,255,255,0.8);
    box-shadow: 4px 4px 0px 0px var(--color-orange);
}
.tel-label {
    font-size: 1.4rem;
    color: var(--color-orange);
    font-weight: 700;
}
.tel-number {
    display: block;
    margin-top: 12px;
}
.tel-number img {
    vertical-align: bottom;
}
.tel-hours {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-orange);
    margin-top: 6px;
}

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

/* ============================================
    中央コンテンツエリア
============================================ */
#mainContent {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    z-index: 1;
    min-height: 100vh;
}

.content-wrap {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background: var(--color-white);
}

@media screen and (max-width:640px) {
    #mainContent {
        width: 100%;
        position: relative;
        top: unset;
        right: unset;
    }
    .content-wrap {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
}

/* ============================================
    フッター
============================================ */
.site-footer {
    background: var(--color-white);
    padding: 40px 0 10px;
    position: relative;
    z-index: 1;
    border-top: solid 2px #000;
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-din);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--color-black);
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}

.footer-nav a {
    font-size: 1.4rem;
    color: var(--color-black);
}

.footer-copy {
    font-family: var(--font-din);
    font-size: 1.2rem;
    color: #888;
}

/* ============================================
    ユーティリティ
============================================ */
.sp {
    display: none;
}

.cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    min-height: 72px;
    padding: 0 24px 0 32px;
    margin: 0 auto;
    background: #fff200;
    border-radius: 9999px;
    border: solid 4px var(--color-black);
    color: #000;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    box-sizing: border-box;
    box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}
.cta-btn:hover {
    box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0);
    transform: translateY(2px);
}
.cta-btn__text {
    flex: 1;
    text-align: center;
    line-height: 1.4;
}
.cta-btn__icon {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-btn__icon img {
    display: block;
    width: 100%;
    height: auto;
}