/* =========================================================
   ActionBoyCreative
   画像差し替えは、まずこの4行だけ変更すればOKです。
========================================================= */
:root {
  --img-hero-pc: url("./assets/hero-pc.jpg");
  --img-hero-sp: url("./assets/hero-sp.jpg");
  --img-concept: url("./assets/concept-temp.jpg");
  --img-profile: url("./assets/profile-temp.jpg");

  --black: #050505;
  --black-2: #0b0b0b;
  --white: #f4f2ee;
  --gray: #a8a8a8;
  --line: rgba(255, 255, 255, 0.16);
  --max: 1440px;
  --pad: clamp(24px, 5vw, 76px);
}

/* RESET */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
main { overflow: clip; }

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 92px;
  padding: 14px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { background: rgba(5, 5, 5, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { width: clamp(150px, 13vw, 210px); }
.brand img { width: 100%; height: auto; }
.desktop-nav { justify-self: end; display: flex; align-items: center; gap: clamp(26px, 3vw, 52px); margin-right: 8px; }
.desktop-nav a { position: relative; font-size: 11px; letter-spacing: .12em; font-weight: 600; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-button {
  width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.5); display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.menu-button span { display: block; width: 18px; height: 1px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.menu-button.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* DRAWER */
.drawer {
  position: fixed; inset: 0; z-index: 40; background: rgba(3,3,3,.97);
  display: grid; place-content: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-nav { display: grid; gap: 18px; text-align: center; }
.drawer-nav a { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 7vw, 72px); letter-spacing: .03em; }
.drawer-note { margin: 42px 0 0; text-align: center; color: #777; font-size: 11px; letter-spacing: .18em; }

/* HERO */
.hero {
  position: relative; min-height: 100svh;
  background-image: var(--img-hero-pc); background-size: cover; background-position: 68% center; background-repeat: no-repeat;
  display: flex; align-items: center;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.74) 38%, rgba(0,0,0,.1) 70%, rgba(0,0,0,.08) 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.02) 65%, rgba(0,0,0,.25)); }
.hero-inner { position: relative; z-index: 2; width: min(100%, var(--max)); margin: 0 auto; padding: 130px var(--pad) 78px; }
.hero-copy { max-width: 700px; }
.hero h1 {
  margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: clamp(52px, 5.5vw, 92px); line-height: 1.06; letter-spacing: -.025em;
}
.hero-copy > p { margin: 0 0 54px; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(15px, 1.35vw, 21px); letter-spacing: .11em; }
.scroll-link { display: inline-flex; align-items: center; gap: 16px; font-size: 10px; letter-spacing: .18em; }
.scroll-link span { width: 34px; height: 1px; background: #fff; }

/* COMMON */
.section-border { border-top: 1px solid var(--line); }
.section-pad { padding: clamp(44px, 5.5vw, 78px) var(--pad); }
.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.section-kicker span { width: 44px; height: 1px; background: rgba(255,255,255,.65); }
.text-link { display: inline-flex; gap: 28px; align-items: center; margin-top: 28px; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.image-panel { background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 380px; }

/* CONCEPT */
.concept { display: grid; grid-template-columns: minmax(360px, .90fr) 1.22fr; min-height: 430px; background: #070707; }
.concept-copy { display: flex; flex-direction: column; justify-content: center; }
.concept-copy h2, .profile-copy h2 { margin: 0 0 22px; font-family: Georgia, "Yu Mincho", serif; font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.42; letter-spacing: .05em; }
.concept-copy p, .profile-copy p { margin: 0; max-width: 460px; color: #d1d1d1; font-size: 12px; line-height: 2; }
.concept-image { background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.18)), var(--img-concept); }

/* SERVICES */
.services { padding: 24px 0 0; background: #050505; }
.services-head { text-align: center; padding: 0 var(--pad) 8px; }
.services-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(28px, 2.4vw, 40px); letter-spacing: .02em; }
.services-head p { margin: 2px 0 14px; color: #c8c8c8; font-size: 10px; letter-spacing: .04em; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.service-card { position: relative; min-height: 258px; padding: 28px 24px 26px; border-right: 1px solid var(--line); }
.service-card:first-child { border-left: 1px solid var(--line); }
.service-icon { width: 30px; height: 30px; margin-bottom: 14px; }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-no { margin-bottom: 5px; font-size: 10px; letter-spacing: .08em; }
.service-card h3 { margin: 0 0 12px; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(15px, 1.25vw, 20px); line-height: 1.35; font-weight: 400; }
.service-card p { margin: 0; color: #b9b9b9; font-size: 10px; line-height: 1.8; }
.service-arrow { position: absolute; left: 24px; bottom: 18px; font-size: 18px; }

/* PROFILE */
.profile { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 400px; background: linear-gradient(90deg, #111 0%, #090909 48%, #111 100%); }
.profile-copy { display: flex; flex-direction: column; justify-content: center; }
.profile-image { background-image: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,.04)), var(--img-profile); }
.profile-copy p { max-width: 560px; }

.profile-person { display: flex; gap: 20px; margin-top: 10px; }
.profile-person__line { width: 2px; background: rgba(255,255,255,.8); flex-shrink: 0; }
.profile-person__content { display: flex; flex-direction: column; }
.profile-person__name { font-family: "Helvetica Neue", "Yu Gothic", sans-serif; font-size: clamp(20px, 1vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: .1em; }
.profile-person__en { margin-top: 8px; font-size: clamp(13px, 1vw, 16px); font-weight: 600; letter-spacing: .14em; }
.profile-person__role { margin-top: 10px; font-size: clamp(12px, .9vw, 15px); letter-spacing: .05em; color: #d1d1d1; }


/* CONTACT */
.contact {
  min-height: 170px; display: grid; grid-template-columns: .8fr 1.5fr;
  align-items: center; gap: 38px; padding: 26px var(--pad);
  background: #070707;
}
.contact-copy h2 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(28px, 2.5vw, 40px); }
.contact-copy p { margin: 0; color: #c9c9c9; font-size: 11px; line-height: 1.8; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-button { min-height: 70px; border: 1px solid rgba(255,255,255,.32); display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 14px; padding: 0 22px; font-size: 12px; transition: transform .2s ease, background .2s ease; }
.contact-button:hover { transform: translateY(-2px); }
.contact-button svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.contact-button-light { background: #f5f4f1; color: #080808; border-color: #f5f4f1; }
.contact-button-dark { background: #050505; }

/* FOOTER */
.site-footer {
  min-height: 92px; padding: 16px var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: #050505;
}
.footer-brand { width: 150px; }
.footer-social { display: flex; gap: 22px; font-size: 22px; }
.site-footer > p { justify-self: end; margin: 0; color: #8a8a8a; font-size: 9px; letter-spacing: .04em; }

/* TABLET */
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; height: 78px; }
  .hero-inner { padding-top: 116px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:nth-child(3) { border-right: 0; }
  .service-card:nth-child(n+4) { border-top: 1px solid var(--line); }
}

/* MOBILE */
@media (max-width: 767px) {
  :root { --pad: 22px; }

  .site-header { height: 70px; padding: 10px var(--pad); }
  .brand { width: 158px; }
  .menu-button { width: 38px; height: 38px; border: 0; background: transparent; }

  .hero {
    min-height: 100svh; background-image: var(--img-hero-sp); background-position: center center;
    align-items: stretch;
  }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.34) 45%, rgba(0,0,0,.18) 72%, rgba(0,0,0,.72) 100%); }
  .hero-inner { min-height: 100svh; padding: 138px var(--pad) 58px; display: flex; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero h1 { max-width: 330px; margin-bottom: 18px; font-size: clamp(47px, 13vw, 68px); line-height: 1.03; }
  .hero-copy > p { margin-bottom: 34px; max-width: 300px; font-size: 13px; }
  .scroll-link { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); flex-direction: column; gap: 10px; }
  .scroll-link span { width: 1px; height: 38px; order: 2; }

  .concept { grid-template-columns: 1fr; }
  .concept-copy { padding-top: 48px; padding-bottom: 40px; }
  .concept-copy h2, .profile-copy h2 { font-size: 27px; }
  .concept-image { min-height: 250px; order: 2; }

  .services { padding-top: 26px; }
  .services-head { text-align: left; padding-bottom: 18px; }
  .services-head h2 { font-size: 30px; }
  .services-head p { font-size: 9px; }
  .service-grid { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .service-card, .service-card:first-child {
    min-height: 0; padding: 18px var(--pad);
    display: grid; grid-template-columns: 38px 32px 1fr 24px; column-gap: 8px; align-items: center;
    border-left: 0; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .service-card:nth-child(n+4) { border-top: 0; }
  .service-icon { width: 24px; height: 24px; margin: 0; }
  .service-no { margin: 0; }
  .service-card h3 { margin: 0; font-size: 15px; }
  .service-card p { display: none; }
  .service-arrow { position: static; font-size: 17px; }

  .profile { grid-template-columns: 1fr; }
  .profile-image { min-height: 300px; order: 1; }
  .profile-copy { order: 2; padding-top: 38px; padding-bottom: 44px; }
  .profile-person { gap: 14px; margin-top: 20px; }
  .profile-person__line { width: 1px; }
  .profile-person__name { font-size: 18px; letter-spacing: .08em; }
  .profile-person__en { margin-top: 6px; font-size: 10px; letter-spacing: .12em; }
  .profile-person__role { margin-top: 10px; font-size: 12px; letter-spacing: .04em; }

  .contact { grid-template-columns: 1fr; gap: 22px; padding-top: 34px; padding-bottom: 34px; }
  .contact-copy h2 { font-size: 30px; }
  .contact-actions { grid-template-columns: 1fr; gap: 12px; }
  .contact-button { min-height: 58px; }

  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 24px; padding-bottom: 24px; }
  .site-footer > p { justify-self: center; }
}
