:root {
    --bg-color: #EE7411;
    /* Warm Orange */
    --section-bg: rgba(238, 116, 17, 0.9);
    --accent-color: #ffffff;
    --accent-hover: #cccccc;
    --text-color: #ffffff;
    --text-muted: #eeeeee;
    --font-main: 'Shippori Mincho', serif;
    --font-en: 'Baskervville', serif;
    --container-width: 1100px;
    --border-radius: 3px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.8;
    overflow-x: hidden;
    word-break: auto-phrase;
    overflow-wrap: break-word;
}

.sp-only {
    display: none;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    display: block;
    font-family: var(--font-en);
    color: var(--accent-color);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: 0.3s;
}

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

.logo {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

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

.btn-insta {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-insta:hover {
    background-color: var(--bg-color);
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 2100;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

/* Menu Icon Animation (to X) */
.mobile-menu-btn.open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Hero Slider */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
}

/* 【修正】オーバーレイを少し濃くして文字の視認性を高める */
.hero-slider .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.85));
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content span {
    font-family: var(--font-en);
    color: var(--accent-color);
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* 追加: 影を濃く */
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    /* 【修正】影を濃く広くして文字をくっきりさせる */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color);
    line-height: 1.8;
    /* 【修正】影を濃くする */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.15em;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.3);
    /* 【修正】ボタンの背景を少し暗くして目立たせる */
}

.cta-btn:hover {
    background-color: #EE7411;
    color: #ffffff;
}

/* Strength */
#strength {
    background-color: var(--section-bg);
}

.strength-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.strength-item:nth-child(even) {
    flex-direction: row-reverse;
}

.strength-img {
    flex: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.strength-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: 0.5s;
}

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

.strength-text {
    flex: 1;
}

.strength-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-weight: 700;
}

.strength-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Price */
#price .price-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 1.2rem;
}

#price th,
#price td {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

#price th {
    color: var(--accent-color);
    width: 40%;
    font-weight: 700;
}

#price .note {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Gallery Carousel */
#gallery {
    background-color: var(--section-bg);
    padding: 100px 0 150px;
}

.gallery-carousel {
    width: 100%;
    padding: 40px 0 60px;
}

.gallery-carousel .swiper-slide {
    width: auto;
    height: 450px;
    opacity: 0.3;
    transition: 0.5s;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-carousel .swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 10;
}

.gallery-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: var(--accent-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
}

/* Access */
.access-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.access-info {
    flex: 1;
}

.access-info h3 {
    font-size: 2rem;
    margin-bottom: 35px;
    color: var(--accent-color);
}

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

.access-info th,
.access-info td {
    text-align: left;
    padding: 20px 0;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.access-info th {
    width: 140px;
    color: var(--accent-color);
    font-weight: 700;
}

.access-map {
    flex: 1.5;
    height: 550px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.phone-btn {
    display: inline-block;
    margin-top: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.phone-btn:hover {
    color: var(--accent-hover);
}

.phone-btn i {
    margin-right: 15px;
}

/* Footer */
footer {
    padding: 120px 0 60px;
    background-color: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    display: block;
    font-weight: 700;
}

.footer-sns {
    margin-bottom: 50px;
}

.footer-sns a {
    font-size: 3rem;
    margin: 0 25px;
    color: var(--text-muted);
}

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

.copyright {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .strength-item,
    .strength-item:nth-child(even) {
        flex-direction: column;
        gap: 40px;
    }

    .strength-img img {
        height: 350px;
    }

    .access-flex {
        flex-direction: column;
    }

    .access-map {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(238, 116, 17, 0.95); /* --bg-color with transparency */
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        text-align: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        pointer-events: none;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav ul {
        flex-direction: column;
        gap: 35px;
    }

    nav ul li a {
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
    }

    .container {
        padding: 0 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    section {
        padding: 60px 0;
    }

    .section-title span {
        font-size: 1.2rem;
        letter-spacing: 0.2em;
    }

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

    /* 【修正】スマホ時のヒーローテキストの調整 */
    .hero-content span {
        font-size: 1.1rem;
        letter-spacing: 0.2em;
        margin-bottom: 15px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        /* 少し小さくして圧迫感を減らす */
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .hero-content p {
        font-size: 1rem;
        /* 本文を少し小さく */
        line-height: 1.9;
        padding: 0 10px;
        /* 左右に少し余裕を持たせる */
    }

    body p {
        font-size: 1rem;
    }

    #price .price-table {
        font-size: 1rem;
    }

    #price th,
    #price td {
        padding: 15px 10px;
    }

    #price th {
        width: 35%;
    }

    .strength-text h3,
    .access-info h3 {
        font-size: 1.6rem;
    }

    .access-flex {
        gap: 30px;
    }

    .access-map {
        height: auto;
        aspect-ratio: 1 / 1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .strength-item {
        gap: 25px;
    }

    .gallery-carousel .swiper-slide {
        height: 300px;
    }

    .sp-only {
        display: block;
    }

    h1,
    h2,
    h3 {
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}

/* Remove old Mobile Nav Active styles */

/* PCでのみ表示するブロック要素 */
.pc-only-block {
    display: block;
}

/* PCでのみ表示するインライン要素（テキストの一部など） */
.pc-only-inline {
    display: inline;
}

/* スマホでのみ表示するブロック要素 */
.sp-only-block {
    display: none;
}

/* スマホでのみ表示するインライン要素 */
.sp-only-inline {
    display: none;
}

/* 768px以下のスマートフォン表示時 */
@media (max-width: 768px) {

    .pc-only-block,
    .pc-only-inline {
        display: none;
    }

    .sp-only-block {
        display: block;
    }

    .sp-only-inline {
        display: inline;
    }
}
