:root {
    --primary-color: #1B365D; /* Navy */
    --accent-color: #E36B2C; /* Warm Orange */
    --accent-hover: #C9581E;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F4F7F6;
    --bg-white: #FFFFFF;
    --font-family: 'Noto Sans JP', sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography & Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(227, 107, 44, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(227, 107, 44, 0.4);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.global-nav ul {
    display: flex;
    gap: 25px;
}

.global-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
    letter-spacing: 0.03em;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(27, 54, 93, 0.5), rgba(27, 54, 93, 0.3)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    color: #fff;
    animation: fadeIn 1.5s ease-out;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.8;
}

.btn-hero {
    font-size: 1.2rem;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--accent-color), #f79d65);
    box-shadow: 0 8px 25px rgba(227, 107, 44, 0.4);
    border: 2px solid rgba(255,255,255,0.2);
    animation: pulse 2s infinite;
}

.btn-hero:hover {
    background: linear-gradient(135deg, var(--accent-hover), #e27d41);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 107, 44, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 107, 44, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(227, 107, 44, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(227, 107, 44, 0);
    }
}

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

/* About Section */
.about-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image-card {
    background-color: #fff;
    padding: 25px; /* 枠の内側の余白 */
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* 白い枠の影 */
    width: 100%;
    max-width: 450px; /* 枠の最大幅を制限して中央配置 */
}

.about-image-card img {
    width: 100%;
    height: auto;
    border-radius: 15px; /* 画像自体の角丸 */
    display: block;
    margin: 0 auto;
}

.about-text {
    flex: 1.2;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-text .subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
}

/* Services Section */
.service-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 20px;
    flex: 1 1 0%;
    min-width: 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-icon {
    color: var(--accent-color);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Pricing Cards (Services) */
.pricing-cards {
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 35px 25px;
}

.card-image-placeholder {
    width: 100%;
    height: 150px;
    background-color: #e9ecef;
    border: 2px dashed #adb5bd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 15px 0 25px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .price-unit {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (min-width: 769px) {
    .pricing-card h3 {
        min-height: 4.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pricing-price {
        min-height: 4rem;
    }

    .pricing-desc-target {
        min-height: 8rem;
    }
}

.pricing-desc {
    text-align: left;
    flex-grow: 1;
    padding: 0 10px;
}

.pricing-desc p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.pricing-desc strong {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 2px;
}

/* 一番人気カード */
.pricing-popular {
    transform: scale(1.05);
    border: 3px solid var(--accent-color);
    box-shadow: 0 15px 40px rgba(227, 107, 44, 0.15);
    z-index: 10;
}

.pricing-popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #E36B2C, #f79d65);
    color: #fff;
    padding: 8px 30px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(227, 107, 44, 0.3);
    white-space: nowrap;
}

/* SNS Section */
.sns.section {
    background-color: var(--bg-white); /* Update if you want a different background */
}

.sns-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.sns-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    text-decoration: none;
    height: 100%;
}

.sns-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(227, 107, 44, 0.12);
}

.sns-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 25px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.sns-card:hover .sns-card-icon {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.instagram-icon { color: #E1306C; }
.blog-icon { color: #F2A900; }
.youtube-icon { color: #FF0000; }

.sns-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.sns-card-desc {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    text-align: left;
    width: 100%;
}

/* Contact Section */
.contact-content {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    max-width: 800px;
    margin: 0 auto;
}

.contact-message {
    font-size: 1.05rem;
    line-height: 2.2;
    margin-bottom: 40px;
    color: var(--text-main);
}

.text-ib {
    display: inline-block;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #06C755;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(6, 199, 85, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.btn-line::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath fill="%23ffffff" d="M273.4 199.9c-12.5 0-22.6 10.1-22.6 22.6v75.1c0 12.5 10.1 22.6 22.6 22.6s22.6-10.1 22.6-22.6v-75.1c0-12.5-10.1-22.6-22.6-22.6zm-136.6 0c-12.5 0-22.6 10.1-22.6 22.6v75.1c0 12.5 10.1 22.6 22.6 22.6s22.6-10.1 22.6-22.6v-75.1c0-12.5-10.1-22.6-22.6-22.6zm68.3 0c-12.5 0-22.6 10.1-22.6 22.6v75.1c0 12.5 10.1 22.6 22.6 22.6s22.6-10.1 22.6-22.6v-75.1c0-12.5-10.1-22.6-22.6-22.6zM448 240c0-114.9-100.3-208-224-208S0 125.1 0 240c0 102.3 72.8 187.9 168.9 204.5 9.7 1.7 18.7 8.3 22.8 17.5 3.3 7.3 3.6 16.3 1.9 23.9-1.2 5.5-5.9 22.9-7.1 28.5-1.7 8-9.4 12.6-17.1 10.5-23.7-6.5-50.5-17.4-74.9-31.5-31.4-18.1-60.7-41.5-85.7-68.5C31.2 380.5 0 316.5 0 240s100.3-208 224-208 224 93.1 224 208-100.3 208-224 208c-9.6 0-19.1-.6-28.5-1.7-8-1-14.1-8.1-13.6-16.2.2-4.1 2.3-7.9 5.6-10.4 12-9.1 23.3-19.3 33.5-30.5 37.8-41.5 61-98.1 61-160z"/%3E%3C/svg%3E') no-repeat center center;
    background-size: contain;
}

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

/* Flow Section */
.flow-container {
    max-width: 900px;
    margin: 0 auto;
}

.flow-split {
    display: flex;
    gap: 30px;
    margin: 10px 0;
    align-items: stretch;
}

.flow-route {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.route-header {
    text-align: center;
    margin-bottom: 5px;
}

.route-badge {
    display: inline-block;
    padding: 8px 25px;
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.route-a {
    background-color: var(--primary-color);
}

.route-b {
    background-color: var(--accent-color);
}

.flow-route .flow-step {
    flex-grow: 1;
    margin-bottom: 0;
}

.flow-step.route-skip {
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border: 3px dashed #cbd5e1;
    box-shadow: none;
    padding: 40px 20px;
}

.flow-step.route-skip:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--accent-color);
}

.skip-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.8;
}

.skip-text strong {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.flow-step {
    background: #fff;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(227, 107, 44, 0.15);
}

.flow-number {
    flex-shrink: 0;
    color: #fff;
    background-color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(227, 107, 44, 0.3);
}

.flow-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
    padding-top: 5px;
}

.flow-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.8;
}

.step-note {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
    white-space: nowrap;
}

.flow-arrow {
    text-align: center;
    margin: 15px 0;
    color: var(--accent-color);
}

.flow-arrow::after {
    content: "▼";
    font-size: 1.5rem;
}

/* Footer & Tokushoho */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0 30px;
}

.tokusho-details {
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tokusho-details:last-of-type {
    margin-bottom: 30px;
}

.tokusho-details summary {
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5); /* 控えめなグレー */
    list-style: none; /* Hide default arrow */
    padding: 10px 0;
    transition: var(--transition);
    user-select: none;
}

.tokusho-details summary::-webkit-details-marker {
    display: none;
}

.tokusho-details summary::after {
    content: "▼";
    font-size: 0.75rem;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tokusho-details[open] summary::after {
    transform: rotate(180deg);
}

.tokusho-details summary:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tokusho-content {
    background-color: rgba(255, 255, 255, 0.05); /* うっすら明るく */
    border-radius: 10px;
    padding: 25px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #e9ecef;
}

.tokusho-table {
    width: 100%;
    border-collapse: collapse;
}

.tokusho-table th,
.tokusho-table td {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
    line-height: 1.6;
}

.tokusho-table th {
    width: 30%;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.tokusho-table tr:last-child th,
.tokusho-table tr:last-child td {
    border-bottom: none;
}

.privacy-intro {
    margin-bottom: 20px;
    line-height: 1.6;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
}

.privacy-list li {
    margin-bottom: 20px;
    line-height: 1.6;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.privacy-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.privacy-list strong {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .hero-subtext {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .btn-hero {
        font-size: 1.05rem;
        padding: 15px 30px;
        width: 90%;
        max-width: 350px;
    }
    
    .about-flex {
        flex-direction: column;
        gap: 40px;
    }
    
    .service-cards {
        flex-direction: column;
    }
    
    .pricing-card {
        padding: 30px 15px;
    }
    
    .pricing-popular {
        transform: scale(1);
        z-index: 1;
        margin-top: 15px; /* 上のバッジが見切れないように余白 */
    }
    
    .pricing-popular:hover {
        transform: translateY(-10px);
    }
    
    .hamburger {
        display: block;
    }
    
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding-top: 100px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }
    
    .global-nav.active {
        right: 0;
    }
    
    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .global-nav a {
        font-size: 1.2rem;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .contact-content {
        padding: 30px 20px;
    }
    
    .btn-line {
        font-size: 1.05rem;
        padding: 15px 20px;
        width: 100%;
    }
    
    .flow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .flow-content h3 {
        padding-top: 0;
    }

    .flow-split {
        flex-direction: column;
        gap: 0;
    }
    
    .route-header {
        margin-top: 25px;
    }
    
    .flow-step.route-skip {
        padding: 20px;
    }
    
    .step-note {
        font-size: 0.75rem;
        margin-top: 10px;
    }
    
    .tokusho-table th, 
    .tokusho-table td {
        display: block;
        width: 100%;
        padding: 5px 0;
        border-bottom: none;
    }
    
    .tokusho-table th {
        margin-top: 15px;
        color: rgba(255, 255, 255, 0.8);
        white-space: normal;
    }
    
    .tokusho-table td {
        padding-bottom: 15px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    }
    
    .tokusho-table tr:last-child td {
        border-bottom: none;
    }
    
    .tokusho-content {
        padding: 20px 15px;
    }
}
