/* ==========================================================================
   Base & Global
========================================================================== */
body {
  margin: 0;
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", sans-serif;
  color: #685126;
  overflow-x: hidden;
  --text: #685126;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   Page Hero
   ========================================================================== */
.page-hero {
  position: relative;
  height: clamp(300px, 40vh, 420px);
  display: flex;
  align-items: center;
  padding-left: clamp(24px, 8vw, 140px);
}

.page-hero__circle {
  position: absolute;
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  border-radius: 50%;
  background: linear-gradient(to bottom right, rgba(255,161,0,.20), rgba(70,221,206,.20));
  top: 60px;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.page-hero__ghost {
  position: absolute;
  top: 40px;
  left: -100px;
  font-size: clamp(100px, 15vw, 320px);
  letter-spacing: .12em;
  line-height: 1;
  color: var(--text-sub);
  opacity: .09;
  z-index: 1;
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.page-hero__title {
  position: absolute;
  left: clamp(24px, 8vw, 160px);
  bottom: clamp(60px, 12vh, 140px);
  margin: 0;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: .22em;
  font-weight: 800;
  color: #6f5327;
  z-index: 2;
}

/* ==========================================================================
   Philosophy
========================================================================== */
.philosophy {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 200px);
}

.philosophy__title {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  margin-bottom: clamp(24px, 4vw, 44px);
}

.philosophy__title img {
  width: clamp(60px, 8vw, 100px);
  height: auto;
  flex: 0 0 auto;
}

.titleBlock .labelEn {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .25em;
  color: #c89a3b;
  font-weight: 500;
}

.titleBlock .labelJa {
  margin: 10px 0 0;
  font-size: clamp(18px, 1.8vw, 20px);
  letter-spacing: .2em;
  color: var(--text);
  font-weight: 500;
}

.philosophy__text {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  column-gap: clamp(30px, 5vw, 80px);
  row-gap: 20px;
  padding-top: 10px;
}

.textBlock { max-width: 830px; }

.subTitle {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.9;
  letter-spacing: .12em;
  color: var(--text);
  font-weight: 1000;
  margin: 0;
}

.lead {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.8;
  letter-spacing: .08em;
  color: var(--text);
  font-weight: 500;
  opacity: .92;
  margin: 0;
}

.philosophy__text > img {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: auto;
  position: relative;
  z-index: 2;
  border-radius: 12px;
  width: 100%;
}

.philosophy__step {
  display: flex;
  align-items: center;
  justify-content: center; 
  flex-wrap: wrap; 
  gap: clamp(20px, 4vw, 70px); 
  margin: clamp(40px, 6vw, 60px) 0 0 0; 
  max-width: 100%;
}

.philosophy__step > .arrow {
  display: inline-block;
  color: #c89a3b;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
}

.step {
  min-width: 0;
  flex: 1 1 200px;
}

.step__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.step__title p {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: .18em;
  color: var(--text);
  font-weight: 600;
}

.step__circle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 162, 0, 0.5), transparent 65%),
              radial-gradient(circle at 70% 70%, rgba(70,221,206, 0.5), transparent 65%);
  filter: blur(6px);
  opacity: .9;
  flex: 0 0 auto;
}

.step__text {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--text);
  font-weight: 500;
  opacity: .92;
}

.philosophy__step > * {
  opacity: 1;           /* 最初から見える */
  transform: translateX(0); /* 最初から正しい位置 */
  transition: none;     /* アニメーションも不要ならnoneに */
}

.philosophy__step.is-show > * {
  opacity: 1;
  transform: translateX(0);
}

.philosophy__step.is-show > *:nth-child(1) { transition-delay: 0s; }
.philosophy__step.is-show > *:nth-child(2) { transition-delay: 0.2s; }
.philosophy__step.is-show > *:nth-child(3) { transition-delay: 0.4s; }
.philosophy__step.is-show > *:nth-child(4) { transition-delay: 0.6s; }
.philosophy__step.is-show > *:nth-child(5) { transition-delay: 0.8s; }

@keyframes fadeUpSequence {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Buttons
========================================================================== */
.button-container { 
  width: 100%; 
  margin-top: 28px; 
  text-align: center;
}

.concept-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: clamp(300px, 25vw, 400px);
  height: 64px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.2em;
  color: #4b3b2b;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid #c8b28a;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
  transition: all .3s ease;
  box-sizing: border-box;
  margin: 0 auto; 
}

.concept-button .arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 20px;
  background-image: url("../images/btn_link.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease, background-image 0.3s ease;
}

.concept-button:hover {
  background: #A58A57;
  border-color: #A58A57;
  color: #ffffff;
  transform: translateY(-3px);
}

.concept-button:hover .arrow {
  background-image: url("../images/btn_link_hover.png");
  transform: translateX(6px); 
}

/* ==========================================================================
   Feature
========================================================================== */
.feature {
  position: relative;
  margin-top: 40px; 
  background-image: url("../images/bg2.png");
  background-size: repeat;
  background-position: center;
  padding-top: clamp(100px, 12vw, 140px); 
  padding-bottom: 100px;
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
  overflow: hidden;
  z-index: 1;
}

.feature::before {
  content: "";
  position: absolute;
  top: -920px;
  width: 200%; 
  left: -50%; 
  height: 1000px; 
  background-image: url("../images/bg.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed; 
  border-radius: 0 0 50% 50%; 
  z-index: 2;
}

.feature__in {
  width: min(1400px, 100%);
  margin: 0 auto clamp(80px, 10vw, 150px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 6vw, 40px);
  position: relative;
  z-index: 3;
}

.feature .titleBlock { 
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 50px);
  margin-top: clamp(100px, 12vw, 150px);
  position: relative;
  z-index: 3;
}
.feature__circle p{
  font-size:24px;
  line-height:1;
  font-weight:200;
}
.feature__left { flex: 0 1 52%; }
.feature__right { flex: 0 1 45%; display: flex; justify-content: flex-end; }
.feature__right img, .feature__left img { width: 100%; max-width: 520px; height: auto; border-radius: 12px; }

.feature__text { max-width: 700px; }
.feature__circle { 
  position: relative; width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: clamp(24px, 4vw, 50px); 
}
.feature__circle::before {
  content:""; position: absolute; inset: -26px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 162, 0, 0.4), transparent 65%),
              radial-gradient(circle at 70% 70%, rgba(70,221,206, 0.4), transparent 65%);
  filter: blur(30px); z-index: -1;
}
.feature__line { width: 100px; height: 1px; background: #A58A57; margin: clamp(20px, 3vw, 40px) 0; }

/* ==========================================================================
   Profile
========================================================================== */
.profile {
  position: relative;
  padding: clamp(60px, 8vw, 140px) 20px;
}

.profile .titleBlock { text-align: center; margin-bottom: clamp(28px, 4vw, 56px); position: relative; z-index: 1; }

.profile__in {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.profile__in > img { width: 100%; height: auto; border-radius: 12px; }

.profile__right { max-width: 560px; }
.profile__nameblok { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.profile__nameblok .name { margin: 0; font-size: clamp(22px, 2.5vw, 26px); letter-spacing: .12em; font-weight: 600; color: #CA9A41; }
.profile__nameblok .name__en { margin: 0; font-size: 16px; letter-spacing: .08em; color: #A58A57; }
.profile__nameblok img { width: 44px; margin-left: 10px; height: auto; transform: translateY(2px); opacity: .95; }

/* Dots Separator */
.ten { margin: clamp(40px, 8vw, 100px) 0; display: flex; justify-content: center; gap: clamp(20px, 3vw, 40px); }
.tan__s { width: 4px; height: 4px; border-radius: 999px; background: #A58A57; opacity: .9; }

/* ==========================================================================
   Access
========================================================================== */
.access { position: relative; padding: clamp(50px, 7vw, 96px) clamp(20px, 5vw, 60px); }
.access .titleBlock { text-align: center; margin-bottom: clamp(24px, 3.5vw, 44px); position: relative; z-index: 1; }

.access__map {
  width: min(730px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
}

.access__map iframe { width: 100% !important; height: clamp(300px, 40vw, 450px); display: block; border: 0; }

.access__in { width: min(730px, 100%); margin: 40px auto 0; position: relative; z-index: 1; }
.access__title { display: flex; align-items: center; gap: 10px; }
.access__title img { width: 40px; height: auto; }
.access__line { width: 100%; height: 1px; background: #A58A57; margin: 10px 0 20px; }

/* ==========================================================================
   Outline
========================================================================== */
.outline {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  box-sizing: border-box;
}

.outline > img { width: 100%; max-width: 600px; height: auto; display: block; margin: 0 auto; }
.outline__right { width: 100%; }
.outline .titleBlock { margin-bottom: 32px; }

.outline__in { 
  display: grid; 
  grid-template-columns: clamp(100px, 12vw, 120px) 1fr; 
  gap: 24px; 
  align-items: center;
  padding: 16px 0;
}

.outline__in dt {
  font-weight: 700;
  color: #c89a3b;
  font-size: 16px;
  margin: 0;
}

.outline__in dd {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}

.outline__line { width: 100%; height: 1px; background: #A58A57; }

/* ==========================================================================
   Awards
========================================================================== */
.awards {
  --aw-pad: clamp(30px, 5vw, 64px);
  width: min(1320px, 100% - 40px);
  margin: clamp(60px, 12vw, 200px) auto;
  background: #fff;
  border-radius: 10px;
  padding: var(--aw-pad);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; 
  gap: clamp(30px, 5vw, 90px);
  align-items: stretch; 
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden; 
}

.awards__left { 
  display: flex; 
  flex-direction: column; 
  align-items: stretch; 
  gap: 18px; 
}

.awards__left .titleBlock {
  line-height: 1.2;
}

.awards__left .awards__line {
  position: absolute;
  top: calc(var(--aw-pad) + 75px);
  left: 0;
  width: 33.3%;
  height: 1px;
  background: #A58A57;
  margin: 0;
  margin-top: 20px;
}

.awards__right {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: clamp(40px, 6vw, 80px); 
  padding-bottom: calc(var(--aw-pad) / 2);
  box-sizing: border-box;
}

.awards__right .awards__line {
  position: absolute;
  bottom: calc(var(--aw-pad) / 2);
  right: 0;
  width: 33.3%;
  height: 1px;
  background: #A58A57;
  margin: 0;
}

.awards__slideshow { 
  position: relative; 
  width: 100%;
  aspect-ratio: 2 / 3;
  margin: auto 0;
  border-radius: 40% 24px 24px 24px / 25% 24px 24px 24px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  flex-shrink: 0;
}

.awards__slideshow img { 
  position: absolute; 
  top: 0; left: 0;
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  opacity: 0; 
  animation: awardsFade 16s infinite;
  border-radius: 40% 24px 24px 24px / 25% 24px 24px 24px;
}

.awards__text { 
  padding-top: 30px;
  padding-left: clamp(10px, 3vw, 40px); 
}
.awards__text h3 { 
  margin-top: 0; 
  font-size: clamp(18px, 2vw, 22px); 
  font-weight: 800; 
  margin-bottom: 10px; 
  color: var(--text); 
}
.awards__lead { 
  font-size: clamp(14px, 1.4vw, 16px); 
  line-height: 1.8; 
  letter-spacing: .08em; 
  font-weight: 500; 
  margin: 0; 
}

.awards__slideshow img:nth-child(1){ animation-delay: 0s; }
.awards__slideshow img:nth-child(2){ animation-delay: 4s; }
.awards__slideshow img:nth-child(3){ animation-delay: 8s; }
.awards__slideshow img:nth-child(4){ animation-delay: 12s; }

@keyframes awardsFade {
  0%   { opacity: 0; }
  5%, 25% { opacity: 1; }
  30%, 100% { opacity: 0; }
}

/* ==========================================================================
   Responsive
========================================================================== */

@media (max-width: 900px) {
  section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .philosophy__text {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .textBlock {
    max-width: contents;
  }
  .subTitle {
    order: 1;
    text-align: left;
  }
  .philosophy__text > img {
    order: 2;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .lead {
    order: 3;
  }
  .philosophy__step {
    flex-direction: column;
    gap: -100px;
  }
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .step__title {
    justify-content: center;
    margin-right: 200px;
  }
  .step__text {
    margin-left: -30px;
}
  .philosophy__step > .arrow {
    transform: rotate(90deg);
    line-height: 1;
    margin-top: -70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }
  
  .feature {
    padding-top: 100px; 
  }
  .feature__circle::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 162, 0, 0.4), transparent 65%), radial-gradient(circle at 70% 70%, rgba(70, 221, 206, 0.4), transparent 65%);
    filter: blur(10px);
    z-index: -1;
}
  .feature__in {
    margin-bottom: 80px;
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    gap: 10px;
  }
  .feature__left, 
  .feature__right,
  .feature__text,
  .textBlock {
    display: contents;
  }
  .feature__circle {
    order: 1;
    margin-bottom: 15px;
  }
  .feature__in .subTitle {
    order: 2;
    width: 100%;
    text-align: left !important;
    margin: 0 0 10px 0;
    grid-column: auto;
    grid-row: auto;
  }
  .feature__line {
    order: 3;
    margin: 10px 0 30px 0;
    width: 200px;
  }
  .feature__in img {
    order: 4;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 30px auto;
    border-radius: 12px;
  }
  .feature__in .lead {
    order: 5;
    width: 100%;
    text-align: left !important;
    margin: 0 0 20px 0;
    grid-column: auto;
    grid-row: auto;
  }
  .button-container {
    order: 6;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .profile__in {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .profile__in > img {
    max-width: 400px;
    margin: 0 auto;
  }
  .profile__right {
    max-width: 100%;
    text-align: left;
  }
  
  .awards {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    margin: 60px auto;
    gap: 10px;
  }
  .awards__left {
    width: 100%;
  }
  .awards__text {
    padding-left: 0;
  }
  .awards__right {
    width: 100%;
    padding-top: 20px;
  }
  .awards__slideshow {
    max-width: 360px;
    margin: 0 auto;
  }
  .awards__left .awards__line {
    top: 90px;
    width: 100px;
  }
  .awards__right .awards__line {
    bottom: 20px;
    width: 100px;
  }
  
  .outline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .outline__right {
    display: contents;
  }
  .outline .titleBlock {
    order: 1;
    margin-bottom: 24px;
  }
  .outline > img {
    order: 2;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    border-radius: 12px;
  }
  .outline__in {
    order: 3;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 15px 0;
    width: 100%;
  }
  .outline__line {
    order: 3;
    width: 100%;
  }
  .outline__in .subTitle {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    text-align: left !important;
    margin: 0;
    font-size: 16px;
  }
  .outline__in .lead {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100%;
    text-align: left !important;
    margin: 0;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    height: 250px;
    padding-left: 20px;
  }
  .page-hero__title {
    left: 20px;
    bottom: 60px;
    font-size: 24px;
  }
  .page-hero__ghost {
    font-size: 80px;
    top: 20px;
    left: -20px;
  }
}