/* ==============================
   DOLPHINBRAIN 2026 COMPLETE CSS
============================== */

/* ---------- 変数 ---------- */
:root {
  --color-main: #000000;
  --color-accent: #ffb700;
  --color-light: #193c4a;
  --color-text: #eeeeee;
  --font-main: 'Maven Pro', sans-serif;
  --font-accent: 'Orbitron', sans-serif;
  --max-width: 1100px;

  /* Heroスライダー */
  --hero-gradient-top: rgba(11, 145, 235, 0.2);
  --hero-gradient-bottom: rgba(0, 71, 76, 0.9);
  --fade-duration: 2.5s;
  --slide-interval: 7000ms;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-main);
  color: var(--color-text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Layout ---------- */
.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.header {
  background: transparent;
  border-bottom: 2px solid #e11818;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background: linear-gradient(to bottom, #003a4e, #001f2a);
  backdrop-filter: blur(6px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  height: 60px;
}

.tagline {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* ---------- Navigation ---------- */
.nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

/* 下線 */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ffb700;
  transition: width 0.35s ease;
}


/* hover */
.nav a:hover {
  color: #ffb700;
}

.nav a:hover::after {
  width: 100%;
}

/* 現在ページ */
.nav a.active {
  color: #63cee0;
  font-weight: 550;
}

/* PCでは下線を消す */
.nav a.active::after {
  width: 0;
}

/* ---------- Hamburger ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 8.2rem 1rem 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.55)
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  position: relative;
  will-change: transform;
}

.hero-description {
  will-change: transform;
}

.hero h1 {
  color: #fff;
  text-shadow:
    0 0 2px #ffffffe1,
    0 0 5px #ffffffd0,
    0 0 15px #fffffff6,
    0 0 30px rgba(0, 255, 170, 0.5),
    0 0 50px rgba(0, 255, 170, 0.7),
    0 0 80px rgba(0, 255, 170, 0.6),
    0 0 90px rgba(0, 255, 251, 0.65),
    0 0 100px rgba(0, 195, 255, 0.5);
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.2;
  font-family: var(--font-accent);
  letter-spacing: 0.5px;
}

/* ---------- Heroタイトル演出 ---------- */
@keyframes heroText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title .text {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroText 1s ease forwards;
}

.hero-title .text:first-of-type {
  animation-delay: 0.3s;
}

.hero-title .line {
  display: block;
  width: 420px;
  max-width: 60%;
  height: 2px;
  background: #81fbe3;
  box-shadow: 0 0 10px #00ffcc;
  margin: 15px auto;
  transform: scaleX(0);
  transform-origin: center;
  animation: heroLine 1s ease forwards;
  animation-delay: 0.8s;
}

.hero-title .sub {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroText 1s ease forwards;
  animation-delay: 1.1s;
  white-space: nowrap;
}

@keyframes heroLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-description {
  margin-top: 1rem;
  font-size: clamp(0.95rem, 1.6vw, 1rem);
  line-height: 1.8;
}

.hero-description span {
  display: block;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-mark {
  width: min(220px, 22vw);
  margin: 0 auto 1rem;
  opacity: 0.9;
}


/* イルカマーク 微発光 */

.hero-mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 4px rgba(0,255,200,0.35))
          drop-shadow(0 0 10px rgba(0,255,200,0.25));
  animation: dolphinGlow 5s ease-in-out infinite;
}

@keyframes dolphinGlow{

  0%{
    filter: drop-shadow(0 0 4px rgba(0,255,200,0.30))
            drop-shadow(0 0 8px rgba(0,255,200,0.20));
  }

  50%{
    filter: drop-shadow(0 0 8px rgba(0,255,200,0.45))
            drop-shadow(0 0 16px rgba(0,255,200,0.35));
  }

  100%{
    filter: drop-shadow(0 0 4px rgba(0,255,200,0.30))
            drop-shadow(0 0 8px rgba(0,255,200,0.20));
  }

}

.hero-title {
  position: relative;
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title .text {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroText 1s ease forwards;
}

.hero-title .line {
  position: relative;
  overflow: hidden;

  display: block;
  width: 420px;
  max-width: 64%;
  height: 2px;

  background: linear-gradient(
    90deg,
    rgba(0,255,200,0) 0%,
    rgba(0,255,200,0.9) 50%,
    rgba(0,255,200,0) 100%
  );

  margin: 12px auto 10px;

  transform: scaleX(0);
  transform-origin: center;

  animation:
    heroLine 1.1s ease forwards,
    lineGlow 4s ease-in-out infinite;

  animation-delay: 0.8s;
}

/* 光の流れ */

.hero-title .line::after{
  content:"";
  position:absolute;
  top:0;
  left:-40%;
  width:40%;
  height:100%;

  background:linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.9),
    rgba(255,255,255,0)
  );

  filter:blur(1px);
  animation:lineScan 5s linear infinite;
}


@keyframes lineGlow {

  0%{
    box-shadow:
      0 0 4px rgba(0,255,200,0.4),
      0 0 10px rgba(0,255,200,0.3);
  }

  50%{
    box-shadow:
      0 0 10px rgba(0,255,200,0.8),
      0 0 22px rgba(0,255,200,0.6);
  }

  100%{
    box-shadow:
      0 0 4px rgba(0,255,200,0.4),
      0 0 10px rgba(0,255,200,0.3);
  }

}

@keyframes lineScan{

  0%{
    transform:translateX(0);
  }

  100%{
    transform:translateX(300%);
  }

}


.hero-title .sub {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroText 1s ease forwards;
  animation-delay: 1.1s;

  white-space: nowrap;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.08em;
}


.hero-description {
  margin-top: 1.5rem;
  max-width: 700px;
  font-size: clamp(0.92rem, 1.5vw, 0.98rem);
  line-height: 1.75;
}

.hero-logotype {
  width: min(200px, 26vw);
  margin: 2rem auto 0;
  opacity: 0.88;
}

.scroll-indicator {
  bottom: 18px;
}

/* ==============================
   Hero Floating Animation
============================== */

@keyframes heroFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* イルカ */
.hero-mark {
  animation: heroFloat 6s ease-in-out infinite;
}

/* タイトル */
.hero-title {
  animation: heroFloat 7s ease-in-out infinite;
}


/* ---------- Hero Slider ---------- */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1) translateZ(0);
  transition: opacity var(--fade-duration) ease-in-out;
  will-change: transform, opacity;
  background-blend-mode: overlay;
  background-image: linear-gradient(var(--hero-gradient-top), var(--hero-gradient-bottom));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-slider .slide.active {
  opacity: 1;
  animation: heroZoom 9s ease-out forwards;
}

@keyframes heroZoom {

  0%{
    transform: scale(1) translateX(0) translateZ(0);
  }

  100%{
    transform: scale(1.12) translateX(30px) translateZ(0);
  }

}

/* ---------- Scroll Indicator ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
  z-index: 2;
}

.scroll-indicator .arrow {
  position: relative;
  width: 2px;
  height: 42px;
  background: #fff;
  margin: 12px auto 0;
  animation: scrollArrow 1.8s ease-in-out infinite;
}

.scroll-indicator .arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
}

@keyframes scrollArrow {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* ---------- Our Services ---------- */

.services-title {
  padding: 1rem;
  text-align: center;
  /*--background: url("../img/background3_bw.jpg") center / cover no-repeat;--*/
  position: relative;
}

.services-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.services-title h2 {
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  font-size: 19px;
  color: rgb(247, 180, 80);
  font-family: var(--font-accent);
  letter-spacing: 2px;
}

/*-　サービス項目カード　-*/
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.service-card {
  background: rgb(4, 134, 160);
  padding: 1.8rem;
  border-radius: 10px;
  box-shadow: 0 10px 23px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(0, 255, 200, 0.4);
}

.service-card h3{
font-size: 18px;
}

.service-card p{
font-size: 15px;
}


.works-link {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.btn-works {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  /*--background: var(--color-accent);--*/
  color: rgb(57, 225, 255);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.btn-works:hover {
  transform: translateY(-4px);
  opacity: 0.92;
}


/* ---------- Profile ---------- */
.profile{
  padding:5rem 0;
  background:#02141b;
}

.profile-title{
  text-align:center;
}

.profile-title h2{
  font-size:18px;
  color:rgb(247,180,80);
  font-family:var(--font-accent);
  letter-spacing:2px;
}

.profile-inner{
  margin-top:2rem;
  display:grid;
  grid-template-columns:280px 1fr;
  gap:3rem;
  align-items:center;
}

.profile-image img{
  width:100%;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.profile-text h3{
  font-size:1.4rem;
  margin-bottom:1rem;
  color:#ffffff;
}

.profile-text p{
  margin-bottom:0.8rem;
  line-height:1.8;
  color:#d7e5ea;
}

/* ---------- Works ---------- */
.works {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #02141b, #000000);
}

.works-title {
  padding: 1rem;
  text-align: center;
  position: relative;
}

.works-title h2 {
  position: relative;
  z-index: 2;
  font-size: 18px;
  color: rgb(252, 92, 52);
  font-family: var(--font-accent);
  letter-spacing: 2px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.work-card {
  display: block;
  text-decoration: none;
  background: rgba(7, 54, 67, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(0, 255, 200, 0.18);
}

.work-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1f28;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.06);
  opacity: 0.92;
}

.work-body {
  padding: 1.2rem 1.2rem 1.4rem;
}

.work-category {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #7ee8d6;
  text-transform: uppercase;
}

.work-body h3 {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.work-body p:last-child {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #d7e5ea;
}


/* ---------- CTA ---------- */
.cta {
  padding: 4rem 0;
  text-align: center;
  background: var(--color-main);
}

.cta h2 {
  font-size: 16px;
}

.btn {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* ---------- Footer ---------- */
.footer {
  font-size: 12px;
  background: var(--color-main);
  color: #0da1af;
  padding: 3rem 0;
  text-align: center;
}

.footer-nav {
  margin-bottom: 1rem;
}

/* フッター現在ページ */
.footer-nav a.active {
  color: #54aebe;
  font-weight: 550;
}

/* hover（active以外） */
.footer-nav a:hover:not(.active) {
  color: #e3ecfd;
}

.footer-nav a,
.sns a {
  color: #90b6e5;
  text-decoration: none;
  margin: 0 0.8rem;
}

/* SNSエリア */
.sns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

/* SNSアイコン（画像切替用） */
.sns-icon {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 36px;
}

/* 2枚の画像を重ねる */
.sns-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* hover画像は最初隠す */
.icon-hover {
  opacity: 0;
}

/* hover時 */
.sns-icon:hover .icon-hover {
  opacity: 1;
  transform: scale(1.2);
}

.sns-icon:hover .icon-normal {
  opacity: 0;
}


/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero {
    min-height: 85vh;
    padding: 9rem 1.25rem 5rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.9rem);
  }

  .hero-description {
    font-size: 0.95rem;
  }
}


/* ------ TOP Mobile ------- */

@media (max-width: 767px) {

  .header .container {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    flex: 1;
  }

  .logo {
    margin: 0;
    height: 56px;
  }

  .tagline {
    text-align: left;
    font-size: 0.65rem;
    margin-top: 0.2rem;
    line-height: 1.4;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
    z-index: 1100;
  }

  .nav {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 58, 78, 0.9);
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    margin: 0;
  }

  .nav li {
    text-align: center;
    padding: 0;
  }

  .nav a {
    display: block;
    padding: 1rem;
  }

  /* スマホ：現在ページ表示 */
  .nav a.active {
    background: rgba(0, 255, 234, 0.113);
    color: #61f3f3;
    border-radius: 4px;
  }

 /* スマホでは下線アニメーションを消す */
  .nav a::after {
    display: none;
  }

  .nav.active {
    display: block;
  }

  

  .hero {
  min-height: 100svh;
  padding: 7.8rem 1rem 3.2rem;
  }

  .hero h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 7vw, 2rem);
  line-height: 1.22;
  padding: 0;
  }

  .hero-mark {
  width: min(150px, 50vw);
  margin: 0 auto 1.8rem;
  }

  .hero-title .line {
  max-width: 72%;
  margin: 12px auto 10px;
  }

  .hero-title .sub {
  font-size: clamp(0.88rem, 3.8vw, 1rem);
  white-space: normal;
  line-height: 1.5;
  } 

  .hero-logotype {
  width: min(190px, 58vw);
  margin-top: 2.5rem;
  }

  .hero-description {
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.65;
  padding: 0;
  text-wrap: balance;
  }


  /*- スクロール矢印位置　-*/
  .scroll-indicator {
    bottom: 25px;
  }

 
  .scroll-indicator span {
    font-size: 10px;
  }

  .scroll-indicator .arrow {
    height: 30px;
    margin-top: 8px;
  }

  .services-title {
    margin-bottom: 0.6rem;
    padding: 0.5rem 1rem;
  }

  .services-title h2 {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .service-grid {
    width: 78%;
    grid-template-columns: 1fr;
    margin: 0 auto;
  }


  /*- WORKS -*/
  .works {
  padding: 4rem 0;
  }

  .works-title h2 {
  font-size: 1.1rem;
  letter-spacing: 1px;
  }

  .works-grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  }

  .work-body {
  padding: 1rem 1rem 1.2rem;
  }

  .work-body h3 {
  font-size: 1rem;
  }

  .work-body p:last-child {
  font-size: 0.88rem;
  }


  .footer-nav a {
    display: inline-block;
    margin: 0.35rem 0.5rem;
  }

}

/* ------- プロフィールページ ------- */
/* ---------- Page Hero ---------- */
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(to bottom, #02141b, #000000);
  text-align: center;
}

.page-label {
  margin-bottom: 0.8rem;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: #7ee8d6;
}

.page-hero h1 {
  font-family: var(--font-accent);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow:
    0 0 2px #ffffffe1,
    0 0 5px #ffffffd0,
    0 0 15px #fffffff6,
    0 0 30px rgba(0, 255, 170, 0.5),
    0 0 50px rgba(0, 255, 170, 0.7),
    0 0 80px rgba(0, 255, 170, 0.6),
    0 0 90px rgba(0, 255, 251, 0.65),
    0 0 100px rgba(0, 195, 255, 0.5);
}

.page-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.85rem;
  line-height: 1.9;
  color: #d7e5ea;
  text-align: left;
}

/* ==============================
   ABOUT PROFILE
============================== */

.about-profile {
  padding: 5rem 0;
  background: #021c26;
}

.about-profile-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 680px);
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
}

.about-profile-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.about-role {
  font-size: 0.85rem;
  color: #64f8e0;
  letter-spacing: 0.1em;
  margin-bottom: 0.1rem;
}

.about-profile-text h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about-profile-text h2 span {
  display: inline-block;
  font-size: 1rem;
  opacity: 1;
  margin-left: 0.4rem;
}

.about-profile-text p {
  margin-bottom: 1rem;
  color: #d7e5ea;
  line-height: 1.95;
  font-size: 0.9rem;
}

.profile-highlight {
  font-size: 1rem;
  color: #7ee8d6;
}

.about-profile-text a {
  color: #7ee8d6;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.about-profile-text a:hover {
  color: #a4fff0;
  opacity: 1;
}


/* ---------- Section Heading ---------- */

.section-heading {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  font-size: 18px;
  color: rgb(247, 180, 80);
  font-family: var(--font-accent);
  letter-spacing: 2px;
  line-height: 1.4;
}

/* ==============================
   BUSINESS GRID
============================== */

.about-business {
  padding: 5rem 0;
  background: #000;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.business-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      160deg,
      rgba(20, 96, 116, 0.95) 0%,
      rgba(8, 58, 72, 0.96) 55%,
      rgba(3, 27, 36, 0.98) 100%
    );
  border: 1px solid rgba(126, 232, 214, 0.14);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    filter 0.35s ease;
}

/* 光の反射 */
.business-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.04) 22%,
      rgba(255, 255, 255, 0) 50%
    );
  pointer-events: none;
}

/* 背景グロー */
.business-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(126, 232, 214, 0.16) 0%,
    rgba(126, 232, 214, 0.05) 35%,
    rgba(126, 232, 214, 0) 70%
  );
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ホバー */
.business-card:hover {
  transform: translateY(-8px);
  background:
    linear-gradient(
      160deg,
      rgba(28, 122, 145, 0.98) 0%,
      rgba(12, 78, 97, 0.98) 55%,
      rgba(4, 38, 50, 0.99) 100%
    );
  border-color: rgba(126, 232, 214, 0.34);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(0, 255, 200, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter: saturate(1.08) brightness(1.04);
}

.business-card:hover::after {
  opacity: 1;
  transform: scale(1.08);
}

/* タイトル */
.business-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.85rem;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(126, 232, 214, 0.08);
}

/* 本文 */
.business-card p {
  position: relative;
  z-index: 1;
  color: #d7e5ea;
  line-height: 1.85;
  font-size: 0.9rem;
}

.business-note {
  max-width: 760px;
  margin: 1.8rem auto 0;
  text-align: center;
  color: #9fc9d3;
  line-height: 1.9;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

/* ==============================
   ACCESS
============================== */

.about-access {
  padding: 4rem 0 2rem;
  background: #02141b;
}

.access-card {
  background: rgba(7, 54, 67, 0.95);
  border-radius: 16px;
  padding: 1.0rem;
}

.access-grid {
  max-width: 550px;
  display: flex;
  margin: 2rem auto 2rem;
  text-align: left;
}

.access-grid h3{
  margin-bottom: 0.9em;
  color:#7ee8d6;
  font-size:0.9rem;
  line-height: 1.5rem;
}

.access-grid p {
  margin-left: 2rem;
  margin-bottom: 1.4rem;
  color: #d7e5ea;
  line-height: 1.9;
  font-size: 0.85rem;
}

.access-grid a {
  color: #7ee8d6;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.access-grid a:hover {
  color: #a4fff0;
  opacity: 1;
}


/* ---------- About Responsive スマホ　---------- */
@media (max-width: 767px) {
  .page-hero {
    padding: 8.5rem 0 3rem;
  }

  .page-lead {
    font-size: 0.92rem;
  }

  .business-grid,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }


  .about-profile-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .about-profile-image {
    max-width: 200px;
    margin: 0 auto;
  }
　
  .about-profile-text h2 span {
    display: block;
    margin: 0.3rem 0 0;
  }

  .about-profile-text {
    text-align: left;
  }

  .about-profile-text a {
  text-decoration: none;
  color: #7ee8d6;
  }

  .about-profile-text a:hover {
  opacity: 0.8;
  }


  .business-card {
    padding: 1rem 1rem;
    border-radius: 14px;
  }

/*- 英文　-*/
  .business-note {
    max-width: 90%;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: center;
  }

/*--　アドレス　--*/

  .access-grid {
    max-width: 93%;
    margin: auto;
    display: block;
  }

  .access-grid h3{
  font-size:0.9rem;
  margin-left: 2rem;
  margin-bottom: 0.8rem;
  }

}

/* ==============================
   CONTACT PAGE
============================== */

.contact-intro {
  padding: 4rem 0 2rem;
  background: #02141b;
}

.contact-intro-inner {
  max-width: 760px;
}

.contact-intro p {
  color: #e6eff2;
  line-height: 1.95;
  font-size: 0.85rem;
}

.required {
  color: #ffb700;
  font-weight: 700;
}

.contact-note {
  margin-top: 1rem;
  color: #7ee8d6;
  font-size: 0.88rem;
}

.contact-form-section {
  padding: 2rem 0 5rem;
  background: #000;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-group label span {
  color:#ffb700;
  font-weight:700;
  margin-left:4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(126, 232, 214, 0.18);
  background: rgba(4, 61, 77, 0.55);
    color: #f4fbfd;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #7ee8d6;
    box-shadow:
  0 0 0 2px rgba(126,232,214,0.15),
  0 0 12px rgba(126,232,214,0.15);
  background: rgba(7, 54, 67, 0.75);
}

.form-submit {
  margin-top: 1rem;
  text-align: center;
}

.form-submit .btn {

  box-shadow:
  0 8px 18px rgba(0,0,0,0.25);

  transition:
  transform .25s ease,
  box-shadow .25s ease;

}

.form-submit .btn:hover{
  transform: translateY(-2px);
  box-shadow:
  0 12px 26px rgba(30,10,10,10.35);
}

/*-- rogo Mail/Mob  --*/

/*-.contact-direct {
  padding: 0 0 2rem;
  background: #000;
}
-*/

.contact-direct-box {
  max-width: 390px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.contact-direct-logo{
  flex:0 0 120px;
  position: relative;
}


.contact-direct-logo img{
  width:120px;
  height:auto;
  display:block;
}

.contact-direct-info{
  margin-left: 14px;
}

.contact-direct-info p{
  font-size:1rem;
  line-height:2;
  margin-bottom:15px;
  line-height:1.0;
}

.contact-direct-info a{
  color:#7ee8d6;
  text-decoration:none;
}

.contact-direct-box p {
  margin-bottom: 0.8rem;
  color: #bed0d6;
  line-height: 1.0;
}

.contact-direct-box p:last-child {
  margin-bottom: 0;
}

.contact-direct-box a {
  color: #7ee8d6;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.contact-direct-box a:hover {
  color: #d1faf4;
}

/*--　スマホ　問い合わせ　--*/

@media (max-width: 767px) {

  .contact-intro {
    padding: 3rem 0 1.5rem;
  }

  .contact-intro p {
    font-size: 0.9rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  
  .form-group label {
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  line-height: 1.3;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
  }

  .contact-form-section {
    padding: 1.5rem 0 4rem;
  }

  .form-submit {
  margin-bottom: 1.5rem;
  }

  .contact-direct {
    padding: 0 0 4rem;
  }

  .contact-direct-info p{
  font-size:0.85rem;
  }

  .contact-direct-box{
    margin:0 auto;
  flex-direction:column;
  text-align:center;
  gap:14px;
  background:none;
  border:none;
  box-shadow:none;
  padding:0;
  }

  .contact-direct-logo img{
  width:140px;
  margin-bottom: 1.4rem;
  }


}

/* ==============================
   THANKS PAGE
============================== */

.thanks-page {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #02141b, #000000);
  text-align: center;
}

.thanks-page .page-hero {
  width: 100%;
  padding: 10rem 0 6rem;
  background: transparent;
}

.thanks-page .container {
  max-width: 760px;
}

.thanks-page .page-label {
  margin-bottom: 0.8rem;
}

.thanks-page h1 {
  font-family: var(--font-accent);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-align: center;
}

.thanks-page .page-lead {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.9;
  color: #eef7fa;
  font-size: 0.95rem;
}

.thanks-page .btn {
  margin-top: 0;
}

.thanks-footer{
  text-align:center;
  padding:1.2rem 0 1.5rem;
  font-size:0.8rem;
  color:#9fc9d3;
  margin-top:-40px;
}

/* ---------- THANKS Mobile ---------- */
@media (max-width: 767px) {

  .thanks-page {
    min-height: 85svh;
    padding: 0 1rem;
  }

  .thanks-page .page-hero {
    padding: 8.5rem 0 4rem;
  }

  .thanks-page h1 {
    font-size: clamp(1.6rem, 8vw, 2.1rem);
    line-height: 1.25;
  }

  .thanks-page .page-lead {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0 auto 1.8rem;
  }

  .thanks-footer{
    margin-top:-30px;
    padding:1rem 0 1.2rem;
    font-size:0.75rem;
  }
}


/* ==============================
   TERMS PAGE
============================== */
/* ==============================
   TERMS HERO ADJUST
============================== */

.terms-page .page-hero{
  padding: 10rem 0 3rem;
}

.terms-page .page-hero h1 {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 3vw, 1.5rem);
  letter-spacing: 0.03em;
  font-weight: 600;
  color: #e8f3f6;
  text-shadow: none;
}

.terms-page .page-label{
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.terms-page .page-lead{
  text-align:center;
}

.terms-content {
  padding: 4rem 0 5rem;
  background: #02141b;
}

.terms-inner {
  max-width: 860px;
}

.terms-block {
  padding: 1.6rem 0 1.8rem;
  border-bottom: 1px solid rgba(126, 232, 214, 0.12);
}

.terms-block:first-child {
  padding-top: 0;
}

.terms-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.terms-block h2 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #7ee8d6;
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.terms-block p {
  color: #d7e5ea;
  font-size: 0.85rem;
  line-height: 2;
  text-wrap: balance;
}

.terms-block a {
  color: #7ee8d6;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.terms-block a:hover {
  color: #a4fff0;
}

/* ---------- TERMS Mobile ---------- */
@media (max-width: 767px) {

  .terms-page .page-hero h1{
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .terms-page .page-lead{
    font-size: 0.75rem;
    text-align:left;
  }

  .terms-content {
    padding: 3rem 0 4rem;
  }

  .terms-block {
    padding: 1.3rem 0 1.5rem;
  }

  .terms-block h2 {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .terms-block p {
    font-size: 0.7rem;
    line-height: 1.85;
  }

}

/* ==============================
   WORKS PAGE
============================== */

.works-page .page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.works-intro {
  padding: 4rem 0 2rem;
  background: #02141b;
}

.works-intro-inner {
  max-width: 760px;
}

.works-intro p {
  color: #d7e5ea;
  line-height: 1.95;
  font-size: 0.95rem;
}

.works-archive {
  padding: 2rem 0 5rem;
  background: #000;
}

.works-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.archive-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(7, 54, 67, 0.92);
  border: 1px solid rgba(126, 232, 214, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.archive-card:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 232, 214, 0.28);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 200, 0.12);
}

.archive-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #081a21;
}

.archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.archive-card:hover .archive-image img {
  transform: scale(1.05);
  opacity: 0.93;
}

.archive-body {
  padding: 1.35rem 1.3rem 1.45rem;
}

.archive-category {
  margin-bottom: 0.45rem;
  color: #7ee8d6;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-body h2 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #fff;
}

.archive-text {
  color: #d7e5ea;
  font-size: 0.92rem;
  line-height: 1.85;
}

/* ---------- WORKS Mobile ---------- */
@media (max-width: 767px) {
  .works-intro {
    padding: 3rem 0 1.5rem;
  }

  .works-intro p {
    font-size: 0.9rem;
  }

  .works-archive {
    padding: 1.5rem 0 4rem;
  }

  .works-archive-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .archive-body {
    padding: 1.1rem 1rem 1.2rem;
  }

  .archive-body h2 {
    font-size: 1rem;
  }

  .archive-text {
    font-size: 0.88rem;
    line-height: 1.8;
  }
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}