@charset "UTF-8";

/* Variables */
:root {
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Sans JP', sans-serif;
    --color-black: #111;
    --color-white: #fff;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #444;
    /* #666から濃くしてコントラストを強化 */
    --color-accent: #333;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
    /* 16pxから拡大 */
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    line-height: 1.8;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    font-weight: 500;
    /* 掠れ防止のため標準を少し太めに設定 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 1.73rem + 1.2vw, 2.5rem);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-black);
}

.section-title--left {
    text-align: left;
}

.section-title--left::after {
    left: 0;
    transform: none;
}

.text-highlight {
    background: linear-gradient(transparent 60%, #eee 60%);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white) !important;
    /* ナビゲーションの文字色設定を上書き */
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-white);
    color: var(--color-black) !important;
    opacity: 1;
    /* a:hoverの透明度を解除 */
}

.btn--hero {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--hero:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn--nav {
    padding: 10px 24px;
    font-size: 1rem;
    /* 0.9remから拡大 */
}

.btn--submit {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    /* スムーズな変化 */
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    transition: all 0.3s ease;
    /* スムーズな変化 */
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 40px;
    /* 固定値（2.4remから変更） */
    width: auto;
    display: block;
}

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

.header__nav a {
    font-size: 1rem;
    /* 0.9remから拡大 */
    letter-spacing: 0.05em;
    position: relative;
    white-space: nowrap;
    /* 改行を禁止 */
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-black);
    transition: width 0.3s;
}

.header__nav a:hover::after {
    width: 100%;
}

.header__nav .btn:hover::after {
    width: 0;
}

/* Responsive Header */
@media screen and (max-width: 1120px) {
    .header__inner {
        padding: 0 20px;
    }
}

/* Hamburger Menu for Mobile */
@media screen and (max-width: 1120px) {
    .header__hamburger {
        display: block;
    }
}

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

/* Header Scrolled State */
.header.is-scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.is-scrolled .header__inner {
    height: 80px;
    /* 70pxから80pxに戻してガタつきを防止 */
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Hero Video Background */
.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero__video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, rgba(0, 0, 0, 0.4) 1px, transparent 1px),
        rgba(0, 0, 0, 0.6);
    background-size: 3px 3px, 100% 100%;
    z-index: 1;
}

.hero__video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero__title {
    font-family: var(--font-serif);
    margin-bottom: 40px;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: block;
    opacity: 0;
    /* 初期値を0に戻す */
    animation: fadeInUp 1s ease both 0.8s;
    /* bothに変更 */
    width: fit-content;
    margin-inline: auto;
    text-align: left;
}

.hero__text {
    margin-bottom: 60px;
    font-size: clamp(1rem, 0.856rem + 0.62vw, 1.25rem);
    opacity: 0;
    /* 初期値を0に戻す */
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease both 1.1s;
    /* bothに変更 */
}

.hero__cta {
    opacity: 0;
    /* 初期値を0に戻す */
    animation: fadeInUp 1s ease both 1.4s;
    /* bothに変更 */
}

.hero__scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    z-index: 2;
    opacity: 0.7;
}

.hero__scroll::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background-color: var(--color-white);
    margin-top: 10px;
    animation: scrollLineNew 1.5s ease-in-out infinite;
}

@keyframes scrollLineNew {
    0% {
        height: 0;
        opacity: 1;
    }

    100% {
        height: 60px;
        opacity: 0;
    }
}

/* Problem Section */
.problem {
    background-color: var(--color-gray-light);
}

.problem__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    counter-reset: problem-counter;
}

@media (max-width: 599px) {
    .problem__list {
        grid-template-columns: 1fr;
    }
}

.problem__item {
    background-color: var(--color-white);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.problem__item::before {
    counter-increment: problem-counter;
    content: "0" counter(problem-counter);
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: #ddd;
    margin-bottom: 15px;
    line-height: 1;
}

.problem__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: left;
    color: var(--color-black);
}

.problem__desc {
    font-size: 1.05rem;
    /* 0.95remから拡大 */
    font-weight: 500;
    text-align: left;
    line-height: 1.8;
    color: var(--color-black);
    /* #444が適用される */
}

.problem__message {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--color-black);
    color: var(--color-white);
}

.philosophy .section-title {
    margin-bottom: 0;
}

.philosophy .section-title::after {
    content: none;
}

.philosophy__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.philosophy__content {
    flex: 1;
}

.philosophy__lead {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 20px;
    line-height: 1.5;
}

.philosophy__text {
    font-size: 1.1rem;
    /* 1.05remから拡大 */
    opacity: 1;
    /* 0.9から。暗い背景での視認性のための100%表示 */
}

.philosophy__link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s;
}

.philosophy__link:hover {
    opacity: 0.7;
}

.philosophy__link::after {
    content: ' ➡';
    font-size: 0.8em;
    display: inline-block;
    margin-left: 5px;
}

.philosophy__img {
    flex: 1;
}

/* Service Section */
.service__list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    counter-reset: service-counter;
}

.service__item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service__item:nth-child(even) {
    flex-direction: row-reverse;
}

.service__content {
    flex: 1;
    position: relative;
}

.service__img {
    flex: 1;
    height: 400px;
}

.service__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* .service__content::before {
    counter-increment: service-counter;
    content: "0" counter(service-counter);
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-black);
    margin-bottom: 20px;
    opacity: 0.2;
    position: absolute;
    top: -60px;
    left: 0;
} */

.service__name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: var(--font-serif);
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    display: inline-block;
}

.service__sub {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service__desc {
    font-size: 1rem;
    color: var(--color-black);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service__desc-list {
    margin-bottom: 20px;
}

.service__desc-list li {
    font-size: 1rem;
    /* 0.95remから拡大 */
    color: var(--color-black);
    line-height: 1.7;
    margin-bottom: 10px;
    /* 余白を微増 */
    position: relative;
    padding-left: 1.2rem;
}

.service__desc-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .service__item {
        flex-direction: column-reverse;
        gap: 30px;
        padding-top: 40px;
    }

    .service__item:nth-child(even) {
        flex-direction: column-reverse;
    }

    .service__content::before {
        position: static;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .service__img {
        width: 100%;
    }
}

/* Process Section */
.process {
    background-color: var(--color-white);
}

.process__header {
    text-align: center;
    margin-bottom: 60px;
}

.process__lead {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.process__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto auto;
    /* サブグリッド用の4行を定義 */
    gap: 30px;
}

.process__item {
    background-color: var(--color-gray-light);
    padding: 40px 30px;
    display: grid;
    grid-template-rows: subgrid;
    /* 親のグリッド行を継承 */
    grid-row: span 4;
    /* 4行分を占有 */
}

.process__step-box {
    grid-row: 1;
    margin-bottom: 0;
    /* グリッドのギャップに任せるため調整 */
    padding-bottom: 20px;
}

.process__step-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-black);
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

.process__step-title {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
}

.process__step-concept {
    grid-row: 2;
    font-size: 1rem;
    /* 0.9remから拡大 */
    color: var(--color-black);
    padding-bottom: 30px;
    font-weight: 500;
    margin-bottom: 0;
}

.process__step-details {
    grid-row: 3;
    padding-bottom: 30px;
    margin-bottom: 0;
}

.process__step-details li {
    font-size: 1rem;
    /* 0.95remから拡大 */
    margin-bottom: 12px;
    /* 余白微増 */
    position: relative;
    padding-left: 1.2rem;
}

.process__step-details li::before {
    content: '・';
    position: absolute;
    left: 0;
}

.process__outcome {
    grid-row: 4;
    background-color: var(--color-white);
    padding: 20px;
    border-top: 2px solid var(--color-black);
}

.process__outcome-label {
    font-weight: 700;
    font-size: 1rem;
    /* 0.9remから拡大 */
    margin-bottom: 10px;
}

.process__outcome-list li {
    font-size: 1rem;
    /* 0.9remから拡大 */
    line-height: 1.6;
    margin-bottom: 8px;
    /* 余白微増 */
    position: relative;
    padding-left: 1.2rem;
}

.process__outcome-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

@media (max-width: 991px) {
    .process__list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        /* モバイルではサブグリッドを解除 */
        gap: 40px;
    }

    .process__item {
        display: block;
        /* シンプルな表示に戻す */
    }

    .process__step-box,
    .process__step-concept,
    .process__step-details {
        margin-bottom: 0;
    }
}

/* Case Section */
.case {
    background-color: var(--color-gray-light);
}

.case__header {
    text-align: center;
    margin-bottom: 60px;
}

.case__lead {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

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

.case__item {
    background-color: var(--color-white);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.case__item-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.case__label {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 2px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.case__item-title {
    font-size: 1.6rem;
    font-family: var(--font-serif);
    font-weight: 700;
}

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

.case__col-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid #ddd;
}

.case__col-title--after {
    border-left-color: var(--color-black);
}

.case__col-list li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 1.2em;
    line-height: 1.6;
}

.case__col-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}

@media (max-width: 991px) {
    .case__item {
        padding: 30px;
    }

    .case__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case__item-title {
        font-size: 1.4rem;
    }
}

/* Price Section */
.price {
    background-color: var(--color-white);
}

.price__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    /* タイトル、金額、注釈 */
    gap: 40px;
}

.price__item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    padding: 30px;
    background-color: var(--color-gray-light);
    border-top: 4px solid var(--color-black);
}

.price__item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.price__amount {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.price__label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-black);
    margin-bottom: 5px;
    font-weight: 400;
}

.price__value {
    font-size: 2.2rem;
    font-family: var(--font-serif);
    margin-right: 2px;
}

.price__tax {
    font-size: 0.8rem;
    color: var(--color-black);
    font-weight: 400;
}

.price__notes {
    font-size: 0.85rem;
    color: var(--color-black);
    line-height: 1.6;
}

.price__notes li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 1.25em;
}

.price__notes li::before {
    content: '※';
    position: absolute;
    left: 0;
}

@media (max-width: 991px) {
    .price__list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }

    .price__item {
        display: block;
    }
}

.price__message {
    margin-top: 60px;
    text-align: center;
}

.price__message p {
    display: inline-block;
    padding: 30px 40px;
    background-color: var(--color-gray-light);
    border-left: 4px solid var(--color-black);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 2;
    text-align: left;
}

@media (max-width: 768px) {
    .price__message p {
        padding: 20px;
        font-size: 1rem;
        width: 100%;
    }
}

/* Representative Section */
.representative {
    background-color: var(--color-black);
    color: var(--color-white);
}

.representative .section-title::after {
    background-color: var(--color-white);
}

.representative__inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.representative__img {
    flex: 0 0 300px;
}

.representative__photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    display: block;
}

.representative__content {
    flex: 1;
}

.representative__position {
    font-size: 1rem;
    /* 0.9remから拡大 */
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #eee;
    /* 薄いグレーから少し明るくしてコントラスト向上 */
}

.representative__name {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.representative__name-en {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #aaa;
    font-weight: 400;
}

.representative__text {
    line-height: 2;
    margin-bottom: 40px;
}

.representative__roles-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    display: inline-block;
}

.representative__roles-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
}

.representative__roles-list li {
    font-size: 1rem;
    /* 0.9remから拡大 */
    line-height: 1.6;
    color: #eee;
    /* #cccから明るくして視認性向上 */
    position: relative;
    padding-left: 1.2rem;
}

.representative__roles-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .representative__roles-list {
        grid-template-columns: 1fr;
    }
}

/* Company Section */
.company {
    background-color: var(--color-gray-light);
}

.company__list {
    max-width: fit-content;
    min-width: 600px;
    margin: 0 auto;
    border-top: 1px solid #eee;
    display: grid;
    gap: 25px;
    padding-top: 25px;
    /* 最上部の余白を確保 */
}

@media (max-width: 768px) {
    .company__list {
        min-width: 100%;
    }
}

.company__row {
    display: flex;
    /* padding: 25px 0; */
    /* 削除: Grid gap で制御 */
    /* border-bottom: 1px solid #eee; */
    /* 削除: Grid gap に移行 */
}

.company__row dt {
    width: 200px;
    font-weight: 700;
    flex-shrink: 0;
}

.company__row dd {
    flex: 1;
}

.company__business-list {
    list-style: none;
    padding: 0;
}

.company__business-list li {
    position: relative;
    padding-left: 1.2em;
}

.company__business-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact {
    background-color: var(--color-white);
}

.contact__lead {
    text-align: center;
    margin-bottom: 60px;
}

.contact__lead span {
    display: inline-block;
}

.contact__form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1rem;
    /* 0.9remから拡大 */
}

.required {
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.7rem;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1.05rem;
    /* 入力文字を見やすく */
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-black);
}

/* Footer */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
}

.footer__copyright {
    font-size: 0.9rem;
    /* 0.8remから拡大 */
    opacity: 0.8;
    /* 0.6から上げ、視認性を確保 */
}

/* Placeholders */
.img-placeholder {
    background-color: #ccc;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.img-placeholder--portrait {
    height: 500px;
}

.philosophy__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn--submit.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive / Hamburger Menu */
@media (max-width: 1024px) {
    .header__hamburger {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .header__hamburger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--color-black);
        transition: all 0.3s;
    }

    .header__hamburger span:nth-child(1) {
        top: 0;
    }

    .header__hamburger span:nth-child(2) {
        top: 11px;
    }

    .header__hamburger span:nth-child(3) {
        bottom: 0;
    }

    .header__hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }

    .header__hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .header__hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 11px;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Changed from left: 0; */
        width: 80%;
        /* Changed from 100% */
        height: 100vh;
        background-color: var(--color-white);
        /* Changed from rgba(255, 255, 255, 0.98) */
        padding: 100px 40px;
        /* Added padding */
        transition: right 0.3s;
        /* Changed from all 0.3s */
        z-index: 999;
        /* Added z-index */
        display: block;
        /* Hamburger toggle用 */
        opacity: 0;
        visibility: hidden;
    }

    .header__nav.active {
        opacity: 1;
        visibility: visible;
    }

    .header__nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .header__nav a {
        font-size: 1.2rem;
    }

    .header__inner {
        padding: 0 20px;
    }

    .hero__title-main {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .philosophy__inner,
    .representative__inner {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .representative__img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .representative__photo {
        height: auto;
    }

    .philosophy__img {
        width: 100%;
    }

    .representative__img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .company__row {
        flex-direction: column;
    }

    .company__row dt {
        width: 100%;
        margin-bottom: 10px;
    }

    .contact__form {
        padding: 30px;
    }
}

/* --- Animations & Interactions --- */

/* Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    /* 30pxから20pxに変更 */
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
        transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay Utilites */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* Global Transitions */
a,
button,
.btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover Effects */

/* Links & Buttons */
.header__nav ul li a:hover {
    color: var(--color-gray-dark);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn--hero:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* Service Image Transition (revealed only) */
.img-placeholder {
    transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    overflow: hidden;
}

/* Section Title Highlight Transition */
.text-highlight {
    background: linear-gradient(transparent 70%, rgba(0, 0, 0, 0.03) 70%);
    transition: background 1.5s ease;
}

.is-revealed .text-highlight {
    background: linear-gradient(transparent 70%, rgba(0, 0, 0, 0.08) 70%);
}