/* ===================================
   Variables
   =================================== */
:root {
    --color-primary: #0A704F;
    --color-primary-dark: #06563D;
    --color-primary-light: #E4F5EF;
    --color-accent: #F4A259;
    --color-secondary: #3BAE93;
    --color-alert: #E15656;
    --color-white: #FFFFFF;
    --color-bg-sub: #F6FAF9;
    --color-text-strong: #333333;
    --color-text-weak: #666666;
    --color-border: #D5E7E1;
    --font-family: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-strong);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* ===================================
   Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */
.section-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    color: var(--color-text-weak);
    margin-bottom: 60px;
}

/* Responsive Break Control */
.sp-only {
    display: none;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 112, 79, 0.3);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 50px;
    font-size: 18px;
}

.btn-submit {
    width: 100%;
}

/* Button Label Style */
.btn label {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

/* ===================================
   Header
   =================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--color-bg-sub);
    border-bottom: 1px solid var(--color-border);
    padding: 6px 0;
}

.header-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-link {
    font-size: 13px;
    color: var(--color-text-weak);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-link:hover {
    color: var(--color-primary);
}

.header-content {
    padding: 12px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-strong);
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===================================
   Hamburger Menu
   =================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 112, 79, 0.92) 0%, rgba(6, 86, 61, 0.88) 50%, rgba(59, 174, 147, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 28px;
}

.hero-title .highlight {
    color: var(--color-accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-cta .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    border-width: 3px;
}

.hero-cta .btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-cta .btn-primary:hover {
    background-color: #d68a3f;
    border-color: #d68a3f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 162, 89, 0.4);
}

.hero-cta .btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.hero-cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ===================================
   Problem Section
   =================================== */
.problem-section {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-sub) 100%);
}

.problem-visual {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.problem-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.problem-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.problem-item {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(10, 112, 79, 0.15);
}

.problem-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.problem-num {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-white) 100%);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--color-primary);
}

.problem-item .problem-title {
    font-size: 21px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-strong);
    line-height: 1.4;
}

.problem-item .problem-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-weak);
}

/* ===================================
   Solution Section
   =================================== */
.solution-section {
    background: linear-gradient(180deg, var(--color-bg-sub) 0%, var(--color-primary-light) 100%);
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.solution-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.solution-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(10, 112, 79, 0.15);
}

.solution-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.solution-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--color-white);
}

.solution-content {
    flex-grow: 1;
}

.solution-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--color-primary);
}

.solution-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text-weak);
}

/* ===================================
   Benefits Section - 分割レイアウト
   =================================== */
.benefits-section {
    background-color: var(--color-white);
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 60px;
    align-items: stretch;
}

.benefit-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.benefit-visual {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.benefit-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 112, 79, 0.95) 0%, rgba(10, 112, 79, 0.85) 70%, transparent 100%);
    padding: 50px 40px;
    color: var(--color-white);
}

.benefit-label {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    width: auto;
    max-width: fit-content;
}

.benefit-content .benefit-title {
    color: var(--color-white);
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
}

.benefit-content .benefit-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 17px;
    line-height: 1.8;
}

.benefit-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.benefit-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 112, 79, 0.15);
}

.benefit-card .benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.benefit-card .benefit-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-weak);
}

/* ===================================
   Reasons Section - 斜めグリッド
   =================================== */
.reasons-section {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-sub) 100%);
}

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

.reason-box {
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 50px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.reason-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, transparent 50%);
    transform: rotate(45deg);
    z-index: 0;
}

.reason-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(10, 112, 79, 0.2);
}

.reason-num {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: var(--color-white);
    margin: 0 auto 24px;
}

.reason-title {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-primary);
    line-height: 1.4;
}

.reason-text {
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-weak);
}

/* ===================================
   Flow Section - 縦タイムライン
   =================================== */
.flow-section {
    background-color: var(--color-white);
}

.flow-timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    height: calc(100% - 50px);
    width: 3px;
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.flow-last {
    position: relative;
}

.flow-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.flow-dot {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--color-white);
    box-shadow: 0 5px 20px rgba(10, 112, 79, 0.3);
    position: relative;
    z-index: 1;
}

.flow-info {
    background-color: var(--color-bg-sub);
    border-radius: 16px;
    padding: 32px;
}

.flow-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.flow-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

.flow-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-weak);
}

/* ===================================
   Pricing Section - カードレイアウト
   =================================== */
.pricing-section {
    background: linear-gradient(180deg, var(--color-bg-sub) 0%, var(--color-white) 100%);
}

.pricing-flex {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pricing-item {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 24px;
    padding: 50px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-recommended {
    border-color: var(--color-accent);
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-recommended:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-tag {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 10px 28px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 700;
}

.pricing-head {
    text-align: center;
    margin-bottom: 36px;
}

.pricing-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.price-yen {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-strong);
}

.price-num {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.price-sub {
    font-size: 16px;
    color: var(--color-text-weak);
}

.price-custom {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
}

.pricing-list {
    flex-grow: 1;
    margin-bottom: 36px;
}

.pricing-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-weak);
}

.pricing-list li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    margin-top: 36px;
    font-size: 14px;
    color: var(--color-text-weak);
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    background-color: var(--color-bg-sub);
}

.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 16px;
    margin-bottom: 24px;
    padding: 32px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(10, 112, 79, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.faq-q-label {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--color-white);
}

.faq-q-text {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-text-strong);
    line-height: 1.6;
    padding-top: 8px;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-left: 0;
}

.faq-a-label {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: var(--color-bg-sub);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--color-primary);
}

.faq-a-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-weak);
    margin: 0;
    padding-top: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    will-change: max-height;
}

.faq-item summary {
    transition: background-color 0.2s ease;
}

.faq-item[open] summary {
    background-color: var(--color-primary-light);
}

.faq-answer {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 0;
        padding-bottom: 28px;
    }
}

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
    position: relative;
    color: var(--color-white);
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 112, 79, 0.92) 0%, rgba(59, 174, 147, 0.88) 100%);
    z-index: 1;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.cta-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-headline {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--color-white);
}

.cta-message p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.cta-points {
    margin: 40px 0;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.cta-points p {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-points p:last-child {
    margin-bottom: 0;
}

.cta-question {
    font-size: 26px;
    font-weight: 700;
    margin-top: 40px;
}

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

.contact-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
}

.tab-btn {
    padding: 14px 40px;
    border: 2px solid var(--color-primary);
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: var(--color-primary-light);
}

.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.tab-content {
    display: none;
    background-color: var(--color-bg-sub);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-strong);
}

.required {
    color: var(--color-alert);
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-family);
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(10, 112, 79, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Contact Banners */
.contact-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.contact-banner {
    position: relative;
    display: block;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-bg-sub) 100%);
    border: 3px solid var(--color-primary);
    border-radius: 20px;
    padding: 48px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.contact-banner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(10, 112, 79, 0.2);
}

.contact-banner:hover::before {
    opacity: 1;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.contact-banner:hover .banner-title {
    color: var(--color-white);
}

.banner-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-weak);
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.contact-banner:hover .banner-text {
    color: rgba(255, 255, 255, 0.95);
}

.banner-arrow {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.contact-banner:hover .banner-arrow {
    color: var(--color-white);
    transform: translateX(8px);
}

/* Contact Methods */
.contact-methods {
    margin-top: 60px;
    text-align: center;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.line-btn {
    background-color: #06C755;
    color: var(--color-white);
}

.line-btn:hover {
    background-color: #05b04d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
}

.chatwork-btn {
    background-color: #5A7F99;
    color: var(--color-white);
}

.chatwork-btn:hover {
    background-color: #4d6d85;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 127, 153, 0.3);
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.line-icon {
    fill: white;
}

.chatwork-icon {
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 6px;
    position: relative;
}

.chatwork-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 12px;
    background-image: 
        linear-gradient(to right, #5A7F99 0%, #5A7F99 100%),
        linear-gradient(to right, #5A7F99 0%, #5A7F99 100%),
        linear-gradient(to right, #5A7F99 0%, #5A7F99 100%);
    background-size: 
        100% 2px,
        80% 2px,
        60% 2px;
    background-position: 
        center 20%,
        center 50%,
        center 80%;
    background-repeat: no-repeat;
}

/* Meeting Area */
.meeting-area {
    margin-top: 60px;
    padding: 30px 40px;
    background-color: var(--color-bg-sub);
    border-radius: 16px;
}

.meeting-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.area-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.area-compact-column {
    background-color: var(--color-white);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.area-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.area-places {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--color-text-strong);
    margin: 0;
}

.area-note {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-weak);
    margin-top: 16px;
}

/* ===================================
   Company Info Section
   =================================== */
.company-info-section {
    background-color: var(--color-bg-sub);
    padding: 60px 0;
}

.company-main-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--color-text-strong);
}

.company-compact {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.company-info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: start;
}

.info-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.info-value {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-weak);
}

.service-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-strong);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-heart {
    background-color: #FFE8E8;
}

.icon-heart::before {
    content: '';
    width: 20px;
    height: 18px;
    background-color: #FF6B6B;
    clip-path: path('M10,17 C10,17 2,11 2,6.5 C2,4 4,2 6.5,2 C8,2 9.5,3 10,4 C10.5,3 12,2 13.5,2 C16,2 18,4 18,6.5 C18,11 10,17 10,17 Z');
    transform: scale(0.7);
}

.icon-building {
    background-color: #E8F4FF;
}

.icon-building::before {
    content: '';
    width: 16px;
    height: 18px;
    background-color: #4A90E2;
    clip-path: polygon(
        0 20%, 100% 20%, 100% 100%, 75% 100%, 75% 60%, 25% 60%, 25% 100%, 0 100%,
        20% 40%, 40% 40%, 40% 35%, 20% 35%,
        60% 40%, 80% 40%, 80% 35%, 60% 35%,
        20% 50%, 40% 50%, 40% 45%, 20% 45%,
        60% 50%, 80% 50%, 80% 45%, 60% 45%
    );
    box-shadow: inset 0 0 0 2px #4A90E2;
}

.icon-chart {
    background-color: #E8F8F0;
}

.icon-chart::before {
    content: '';
    width: 18px;
    height: 18px;
    background: linear-gradient(to top right, 
        transparent 45%, 
        #0A704F 45%, 
        #0A704F 55%, 
        transparent 55%
    );
    border-left: 3px solid #0A704F;
    border-bottom: 3px solid #0A704F;
    box-sizing: border-box;
}

.feature-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-weak);
}

.feature-text strong {
    color: var(--color-text-strong);
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(10, 112, 79, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(10, 112, 79, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    width: auto;
}

.footer-text {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 15px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-copy {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copy p {
    font-size: 14px;
    opacity: 0.8;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .benefits-layout {
        grid-template-columns: 1fr;
    }
    
    .benefit-visual {
        height: 400px;
    }
}

@media (max-width: 1024px) {
    .container,
    .container-wide {
        padding: 0 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .problem-grid-new {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-recommended {
        transform: scale(1);
    }
    
    .company-compact {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container,
    .container-wide {
        padding: 0 16px;
    }
    
    .header-top {
        display: none;
    }
    
    .header-content {
        position: relative;
        padding: 16px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .solution-box {
        grid-template-columns: 1fr !important;
    }
    
    .solution-icon {
        margin: 0 auto;
    }
    
    .solution-content {
        text-align: center;
    }
    
    .problem-visual {
        margin-bottom: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        padding: 40px 30px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
    
    .area-compact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .meeting-area {
        padding: 24px 20px;
    }
    
    .company-compact {
        padding: 30px 20px;
    }
    
    .info-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .company-main-title {
        font-size: 24px;
    }
    
    .company-name {
        font-size: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-headline {
        font-size: 32px;
    }
    
    .sp-only {
        display: inline;
    }
}

@media (max-width: 480px) {
    .btn-large {
        padding: 18px 36px;
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .solution-title {
        font-size: 22px;
    }
    
    .price-num {
        font-size: 40px;
    }
}