/*
* Nitta Shashin Website Stylesheet
*/

/* --- Global Settings --- */
:root {
    --main-font: 'Shippori Mincho', serif;
    --title-font: 'Shippori Mincho', serif;
    --primary-color: #333;
    --accent-color: #a0d8ef; /* 薄い水色 */
    --background-color: #ffffff;
    --light-gray-bg: #f8f9fa;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    color: var(--primary-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
    line-height: 1.8;
    position: relative;
    box-sizing: border-box;
}

.container, .content-section, .gallery-grid, .plan-grid {
    max-width: 100vw;
    box-sizing: border-box;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.header-logo img {
    height: 60px;
    width: auto;
}

/* --- Navigation Menu --- */
.menu-trigger {
    position: relative;
    width: 44px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.menu-trigger:hover {
    background-color: rgba(160, 216, 239, 0.1);
}

.menu-trigger span {
    position: absolute;
    left: 6px;
    width: 32px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.menu-trigger span:nth-child(1) {
    top: 6px;
}
.menu-trigger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.menu-trigger span:nth-child(3) {
    bottom: 6px;
}

.menu-trigger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background-color: white;
}
.menu-trigger.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}
.menu-trigger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background-color: white;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
}

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

.menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/menu.jpg') no-repeat center center/cover;
}
.menu-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.menu-list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-list li {
    margin: 20px 0;
}

.menu-list a {
    font-family: var(--title-font);
    font-size: 1.2rem;
    color: white;
    padding: 10px;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-list a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* --- Instagram Menu --- */
.menu-instagram {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1002;
}
.menu-instagram img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}
.menu-instagram img:hover {
    box-shadow: 0 4px 16px rgba(160,216,239,0.25);
}

/* --- Hero Slider (TOP Page) --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
    z-index: 1;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.slide:first-child {
    opacity: 1;
}
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
}

.slide.active {
    opacity: 1;
}

.catch-copy-wrapper {
    position: absolute;
    top: 73%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
}

.catch-copy {
    font-family: var(--title-font);
    font-size: 2.5rem;
    color: white;
    line-height: 1.6;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

/* --- Page Header (Sub Pages) --- */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
    background-color: var(--light-gray-bg);
}

.page-title {
    font-family: var(--title-font);
    font-size: 2.5rem;
    font-weight: 500;
}

/* --- Content Sections --- */
.content-section {
    padding: 80px 0;
}
.bg-light {
    background-color: var(--light-gray-bg);
}

.section-title {
    font-family: var(--title-font);
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
    font-weight: 500;
    position: relative;
    padding-bottom: 15px;
}

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

/* --- About Page - Greeting Section --- */
.about-greeting-text {
    text-align: left;
    max-width: 45em;
    margin: 0 auto;
}

/* --- Shichigosan Page Intro --- */
.shichigosan-intro-section {
    text-align: left;
}
.shichigosan-intro-section img {
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}
.shichigosan-intro-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 25px auto 0 auto;
}

.shichigosan-intro-text {
    text-align: left;
}

/* --- Kodomo Coupon Image --- */
.kodomo-coupon-img {
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* --- Plans --- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.plan-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.plan-image-wrapper {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
}
.plan-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.plan-name {
    font-family: var(--title-font);
    font-size: 1.5rem;
    margin: 20px 0 10px;
}
.plan-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 20px;
}
.tax-note {
    font-size: 0.8rem;
    font-weight: normal;
}
.plan-description {
    padding: 0 15px 20px;
    text-align: left;
    font-size: 0.9rem;
}

/* --- Plan Notes --- */
.plan-notes {
    margin-top: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #a0d8ef;
}

.note-item {
    margin-bottom: 15px;
}

.note-item:last-child {
    margin-bottom: 0;
}

.note-item p {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Omiyamairi Rental Costumes --- */
.costume-intro {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}
.costume-galleries h3 {
    font-family: var(--title-font);
    font-size: 1.5rem;
    text-align: center;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 25px;
}
.costume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}
.costume-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.costume-item img {
    width: 100%;
}

/* --- Shichigosan Rental Plans --- */
.rental-plan-section {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}
.rental-plan-section h3 {
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
}
.rental-plan-section h4 {
    font-size: 1.2rem;
    font-weight: 400;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.rental-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
}
.rental-item-name {
    font-weight: 400;
}
.rental-item-price {
    font-weight: 400;
    white-space: nowrap;
    font-size: 1.2rem;
}
.rental-notes {
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 15px;
    background-color: var(--light-gray-bg);
    border-radius: 4px;
}
.rental-notes p {
    margin: 0;
}

/* --- Reservation Flow Section (TOP Page) --- */
.flow-step {
    border: 1px solid #eee;
    background-color: #fff;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
.flow-step-title {
    display: flex;
    align-items: center;
    font-family: var(--title-font);
    font-size: 1.6rem;
    font-weight: 500;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 15px;
}
.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}
.flow-step-content {
    padding-top: 20px;
}
.flow-step-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 15px;
    border-left: 5px solid var(--accent-color);
    padding-left: 10px;
}
.flow-step-content ul {
    list-style-type: none;
    padding-left: 0;
}
.flow-step-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}
.flow-step-content li::before {
    content: '※';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}
.cancellation-policy {
    margin-top: 20px;
    padding: 20px;
    background-color: #fffaf0;
    border: 1px solid #ffe5b9;
    border-radius: 4px;
}

/* --- Gallery --- */
.gallery-filter {
    text-align: center;
    margin-bottom: 40px;
}
.filter-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    aspect-ratio: 3 / 4;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.active {
    visibility: visible;
    opacity: 1;
}
.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Contact Page --- */
.contact-block {
    background-color: var(--light-gray-bg);
    border-radius: 8px;
    padding: 40px;
    text-align: left;
    margin-bottom: 40px;
}
.contact-lead {
    font-size: 1.1rem;
    margin: 0 0 15px;
    text-align: center;
}
.contact-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2.2rem;
    font-weight: bold;
}
.contact-tel a {
    font-family: var(--title-font);
}
.contact-tel .tel-icon {
    width: 30px;
    height: 30px;
}
.contact-tel .tel-icon svg {
    width: 100%;
    height: 100%;
}
.contact-details {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.contact-note {
    color: #d9534f;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #f9f2f2;
    border-left: 3px solid #d9534f;
    border-radius: 4px;
}

/* --- Special Photo --- */
.special-photo-image {
    margin-bottom: 40px;
}

/* --- Kimono Item --- */
.kimono-item {
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
    overflow: hidden;
}
.kimono-item:hover {
    transform: translateY(-5px);
}
.kimono-item img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

.kimono-item:hover img {
    transform: scale(1.05);
}

/* --- Terms Page Styles --- */
.terms-intro {
    text-align: left;
    margin-bottom: 40px;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.terms-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-intro p:last-child {
    margin-bottom: 0;
}

.terms-block {
    margin-bottom: 40px;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.terms-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.cancel-fee-table {
    margin: 20px 0;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
}

.fee-row {
    display: flex;
    align-items: center;
}

.fee-row:not(:last-child) {
    border-bottom: 1px solid var(--accent-color);
}

.fee-period {
    flex: 1;
    padding: 15px 20px;
    background-color: #f8f9fa;
    font-weight: 500;
}

.fee-amount {
    padding: 15px 20px;
    background-color: white;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: center;
    min-width: 80px;
}

.important-notes {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.important-notes p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.important-notes p:last-child {
    margin-bottom: 0;
}

.note {
    color: #dc3545;
    font-weight: 500;
}

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

.terms-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
}

.terms-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.terms-date {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
}

/* --- Kimono Rental Page Styles --- */
.policy-section {
    margin: 60px 0;
    padding: 40px 20px;
}

.policy-section h2.section-title {
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.5rem;
}

.policy-section h4 {
    color: #333;
    margin: 30px 0 20px 0;
    font-size: 1.3rem;
    border-left: 4px solid #666;
    padding-left: 15px;
}

.intro-text {
    text-align: left;
    margin: 40px 0 60px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #ccc;
}

.intro-text p {
    margin: 15px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.policy-section p {
    text-align: left;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #666;
}

.price-item .service {
    font-weight: 500;
    font-size: 1.1rem;
    color: #333;
}

.price-item .price {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.notice-box {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.notice-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-box li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
}

.notice-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #e17055;
    font-weight: bold;
    font-size: 1.2rem;
}

.kimono-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    padding: 20px;
}

.date-info {
    text-align: right;
    font-style: italic;
    color: #666;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* --- Kimono Link Hover Effect --- */
.kimono-link img {
    transition: all 0.5s ease;
    width: 100%;
}

.kimono-link:hover img,
.kimono-link:focus img {
    opacity: 0.8;
    transform: scale(1.02);
}

/* --- Billett Image --- */
.billett-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    transition: all 0.5s ease;
}

.billett-image:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.billett-description {
    text-align: left;
    margin-top: 20px;
    padding: 0 20px;
}

.billett-description p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Operation Info --- */
.operation-info {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.operation-text {
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.company-info,
.related-group {
    white-space: nowrap;
}

.operation-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.operation-text a:hover,
.operation-text a:focus {
    color: #0056b3;
    text-decoration: underline;
}

/* --- FAQ Page Styles --- */
.faq-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    text-align: left;
}

.faq-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 30px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    user-select: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #fafafa;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #a0d8ef;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.faq-icon.answer {
    background-color: #666;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.5;
    flex: 1;
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: #a0d8ef;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #2c3e50;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.faq-answer.active {
    max-height: 200px;
    padding: 30px 0 35px;
    margin-top: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    flex: 1;
    padding-top: 2px;
}

/* --- Footer --- */
.footer {
    background-color: #333;
    color: #f0f0f0;
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.footer p {
    max-width: 700px;
    line-height: 1.8;
}
.footer a {
    color: white;
}
.footer a:hover {
    color: var(--accent-color);
}
.footer-logo img {
    height: 50px;
}
.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-nav {
    margin: 20px 0;
    text-align: center;
}

.footer-nav a {
    display: inline-block;
    margin: 0 15px;
    padding: 5px 0;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in {
    transform: translateY(20px);
}
.fade-in-up {
    transform: translateY(40px);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   Responsive Design - Tablet (max-width: 768px)
   =========================================== */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }
    .header-logo img {
        height: 55px;
    }

    .hero-slider {
        height: 85vh;
    }
    .slide-omiya {
        background-image: url('images/sp001.jpg') !important;
    }
    .slide-753 {
        background-image: url('images/sp002.jpg') !important;
    }
    .slide-omiya2 {
        background-image: url('images/sp003.jpg') !important;
    }
    .catch-copy {
        font-size: 1.8rem;
        width: 90vw;
    }
    .catch-copy-wrapper {
        top: 65%;
    }

    .section-title {
        font-size: 1.5rem;
    }
    .page-title {
        font-size: 1.6rem;
    }

    .plan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .content-section {
        padding: 60px 0;
    }

    .contact-tel {
        font-size: 1.8rem;
    }
    .contact-box {
        padding: 30px 20px;
    }

    /* 運営情報のモバイル表示 */
    .operation-text {
        flex-direction: column;
        gap: 15px;
    }

    .company-info,
    .related-group {
        white-space: normal;
    }

    /* Kimono Rental Page */
    .policy-section {
        margin: 30px 0;
        padding: 25px 15px;
    }

    .policy-section h2.section-title {
        font-size: 1rem;
    }

    .pricing-table {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .price-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .kimono-gallery {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .kimono-item {
        padding: 15px;
    }

    .intro-text {
        padding: 20px;
        margin: 30px 0 40px 0;
    }

    /* FAQ Mobile */
    .faq-container {
        padding: 0 10px;
    }

    .faq-header h1 {
        font-size: 2.2rem;
    }

    .faq-question {
        padding: 20px 0;
        align-items: flex-start;
        padding-left: 44px;
        position: relative;
        gap: 0;
    }

    .faq-question .faq-icon {
        position: absolute;
        left: 0;
        top: 20px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 45px;
        margin: 0;
    }

    .faq-toggle {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        position: absolute;
        right: 0;
        top: 18px;
    }

    .faq-answer {
        padding-left: 44px;
        position: relative;
        gap: 0;
    }

    .faq-answer .faq-icon.answer {
        position: absolute;
        left: 0;
        top: 2px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .faq-answer.active {
        padding: 25px 0 30px 44px;
        margin-top: 8px;
    }

    .faq-answer p {
        padding: 0 0 20px 0;
        font-size: 0.95rem;
        margin: 0;
    }
}

/* ===========================================
   Responsive Design - Mobile (max-width: 600px)
   =========================================== */
@media (max-width: 600px) {
    /* スマホ横スクロール防止 */
    html, body {
        width: 100vw;
        overflow-x: hidden !important;
    }
    body {
        position: relative;
        box-sizing: border-box;
    }

    /* Kodomo Coupon Image */
    .kodomo-coupon-img {
        max-width: 240px;
    }

    /* Terms Page */
    .terms-intro {
        padding: 20px 15px;
    }

    .terms-block {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .terms-subtitle {
        font-size: 1.1rem;
    }

    .fee-row {
        flex-direction: column;
    }

    .fee-period, .fee-amount {
        width: 100%;
        text-align: center;
    }

    .fee-period {
        border-bottom: 1px solid var(--accent-color);
    }

    .terms-list li {
        padding-left: 15px;
        font-size: 0.95rem;
    }

    /* Footer Navigation */
    .footer-nav {
        margin: 15px 0;
        text-align: center;
    }

    .footer-nav a {
        display: inline-block;
        margin: 0 8px;
        padding: 8px 0;
        font-size: 0.8rem;
    }

    /* スマホ版フッターナビゲーション2段レイアウト */
    .footer-nav a:nth-child(1),
    .footer-nav a:nth-child(2),
    .footer-nav a:nth-child(3),
    .footer-nav a:nth-child(4) {
        margin-bottom: 8px;
    }

    .footer-nav a:nth-child(5),
    .footer-nav a:nth-child(6) {
        display: block;
        width: 48%;
        margin: 0 1%;
        float: left;
    }

    .footer-nav::after {
        content: "";
        display: table;
        clear: both;
    }

    /* FAQ Mobile */
    .faq-container {
        padding: 0 15px 40px;
    }

    .faq-question {
        padding: 18px 0 18px 44px;
    }

    .faq-question .faq-icon {
        top: 18px;
    }

    .faq-answer p {
        padding: 12px 0 18px 0;
        font-size: 0.9rem;
    }
}
