/* =========================================
   絆アカデミー - Main stylesheet
   ========================================= */

/* reset-ish */
*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', 'Inter', Arial, sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    background: #faf8f5;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
    background: transparent;
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 999;
    transition: all .3s ease;
}

.site-header.scrolled {
    background: #faf8f5;
    padding: 12px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo svg {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    transition: color .3s;
}

.site-header.scrolled .logo-text {
    color: #2c2c2c;
}

/* nav */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #8B6F47;
}

.site-header.scrolled .main-nav ul li a {
    color: #2c2c2c;
}

.site-header.scrolled .main-nav ul li a:hover {
    color: #8B6F47;
}

/* hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all .3s;
}

.site-header.scrolled .nav-toggle span {
    background: #2c2c2c;
}

/* HERO */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.15) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 0 20px;
}

.hero-content .pre-title {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: .9;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 20px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}

/* BUTTONS */
.btn,
.btn-primary {
    display: inline-block;
    background: #8B6F47;
    border: 1px solid #8B6F48;
    padding: 14px 32px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: #75593a;
    border-color: #75593a;
    transform: translateY(-2px);
}

.btn.btn-outline {
    background: transparent;
    color: #8B6F47;
    border: 1px solid #8B6F47;
}

.btn.btn-outline:hover {
    background: #8B6F47;
    color: #fff;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-intro {
    padding: 100px 0 80px;
}

.section-services {
    padding: 70px 0 90px;
}

.section-process {
    padding: 80px 0 80px;
}

.section-cta {
    padding: 60px 0;
    background: #1a1a1a;
}

.section-guarantee {
    padding: 90px 0 70px;
}

.section-pricing {
    padding: 80px 0;
    background: #f7f5f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #2c2c2c;
    margin: 0 0 15px;
    line-height: 1.2;
}

.section-subtitle {
    color: #555;
    font-size: 16px;
    margin: 0 0 50px;
    max-width: 600px;
}

/* INTRO BLOCK */
.intro-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-block .text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #2c2c2c;
    margin: 0 0 25px;
    line-height: 1.2;
}

.intro-block .text p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
}

.intro-block ul.checks {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.intro-block ul.checks li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #2C2C2C;
    font-size: 15px;
}

.intro-block ul.checks li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #2d8659;
    font-size: 15px;
}

.intro-block .image img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

/* SERVICE GRID */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow .3s, transform .3s;
}

.service-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.service-card .service-img {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
}

.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.service-card:hover .service-img img {
    transform: scale(1.04);
}

.service-card .service-body {
    padding: 30px 28px;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #2c2c2c;
    margin: 0 0 10px;
}

.service-card .price-tag {
    display: inline-block;
    background: #faf8f5;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #8B6F47;
    margin-bottom: 12px;
}

.service-card p {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px;
}

.service-card .read-more {
    color: #8B6F47;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card .read-more i {
    margin-left: 5px;
    font-size: 11px;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 40px 32px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #8B6F47;
    position: relative;
}

.pricing-card.featured::before {
    content: '人気';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B6F47;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin: 0 0 10px;
    color: #2c2c2c;
}

.pricing-card .price {
    font-size: 42px;
    font-weight: 700;
    color: #8B6F47;
    margin: 15px 0 5px;
    line-height: 1;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.pricing-card .period {
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.pricing-card ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    color: #2d8659;
    font-size: 13px;
}

/* PROCESS / 4-COL */
.process-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.process-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 35px 25px 30px;
    text-align: center;
    border-radius: 4px;
}

.process-card .num {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #8B6F47;
    margin-bottom: 15px;
    display: block;
}

.process-card h4 {
    font-size: 17px;
    margin: 0 0 10px;
    color: #2c2c2c;
}

.process-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* GUARANTEE / CHECK LIST CENTERED */
.guarantee-section {
    text-align: center;
    background: #f7f5f0;
}

.guarantee-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin: 0 0 20px;
    color: #2c2c2c;
}

.guarantee-section>.container>p {
    color: #555;
    margin-bottom: 30px;
}

.guarantee-section .checks-inline {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    max-width: 700px;
}

.guarantee-section .checks-inline li {
    padding: 10px 0 10px 30px;
    position: relative;
    text-align: left;
    color: #2c2c2c;
    font-size: 15px;
}

.guarantee-section .checks-inline li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #2d8659;
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 14px;
}

/* CTA BAND */
.cta-band {
    background: #1A1A1A;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.cta-band h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin: 0 0 15px;
    color: #fff !important;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    font-size: 16px;
}

.cta-band .btn {
    background: #8B6F47;
}

.cta-band .btn:hover {
    background: #a08359 !important;
}

/* TESTIMONIALS */
.section-testimonials {
    background: #faf8f5;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.testimonial-card .stars {
    color: #8B6F47;
    margin-bottom: 15px;
    font-size: 15px;
}

.testimonial-card .stars i {
    margin-right: 2px;
}

.testimonial-card p {
    font-size: 15px;
    color: #555;
    font-style: italic;
    margin: 0 0 20px;
    line-height: 1.7;
}

.testimonial-card .author {
    font-size: 14px;
    font-weight: 700;
    color: #2c2c2c;
}

.testimonial-card .role {
    font-size: 12px;
    color: #666;
}

/* STATS BAND */
.stats-band {
    background: #8B6F47;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FOOTER */
.site-footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 30px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer h5 {
    color: #fff;
    margin: 0 0 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 8px;
}

.site-footer ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.site-footer ul li a:hover {
    color: #fff;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 15px;
    max-width: 260px;
}

.footer-brand .social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-brand .social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    text-decoration: none;
    transition: background .3s, color .3s;
}

.footer-brand .social-links a:hover {
    background: #8B6F47;
    color: #fff;
}

.footer-contact p {
    font-size: 13px;
    color: #999;
    margin: 0 0 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact p i {
    color: #8B6F47;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
    margin-left: 20px;
    font-size: 12px;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* cookie strip */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid #8B6F47;
    padding: 18px 30px;
    font-size: 13px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.cookie-bar p {
    margin: 0;
    color: #555;
    max-width: 700px;
}

.cookie-bar p a {
    color: #8B6F47;
    text-decoration: underline;
}

.cookie-bar .actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-bar .actions a.btn {
    padding: 9px 20px;
    font-size: 12px;
}

.cookie-bar .actions a.decline {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    padding: 9px 0;
    align-self: center;
}

/* INNER PAGE HERO */
.page-hero {
    background: #1a1a1a;
    padding: 140px 0 70px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #fff;
    margin: 0 0 15px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
}

.breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #8B6F47;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin: 0 0 20px;
    color: #2c2c2c;
}

.contact-info .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-info .info-icon {
    width: 44px;
    height: 44px;
    background: #faf8f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B6F47;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info .info-text h5 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #2c2c2c;
}

.contact-info .info-text p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* FORM */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 0 0 25px;
    color: #2c2c2c;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 14px;
    font-family: inherit;
    color: #2c2c2c;
    background: #faf8f5;
    transition: border-color .3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #8B6F47;
    background: #fff;
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-group .required {
    color: #c0392b;
    margin-left: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* FAQ */
.faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #2c2c2c;
    transition: background .2s;
}

.faq-question:hover {
    background: #faf8f5;
}

.faq-question i {
    font-size: 13px;
    color: #8B6F47;
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.faq-answer.open {
    display: block;
}

/* TEXT PAGE (privacy/terms/cookies) */
.text-page-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 70px 20px;
}

.text-page-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #2c2c2c;
    margin: 40px 0 15px;
}

.text-page-content h3 {
    font-size: 20px;
    color: #2c2c2c;
    margin: 30px 0 12px;
}

.text-page-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.text-page-content ul {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 15px;
}

.text-page-content ul li {
    margin-bottom: 8px;
}

/* legacy helpers still hanging around */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-0 {
    margin-top: 0 !important;
}

/* TODO: fix mobile */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .process-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media(max-width: 768px) {
    .site-header {
        padding: 12px 0;
    }

    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #faf8f5;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li a {
        color: #2c2c2c !important;
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        height: auto;
        min-height: 520px;
        padding: 110px 0 70px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .intro-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        flex-direction: column;
    }

    .service-card .service-img,
    .service-card .service-body {
        width: 100%;
    }

    .section,
    .section-intro,
    .section-services {
        padding: 50px 0 !important;
    }

    .site-footer .footer-main {
        flex-direction: column;
    }

    .cookie-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px 20px;
    }

    .cookie-bar p {
        max-width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 32px;
    }
}

@media (max-width:480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .intro-block .text h2,
    .guarantee-section h2,
    .section-title {
        font-size: 26px;
    }

    .process-row {
        grid-template-columns: 1fr;
    }

    .btn,
    .btn-primary {
        padding: 12px 22px;
        font-size: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item .stat-num {
        font-size: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links a {
        margin-left: 10px;
    }
}