@charset "UTF-8";

/* OTTO確認ページではSWELL標準の外枠・見出しを非表示／全幅化 */
body.otto-test-page #header,
body.otto-test-page #footer,
body.otto-test-page .c-pageTitle {
    display: none;
}

body.otto-test-page #content,
body.otto-test-page .l-content,
body.otto-test-page .l-mainContent,
body.otto-test-page .post_content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* --- 共通変数設定 --- */
.otto-renewal{
    --primary-color: #00afc1;
    --secondary-color: #0d93e0;
    --accent-color: #ffb363;
    --dark-accent: #2f3437;
    --text-color: #222222;
    --bg-color: #FFFFFF;
    --bg-gray: #F7F9FB;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Oswald', sans-serif;
}

/* --- リセット & 基本設定 --- */
.otto-renewal, .otto-renewal *{ margin: 0; padding: 0; box-sizing: border-box; }

.otto-renewal{
    font-family: var(--font-jp);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.otto-renewal a{ text-decoration: none; color: inherit; transition: 0.3s; }
.otto-renewal ul{ list-style: none; }
.otto-renewal img{ width: 100%; height: auto; display: block; }

/* --- Utility Classes --- */
.otto-renewal .section{ position: relative; padding-block: 80px;}

.otto-renewal .container{
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
}
.otto-renewal .br-sp{ display: none;}
@media (max-width: 767px) {
    .otto-renewal .section{ padding-block: 60px;}
    .otto-renewal .container{ width: calc(100% - 40px);}
    .otto-renewal .br-sp{ display: block;}
}

.otto-renewal .bg-gray{ background-color: var(--bg-gray); }

.otto-renewal .section-title{
    font-family: var(--font-en);
    font-size: 7rem;
    font-weight: 700;
    color: #c3c3c3;
    position: static;
    width: auto;
    line-height: 1;
    margin: 0 0 20px;
    padding: 0;
    pointer-events: none;
}
.otto-renewal .section-label{
    margin: 0 0 15px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #00afc1;
}

.otto-renewal .section-subtitle{
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 700;
    margin: 15px 0;
    padding: 10px 0 10px 20px;
    border-left: 6px solid var(--primary-color);
    display: inline-block;
}

.otto-renewal .section-subtitle p{
    font-size: 1.5rem;

}
/* --- Side Layout (共通パーツ) --- */
.otto-renewal .side-layout{
    display: flex;
    flex-direction: column; 
    gap: 20px;
    height: auto;
}

/*  --- MVV section--- */
    .otto-renewal .mvv-item{
        display: grid;
        grid-template-columns: minmax(260px, 38%) 1fr;
        column-gap: 30px;
        row-gap: 16px;
        padding: 90px 0;
        border-top: 1px solid rgba(0, 175, 193, 0.25);
    }

    .otto-renewal .mvv-item:last-child{
        border-bottom: 1px solid rgba(0, 175, 193, 0.25);
    }

    .otto-renewal .mvv-item-label{
        grid-column: 1;
        margin: 0;
        color: var(--primary-color);
        font-size: 20px;
        font-weight: 900;
        letter-spacing: 0.18em;
    }

    .otto-renewal .mvv-item-title{
        grid-column: 1;
        margin: 8px 0 0;
        font-size: clamp(24px, 3.2vw, 36px);
        line-height: 1.45;
    }

    .otto-renewal .mvv-item-text{
        grid-column: 2;
        grid-row: 1 / span 2;
        line-height: 2.15;
    }

    .otto-renewal .mvv-item-text p{
        margin: 0 0 1.4em;
    }

    .otto-renewal .mvv-item-text p:last-child{
        margin-bottom: 0;
    }
    .otto-renewal .mvv-value{
    display: block;
    }

    .otto-renewal .mvv-value .mvv-item-label{
        margin-bottom: 14px;
    }

    .otto-renewal .mvv-value .mvv-item-title{
        max-width: 800px;
        margin-bottom: 60px;
    }

    .otto-renewal .value-list{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin: 0;
        padding: 0;
        list-style: none;
        counter-reset: value-number;
    }

    .otto-renewal .value-item{
        position: relative;
        min-width: 0;
        padding: 80px 34px 40px;
        background: #fff;
        border: 1px solid rgba(0, 175, 193, 0.2);
        overflow: hidden;
        counter-increment: value-number;
        transition: 0.35s ease;
    }

    .otto-renewal .value-item::before{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(
            90deg,
            var(--primary-color),
            var(--secondary-color)
        );
        content: "";
    }

    .otto-renewal .value-item::after{
        position: absolute;
        top: 25px;
        right: 28px;
        color: rgba(0, 175, 193, 0.15);
        font-size: 50px;
        font-weight: 700;
        line-height: 1;
        content: "0" counter(value-number);
    }

    .otto-renewal .value-item:hover{
        transform: translateY(-8px);
        border-color: var(--primary-color);
        box-shadow: 0 20px 40px rgba(163, 194, 223, 0.2);
    }

    .otto-renewal .value-item-title{
        position: relative;
        z-index: 1;
        margin: 0 0 28px;
        font-size: clamp(20px, 1.8vw, 26px);
        line-height: 1.55;
    }

    .otto-renewal .value-item-text{
        font-size: 15px;
        line-height: 2;
    }

    .otto-renewal .value-item-text p{
        margin: 0 0 1.2em;
    }

    .otto-renewal .value-item-text p:last-child{
        margin-bottom: 0;
    }

    @media (max-width: 900px) {
        .otto-renewal .mvv-item{
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 70px 0;
        }

        .otto-renewal .mvv-item-label,.otto-renewal .mvv-item-title,.otto-renewal .mvv-item-text{
            grid-column: 1;
            grid-row: auto;
        }

        .otto-renewal .mvv-item-text{
            margin-top: 20px;
        }

        .otto-renewal .value-list{
            grid-template-columns: 1fr;
        }

        .otto-renewal .mvv-value .mvv-item-title{
            margin-bottom: 40px;
        }
    }

    @media (max-width: 600px) {
        .otto-renewal .mvv-item{
            padding: 55px 0;
        }

        .otto-renewal .mvv-item-title{
            font-size: 27px;
        }

        .otto-renewal .value-item{
            padding: 70px 24px 32px;
        }

        .otto-renewal .value-item::after{
            top: 22px;
            right: 22px;
            font-size: 42px;
        }
    }   

/*---TOP service section---*/

.otto-renewal .service-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px auto;
    padding: 0;
    list-style: none;
}

.otto-renewal .service-tags li{
    color: var(--bg-color);
    padding: 8px 16px;
    background: linear-gradient(
        135deg,
        #00afc1 0%,
        #0d93e0 100%
    );
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.5;
    font-weight: 700;
}

.otto-renewal .main-content{
    margin-top: 80px;
}

.otto-renewal .service-expansion-heading .service-category{
    color: #00afc1;
}

.otto-renewal .service-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.otto-renewal .service-card{
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 35px;
    color: #2f3437;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 175, 193, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.otto-renewal .service-card:hover{
    transform: translateY(-6px);
    border-color: #00afc1;
    box-shadow: 0 16px 40px rgba(0, 175, 193, 0.12);
}

.otto-renewal .service-card .card-title{
    margin: 0 0 18px;
    font-size: 23px;
    color: #00afc1;
}

.otto-renewal .service-card p{
    line-height: 1.9;
}

.otto-renewal .service-link,.otto-renewal .service-card-link{
    display: block;
    margin-top: auto;
    padding-top: 25px;
    color: #00afc1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.otto-renewal .service-all-link,.otto-renewal .member-all-link{
    margin: 50px auto;
    text-align: center;
}

@media (max-width: 767px) {
    .otto-renewal .service-section{
        margin-top: 35px;
    }

    .otto-renewal .service-main{
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 35px;
        padding: 35px 25px;
    }

    .otto-renewal .service-main-number{
        font-size: 38px;
    }

    .otto-renewal .service-main-text{
        margin: 22px 0;
        font-size: 14px;
    }

    .otto-renewal .service-tags{
        gap: 7px;
    }

    .otto-renewal .service-expansion{
        margin-top: 60px;
    }

    .otto-renewal .service-list{
        grid-template-columns: 1fr;
    }

    .otto-renewal .service-card{
        min-height: auto;
        padding: 30px 25px;
    }

    .otto-renewal .service-card-link{
        margin-top: 20px;
    }
}
/* --- TOPスライダーセクション --- */
    .otto-renewal .photo-slider{
        width: 100%;
        overflow: hidden;
    }

    .otto-renewal .photo-track{
        display: flex;
        width: max-content;
        animation: photo-scroll 120s linear infinite;
    }

    .otto-renewal .photo-group{
        display: flex;
        flex-shrink: 0;
        gap: 0;
    }

    .otto-renewal .photo-group img{
        width: 400px;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        flex-shrink: 0;
    }

    @keyframes photo-scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }
    }

    /* スマホ */
    @media (max-width: 767px) {
        .otto-renewal .photo-group img{
            width: 220px;
        }

        .otto-renewal .photo-track{
            animation-duration: 80s;
        }
    }

    /* 動きを減らす設定の端末では停止 */
    @media (prefers-reduced-motion: reduce) {
        .otto-renewal .photo-track{
            animation: none;
        }
    }

/* --- Utility: アニメーション --- */
.otto-renewal .fade-up{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.otto-renewal .fade-up.is-active{ /* JSでクラス付与を想定 */
    opacity: 1;
    transform: translateY(0);
}

/* --- Instagram Floating Button --- */
.otto-renewal .insta-float{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 1px solid var(--dark-accent);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.otto-renewal .insta-float:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(163, 194, 223, 0.4);
}
.otto-renewal .insta-icon{
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-radius: 6px;
    display: block;
}
.otto-renewal .insta-text{
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-accent);
}

/* --- Header --- */
.otto-renewal header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 40px;
    color: #2f3437;
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
	
    mix-blend-mode: normal;
    isolation: isolate;
	
    font-family: var(--font-en);

    transition:
        padding 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.otto-renewal header a,.otto-renewal header .logo{
    color: #2f3437;
}

.otto-renewal header.is-scrolled{
    padding: 12px 40px;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(47, 52, 55, 0.08);
}

.otto-renewal .logo{
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.otto-renewal .nav-menu{
    display: flex;
    align-items: center;
    gap: 40px;
}

.otto-renewal .nav-menu a{
    position: relative;
    color: #2f3437;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
}

.otto-renewal .nav-jp{
    display: block;
    margin-top: 2px;
    font-family: var(--font-jp);
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

.otto-renewal .nav-menu a::after{
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #2f3437;
    content: "";
    transition: width 0.3s ease;
}

.otto-renewal .nav-menu a:hover::after{
    width: 100%;
}
.otto-renewal .nav-item-dropdown {
    position: relative;
}

.otto-renewal .dropdown-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.otto-renewal .dropdown-label > span:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.otto-renewal .dropdown-arrow {
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* SERVICEとドロップダウンの間を埋める */
.otto-renewal .nav-item-dropdown::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    content: "";
}

/* 閉じた状態 */
.otto-renewal .dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    z-index: 1000;
    width: 240px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: #fff;
    box-shadow: 0 8px 24px rgba(47, 52, 55, 0.15);
    transform: translate(-50%, -10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

/* PC：ホバーまたはキーボード操作で表示 */
@media (min-width: 769px) {
    .otto-renewal .nav-item-dropdown:hover .dropdown-menu,
    .otto-renewal .nav-item-dropdown:focus-within .dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .otto-renewal .nav-item-dropdown:hover .dropdown-arrow,
    .otto-renewal .nav-item-dropdown:focus-within .dropdown-arrow {
        transform: rotate(225deg);
    }
}

.otto-renewal .dropdown-menu li {
    margin: 0;
}

.otto-renewal .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #2f3437;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.otto-renewal .dropdown-menu a:hover,
.otto-renewal .dropdown-menu a:focus-visible {
    color: #00afc1;
    background-color: #f7f9fb;
}

/* スマホ */
@media (max-width: 768px) {
    .otto-renewal .nav-item-dropdown {
        width: 100%;
    }

    .otto-renewal .dropdown-label {
        position: relative;
        padding: 15px 20px;
    }

    .otto-renewal .dropdown-arrow {
        position: absolute;
        top: 50%;
        right: 25px;
        transform: translateY(-70%) rotate(45deg);
    }

    .otto-renewal .nav-item-dropdown.is-open .dropdown-arrow {
        transform: translateY(-20%) rotate(225deg);
    }

    .otto-renewal .nav-item-dropdown::after {
        display: none;
    }

    .otto-renewal .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        background-color: #f7f9fb;
        box-shadow: none;
        transform: none;

        transition: none;
    }

    .otto-renewal .nav-item-dropdown.is-open .dropdown-menu {
        max-height: 500px;
        margin-top: 12px;
        padding: 8px 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;

        transition:
            max-height 0.3s ease,
            opacity 0.2s ease,
            visibility 0s;
    }


    .otto-renewal .dropdown-menu a {
        padding: 12px 30px;
        text-align: center;
    }
}
/* PCではハンバーガーを非表示 */
.otto-renewal .menu-toggle{
    display: none;
}

@media (max-width: 768px) {

    /* ヘッダー */
    .otto-renewal header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 15px 20px;
        color: #2f3437;
        mix-blend-mode: normal;
    }

    .otto-renewal header.is-scrolled {
        padding: 12px 20px;
    }

    .otto-renewal header .logo {
        position: relative;
        z-index: 1003;
    }

    .otto-renewal header .logo a {
        color: #2f3437;
    }

    /* メイン・ヒーロー */
    .otto-renewal main {
        padding-top: 0;
    }

    .otto-renewal .hero {
        margin-top: 0;
        padding-top: 0;
    }

    /* ハンバーガーボタン */
    .otto-renewal .menu-toggle {
        position: relative;
        z-index: 1003;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;

        width: 44px;
        height: 44px;
        padding: 8px;

        border: none;
        background: transparent;
        cursor: pointer;
    }

    .otto-renewal .menu-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background-color: #2f3437;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    /* スマホメニュー */
    .otto-renewal .nav-menu {
        position: fixed;
        inset: 0;
        z-index: 1001;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;

        width: 100vw;
        height: 100dvh;
        padding: 90px 30px 40px;

        background-color: #fff;
        mix-blend-mode: normal;
        isolation: isolate;
        overflow-y: auto;

        visibility: hidden;
        opacity: 0;
        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .otto-renewal .nav-menu.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .otto-renewal .nav-menu a {
        display: block;
        width: 100%;
        color: #2f3437;
        font-size: 1.2rem;
        font-weight: 600;
        mix-blend-mode: normal;
    }

    .otto-renewal .nav-jp {
        display: block;
        margin-top: 3px;
        font-size: 0.75rem;
        font-weight: 400;
    }

    /* メニューを開いたら「×」に変更 */
    .otto-renewal .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .otto-renewal .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .otto-renewal .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* メニュー展開中は背景をスクロールさせない */
    .otto-renewal.menu-open {
        overflow: hidden;
    }
	/* スマホではナビの下線を完全に非表示 */
    .otto-renewal .nav-menu a::after,
    .otto-renewal .dropdown-label::after {
        display: none !important;
        width: 0 !important;
        opacity: 0 !important;
        content: none !important;
    }

}

/* --- Loading Screen (修正箇所) --- */
.otto-renewal .loader{
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-accent);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}
.otto-renewal .loader-text{
    font-family: var(--font-en);
    color: #fff;
    font-size: 3rem;
    letter-spacing: 0.2em;
    opacity: 0;
}

/* --- Hero Container --- */
.otto-renewal .hero{
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #152023;
}
.otto-renewal .hero-slides{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.otto-renewal .slide-item{
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.otto-renewal .slide-item.is-active{
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.otto-renewal .slide-item.is-leaving{
    z-index: 3;
    visibility: visible;
    animation: slideLeave 1s ease-in-out forwards;
}

.otto-renewal .slide-bg{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: scale(1);
    filter: brightness(0.2);
    will-change: transform, filter;
}

.otto-renewal .slide-item.is-active .slide-bg{
    animation: slideEnter 8s ease-in-out forwards;
}

@keyframes slideEnter {
    0% {
        transform: scale(1);
        filter: brightness(0.2);
    }

    15% {
        transform: scale(1.015);
        filter: brightness(0.9);
    }

    100% {
        transform: scale(1.08);
        filter: brightness(0.9);
    }
}

@keyframes slideLeave {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.otto-renewal .slide-item.is-leaving .slide-bg{
    animation: slideBgLeave 1s ease-in-out forwards;
}

@keyframes slideBgLeave {
    0% {
        transform: scale(1.08);
        filter: brightness(0.9);
    }

    100% {
        transform: scale(1.09);
        filter: brightness(0.2);
    }
}

.otto-renewal .slide-content{
    position: absolute;
    bottom: 15%;
    left: 8%;
    z-index: 4;
    color: #fff;
    opacity: 0;
    will-change: opacity;
}

.otto-renewal .slide-item.is-active .slide-content{
    animation: contentEnter 0.8s ease-out 0.15s forwards;
}

@keyframes contentEnter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.otto-renewal .slide-label{
    margin: 0 0 15px;
    padding-left: 15px;
    border-left: 3px solid #fff;
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.3em;
}

.otto-renewal .slide-title{
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
    .otto-renewal .hero{
        height: 100svh;
        min-height: 560px;
    }

    .otto-renewal .slide-content{
        right: 6%;
        bottom: 12%;
        left: 6%;
        max-width: none;
    }

    .otto-renewal .slide-label{
        margin-bottom: 12px;
        padding-left: 12px;
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .otto-renewal .slide-title{
        font-size: clamp(1.65rem, 7vw, 2.4rem);
        line-height: 1.55;
    }
    }       

@media (prefers-reduced-motion: reduce) {
    .otto-renewal .slide-item,.otto-renewal .slide-bg,.otto-renewal .slide-content{
        animation-duration: 0.01ms !important;
    }
}

/* --- sectionレイアウトの基本 --- */
.otto-renewal .side-content{
    flex: 1;
}

/* --- タイトルの基本（スマホ：横書き） --- */
.otto-renewal .v-title{
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-accent);
    text-transform: uppercase;
    letter-spacing: 0.01em; /* 横書き時の自然な間隔 */
    line-height: 1;
    display: flex; /* 文字を横に並べる */
    flex-direction: row;
}

/* PC：右側に縦配置 */
@media screen and (min-width: 769px) {
    .otto-renewal .side-layout{
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
    }

    .otto-renewal .side-content{
        flex: 1;
    }

    .otto-renewal .side-title{
        position: relative;
        flex: 0 0 90px;
        min-height: 500px;
    }

    .otto-renewal .v-title{
        position: absolute;
        top: 0;
        left: 90%;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.01em;
        white-space: nowrap;
        transform: rotate(90deg);
        transform-origin: top left;
        margin: 0;
        padding: 0;
        font-size: clamp(60px, 7vw, 100px);
        line-height: 1;
        letter-spacing: 0.01em;
    }

    .otto-renewal .v-title .char{
        display: inline-block;
        line-height: 1;
    }
}
@media screen and (max-width: 768px) {
    .otto-renewal .v-title{
        position: static;
        display: flex;
        flex-direction: row;
        gap: 0.1em;
        transform: none;
    }
}

@media (max-width: 768px) {
    .otto-renewal .side-layout{
        gap: 30px;
    }
}

/* --- Components --- */
.otto-renewal .grid-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.otto-renewal .img-reveal{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.otto-renewal .img-reveal img{
    display: block;
    width: 100%;
    height: auto;
}

.otto-renewal .btn{
    display: inline-block;
    margin-top: 30px;
    padding: 15px 50px;
    background: transparent;
    border:solid 1px var(--dark-accent);
    color: var(--dark-accent);
    font-family: var(--font-en);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}
.otto-renewal .btn::before{
    content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.otto-renewal .btn:hover{ color: #000; border-color: var(--primary-color); }
.otto-renewal .btn:hover::before{ width: 100%; }

/* --- Table & Cards --- */
.otto-renewal .company-table{ width: 100%; border-collapse: collapse; margin-top: 40px; }
.otto-renewal .company-table th,.otto-renewal .company-table td{ padding: 20px; border-bottom: 1px solid #ddd; text-align: left; }
.otto-renewal .company-table th{ width: 30%; background-color: var(--bg-gray); font-weight: 700; }

.otto-renewal .card-icon{
    font-size: 1.2rem;
    color: #fff;
    background: var(--primary-color);
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 20px;
    font-family: var(--font-en);
    font-weight: bold;
}
.otto-renewal .card-title{ font-size: 1.4rem; margin-bottom: 15px; font-weight: 700; }
/* --- member-page Specific --- */
.otto-renewal .member-profile{
    margin-bottom: 120px;
}
/* 右側の画像 */
.otto-renewal .member-profile-image{
    height: clamp(480px, 55vw, 680px);
    overflow: hidden;
}

.otto-renewal .member-profile-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左側のテキスト */
.otto-renewal .member-profile-name{
    margin-bottom: 8px;
    color: var(--dark-accent);
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1;
}

.otto-renewal .member-profile-role{
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
}

.otto-renewal .member-profile-heading{
    margin-bottom: 28px;
    color: var(--dark-accent);
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    font-weight: 700;
    line-height: 1.6;
}

.otto-renewal .member-profile-body{
    color: var(--text-color);
    font-size: 1rem;
    line-height: 2;
}

/* Other Member */
.otto-renewal .other-member{
    margin-bottom: 45px;
}

/* スマホ */
@media (max-width: 768px) {
    .otto-renewal .member-profile{
        margin-bottom: 80px;
    }

    .otto-renewal .member-profile-image{
        height: min(110vw, 560px);
    }

    .otto-renewal .member-profile-name{
        font-size: 2.5rem;
    }

    .otto-renewal .member-profile-role{
        margin-bottom: 28px;
    }

    .otto-renewal .member-profile-heading{
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

    .otto-renewal .member-profile-body{
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .otto-renewal .other-member{
        margin-bottom: 30px;
    }
}
/* --- Recruit Page Specific --- */
.otto-renewal .grid-3{ /* 3カラムグリッド */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.otto-renewal .staff-card{
    background: #fff;
}
.otto-renewal .staff-img-wrap{
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.otto-renewal .staff-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* カードにホバーしたら画像だけズーム */
.otto-renewal .staff-card:hover .staff-img{
    transform: scale(1.05);
}
.otto-renewal .staff-info{
    padding: 20px;
}
.otto-renewal .staff-role{
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}
.otto-renewal .staff-name{
    font-size: 1.2rem;
    font-weight: 700;
}
.otto-renewal .article-card{
    background: #fff;
    transition: 0.3s;
}
.otto-renewal .article-card:hover{ opacity: 0.8; }
.otto-renewal .article-img-box{
    width: 100%;
    height: 200px;
    background: #ddd;
    overflow: hidden;
}
.otto-renewal .article-img-box img{
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.5s;
}
.otto-renewal .article-card:hover img{ transform: scale(1.1); }
.otto-renewal .article-content{ padding-top: 15px; }
.otto-renewal .article-date{ font-size: 0.8rem; color: #999; }
.otto-renewal .article-title{ font-weight: 700; margin-top: 5px; line-height: 1.5; }

/* --- Footer --- */
.otto-renewal footer{
    background: var(--dark-accent);
    color: #fff;
    padding: 80px 5%;
}
.otto-renewal .footer-content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.otto-renewal .footer-logo{ font-family: var(--font-en); font-size: 2rem; margin-bottom: 20px; }
.otto-renewal .footer-links a{ display: block; margin-bottom: 10px; color: #aaa; }
.otto-renewal .footer-links a:hover{ color: var(--primary-color); }

/* --- Responsive --- */
@media (max-width: 768px) {
    .otto-renewal .section-title{ font-size: 3rem; top: 20px; }
    .otto-renewal .hero-title{ font-size: 12vw; }
    .otto-renewal .grid-2,.otto-renewal .grid-3{ grid-template-columns: 1fr; gap: 40px; }
    .otto-renewal .company-table th,.otto-renewal .company-table td{ display: block; width: 100%; }
    .otto-renewal .company-table th{ border-bottom: none; padding-bottom: 5px; }
    .otto-renewal .insta-float{ bottom: 20px; right: 20px; }
    /* --- Footer：スマホ --- */
    .otto-renewal footer{ padding: 60px 20px 30px; }
    .otto-renewal .footer-content{ flex-direction: column; align-items: flex-start; gap: 30px; }
    .otto-renewal .footer-logo{ font-size: 1.7rem; margin-bottom: 0;}
    .otto-renewal .footer-links{ display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
    .otto-renewal .footer-links a{ display: block; width: 100%; margin-bottom: 0; font-size: 1rem; }
}
/* 下層ページ先頭 */
.otto-renewal .sub-page-first {
    padding-top: 120px !important;
}

@media (max-width: 767px) {
    .otto-renewal .sub-page-first {
        padding-top: 60px;
    }
}

/* --- CONTACT --- */
.otto-renewal .contact-section {
    background-color: var(--bg-color);
}

.otto-renewal .contact-intro {
    margin: 40px auto 50px;
    text-align: center;
    line-height: 2;
}

.otto-renewal .contact-note {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
}

.otto-renewal .contact-form {
    width: min(100%, 800px);
    margin: 0 auto;
    padding: 50px;
    background-color: var(--bg-gray);
    border-radius: 20px;
}

.otto-renewal .contact-form .form-group {
    margin-bottom: 30px;
}

.otto-renewal .contact-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 700;
}

.otto-renewal .contact-form .required,
.otto-renewal .contact-form .optional {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    vertical-align: 2px;
}

.otto-renewal .contact-form .required {
    background-color: var(--primary-color);
}

.otto-renewal .contact-form .optional {
    background-color: #999;
}

/* CF7が出力するラッパー */
.otto-renewal .contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.otto-renewal .contact-form input[type="text"],
.otto-renewal .contact-form input[type="email"],
.otto-renewal .contact-form input[type="tel"],
.otto-renewal .contact-form select,
.otto-renewal .contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #d9dfe3;
    border-radius: 8px;
    background-color: #fff;
    color: var(--text-color);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.otto-renewal .contact-form textarea {
    min-height: 200px;
    resize: vertical;
}

.otto-renewal .contact-form input::placeholder,
.otto-renewal .contact-form textarea::placeholder {
    color: #aaa;
}

.otto-renewal .contact-form input:focus,
.otto-renewal .contact-form select:focus,
.otto-renewal .contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 175, 193, 0.15);
}

/* 送信ボタン */
.otto-renewal .contact-form .form-submit {
    margin-top: 40px;
    text-align: center;
}

.otto-renewal .contact-form input[type="submit"] {
    width: min(100%, 320px);
    padding: 17px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}

.otto-renewal .contact-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 175, 193, 0.25);
    opacity: 0.9;
}

/* CF7の入力エラー */
.otto-renewal .contact-form .wpcf7-not-valid {
    border-color: #e25c5c;
}

.otto-renewal .contact-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #d84646;
    font-size: 13px;
}

.otto-renewal .contact-form .wpcf7-response-output {
    margin: 30px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.7;
}

/* 送信中のスピナー */
.otto-renewal .contact-form .wpcf7-spinner {
    vertical-align: middle;
}

/* --- CONTACT sp --- */
@media (max-width: 768px) {
    .otto-renewal .contact-intro {
        margin: 30px auto 35px;
        text-align: left;
    }

    .otto-renewal .contact-intro br.pc-only {
        display: none;
    }

    .otto-renewal .contact-form {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .otto-renewal .contact-form .form-group {
        margin-bottom: 25px;
    }

    .otto-renewal .contact-form input[type="text"],
    .otto-renewal .contact-form input[type="email"],
    .otto-renewal .contact-form input[type="tel"],
    .otto-renewal .contact-form select,
    .otto-renewal .contact-form textarea {
        padding: 13px 14px;
        font-size: 16px;
    }

    .otto-renewal .contact-form textarea {
        min-height: 180px;
    }

    .otto-renewal .contact-form .form-submit {
        margin-top: 30px;
    }

    .otto-renewal .contact-form input[type="submit"] {
        width: 100%;
    }
}