@charset "utf-8";

/* ==========================================================================
   Variables & Base
   ========================================================================== */
:root {
  --text-main: #685126;
  --text-sub: #7a6a4a;
  --accent-gold: #A58A57;
  --accent-gold-light: #c89a3b;
  --dropdown-bg: #fff;
  --line-color: #E3CFA4;
  --transition-base: .3s ease;
}

html {
  scroll-behavior: smooth;
}

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: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================================================
   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: -1;
  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;
}

@media (max-width: 900px){
  .page-hero{
    height: 220px;
  }

  .page-hero__circle{
    width: 520px;
    height: 520px;
    left: -260px;
    top: -180px;
    filter: blur(55px);
    opacity: .8;
  }

  .page-hero__ghost{
    top: 58px;
    font-size: clamp(90px, 34vw, 100px);
    letter-spacing: .16em;
  }

  .page-hero__title{
    bottom: 50px;
    font-size: 30px;
    letter-spacing: .20em;
  }
}

/* ==========================================================================
   Common Parts
   ========================================================================== */
.titleBlock .labelEn {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .25em;
  color: var(--accent-gold-light);
  font-weight: 500;
}

.titleBlock .labelJa {
  margin: 10px 0 0;
  font-size: clamp(18px, 2vw, 20px);
  letter-spacing: .2em;
  color: var(--text-main);
  font-weight: 500;
}

.subTitle {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.9;
  letter-spacing: .12em;
  color: var(--text-main);
  font-weight: 800;
}

.lead {
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.8;
  letter-spacing: .08em;
  color: var(--text-main);
  font-weight: 500;
  opacity: .92;
}

/* Accents (Circular) */
.feature__circle {
  position: relative;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  margin-right: clamp(40px, 5vw, 70px);
}

.feature__circle p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 24px;
  letter-spacing: .1em;
  font-weight: 500;
}

.feature__circle::before {
  content: "";
  position: absolute;
  inset: -20px;
  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(20px);
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   FLOW Section
   ========================================================================== */

.flow .titleBlock {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 56px);
  position: relative;
  z-index: 1;
}

.flow__title .subTitle {
  margin: 0;
}

.flow__in .lead {
  margin-left: clamp(40px, 8vw, 96px); 
  margin-top: 15px;
}

.flow__in {
  width: min(1100px, 90%); 
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: clamp(30px, 4vw, 60px) clamp(20px, 6vw, 100px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.flow__title {
  display: flex;
  align-items: center;
}

.triangle {
  width: 0;
  height: 0;
  margin: clamp(20px, 3vw, 40px) auto;
  border-left: clamp(20px, 3vw, 40px) solid transparent;
  border-right: clamp(20px, 3vw, 40px) solid transparent;
  border-top: clamp(15px, 2.2vw, 30px) solid var(--accent-gold);
}

/* ==========================================================================
   CONTACT Section & Buttons
   ========================================================================== */
.contact {
  padding: clamp(80px, 12vw, 200px) 0;
}

.contact .titleBlock {
  text-align: center;
  margin-bottom: 22px;
}

.contact > .lead {
  text-align: center;
  line-height: 2.0;
  margin: 0 auto 38px;
  width: min(980px, 92%);
  font-size: clamp(16px, 1.8vw, 18px);
}

.contact__buttons {
  width: min(700px, 92%);
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.contactBtn {
  --accent: #4CC060;
  display: grid;
  grid-template-columns: clamp(60px, 8vw, 96px) 1fr clamp(40px, 6vw, 96px);
  align-items: center;
  width: 100%;
  min-height: clamp(80px, 10vw, 100px);
  padding: 10px clamp(15px, 2vw, 24px);
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  box-sizing: border-box;

  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.contactBtn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contactBtn__icon {
  width: 100%;
  max-width: 84px;
  height: auto;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contactBtn__icon img {
  width: 80%;
  height: auto;
}

.contactBtn__text {
  display: grid;
  gap: 4px;
  padding: 0 clamp(10px, 2vw, 20px);
}

.contactBtn__title {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .1em;
}

.contactBtn__sub {
  font-size: 16px;
  opacity: .9;
}

.contactBtn__arrow {
  width: clamp(40px, 5vw, 60px);
  height: clamp(40px, 5vw, 60px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: end;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contactBtn:hover .contactBtn__arrow {
  background: #fff;
  color: var(--accent);
  transform: translateX(10px);
}

.icon-hover {
  display: none;
}

.icon-default {
  display: block;
}

.contactBtn:hover .icon-default {
  display: none;
}

.contactBtn:hover .icon-hover {
  display: block;
}

.contactBtn--line { --accent: #4CC764; }
.contactBtn--tel  { --accent: #F6AA3A; }

/* =========================
  FLOW / CONTACT Responsive
========================= */

html, body{
  overflow-x: hidden;
}

/* ---------- Tablet 〜 SP ---------- */
@media (max-width: 900px){

  /* ===== FLOW ===== */
  .flow{
    padding: 70px 0;
    width: 90%;
    margin: 0 auto;
  }

  .flow__in{
    width: calc(90% - 32px);
    padding: 26px 18px;
  }

  .feature__circle{
    margin-right: 0;
  }

  .feature__circle p{
    font-size: 20px;
  }

  .subTitle{
    font-size: 20px;
    line-height: 1.6;
  }

  .flow__in .lead{
    line-height: 1.5;
  }

  .triangle{
    margin: 22px auto;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 18px solid var(--accent-gold);
  }

  /* ===== CONTACT ===== */
  .contact{
    padding: 90px 0;
  }

  .contact > .lead{
    width: calc(100% - 32px);
    margin: 0 auto 24px;
    line-height: 1.5;
  }

}

@media (max-width: 480px) {
  .flow__title {
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .feature__circle {
    margin: 0 auto 15px; 
  }

  .flow__title .subTitle {
    margin-top: 0;
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .flow__in {
    width: min(1200px, 100% - 40px); 
    padding: 40px 24px;
  }

  .flow__in .lead {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 700px) {
  .contactBtn {
    grid-template-columns: auto 1fr auto; 
    padding: 12px 16px;
    min-height: 80px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .contactBtn__text {
    padding: 0 10px;
  }

  .contactBtn__icon {
  width: 54px;
  height: 54px;
  display: grid;
}
}