/* =========================
  Base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: #050505;
    color: #E5E5E5;
    font-family: "Shippori Mincho", serif;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-gold-gradient {
    font-family: "Aboreto", serif;
    background: linear-gradient(90deg,
            #BF953F,
            #FCF6BA,
            #B38728,
            #FBF5B7,
            #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sp-only {
    display: none;
}

.sp-hidden {
    display: block;
}

/* 背景に重ねる円模様 */
.bg-circle {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-circle::before,
.bg-circle::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 55, 0.08);
}

/* =========================
  Header
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    padding: 8px 80px;

    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    box-shadow:
        0 2px 4px -2px rgba(0, 0, 0, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);

    transition: 0.3s ease;
}

.header.is-scrolled {
    height: 64px;
    padding: 4px 24px;
    background: rgba(5, 5, 5, 0.98);
}

.header-inner {
    width: 100%;
    max-width: 1280px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    font-size: clamp(16px, 6vw, 24px);
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 2.4px;

    width: auto;
    white-space: nowrap;
    flex-shrink: 1;
}

/* メニュー(PC) */
.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 14px;
    letter-spacing: 1.4px;
    color: #E5E5E5;
    transition: 0.2s;
}

.nav a:hover {
    color: #D4AF37;
}

/* ハンバーガーメニュー(スマホ) */
.hamburger {
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 11;
    background: none;
    border: none;
}

.hamburger span {
    position: absolute;
    left: 4px;
    width: 16px;
    height: 2px;
    background: #E5E5E5;
    transition: 0.3s;
}

.hamburger:hover span {
    background: #D4AF37;
}

/* open状態（×） */
.hamburger.is-open span {
    background: #D4AF37;
}

.hamburger span:nth-child(1) {
    top: 5px;
}

.hamburger span:nth-child(2) {
    top: 12px;
}

.hamburger span:nth-child(3) {
    top: 19px;
}

/* open時 */
.hamburger.is-open span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
}

.sp-menu {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.98);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 10;

}

.sp-menu a {
    font-size: 24px;
    color: #E5E5E5;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.sp-menu a:hover {
    color: #D4AF37;
}

.sp-menu.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
  HERO
========================= */
.hero {
    width: 100%;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
    overflow: visible;
    background: #050505;
}

/* 背景ロゴ */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url("img/kingyo-logo.png") center center / contain no-repeat;

    opacity: .3;
    background-position: center 50px;
}

/* 円模様 共通 */
.hero-circles {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.hero-circle-wrap {
    position: absolute;
    inset: 0;
    filter: blur(6px);
}

.circle {
    position: absolute;
    border-radius: 50%;
}

/* HERO 右下の3つの円 */
.hero-circles--right .c1 {
    width: 58vw;
    height: 76vw;
    max-width: 840px;
    max-height: 1099px;

    right: -10%;
    top: 35%;

    border: 0.5px solid rgba(212, 175, 55, 0.05);
}

.hero-circles--right .c2 {
    width: 46vw;
    height: 60vw;
    max-width: 660px;
    max-height: 864px;

    right: -5%;
    top: 45%;

    border: 1px solid rgba(212, 175, 55, 0.15);
}

.hero-circles--right .c3 {
    width: 35vw;
    height: 46vw;
    max-width: 500px;
    max-height: 654px;

    right: 0%;
    top: 55%;

    border: 2px solid rgba(212, 175, 55, 0.3);
}

/* HERO 左上3つの円 */
.hero-circles--left .c4 {
    width: 42vw;
    height: 55vw;
    max-width: 640px;
    max-height: 837px;

    left: -10%;
    top: 10%;

    border: 0.5px solid rgba(212, 175, 55, 0.10);
}

.hero-circles--left .c5 {
    width: 32vw;
    height: 42vw;
    max-width: 480px;
    max-height: 628px;

    left: -2%;
    top: 20%;

    border: 1px solid rgba(212, 175, 55, 0.20);
}

.hero-circles--left .c6 {
    width: 24vw;
    height: 31vw;
    max-width: 360px;
    max-height: 471px;

    left: 6%;
    top: 28%;

    border: 1.5px solid rgba(212, 175, 55, 0.40);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 906px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    padding-top: 80px;
}

.hero-title {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;

    font-size: clamp(24px, 4vw, 64px);
    line-height: 1.2;
    letter-spacing: 0.15em;

    color: #E5E5E5;

    text-shadow:
        0px 10px 8px rgba(0, 0, 0, 0.04),
        0px 4px 3px rgba(0, 0, 0, 0.10);
}

.hero-sub {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1em;
    color: #D4AF37;
}

/* スクロール矢印 */
.hero-scroll {
    margin-top: 40px;
    cursor: pointer;
    animation: float 1.5s ease-in-out infinite;
}

.arrow-icon path {
    stroke: #D4AF37B2;
    transition: 0.3s;
}

.hero-scroll:hover .arrow-icon path {
    stroke: #D4AF37;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

/* =========================
  CONCEPT SECTION
========================= */

.concept {
    width: 100%;
    padding: 128px 30px;

    background: rgba(17, 17, 17, 0.3);
    backdrop-filter: blur(4px);
}

.concept-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    gap: 54px;

    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.concept-image {
    flex: 1 1 480px;
    max-width: 480px;
}

.concept-image-frame {
    width: 100%;
    aspect-ratio: 3 / 4;

    background: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 2px;

    padding: 17px;
    box-sizing: border-box;
}

.concept-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}

.concept-text {
    flex: 1 1 520px;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.concept-title {
    font-weight: 400;
    font-size: clamp(16px, 5vw, 23px);
    line-height: 32px;
    letter-spacing: 2.4px;
}

.concept-lead {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.8px;
    color: #A3A3A3;
}

.concept-desc {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.8px;
    color: #A3A3A3;
}

/* =========================
  GALLERY SECTION
========================= */

.gallery {
    width: 100%;
    padding: 128px 144px;
    background: rgba(17, 17, 17, 0.3);
    backdrop-filter: blur(4px);
}

.gallery-container {
    max-width: 1152px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-title {
    font-weight: 400;
    font-size: clamp(30px, 7vw, 36px);
    line-height: 40px;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 各画像枠 */
.gallery-item {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;

    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 420px;
    display: block;
}

/* =========================
  SYSTEM SECTION
========================= */

.system {
    width: 100%;
    padding: 128px 272px;
    background: rgba(5, 5, 5, 0.3);
    backdrop-filter: blur(4px);
}

.system-container {
    max-width: 896px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.system-title {
    font-weight: 400;
    font-size: clamp(30px, 7vw, 36px);
    line-height: 40px;
    letter-spacing: 0.2em;

    text-align: center;
    margin-bottom: 20px;
}

.system-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.system-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.system-name {
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #E5E5E5;
}

.system-price {
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #D4AF37;
}


/* =========================
  ACCESS SECTION
========================= */

.access {
    width: 100%;
    padding: 128px clamp(40px, 8vw, 208px);

    position: relative;
    overflow: visible;

    background: rgba(5, 5, 5, 0.3);
    backdrop-filter: blur(4px);
}

/* 円背景 */
.access .bg-circle::before {
    width: 256px;
    height: 256px;
    top: -80px;
    right: -64px;
}

.access .bg-circle::after {
    width: 384px;
    height: 384px;
    bottom: -96px;
    left: -96px;
}

.access-container {
    max-width: 1024px;
    position: relative;
    z-index: 1;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    padding: 48px;

    background: #111111;

    border: 1px solid rgba(212, 175, 55, 0.2);

    box-sizing: border-box;
}

/* 左のグラデーションボーダー */
.access-container::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;

    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.5) 0%,
            rgba(212, 175, 55, 0) 100%);

    pointer-events: none;
}

.access-info {
    width: 439px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.access-title {
    font-size: 30px;
    font-size: clamp(28px, 7vw, 30px);
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.access-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.access-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.label {
    font-size: 16px;
    color: #E5E5E5;
    line-height: 1.6;
}

.link-external p,
.link-tel {
    color: inherit;
    text-decoration: none;
}

.link-external:hover p,
.link-tel:hover {
    color: #D4AF37;
}

.text {
    font-size: 14px;
    color: #E5E5E5;
}

.note {
    font-size: 12px;
    color: #A3A3A3;
}

/* SNS */
.sns {
    display: flex;
    gap: 16px;
}

.sns a {
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 4px;
    transition: 0.3s;
    text-decoration: none;
}

.sns a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.sns-icon path {
    fill: #E5E5E5;
    transition: 0.3s;
}

.sns a:hover .sns-icon path {
    fill: #D4AF37;
}

/* MAP */
.access-map {
    width: 439px;
    height: 370px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #222;
    overflow: hidden;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================
  FOOTER
========================= */

.footer {
    width: 100%;
    padding: 48px 80px;

    background: rgba(2, 2, 2, 0.5);
    border-top: 1px solid rgba(212, 175, 55, 0.1);

    backdrop-filter: blur(12px);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;

    padding: 40px 24px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-text {
    font-family: "Shippori Mincho", serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;

    color: #A3A3A3;
    text-align: center;
}

/* =========================
  Responsive
========================= */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .sp-hidden,
    .nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .header {
        height: 114px;
        padding: 8px 24px;
    }

    .nav {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-bg {
        padding: 100px 0 0 0;
        background-position: center 100px;
    }

    .hero-container {
        padding-top: 170px;
        gap: 50px;
    }

    /* HERO 右下の3つの円 */
    .hero-circles--right .c1 {
        width: 215vw;
        height: 207vw;
        max-width: none;
        max-height: none;
        left: -23%;
        top: 196px;
        right: auto;
        border: 0.5px solid rgba(212, 175, 55, 0.05);
    }

    .hero-circles--right .c2 {
        width: 169vw;
        height: 162.5vw;
        max-width: none;
        max-height: none;
        left: 0.4%;
        top: 282px;
        right: auto;
        border: 1px solid rgba(212, 175, 55, 0.15);
    }

    .hero-circles--right .c3 {
        width: 128.2vw;
        height: 123.1vw;
        max-width: none;
        max-height: none;
        left: 20.9%;
        top: 359px;
        right: auto;
        border: 2px solid rgba(212, 175, 55, 0.3);
    }

    /* HERO 左上3つの円 */
    .hero-circles--left .c4 {
        width: 164vw;
        height: 158vw;
        max-width: none;
        max-height: none;
        left: -67%;
        top: -120px;
        border: 0.5px solid rgba(212, 175, 55, 0.10);
    }

    .hero-circles--left .c5 {
        width: 123vw;
        height: 118vw;
        max-width: none;
        max-height: none;
        left: -46.5%;
        top: -43px;
        border: 1px solid rgba(212, 175, 55, 0.20);
    }

    .hero-circles--left .c6 {
        width: 92.3vw;
        height: 88.6vw;
        max-width: none;
        max-height: none;
        left: -31.2%;
        top: 14px;
        border: 1.5px solid rgba(212, 175, 55, 0.40);
    }

    .gallery-title,
    .system-title {
        margin-bottom: 50px;
    }

    .concept {
        padding: 70px 0;
    }

    .concept-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .concept-image {
        max-width: 330px;
        margin: 0 auto;
    }

    .concept-text {
        max-width: 100%;
        flex: 1 1 100%;
        text-align: center;
    }

    .concept {
        flex-direction: column;
    }

    .concept img {
        width: 100%;
        height: auto;
    }

    .gallery {
        padding: 70px 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .access {
        flex-direction: column;
    }

    .system {
        padding: 70px 40px;
    }

    .system-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        gap: 12px;
    }

    .system-name,
    .system-price {
        font-size: 14px;
    }

    .access {
        padding: 70px 20px;
    }

    .access-container {
        flex-direction: column;
        padding: 30px 30px 60px 30px;
    }

    .access-info,
    .access-map {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .access-info {
        gap: 0px;
        padding-bottom: 30px;
    }

    .footer {
        padding: 48px 20px;
    }

    .footer-container {
        padding: 20px 10px;
    }
}

@media (max-width: 500px) {
    .hero-bg {
        padding: 0;
        background-position: center center;
    }
}