/* =========================================
   DESIGN TOKENS & BASE STYLES
   ========================================= */
:root {
    --color-main: #212936;
    --color-white: #ffffff;
    --color-accent: #95866D; 
    --color-bg-light: #F8F9FA; 
    --color-border: #E5E7EB; 
    
    --width-max: 1920px;
    --width-fv: 1680px;
    --width-content: 1100px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--color-main);
    font-weight: 500;
    font-size: 16px;
    line-height: 2.0;
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* 横スクロール防止 */
}

/* 見出し仕様: Black, 37px, line-height 1.6em */
h1, h2, h3, .heading-style {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 37px;
    line-height: 1.6;
    color: var(--color-main);
}

/* 画像のレスポンシブ化 */
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.bg-dark {
    background-color: var(--color-main);
    color: var(--color-white);
}
.text-bold {
    font-weight: 900; 
}

/* =========================================
   ANIMATION CLASSES
   ========================================= */
.js-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.0s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.0s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}
.js-fade-in.is-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* =========================================
   LAYOUT CONTAINERS
   ========================================= */
.container-wrapper {
    max-width: var(--width-max);
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.container-fv {
    max-width: var(--width-fv);
    width: 100%;
    margin: 0 auto;
}

.container-content {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    width: 100%;
    height: 80px;
    background-color: var(--color-main);
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 50; 
}
.header-inner {
    max-width: var(--width-fv); 
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 0; 
}
.header-logo {
    display: flex;
    align-items: center;
    padding-left: 0; /* 左端の余白 */
}
.header-logo img {
    max-height: 40px;
    width: auto;
}

.header-btn {
    background-color: var(--color-accent);
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    font-weight: 700;
    font-size: 16px;
    transition: opacity 0.3s;
    text-decoration: none;
}
.header-btn:hover {
    opacity: 0.9;
}

/* =========================================
   FV SECTION
   ========================================= */
.fv-section {
    width: 100%;
    background-color: #f0f0f0;
    overflow: hidden; 
}
.fv-container {
    width: 100%; 
    max-width: 100%; 
    margin: 0 auto;
    position: relative;
    height: 700px;
    /* 画像パス変更 */
    background-image: url('../img/fv.webp'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* パララックス */
}

.fv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1); 
}
.fv-content-wrapper {
    max-width: var(--width-fv);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: flex-start;
    padding-bottom: 80px; 
    padding-left: 20px; /* デフォルト余白 */
    padding-right: 20px;
}
.fv-blur-layer {
    position: absolute;
    bottom: 0;
    left: -100px;
    width: 800px;
    height: 420px;
    background-color: rgb(35 62 107 / 55%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    animation: fadeInBlur 1.5s ease-out forwards 0.5s;
}

@keyframes fadeInBlur {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.fv-text-area {
    position: relative;
}
.fv-copy-sub {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.2em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.fv-copy-main {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 80px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.fv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fv-list li {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
}
.fv-list li::before {
    content: "・";
    margin-right: 0.2em;
}
.deco-sparkle {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    color: #fff;
    opacity: 0.8;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* =========================================
   TROUBLE SECTION
   ========================================= */
.trouble-section {
    width: 100%;
    background-color: var(--color-bg-light);
    position: relative; 
    z-index: 1;
}
.trouble-container {
    display: flex;
    width: 100%;
}
.trouble-image-col {
    width: 30%;
    position: relative;
    overflow: hidden;
}
.trouble-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.trouble-content-col {
    width: 70%;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: #f5f5f5;
}
.trouble-content-inner {
    width: 100%;
    padding-left: 7%;
    padding-right: 5%;
    max-width: 860px;
}

.trouble-list-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 40px;
    border-top: 1px solid var(--color-border);
}
.trouble-list-item {
    border-bottom: 1px solid var(--color-border);
    padding: 0.8em 0;
    display: flex;
    align-items: flex-start;
    font-size: 26px;
    line-height: 1.8;
}
.trouble-list-icon {
    display: inline-block;
    margin-right: 0.8em;
    margin-top: 0.2em; 
    color: var(--color-main);
    font-size: 0.8em; 
}

/* =========================================
   SOLUTION SECTION
   ========================================= */
.solution-section {
    width: 100%;
    background-color: #fff;
    position: relative;
    padding-bottom: 100px; 
    z-index: 2; 
}

.solution-arrow-container {
    position: absolute;
    top: -8%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 60px;
}
.solution-arrow-container img {
    height: auto;
}

.solution-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.solution-image-area {
    width: 40%;
    text-align: center;
    display: flex;
    justify-content: center;
}
.solution-image-area img {
    max-width: 100%;
    width: 409px;
}


.solution-text-area {
    width: 55%;
    padding-left: 40px;
}

.solution-heading-sub {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 0.2em;
    line-height: 1.4;
}
.solution-heading-main {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.4;
}

/* =========================================
   WHY SECTION
   ========================================= */
.why-section {
    width: 100%;
    background-color: var(--color-main); 
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: 120px 0; 
}

.why-bg-image {
    position: absolute;
    bottom: 0;
    left: -5%; 
    width: 70%; 
    max-width: 1000px;
    z-index: 0; 
    opacity: 0.1; 
    pointer-events: none;
    transform: translateY(50px);
    transition: transform 0.2s linear;
}
.why-bg-image img {
    width: 100%;
    height: auto;
}

.why-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1; 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.why-heading-area {
    width: 40%;
    padding-right: 20px;
}
.why-section .why-title,
.why-section h2 {
    color: #ffffff; 
    font-weight: 900;
    line-height: 1.4;
}
.why-title-sm {
    font-size: 42px; 
    display: block;
    margin-bottom: 0.2em;
}
.why-title-lg {
    font-size: 42px;
    display: block;
}

.why-text-area {
    width: 55%;
    font-size: 16px;
    line-height: 2.2; 
    font-weight: 500;
}
.why-text-area p {
    margin-bottom: 2em; 
}
.why-text-area p:last-child {
    margin-bottom: 0;
}

/* =========================================
   KEY SECTION
   ========================================= */
.key-section {
    width: 100%;
    background-color: var(--color-white);
    padding: 120px 0;
    color: var(--color-main);
}

.key-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
}

.key-text-area {
    width: 55%; 
    padding-right: 40px;
}

.key-heading {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.key-text-body {
    font-size: 16px;
    line-height: 2.2;
    font-weight: 500;
}
.key-text-body p {
    margin-bottom: 2em;
}

.key-list {
    list-style: none;
    padding: 0;
    margin: 2em 0;
}
.key-list li {
    font-weight: 700; 
    margin-bottom: 0.5em;
    display: flex;
    align-items: baseline;
}
.key-list li::before {
    content: "● ";
    margin-right: 0.3em;
}

.key-dialogue {
    margin: 2em 0;
}
.key-dialogue-question {
    font-weight: 700;
}
.key-dialogue-answer {
    color: #555; 
    background-color: #f5f5f5;
    display: inline-block;
    padding: 0.5em 1em;
    margin-top: 0.5em;
    border-radius: 4px;
    font-weight: 700;
}

.key-image-area {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px; 
}
.key-image-area img {
    width: 100%;
    height: auto;
    max-width: 450px; 
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    width: 100%;
    position: relative;
    padding: 120px 0;
    color: var(--color-white);
    overflow: hidden;
}

.about-bg-image {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 120%; 
    top: -10%;
    z-index: 0;
}
.about-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 41, 54, 0.85); 
    z-index: 1;
}

.about-container {
    position: relative;
    z-index: 2; 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-left-col {
    width: 45%;
}

.about-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    color: #ffffff; 
}

.about-diagram {
    width: 100%;
    margin-bottom: 20px;
}
.about-diagram img {
    width: 100%;
    height: auto;
}

.about-right-col {
    width: 50%;
    padding-top: 10px; 
}

.about-text {
    font-size: 16px;
    line-height: 2.2;
    font-weight: 500;
}
.about-text p {
    margin-bottom: 2em;
}

/* =========================================
   SERVICE SECTION
   ========================================= */
.service-section {
    width: 100%;
    background-color: var(--color-white);
    padding: 120px 0;
    color: var(--color-main);
}

.service-container {
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 40px;
}

.service-intro {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 60px;
    line-height: 2.0;
}

.service-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px; 
    margin-bottom: 80px;
}

.service-item {
    width: 32%; 
}

.service-img-box {
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 8px; 
}
.service-img-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.service-item:hover .service-img-box img {
    transform: scale(1.05);
}

.service-item-title {
    font-size: 20px; 
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 15px;
}

.service-item-text {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
}

.service-footer-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 0;
}

/* =========================================
   DIFFERENCE SECTION
   ========================================= */
.diff-section {
    width: 100%;
    background-color: var(--color-main); 
    color: var(--color-white);
    padding: 120px 0;
}

.diff-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.diff-left-col {
    width: 45%;
}

.diff-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    color: #ffffff; 
}

.diff-intro {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.diff-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.diff-list li {
    font-size: 16px;
    margin-bottom: 0.5em;
    padding-left: 1em;
    position: relative;
}
.diff-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.diff-text {
    font-size: 16px;
    line-height: 2.0;
    margin-bottom: 2em;
}

.diff-arrow {
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: brightness(0) invert(1);
}
.diff-arrow img {
    width: 100%;
    height: auto;
}

.diff-right-col {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diff-diagram-img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* =========================================
   MERIT SECTION
   ========================================= */
.merit-section {
    width: 100%;
    background-color: var(--color-white);
    padding: 120px 0;
    color: var(--color-main);
}

.merit-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
}

.merit-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.merit-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.05em;
    max-width: 76%;
}

.merit-card-top {
    width: 33.3%;
}
.merit-card-top img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.merit-card-top img:hover {
    transform: translateY(-5px);
}

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

.merit-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.merit-grid-item img:hover {
    transform: translateY(-5px); 
}

/* =========================================
   SPECIFIC SERVICE SECTION
   ========================================= */
.specific-section {
    width: 100%;
    position: relative;
    padding: 120px 0;
    color: var(--color-white);
    overflow: hidden;
}

.specific-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    top: -10%;
    z-index: 0;
}
.specific-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specific-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 41, 54, 0.85); 
    z-index: 1;
}

.specific-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.specific-left-col {
    width: 45%;
}

.specific-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.specific-list-box {
    background-color: rgba(255, 255, 255, 0.1); 
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    backdrop-filter: blur(5px); 
}

.specific-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.specific-list li {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.8em;
    padding-left: 1em;
    position: relative;
}
.specific-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}
.specific-list li:last-child {
    margin-bottom: 0;
}

.specific-text {
    font-size: 16px;
    line-height: 2.0;
    font-weight: 500;
}
.specific-text p {
    margin-bottom: 2em;
}

.specific-right-col {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.specific-diagram-img {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* =========================================
   LP EXAMPLE SECTION
   ========================================= */
.lp-section {
    width: 100%;
    background-color: var(--color-white);
    padding: 120px 0;
    color: var(--color-main);
}

.lp-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
}

.lp-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.lp-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}
.lp-block:last-child {
    margin-bottom: 0;
}

.lp-text-col {
    width: 52%;
}
.lp-text-body {
    font-size: 16px;
    line-height: 2.2;
    font-weight: 500;
}
.lp-text-body p {
    margin-bottom: 2em;
}

.lp-sub-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 1em;
}

.lp-img-col {
    width: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-img-bg {
    background-color: #E2E8F0;
    border-radius: 20px;
    padding: 1em;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lp-img-bg img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 400px; 
}

.lp-img-simple {
    width: 100%;
    display: flex;
    justify-content: center;
}
.lp-img-simple img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

.lp-footer-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 40px;
    line-height: 2.0;
}

/* =========================================
   STAFF SECTION
   ========================================= */
.staff-section {
    width: 100%;
    background-color: var(--color-main); 
    padding: 120px 0;
    color: var(--color-white);
}

.staff-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
}

.staff-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

.staff-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.4;
    color: #ffffff;
    width: 45%;
}

.staff-desc {
    width: 50%;
    font-size: 16px;
    line-height: 2.0;
    font-weight: 500;
    padding-top: 10px; 
}

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

.staff-item img {
    width: 100%;
    height: auto;
    display: block;
}

.staff-footer {
    font-size: 16px;
    font-weight: 500;
    line-height: 2.0;
}

/* =========================================
   DIAGNOSIS SECTION
   ========================================= */
.diagnosis-section {
    width: 100%;
    background-color: var(--color-white);
    padding: 120px 0;
    color: var(--color-main);
}

.diagnosis-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diagnosis-left-col {
    width: 45%;
}

.diagnosis-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.diagnosis-text {
    font-size: 16px;
    line-height: 2.2;
    font-weight: 500;
}
.diagnosis-text p {
    margin-bottom: 2em;
}
.diagnosis-note {
    font-size: 14px;
    color: #666;
    margin-top: 1em;
}

.diagnosis-right-col {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.diagnosis-chart-img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    width: 100%;
    background-color: var(--color-main); 
    padding: 120px 0;
    color: var(--color-white);
}

.contact-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-left-col {
    width: 40%;
}

.contact-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.contact-desc {
    font-size: 16px;
    line-height: 2.0;
    font-weight: 500;
}

.contact-right-col {
    width: 50%;
}

.contact-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: none;
    background-color: #ffffff;
    color: #333;
    border-radius: 2px; 
}
.form-group input::placeholder {
    color: #aaa; 
}

.contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px; 
    height: 54px; 
    background-color: #ffffff;
    color: var(--color-main);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 30px;
    position: relative; 
    padding: 0; 
}

.contact-btn::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid var(--color-main); 
    border-radius: 50px;
    pointer-events: none;
}

.contact-btn:hover {
    opacity: 0.9;
}

.btn-text {
    margin-right: 40px; 
}

.btn-arrow {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300; 
    font-size: 18px;
    position: absolute; 
    right: 30px; 
    top: 50%;
    transform: translateY(-50%) scaleX(0.8); 
}
.contact-right-col iframe {
    width: 100%;
    min-height: 45em;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.footer-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 0;
    color: var(--color-main);
    text-align: center;
}

.footer-container {
    max-width: var(--width-content);
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 30px;
}
.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.footer-nav li {
    position: relative;
    padding: 0 10px;
}

.footer-nav li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -2px; 
    color: var(--color-main);
}

.footer-nav a {
    text-decoration: none;
    color: var(--color-main);
    transition: opacity 0.3s;
}
.footer-nav a:hover {
    opacity: 0.7;
}


/* =========================================
   RESPONSIVE (Strict 1-Column for Mobile)
   ========================================= */

/* 共通：PCでのパディング調整 */
@media (max-width: 1720px) {
    .container-fv, .fv-content-wrapper, .header-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    .header-inner { padding-right: 0; }
    .fv-blur-layer {left: -160px;}
}

/* タブレット〜小型PC */
@media (max-width: 1150px) {
    .container-content, .why-container, .key-container, .about-container, .service-container, .diff-container, .merit-container, .specific-container, .lp-container, .staff-container, .diagnosis-container, .contact-container, .footer-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .merit-grid {
        gap: 20px;
    }
}

/* スマホ (Mobile) */
@media (max-width: 768px) {
    /* GLOBAL RESET FOR MOBILE */
    .header { height: 60px; }
    .header-btn { padding: 0 20px; font-size: 14px; }
    .header-logo img { max-height: 30px; }
    
    /* Section Padding */
    .trouble-section, .solution-section, .why-section, .key-section, .about-section, .service-section, .diff-section, .merit-section, .specific-section, .lp-section, .staff-section, .diagnosis-section, .contact-section {
        padding: 50px 0; /* 余白を縮める */
    }
    
    /* FV */
    .fv-container {
        background-position: 68%;
        height: 580px;
        background-attachment: scroll; /* スマホでパララックスは重いのでOFF */
    }
    .fv-content-wrapper { padding-bottom: 40px; }
    .fv-copy-main { font-size: 36px; }
    .fv-copy-sub { font-size: 18px; }
    .fv-list li { font-size: 15px; }
    .fv-blur-layer {
        width: 100%;
        left: 0;
        bottom: 0;
        border-radius: 0;
        height: 60%;
        background: linear-gradient(to top, rgb(69 97 143 / 90%), transparent);
        filter: none;
    }
    
    /* Trouble Mobile */
    .trouble-container {flex-direction: column;display: flex;}
    .trouble-image-col, .trouble-content-col { width: 100%; }
    .trouble-image-col { height: 250px; }
    .trouble-content-col { padding: 40px 20px; }
    h2.heading-style { font-size: 28px; }
    .trouble-list-item { font-size: 16px; padding: 1em 0; }

    /* Solution Mobile */
    .solution-container {flex-direction: column;padding-top: 10px;}
    .solution-image-area, .solution-text-area { width: 100%; text-align: center; padding-left: 0; }
    .solution-image-area { margin-bottom: 30px; }
    .solution-heading-sub { font-size: 20px; }
    .solution-heading-main { font-size: 26px; padding: 0 20px; }
    .solution-arrow-container {width: 20px;top: -26px;}

    /* Why Mobile */
    .why-container { flex-direction: column; }
    .why-heading-area { width: 100%; padding-right: 0; margin-bottom: 30px; }
    .why-title-sm { font-size: 32px; } 
    .why-title-lg { font-size: 32px; }
    .why-text-area { width: 100%; }
    .why-bg-image { width: 150%; left: -20%; opacity: 0.2; }

    /* Key Mobile */
    .key-container { flex-direction: column-reverse; /* 画像を上に持ってくる場合は column、下なら column-reverse */ }
    .key-text-area { width: 100%; padding-right: 0; }
    .key-image-area { width: 100%; margin-top: 0; margin-bottom: 30px; }
    .key-heading { font-size: 28px; margin-bottom: 30px; }

    /* About Mobile */
    .about-container { flex-direction: column; }
    .about-left-col { width: 100%; margin-bottom: 30px; }
    .about-right-col { width: 100%; padding-top: 0; }
    .about-title {margin-bottom: 40px;font-size: 28px;}

    /* Service Mobile */
    .service-title { font-size: 28px; margin-bottom: 30px; }
    .service-grid { flex-direction: column; gap: 40px; margin-bottom: 40px; }
    .service-item { width: 100%; }
    .service-img-box { margin-bottom: 15px; }

    /* Difference Mobile */
    .diff-container { flex-direction: column; }
    .diff-left-col { width: 100%; margin-bottom: 30px; }
    .diff-title { font-size: 28px; margin-bottom: 30px; }
    .diff-arrow { width: 40px; transform: rotate(90deg); margin: 20px auto; }
    .diff-right-col { width: 100%; }

    /* Merit Mobile */
    .merit-top-row {flex-direction: column;align-items: flex-start;margin-bottom: 0;}
    .merit-title { font-size: 28px; max-width: 100%; margin-bottom: 30px; }
    .merit-card-top {width: 100%;margin-bottom: 0px;}
    .merit-grid {grid-template-columns: 1fr;gap: 0;}

    /* Specific Mobile */
    .specific-container { flex-direction: column; }
    .specific-left-col { width: 100%; margin-bottom: 40px; }
    .specific-title { font-size: 28px; margin-bottom: 30px; }
    .specific-right-col { width: 100%; }

    /* LP Example Mobile */
    .lp-title { font-size: 28px; margin-bottom: 40px; }
    .lp-block { flex-direction: column; margin-bottom: 60px; }
    .lp-block.reverse { flex-direction: column-reverse; }
    .lp-text-col, .lp-img-col { width: 100%; }
    .lp-text-col { margin-bottom: 20px; }
    .lp-block.reverse .lp-text-col { margin-bottom: 0; margin-top: 20px; }
    .lp-img-bg { padding: 20px; }

    /* Staff Mobile */
    .staff-header { flex-direction: column; margin-bottom: 40px; }
    .staff-title { width: 100%; font-size: 28px; margin-bottom: 20px; }
    .staff-desc { width: 100%; padding-top: 0; }
    .staff-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }

    /* Diagnosis Mobile */
    .diagnosis-container { flex-direction: column; }
    .diagnosis-left-col { width: 100%; margin-bottom: 40px; }
    .diagnosis-title { font-size: 28px; margin-bottom: 30px; }
    .diagnosis-right-col { width: 100%; }

    /* Contact Mobile */
    .contact-container { flex-direction: column; }
    .contact-left-col { width: 100%; margin-bottom: 40px; }
    .contact-title { font-size: 28px; margin-bottom: 20px; }
    .contact-right-col { width: 100%; }
    .contact-btn { width: 100%; }
    

    /* Footer Mobile */
    .footer-nav { flex-direction: column; gap: 10px; }
    .footer-nav li:not(:last-child)::after { content: none; }
}