/* --- Font --- */
@font-face {
    font-family: 'Inter-Medium';
    src: url('../fonts/Inter-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Inter-SemiBold';
    src: url('../fonts/Inter-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'ZalandoSansExpanded-Regular';
    src: url('../fonts/ZalandoSansExpanded-Regular.woff') format('woff');
}

@font-face {
    font-family: 'NotoSansJP-Medium';
    src: url('../fonts/NotoSansJP-Medium.woff') format('woff');
}

@font-face {
    font-family: 'NotoSansJP-SemiBold';
    src: url('../fonts/NotoSansJP-SemiBold.woff') format('woff');
}

:root {
    --primary-red: #c81923;
    --text-black: #222222;
    --bg-light: #fafaf5;
    --border-color: #dddddd;
    --font-jp-M: 'YakuHanJP_Narrow', 'Inter-Medium', 'NotoSansJP-Medium', sans-serif;
    --font-jp-SB: 'YakuHanJP_Narrow', 'Inter-SemiBold', 'NotoSansJP-SemiBold', sans-serif;
    --font-en: 'ZalandoSansExpanded-Regular', sans-serif;
    --curtain-color: #f3f3f1;
}


/* --- Base Style Setting --- */
html {
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp-M);
    color: var(--text-black);
    font-size: 15px;
    line-height: 2.0;
    letter-spacing: 0.05rem;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: var(--bg-light);
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: cover;
}

svg {
    display: block;
}


/* --- Animation Utilities --- */

/* 1. カーテンリビール（画像用） */
.js_curtain {
    position: relative;
    overflow: hidden;
    visibility: hidden;
}

.js_curtain.is_visible {
    visibility: visible;
}

.js_curtain::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--curtain-color);
    transform: scaleX(0);
    transform-origin: 0 0;
    z-index: 10;
    pointer-events: none;
}

.js_curtain.is_visible::after {
    animation: curtainSwipe 1.0s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.js_curtain>* {
    opacity: 0;
    transition: opacity 0s;
}

.js_curtain.is_visible>* {
    animation: contentAppear 0.01s 0.5s forwards;
}

@keyframes curtainSwipe {
    0% {
        transform: scaleX(0);
        transform-origin: 0 0;
    }

    45% {
        transform: scaleX(1);
        transform-origin: 0 0;
    }

    55% {
        transform: scaleX(1);
        transform-origin: 100% 0;
    }

    100% {
        transform: scaleX(0);
        transform-origin: 100% 0;
    }
}

@keyframes contentAppear {
    to {
        opacity: 1;
    }
}


/* 2. 行ごとのテキストリビール */
.js_reveal_line {
    position: relative;
    display: inline-block;
    color: transparent;
    white-space: nowrap;
    overflow: hidden;
}

.js_reveal_line .reveal_layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.0s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: clip-path;
}

.js_reveal_line .layer_red {
    color: var(--primary-red);
    z-index: 1;
}

.js_reveal_line .layer_red * {
    color: var(--primary-red) !important;
}

.js_reveal_line .layer_final {
    color: var(--text-black);
    z-index: 2;
    transition-delay: 0.15s;
}

.js_reveal_line.is_visible .reveal_layer {
    clip-path: inset(0 0 0 0);
}

.js_reveal_line.delay_200 .reveal_layer {
    transition-delay: 0.2s;
}

.js_reveal_line.delay_200 .layer_final {
    transition-delay: 0.35s;
}

.js_reveal_line.delay_300 .reveal_layer {
    transition-delay: 0.3s;
}

.js_reveal_line.delay_300 .layer_final {
    transition-delay: 0.45s;
}

.js_reveal_line.delay_500 .reveal_layer {
    transition-delay: 0.5s;
}

.js_reveal_line.delay_500 .layer_final {
    transition-delay: 0.65s;
}


/* 3. シンプルフェード */
.js_fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js_fade.is_visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100.is_visible::after {
    animation-delay: 0.1s;
}

.delay-100.is_visible>* {
    animation-delay: 0.6s;
}

.delay_200.is_visible::after {
    animation-delay: 0.2s;
}

.delay_200.is_visible>* {
    animation-delay: 0.7s;
}

.delay_300.is_visible::after {
    animation-delay: 0.3s;
}

.delay_300.is_visible>* {
    animation-delay: 0.8s;
}


/* --- Common Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {

    .container {
        padding: 0 20px;
    }

}


.section_heading {
    margin-bottom: 40px;
}

.section_heading h2 {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 10px;
}

@media (max-width: 768px) {

    .section_heading h2 {
        font-size: 2.5rem;
    }

}


.section_heading .ja_sub {
    font-family: var(--font-jp-SB);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: 0.1rem;
    display: flex;
    align-items: center;
}

.section_heading .ja_sub::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-red);
}


/* --- Link Hover Animation (Underline) --- */
.nav_list a,
.links_item a,
.text_link a,
.policy a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.nav_list a::after,
.links_item a::after,
.text_link a::after,
.policy a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav_list a:hover::after,
.links_item a:hover::after,
.text_link a:hover::after,
.policy a:hover::after,
.mobile_nav_list a:not(.mobile_contact_btn)::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.nav_list a:hover,
.links_item a:hover,
.text_link a:hover,
.policy a:hover,
.mobile_nav_list a:not(.mobile_contact_btn):hover {
    opacity: 1;
}


/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    animation: headerSlideDown 0.8s ease forwards;
    height: 90px;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


.header_logo {
    z-index: 1001;
}

.header_nav {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.nav_list {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 20px;
}

@media (max-width: 1024px) {

    header {
        padding: 15px 20px;
        height: 60px;
    }

    .header_logo img {
        width: 186px;
    }

    .header_nav {
        display: none;
    }

}


.btn_contact {
    background-color: var(--primary-red);
    color: #fff;
    padding: 0 20px 0 30px;
    height: 100%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn_contact:hover {
    background-color: #b4161f;
    opacity: 1;
}


/* --- Arrow Box & Animation --- */
.arrow_box {
    background-color: #222222;
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.arrow_box svg {
    width: 16px;
    height: auto;
    display: block;
    fill: #fff;
    transition: fill 0.4s, transform 0s;
}

.arrow_box svg .cls-1 {
    fill: inherit;
}

@keyframes arrowLoop {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    40% {
        transform: translateX(120%);
        opacity: 0;
    }

    50% {
        transform: translateX(-120%);
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.btn_contact:hover .arrow_box,
.contact_btn_large:hover .arrow_box,
.mobile_contact_btn:hover .arrow_box {
    background-color: #fff;
}

.btn_contact:hover .arrow_box svg,
.contact_btn_large:hover .arrow_box svg,
.mobile_contact_btn:hover .arrow_box svg {
    fill: #222222;
    animation: arrowLoop 0.5s cubic-bezier(0.5, 0, 0.2, 1) forwards;
    -webkit-animation: arrowLoop 0.5s cubic-bezier(0.5, 0, 0.2, 1) forwards;
}


/* --- Hamburger Menu --- */
.hamburger_btn {
    display: none;
}

.mobile_menu_container {
    display: none;
}

@media (max-width: 1024px) {

    .hamburger_btn {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger_btn span {
        display: block;
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #222222;
        transition: transform 0.4s, top 0.4s, background-color 0.4s;
    }

    .hamburger_btn span:nth-child(1) {
        top: 6px;
    }

    .hamburger_btn span:nth-child(2) {
        bottom: 6px;
    }

    /* Active state (Close button) */
    .hamburger_btn.is_active span {
        background-color: #fff;
    }

    .hamburger_btn.is_active span:nth-child(1) {
        top: 9px;
        transform: rotate(25deg);
        -webkit-transform: rotate(25deg);
        -moz-transform: rotate(25deg);
        -ms-transform: rotate(25deg);
        -o-transform: rotate(25deg);
    }

    .hamburger_btn.is_active span:nth-child(2) {
        bottom: 9px;
        top: 9px;
        bottom: auto;
        transform: rotate(-25deg);
        -webkit-transform: rotate(-25deg);
        -moz-transform: rotate(-25deg);
        -ms-transform: rotate(-25deg);
        -o-transform: rotate(-25deg);
    }

    /* --- Mobile Menu Container --- */
    .mobile_menu_container {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1001;
        visibility: hidden;
        transition: visibility 0.4s;
    }

    .mobile_menu_container.is_active {
        visibility: visible;
    }

    /* 背景オーバーレイ */
    .mobile_overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(34, 34, 34, 0.6);
        opacity: 0;
        transition: opacity 0.4s;
    }

    .mobile_menu_container.is_active .mobile_overlay {
        opacity: 1;
    }

    /* メニューパネル（黒背景） */
    .mobile_menu_panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background-color: #222222;
        padding: 140px 20px 100px 20px;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        pointer-events: none;
    }

    .mobile_menu_container.is_active .mobile_menu_panel {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* メニュー内ロゴ */
    .mobile_logo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        padding: 0 0 0 20px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #3c3c3c;
        z-index: 1002;
    }

    .mobile_logo img {
        width: 186px;
    }

    /* ナビゲーションリスト */
    .mobile_nav_list {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* スタガード（時間差）アニメーション用の初期状態 */
    .mobile_nav_list li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    /* アクティブ時の状態 */
    .mobile_menu_container.is_active .mobile_nav_list li {
        opacity: 1;
        transform: translateY(0);
    }

    /* 遅延設定（上から順番に出てくる） */
    .mobile_menu_container.is_active .mobile_nav_list li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .mobile_menu_container.is_active .mobile_nav_list li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .mobile_menu_container.is_active .mobile_nav_list li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .mobile_menu_container.is_active .mobile_nav_list li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .mobile_menu_container.is_active .mobile_nav_list li:nth-child(5) {
        transition-delay: 0.5s;
    }

    /* ワンテンポ遅延 */
    .mobile_menu_container.is_active .mobile_nav_list li:nth-child(6) {
        transition-delay: 0.9s;
    }

    .mobile_nav_list li {
        width: 100%;
    }

    /* リンクデザイン */
    .mobile_nav_link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        isolation: isolate;
    }

    .mobile_nav_link::before {
        position: absolute;
        top: 50%;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 1px;
        content: "";
        border-top: 1px solid #3c3c3c;
    }

    .mobile_nav_link .jp {
        font-family: var(--font-jp-M);
        font-weight: 500;
        font-size: 1rem;
        color: #fff;
        white-space: nowrap;
        background-color: #222222;
        padding-right: 12px;
    }

    .mobile_nav_link .en {
        font-family: var(--font-en);
        font-size: 0.85rem;
        font-weight: 400;
        letter-spacing: 0;
        color: #3c3c3c;
        white-space: nowrap;
        background-color: #222222;
        padding-left: 12px;
    }

    /* SNSリンク */
    .mobile_nav_sns {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
    }

    /* お問い合わせボタン（ボックスデザイン） */
    .mobile_contact_btn {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 24px 20px;
        background-color: var(--primary-red);
        border-radius: 2px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        -o-border-radius: 2px;
        margin-top: 40px;
    }

    .mobile_contact_btn .en {
        font-family: var(--font-en);
        font-size: 1rem;
        font-weight: 400;
        letter-spacing: 0;
        margin-right: 10px;
    }

    .mobile_contact_btn .jp {
        font-size: 0.85rem;
    }
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 50px 0;
}

.hero_text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 90%;
}

.hero_title {
    font-family: var(--font-en);
    font-size: 6.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-black);
}

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

.hero_title_top {
    align-self: flex-start;
}

.hero_title_bottom {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

.hero_subtitle {
    font-family: var(--font-jp-SB);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
    margin-top: 10px;
}


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

    .hero {
        padding: 30px 0;
    }

    .hero_title {
        font-size: 5.0rem;
        white-space: wrap;
    }

    .hero_subtitle {
        font-size: 2.0rem;
    }
}


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

    .hero_title {
        font-size: 6.0rem;
        white-space: wrap;
    }

    .hero_title .br {
        display: block;
    }

    .hero_subtitle {
        font-size: 2.0rem;
    }
}


@media (max-width: 576px) {

    .hero {
        height: 60vh;
        min-height: 500px;
        justify-content: end;
    }

    .hero_title {
        font-size: 3.0rem;
    }

    .hero_title_bottom {
        align-self: flex-start;
    }

    .hero_subtitle {
        font-size: 1.5rem;
    }

}


/* --- About Us --- */
.about {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about_inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.about_content {
    flex: 1;
    padding-top: 20px;
}

.about_text p {
    margin-bottom: 20px;
    text-align: justify;
}

.about_image {
    flex: 1.2;
    position: relative;
}

.about_image img {
    border-radius: 2px;
}

@media (max-width: 768px) {

    .about_inner {
        flex-direction: column-reverse;
        gap: 30px;
    }

}


/* --- Solutions --- */
.solutions {
    padding: 100px 0;
}

.solutions_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.solution_card {
    border: 2px solid var(--border-color);
    padding: 30px;
}

.solution_card:hover {
    transform: none;
    box-shadow: none;
}

.card_img {
    width: 100%;
    height: 300px;
    margin-bottom: 25px;
    overflow: hidden;
}

.card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.card_title {
    font-family: var(--font-jp-SB);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.card_title_en {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 20px;
    display: block;
}

.card_desc {
    font-size: 0.95rem;
    font-weight: 500;
}


@media (max-width: 1024px) {

    .card_img {
        height: 250px;
    }

}

@media (max-width: 768px) {

    .solutions_grid {
        grid-template-columns: 1fr;
    }

    .solution_card {
        padding: 20px;
    }

    .card_img {
        height: 200px;
    }

}


/* --- Company --- */
.company {
    padding: 100px 0;
}

.company .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.company .section_heading {
    width: 360px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.company_table {
    flex: 1;
    border-top: 1px solid var(--border-color);
}

.company_row {
    display: flex;
    padding: 40px 10px;
    border-bottom: 1px solid var(--border-color);
}

.dt {
    width: 220px;
    font-family: var(--font-jp-SB);
    font-weight: 600;
    color: var(--text-black);
    flex-shrink: 0;
}

.dd {
    flex: 1;
}


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

    .company .container {
        gap: 20px;
    }

    .company_row {
        flex-direction: column;
        padding: 20px 5px;
    }

    .dt {
        width: 140px;
    }

}


@media (max-width: 768px) {

    .company .container {
        flex-direction: column;
        gap: 30px;
    }

    .company .section_heading {
        width: 100%;
        margin-bottom: 20px;
    }

    .company_table {
        width: 100%;
    }

    .dt {
        width: 100%;
        margin-bottom: 5px;
        color: #888888;
        font-size: 0.85rem;
    }

}


/* --- Contact --- */
.contact_section {
    padding: 80px 80px;
    background-color: var(--primary-red);
    overflow: hidden;
}

.contact_container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 90px;
}

.contact_info {
    width: 55%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.contact_info .js_reveal_line .layer_final {
    color: #fff;
    transition-delay: 0s;
}

.contact_title {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact_sub {
    font-family: var(--font-jp-SB);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.contact_sub::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #fff;
    display: block;
}

.contact_text {
    font-size: 0.95rem;
}

.kome {
    font-family: 'NotoSansJP_Medium', sans-serif;
}

.contact_box {
    width: 45%;
    background-color: #b4161f;
    padding: 40px;
}

.tel_area {
    color: #fff;
    margin-bottom: 15px;
}

.tel_number {
    font-family: var(--font-en);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.15rem;
    margin-bottom: 15px;
}

/* --- Contact Button Animation --- */
.contact_btn_large {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #fff;
    color: #fff;
    position: relative;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
}

.contact_btn_large:hover {
    opacity: 1;
}

.contact_btn_large::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1.0);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact_btn_large:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}


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

    .contact_section {
        padding: 80px 40px;
    }

    .contact_container {
        gap: 40px;
    }

    .contact_box {
        padding: 36px;
    }

    .tel_number {
        font-size: 1.6rem;
        letter-spacing: 0.1rem;
    }

}


@media (max-width: 768px) {

    .contact_section {
        padding: 60px 20px;
    }

    .contact_container {
        flex-direction: column;
        gap: 40px;
    }

    .contact_info {
        width: 100%;
    }

    .contact_title {
        font-size: 2.5rem;
    }

    .contact_box {
        width: 100%;
        padding: 30px 20px;
    }

    .tel_number {
        font-size: 1.4rem;
    }

    .tel_sub {
        font-size: 0.8rem;
    }

}


/* --- Footer --- */
footer {
    background-color: #222222;
    color: #fff;
}

.footer_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    padding: 50px 40px 60px 40px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer_logo img {
    width: 217px;
}

.footer_links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.links_item {
    display: flex;
    gap: 30px;
    font-size: 0.85rem;
}

.links_sns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    padding: 20px 40px 50px 40px;
    margin: 0 auto;
    font-size: 0.75rem;
    line-height: 1.0;
    border-top: 1px solid #3c3c3c;
}

.policy {
    text-align: left;
}

.copyright {
    font-family: var(--font-en);
    font-weight: 400;
    text-align: right;
}

@media (max-width: 768px) {
    .footer_top {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px 60px 20px;
        gap: 40px;
    }

    .footer_logo img {
        width: 186px;
    }

    .footer_links {
        flex-direction: column;
        align-items: flex-start;
    }

    .links_item {
        flex-direction: column;
        gap: 15px;
    }

    .links_item a {
        width: fit-content;
    }

    .footer_bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px 40px 20px;
        gap: 20px;
    }

    .copyright {
        font-size: 0.55rem;
        text-align: left;
    }

}


/* --- Contact --- */
.contact {
    padding: 100px 0;
}

.contact .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.contact .section_heading {
    width: 360px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.form_container {
    flex: 1;
}


/* --- mail_form --- */
form#mail_form {
    width: 100%;
    margin: 50px auto 0;
}

form#mail_form dl {
    width: 100%;
}

form#mail_form .form_inner {
    display: flex;
    margin-bottom: 40px;
}

form#mail_form dt {
    width: 30%;
    padding: 30px 0 0 0;
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

form#mail_form dd {
    width: 70%;
    padding: 0;
}

form#mail_form ul {
    list-style: none;
}

form#mail_form input[type=radio] {
    display: none;
}

form#mail_form label {
    line-height: 1;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

form#mail_form label:focus,
form#mail_form label:hover {
    color: inherit;
}

form#mail_form .text_input,
form#mail_form .text_area {
    font-family: var(--font-jp-M);
    font-size: 1.0em;
    line-height: 2.0;
    letter-spacing: 0.05rem;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    width: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

form#mail_form .text_input:focus,
form#mail_form .text_area:focus {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

form#mail_form .text_area {
    resize: vertical;
}

form#mail_form dl dt span.required {
    display: inline-block;
    color: #b4161f;
    font-size: 1.2em;
    line-height: 1.0em;
    margin: 5px 0 0 2px;
}

form#mail_form span.error_blank,
form#mail_form span.error_format,
form#mail_form span.error_match {
    display: block;
    font-size: 0.8em;
    color: #b4161f;
    margin-top: 3px;
}

::placeholder {
    color: #dddddd;
}

.select_wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    border: 1px solid #eeeeee;
}

select::-ms-expand {
    display: none;
}

select {
    font-family: var(--font-jp-M);
    font-size: 1.0em;
    line-height: 2.0;
    letter-spacing: 0.05rem;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #dddddd;
    position: relative;
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 30px 60px 30px 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: linear-gradient(to right, #dddddd, #dddddd);
    background-position: top 20px right 60px;
    background-size: 1px 50px;
    background-repeat: no-repeat;
}

.select_wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
}

.select_wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 26px;
    width: 0;
    height: 0;
    margin: auto 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: #dddddd transparent transparent transparent;
}

p#form_submit {
    position: relative;
    height: 60px;
}

form#mail_form input[type="button"] {
    position: relative;
    display: block;
    font-family: var(--font-jp-M);
    font-size: 1.0em;
    line-height: 2.0;
    letter-spacing: 0.2rem;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    line-height: 80px;
    text-align: center;
    color: #ffffff;
    float: right;
    width: 100%;
    height: 80px;
    background-color: var(--primary-red);
    border: 1px solid var(--primary-red);
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all .3s ease-out;
    cursor: pointer;
}

form#mail_form input[type="button"]:hover {
    background-color: #b4161f;
    border: 1px solid #b4161f;
    color: #ffffff;
}

#agreement {
    margin-bottom: 40px;
}

#agree_check {
    margin-bottom: 20px;
}

.checkbox_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

input[type="checkbox"] {
    position: relative;
    margin: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: 1px solid #eeeeee;
    padding: 0;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
}

input[type="checkbox"]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 30%;
    width: 14px;
    height: 8px;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-bottom: 2px solid #c81923;
    border-left: 2px solid #c81923;
    opacity: 0;
}

input[type="checkbox"]:checked::after {
    opacity: 1;
}

form#mail_form #agreement span.error_check {
    display: none;
    font-size: 0.8em;
    color: #b4161f;
    margin-top: 3px;
}


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

    form#mail_form dl {
        margin: 0
    }

    form#mail_form .form_inner {
        flex-direction: column;
        margin-bottom: 20px;
    }

    form#mail_form dt {
        display: block;
        width: 100%;
        padding: 0 0 10px 0;
    }

    form#mail_form dd {
        display: block;
        width: 100%;
        border-top: none;
    }

    form#mail_form .text_input,
    form#mail_form .text_area {
        padding: 15px 15px;
    }

    select {
        padding: 15px 60px 15px 15px;
        background-position: top 10px right 60px;
        background-size: 1px 40px;
    }

    form#mail_form input[type="button"] {
        line-height: 60px;
        height: 60px;
    }

}


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

    .contact .container {
        gap: 20px;
    }

}


@media (max-width: 768px) {

    .contact .container {
        flex-direction: column;
        gap: 40px;
    }

    .contact .section_heading {
        width: 100%;
    }

}


/* Text Base */
.text-base {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.text-body {
    margin: 0 auto;
}

.text-body h3 {
    font-family: var(--font-jp-SB);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 50px 0 20px 0;
    padding-left: 15px;
    border-left: 2px solid var(--primary-red);
    color: var(--text-black);
}

.text-body p {
    margin-bottom: 20px;
}

.text-body ul {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 20px;
}

.text-body li {
    margin-bottom: 10px;
}