@charset "UTF-8";

/* ========================================
   GOOGLE FONTS IMPORT
======================================== */
@import url(https://fonts.googleapis.com/css?family=Quattrocento+Sans);

/* ========================================
   CSS VARIABLES
======================================== */
:root {
  --gutter: 120px;
  --gap: 30px;
  --card-h: 400px;
}

/* ========================================
   RESET & BASE
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Noto Serif JP", serif;
  color: #fff;
  background: #111111;
}

#main {
  width: 100%;
}

/* ========================================
   LOADING SCREEN
======================================== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.is-loaded {
  opacity: 0;
  visibility: hidden;
}

.loading-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  width: 100%;
  height: 100px;
  line-height: 100px;
}

.loading-text span {
  display: inline-block;
  margin: 0 5px;
  color: #fff;
  font-family: 'Quattrocento Sans', sans-serif;
}

/* Loading text blur animation */
.loading-text span:nth-child(1) { animation: blur-text 1.5s 0s   infinite linear alternate; }
.loading-text span:nth-child(2) { animation: blur-text 1.5s 0.2s infinite linear alternate; }
.loading-text span:nth-child(3) { animation: blur-text 1.5s 0.4s infinite linear alternate; }
.loading-text span:nth-child(4) { animation: blur-text 1.5s 0.6s infinite linear alternate; }
.loading-text span:nth-child(5) { animation: blur-text 1.5s 0.8s infinite linear alternate; }
.loading-text span:nth-child(6) { animation: blur-text 1.5s 1s   infinite linear alternate; }
.loading-text span:nth-child(7) { animation: blur-text 1.5s 1.2s infinite linear alternate; }

@keyframes blur-text {
  0%   { filter: blur(0px); }
  100% { filter: blur(4px); }
}

/* ========================================
   HEADER
======================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  width: 100%;
  height: 75px;
  background-color: #00000063;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.logo img {
  display: block;
  height: 50px;
}

.nav ul {
  display: flex;
  gap: 50px;
  list-style: none;
  align-items: center;
  padding-right: 30px;
}

.nav a {
  color: #fff;
  text-decoration: none;
}

.main {
  padding-top: 75px;
}

/* スクロール位置調整（固定ヘッダー分） */
#about,
#service,
#project,
#company,
#event {
  scroll-margin-top: 100px;
}

/* ========================================
   MAIN VISUAL
======================================== */
.mv {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.mv__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.mv__logo {
  position: absolute;
  right: 30px;
  bottom: 20px;
  z-index: 2;
}

/* ボトムグラデーション */
.mv::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0.01) 10%,
    rgba(0,0,0,0.05) 25%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.3)  55%,
    rgba(0,0,0,0.5)  70%,
    rgba(0,0,0,0.75) 82%,
    rgba(0,0,0,0.92) 92%,
    rgba(0,0,0,1)    100%
  );
  pointer-events: none;
  z-index: 1;
}


/* ========================================
   CATCH COPY
======================================== */
.content h3 {
  font-size: 20px;
  text-align: center;
  margin: 120px auto;
}

.content p {
  line-height: 1.8;
}

/* ========================================
   WEBGL SHADER BACKGROUND
======================================== */
.shader-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -9999;
  overflow: hidden;
}

.shader-bg media-shader {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========================================
   SCROLL SLIDER (2 ROWS)
======================================== */
.scroll2rows {
  width: 100%;
  overflow: hidden;
  display: grid;
  gap: 20px;
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.scroll-infinity__item {
  width: 300px;
  height: 300px;
  flex: 0 0 300px;
  padding: 0 20px 0 0;
  box-sizing: border-box;
}

.scroll-infinity__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@-webkit-keyframes infinity-scroll-left {
  from { -webkit-transform: translateX(0);    transform: translateX(0); }
  to   { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}

@keyframes infinity-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

@-webkit-keyframes infinity-scroll-right {
  from { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
  to   { -webkit-transform: translateX(0);     transform: translateX(0); }
}

@keyframes infinity-scroll-right {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

.scroll-infinity__list--left  { -webkit-animation: infinity-scroll-left  60s linear infinite; animation: infinity-scroll-left  60s linear infinite; }
.scroll-infinity__list--right {
  -webkit-animation: infinity-scroll-right 60s linear infinite;
          animation: infinity-scroll-right 60s linear infinite;
  margin-bottom: 120px;
}

/* ========================================
   ABOUT
======================================== */
.about-section {
  display: flex;
  width: 100%;
  margin-bottom: 120px;
}

.about-section__slides {
  position: relative;
  width: 740px;
  height: 500px;
}

.about-section__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: aboutFade 12s infinite;
}

.about-section__slide.is-1 { background-image: url(../img/about_01.jpg); animation-delay: 0s; }
.about-section__slide.is-2 { background-image: url(../img/about_02.jpg); animation-delay: 4s; }
.about-section__slide.is-3 { background-image: url(../img/about_03.jpg); animation-delay: 8s; }

@keyframes aboutFade {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  50%  { opacity: 1; }
  80%  { opacity: 0; }
  100% { opacity: 0; }
}

.about-section__body {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 0 100px 0 80px;
  box-sizing: border-box;
}

.about-section__inner {
  width: 100%;
  max-width: 520px;
}

.about-section__lead {
  margin: 0 0 50px;
  font-weight: 700;
  font-size: 21px;
  color: #D29D00;
}

.about-section__text {
  margin: 0 0 50px;
  line-height: 2.2;
  font-size: 18px;
}

/* ========================================
   TOP CARDS
======================================== */
.top-cards {
  width: 100%;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  margin-bottom: 120px;
}

.top-cards__inner {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
}

.top-cards__item {
  position: relative;
  flex: 1 1 0;
  height: var(--card-h);
  overflow: hidden;
  text-decoration: none;
  transition: flex 0.6s ease;
}

/* 背景画像 */
.top-cards__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
  -webkit-transition: -webkit-transform 0.9s ease;
          transition: transform 0.9s ease;
}

.top-cards__item.is-service::before { background-image: url(../img/card_service.jpg); }
.top-cards__item.is-project::before { background-image: url(../img/card_project.jpg); }
.top-cards__item.is-company::before { background-image: url(../img/card_company.jpg); }

/* オーバーレイ */
.top-cards__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.60);
  transition: background 0.6s ease;
}

.top-cards__head {
  position: relative;
  z-index: 1;
  padding: 48px 40px;
  color: #fff;
}

.top-cards__en {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.top-cards__jp {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* ホバーエフェクト */
.top-cards__inner:hover .top-cards__item                     { flex: 0.9 1 0; }
.top-cards__inner:hover .top-cards__item:hover               { flex: 1.35 1 0; }
.top-cards__inner:hover .top-cards__item:hover::after        { background: rgba(0, 0, 0, 0.10); }

/* ========================================
   SECTION TITLE (共通)
======================================== */
.mtitle01 {
  margin: 0 0 120px;
  text-align: center;
}

.mtitle01__en {
  display: block;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #7E7E7E;
  margin-bottom: 18px;
  font-weight: 600;
}

.mtitle01__jp {
  display: block;
  font-size: 30px;
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 700;
}

/* ========================================
   SERVICE DETAIL: 共通
======================================== */
.service-detail {
  width: 100%;
  padding-top: 120px;
}

.service-detail__inner {
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* グリッド */
.service-detail__grid {
  display: grid;
  grid-template-columns: 530px 1fr;
  column-gap: 120px;
  align-items: start;
  margin-bottom: 120px;
}

/* メディア（type01用） */
.service-detail__media {
  width: 530px;
}

.service-detail__photos {
  position: relative;
  width: 530px;
  height: 880px;
}

/* 写真共通: フェードイン */
.service-detail__photo {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  -webkit-transform: translateY(18px);
          transform: translateY(18px);
  -webkit-transition: opacity 1.2s ease, -webkit-transform 1.2s ease;
          transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

.service-detail__photo.is-in {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.service-detail__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* TYPE 01: 写真レイアウト */
.service-detail__photo--a { top: 0;     left: 0;       width: 530px; height: 316px; }
.service-detail__photo--b { top: 376px; left: 0;       width: 200px; height: 180px; }
.service-detail__photo--c { top: 446px; left: 250px;   width: 250px; height: 460px; }

/* ヘッド */
.service-detail__head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin: 0 0 24px;
}

.service-detail__no {
  font-size: 96px;
  line-height: 1;
  font-weight: 400;
  color: #D29D00;
  letter-spacing: 0.02em;
}

.service-detail__headTexts {
  padding-top: 10px;
}

.service-detail__en {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.service-detail__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.service-detail__body {
  margin: 0 0 120px;
}

.service-detail__text {
  width: 660px;
  max-width: 100%;
  margin: 0;
  font-size: 18px;
  line-height: 2.2;
}

/* ワイド写真（type01） */
.service-detail__wide {
  width: 780px;
  max-width: 100%;
  height: 450px;
  margin-left: auto;
  overflow: hidden;
  opacity: 0;
  -webkit-transform: translateY(18px);
          transform: translateY(18px);
  -webkit-transition: opacity 1.2s ease, -webkit-transform 1.2s ease;
          transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

.service-detail__wide.is-in {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.service-detail__wide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 左右カラム共通 */
.service-detail__left {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* ========================================
   SERVICE DETAIL TYPE 02: STAGE MANAGEMENT
======================================== */
.service-detail--type02 .service-detail__grid { grid-template-columns: 1fr 1fr; column-gap: 80px; }
.service-detail--type02 .service-detail__content { width: 100%; padding-left: 120px; }
.service-detail--type02 .service-detail__body { margin: 0; }

.service-detail__photo--d {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 500px;
}

.service-detail__photos--type02 {
  position: relative;
  width: 100%;
  height: 900px;
}

/* 回転写真E */
.service-detail__photo--e {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  -webkit-transform: rotate(15.22deg) translateY(18px);
          transform: rotate(15.22deg) translateY(18px);
  -webkit-transform-origin: center;
          transform-origin: center;
}

.service-detail__photo--e.is-in {
  -webkit-transform: rotate(15.22deg) translateY(0);
          transform: rotate(15.22deg) translateY(0);
}

.service-detail__photo--f {
  position: absolute;
  bottom: -300px;
  right: 250px;
  width: 300px;
  height: 530px;
}

/* ========================================
   SERVICE DETAIL TYPE 03: CREATIVE SERVICES
======================================== */
.service-detail--type03 .service-detail__grid { grid-template-columns: 1fr 1fr; column-gap: 80px; margin-top: 180px; }
.service-detail--type03 .service-detail__left { display: flex; align-items: flex-start; }
.service-detail--type03 .service-detail__right { display: flex; flex-direction: column; gap: 60px; }
.service-detail--type03 .service-detail__content { width: 100%; padding-right: 120px; }
.service-detail--type03 .service-detail__body { margin: 0; }

/* 回転写真G */
.service-detail__photo--g {
  position: relative;
  width: 500px;
  height: 500px;
  -webkit-transform: rotate(-15.22deg) translateY(18px);
          transform: rotate(-15.22deg) translateY(18px);
  -webkit-transform-origin: center;
          transform-origin: center;
}

.service-detail__photo--g.is-in {
  -webkit-transform: rotate(-15.22deg) translateY(0);
          transform: rotate(-15.22deg) translateY(0);
}

.service-detail__photos-bottom {
  display: flex;
  flex-direction: row;
  gap: 50px;
  width: 100%;
}

.service-detail__photo--h,
.service-detail__photo--i {
  position: relative;
  width: 300px;
  height: 450px;
  flex-shrink: 0;
}

/* ========================================
   SERVICE DETAIL TYPE 04: PROMOTIONAL SERVICES
======================================== */
.service-detail--type04 .service-detail__grid { grid-template-columns: 1fr 1fr; column-gap: 80px; }
.service-detail--type04 .service-detail__content { width: 100%; padding-left: 120px; }
.service-detail--type04 .service-detail__body { margin: 0; }

.service-detail__photo--j {
  position: relative;
  width: 780px;
  height: 450px;
}

.service-detail--type04 .service-detail__photos--type04 {
  position: static;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-end;
}

.service-detail__photo--k {
  position: relative;
  width: 530px;
  height: 320px;
  margin-left: auto;
  margin-right: calc(-1 * var(--gutter));
}

.service-detail__photos-row {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.service-detail__photo--l {
  position: relative;
  width: 250px;
  height: 300px;
  margin-top: 130px;
}

.service-detail__photo--m {
  position: relative;
  width: 200px;
  height: 200px;
}

/* ========================================
   SERVICE DETAIL TYPE 05: NOVELTY
======================================== */
.service-detail--type05 .service-detail__grid { grid-template-columns: 1fr 1fr; column-gap: 80px; }
.service-detail--type05 .service-detail__left { display: flex; align-items: flex-start; margin-top: 20px; }
.service-detail--type05 .service-detail__right { display: flex; flex-direction: column; gap: 60px; }
.service-detail--type05 .service-detail__content { width: 100%; padding-right: 120px; }
.service-detail--type05 .service-detail__body { margin: 0; }

.service-detail__photos--type05 {
  position: static;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 90px;
  width: 100%;
}

.service-detail__photo--n {
  position: relative;
  width: 550px;
  height: 300px;
  margin-left: calc(-1 * var(--gutter));
}

.service-detail__photo--o {
  position: relative;
  width: 670px;
  height: 350px;
  margin-left: calc(-1 * var(--gutter));
}

.service-detail__photos-row--type05 {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding-right: 90px;
}

.service-detail__photo--p {
  position: relative;
  width: 250px;
  height: 350px;
  margin-top: 80px;
}

.service-detail__photo--q {
  position: relative;
  width: 250px;
  height: 350px;
}

/* ========================================
   COMPANY
======================================== */
.company-section {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
}

.company-box {
  position: relative;
  width: 1200px;
  min-height: 1060px;
  margin: 0 auto;
  overflow: hidden;
}

.company-box__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2C2C2C;
  z-index: 0;
}

.company-box__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../img/company_bg.png);
  background-size: cover;
  background-position: center;
}

.company-box__inner {
  position: relative;
  z-index: 1;
  padding: 80px 100px;
}

.company-table {
  width: 100%;
}

.company-table__row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 36px 0 36px 50px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.25);
}

.company-table__row:last-child {
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25);
}

.company-table__label {
  width: 180px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.8;
}

.company-table__value {
  flex: 1;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 2.2;
}

/* ========================================
   EVENT
======================================== */
.event-section {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
}

.event-wrap {
  width: 1200px;
  margin: 0 auto;
}

/* タブ横スクロール */
.event-tabs-outer {
  position: relative;
}

.event-tabs-hint {
  position: absolute;
  top: -24px;
  right: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.event-tabs-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.event-tabs-wrap::-webkit-scrollbar { display: none; }

.event-tabs {
  display: flex;
  width: max-content;
  min-width: 100%;
}

.event-tab {
  width: 200px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #555;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.3s ease;
}

.event-tab:last-child          { border-right: none; }
.event-tab.is-active           { background: #D29D00; font-weight: 700; }
.event-tab:hover:not(.is-active) { background: #444; }

/* パネル */
.event-box {
  position: relative;
  width: 1200px;
  height: 600px;
  overflow: hidden;
}

.event-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}

.event-panel.is-active { display: flex; }

/* 背景画像共通 */
.ep-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #111;
  background-size: cover;
  background-position: center left;
  opacity: 0;
  transition: opacity 1s ease;
}

.ep-bg.is-show { opacity: 1; }

.ep-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top left,
    rgba(17,17,17,1)    0%,
    rgba(17,17,17,0.98) 15%,
    rgba(17,17,17,0.95) 30%,
    rgba(17,17,17,0.88) 42%,
    rgba(17,17,17,0.7)  54%,
    rgba(17,17,17,0.4)  64%,
    rgba(17,17,17,0.1)  72%,
    rgba(17,17,17,0)    80%
  );
}

/* 各パネル背景画像 */
.ep-bg--0-1  { background-image: url(../img/event_01a.jpg); }
.ep-bg--0-2  { background-image: url(../img/event_01b.jpg); }
.ep-bg--1-1  { background-image: url(../img/event_02a.jpg); }
.ep-bg--1-2  { background-image: url(../img/event_02b.jpg); }
.ep-bg--2-1  { background-image: url(../img/event_03a.jpg); }
.ep-bg--2-2  { background-image: url(../img/event_03b.jpg); }
.ep-bg--2-3  { background-image: url(../img/event_03c.jpg); }
.ep-bg--3-1  { background-image: url(../img/event_04a.jpg); }
.ep-bg--3-2  { background-image: url(../img/event_04b.jpg); }
.ep-bg--4-1  { background-image: url(../img/event_05a.jpg); }
.ep-bg--4-2  { background-image: url(../img/event_05b.jpg); }
.ep-bg--5-1  { background-image: url(../img/event_06a.jpg); }
.ep-bg--5-2  { background-image: url(../img/event_06b.jpg); }
.ep-bg--5-3  { background-image: url(../img/event_06c.jpg); }
.ep-bg--6-1  { background-image: url(../img/event_07a.jpg); }
.ep-bg--6-2  { background-image: url(../img/event_07b.jpg); }
.ep-bg--6-3  { background-image: url(../img/event_07c.jpg); }
.ep-bg--7-1  { background-image: url(../img/event_08a.jpg); }
.ep-bg--7-2  { background-image: url(../img/event_08b.jpg); }
.ep-bg--8-1  { background-image: url(../img/event_09a.jpg); }
.ep-bg--8-2  { background-image: url(../img/event_09b.jpg); }
.ep-bg--8-3  { background-image: url(../img/event_09c.jpg); }
.ep-bg--9-1  { background-image: url(../img/event_10a.jpg); }
.ep-bg--9-2  { background-image: url(../img/event_10b.jpg); }
.ep-bg--9-3  { background-image: url(../img/event_10c.jpg); }
.ep-bg--10-1 { background-image: url(../img/event_11a.jpg); }
.ep-bg--10-2 { background-image: url(../img/event_11b.jpg); }
.ep-bg--10-3 { background-image: url(../img/event_11c.jpg); }
.ep-bg--11-1 { background-image: url(../img/event_12a.jpg); }
.ep-bg--11-2 { background-image: url(../img/event_12b.jpg); }
.ep-bg--11-3 { background-image: url(../img/event_12c.jpg); }
.ep-bg--12-1 { background-image: url(../img/event_13a.jpg); }
.ep-bg--12-2 { background-image: url(../img/event_13b.jpg); }
.ep-bg--12-3 { background-image: url(../img/event_13c.jpg); }
.ep-bg--13-1 { background-image: url(../img/event_14a.jpg); }
.ep-bg--13-2 { background-image: url(../img/event_14b.jpg); }
.ep-bg--13-3 { background-image: url(../img/event_14c.jpg); }
.ep-bg--14-1 { background-image: url(../img/event_15a.jpg); }
.ep-bg--14-2 { background-image: url(../img/event_15b.jpg); }
.ep-bg--14-3 { background-image: url(../img/event_15c.jpg); }
.ep-bg--15-1 { background-image: url(../img/event_16a.jpg); }
.ep-bg--15-2 { background-image: url(../img/event_16b.jpg); }
.ep-bg--15-3 { background-image: url(../img/event_16c.jpg); }

/* テキストエリア */
.event-panel__body {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 55%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 50px 60px 50px 40px;
  box-sizing: border-box;
}

.event-panel__text {
  font-size: 16px;
  line-height: 2.2;
  color: #fff;
}

/* ========================================
   COMMUNITY
======================================== */
.community-section {
  width: 100%;
}

.community-hero {
  width: 100%;
  padding: 80px 120px;
  box-sizing: border-box;
  text-align: center;
}

.community-hero__en {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 20px;
}

.community-hero__title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  letter-spacing: 0.05em;
}

.community-hero__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  margin: 0;
}

.community-bg-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.community-bg-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.community-block {
  position: relative;
  z-index: 1;
  width: 100%;
}

.community-block__title-bar {
  width: 100%;
  height: 60px;
  background: linear-gradient(to right, #8a6d00, #D29D00, #8a6d00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.community-block__inner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 0;
  min-height: 520px;
}

/* 画像エリア */
.community-photos--left {
  position: relative;
  width: 650px;
  height: 400px;
  flex-shrink: 0;
}

.community-photos--right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.community-photos__item {
  position: relative;
  width: 650px;
  height: 400px;
}

/* テキストラッパー */
.community-text-wrap--right {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 120px 0 60px;
  box-sizing: border-box;
}

.community-text-wrap--left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 60px 0 120px;
  box-sizing: border-box;
}

/* スクロールヒント */
.community-scroll-hint {
  display: block;
  text-align: right;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  pointer-events: none;
  margin: 0 0 12px 0;
}

/* テキストエリア */
.community-text--right,
.community-text--left {
  flex: 1;
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.community-text--right::-webkit-scrollbar,
.community-text--left::-webkit-scrollbar { display: none; }

.community-text--right { max-height: 473px; }
.community-text--left  { max-height: 559px; }

/* リスト */
.community-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.community-list li {
  font-size: 16px;
  line-height: 1;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.community-list li::before {
  content: "・";
  color: #D29D00;
}

/* 画像スライドショー */
.cb-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.cb-img.is-show { opacity: 1; }

/* セクション① */
.cb-img--s1-1 { background-image: url(../img/community_01a.jpg); }
.cb-img--s1-2 { background-image: url(../img/community_01b.jpg); }
.cb-img--s1-3 { background-image: url(../img/community_01c.jpg); }
/* セクション② 上 */
.cb-img--s2-1 { background-image: url(../img/community_02a.jpg); }
.cb-img--s2-2 { background-image: url(../img/community_02b.jpg); }
.cb-img--s2-3 { background-image: url(../img/community_02c.jpg); }
/* セクション② 下 */
.cb-img--s3-1 { background-image: url(../img/community_03a.jpg); }
.cb-img--s3-2 { background-image: url(../img/community_03b.jpg); }
.cb-img--s3-3 { background-image: url(../img/community_03c.jpg); }

/* ========================================
   FOOTER
======================================== */
.footer {
  width: 100%;
  background: #2c2a2a75;
  padding: 60px 0 0;
  margin-top: 120px;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.footer__logo img {
  height: 40px;
  display: block;
}

.footer__line a,
.footer__line img {
  display: block;
}

.footer__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
}

.footer__nav a:hover { opacity: 0.7; }

.footer__copyright {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__copyright p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

/* ========================================
   FOOTER SECTION
======================================== */
.footer {
  width: 100%;
  background: #2c2a2a75;
  padding: 60px 0 0;
  margin-top: 120px;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
}

/* ロゴとLINEを横並びに */
.footer__top {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

/* ロゴ */
.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  height: 40px;
  display: block;
}

/* LINE友だち追加 */
.footer__line {
  flex-shrink: 0;
}

.footer__line a {
  display: block;
}

.footer__line img {
  display: block;
}

/* ナビゲーション */
.footer__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 40px;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
}

.footer__nav a:hover {
  opacity: 0.7;
}

/* コピーライト */
.footer__copyright {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer__copyright p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}
/* ========================================
   RESPONSIVE: TABLET (max-width: 1100px)
======================================== */
@media (max-width: 1100px) {
  .service-detail__inner { padding: 0 24px; }

  .service-detail__grid {
    grid-template-columns: 1fr;
    row-gap: 56px;
  }

  .service-detail__media        { width: 100%; }
  .service-detail__photos       { width: 100%; height: 820px; }
  .service-detail__photo--a     { width: 100%; left: 0; }
  .service-detail__photo--b     { left: 0; }
  .service-detail__photo--c     { left: calc(50% - 125px); }

  .service-detail--type02 .service-detail__grid    { grid-template-columns: 1fr; row-gap: 40px; }
  .service-detail--type02 .service-detail__content { padding-left: 0; }
  .service-detail__photo--d     { max-width: 100%; height: 380px; }
  .service-detail__photos--type02 { height: 700px; }
  .service-detail__photo--e     { width: 420px; height: 420px; }
  .service-detail__photo--f     { bottom: 60px; right: 60px; width: 260px; height: 260px; }
  .service-detail__wide         { height: 380px; margin-left: 0; }
}

@media (max-width: 1024px) {
  :root { --gutter: 40px; }
}

/* ========================================
   RESPONSIVE: MOBILE (max-width: 768px)
======================================== */
@media (max-width: 768px) {
  .top-cards { padding: 0 16px; }
  .top-cards__inner { flex-direction: column; gap: 16px; }
  .top-cards__item  { height: 260px; }
  .top-cards__inner:hover .top-cards__item,
  .top-cards__inner:hover .top-cards__item:hover { flex: 1 1 auto; }
}

/* ========================================
   RESPONSIVE: SMALL MOBILE (max-width: 640px)
======================================== */
@media (max-width: 640px) {
  .service-detail              { padding: 80px 0; }
  .service-detail__no          { font-size: 72px; }
  .service-detail__title       { font-size: 26px; }
  .service-detail__text        { font-size: 16px; line-height: 2.1; }
  .service-detail__photos      { height: 760px; }
  .service-detail__photo--b    { width: 170px; height: 150px; }
  .service-detail__photo--c    { width: 220px; height: 420px; left: calc(50% - 110px); }
  .service-detail__left        { gap: 40px; }
  .service-detail__photo--d    { height: 300px; }
  .service-detail__photos--type02 { height: 600px; }
  .service-detail__photo--e    { width: 90%; height: 350px; }
  .service-detail__photo--f    { width: 220px; height: 220px; bottom: 20px; right: 20px; }
  .service-detail__wide        { height: 300px; }
}

/* ========================================
   ACCESSIBILITY: Reduce Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
  .service-detail__photo,
  .service-detail__wide {
    -webkit-transition: none;
            transition: none;
    -webkit-transform: none;
            transform: none;
  }
}


