/*
Theme Name: Ryukyu Techno Child
Template: cocoon-master
Description: 琉球テクノ Cocoon子テーマ
Version: 1.0.0
*/

/* ==================================   
 * 琉球テクノ フロントページCSS
   ================================== */

html {
    scroll-behavior: smooth;
}

:root {
  --color-primary: #0481BF;
  --color-primary-dark: #036a9e;
  --color-cta: #2dce89;
  --color-cta-dark: #24b576;
  --color-text: #333;
  --color-text-light: #555;
  --color-bg-light: #D2EFFF;
  --color-bg-table-alt: #E8F4FB;
  --font-size-en: 150px;
  --font-size-heading: 45px;
  --font-size-body: 18px;
  --font-size-body-sm: 13px;
  --content-width: 1100px;
  --content-narrow: 860px;
  --shadow-card: 4px 4px 6px rgba(4, 129, 191, 0.10), 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* ========================================
   Section Commons
   ======================================== */
.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section__heading {
  margin-bottom: 48px;
}

.section__en {
  display: block;
  font-size: var(--font-size-en);
  font-weight: 700;
  color: rgba(4, 129, 191, 0.1);
  line-height: 0.85;
  letter-spacing: 0.03em;
}

.section__title {
  font-size: var(--font-size-heading);
  font-weight: 700;
  color: var(--color-primary);
  margin: -24px 0 0;
  line-height: 1.3;
}

.section__heading--light .section__en {
  color: rgba(255, 255, 255, 0.08);
}

.section__heading--light .section__title {
  color: #fff;
}

.section__heading--center {
  text-align: center;
}

.section__heading--sm .section__en {
  font-size: 100px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  --site-header-height: 61px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--site-header-height);
  z-index: 100;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 8px 32px rgba(4, 129, 191, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  padding: 12px 40px;
  box-sizing: border-box;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo-img {
  height: 100%;
  width: auto;
  transition: filter 0.3s;
  padding: 6px 8px 8px 8px;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
}

.site-header__company {
  display: inline-flex;
  align-items: center;
  width: 265px;
  height: 25px;
 	margin-left: 65px;
}

.site-header__company-img {
  display: block;
  width: 90%;
  height: auto;
}


@media (max-width: 768px){
	.site-header__company-img {
		width: 100%;
	}
}

.site-header__company-img--black {
  display: none;
}

.site-header.is-scrolled .site-header__company-img--white {
  display: none;
}

.site-header.is-scrolled .site-header__company-img--black {
  display: block;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-header__nav a {
	position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 7px rgba(0, 20, 40, 0.55);
  transition: color 0.2s;
  white-space: nowrap;
}

.site-header__nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: #0481BF;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-header.is-scrolled .site-header__nav a {
  color: var(--color-text);
  text-shadow: none;
}

/* .site-header__nav a:hover {
  color: var(--color-primary);
} */

.site-header__nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.site-header__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 2px 7px rgba(0, 20, 40, 0.55);
  transition: color 0.2s;
}

.site-header__tel svg {
  flex-shrink: 0;
}

.site-header.is-scrolled .site-header__tel {
  color: var(--color-text);
  text-shadow: none;
}

.site-header__tel:hover {
  color: var(--color-primary);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.site-header__cta:hover {
  background: var(--color-cta-dark);
  color: #fff;
}

.site-header__cta svg {
  flex-shrink: 0;
}

/* Burger (hidden on PC) */
.site-header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 101;
  padding: 0;
}

.site-header__burger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.site-header.is-scrolled .site-header__burger span {
  background: var(--color-text);
}

.site-header__burger span:nth-child(1) { top: 0; }
.site-header__burger span:nth-child(2) { top: 11px; }
.site-header__burger span:nth-child(3) { top: 22px; }

.site-header__burger.is-open span:nth-child(1) {
  top: 11px; transform: rotate(45deg);
}
.site-header__burger.is-open span:nth-child(2) { opacity: 0; }
.site-header__burger.is-open span:nth-child(3) {
  top: 11px; transform: rotate(-45deg);
}

.site-header__burger.is-open span {
  background: var(--color-text);
}

/* Mobile nav (hidden on PC) */
.site-header__mobile-nav {
  display: none;
}

@media (max-width: 1180px) and (min-width: 769px) {
  .site-header__inner {
    gap: 24px;
    padding: 12px 28px;
  }

  .site-header__company, .site-header__tel {
    display: none;
  }
}

/* ========================================
   HERO (水面リップル + 右側写真カード + 左グラスカード)
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: url('images/hero/img_bg_hero.png') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,60,100,0.45) 0%, rgba(4,129,191,0.20) 40%, rgba(0,80,130,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  right: max(48px, calc((100% - 1500px) / 2 + 80px));
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  max-width: 620px;
  height: 75%;
  max-height: 600px;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 20, 40, 0.35);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scaleX(-1);
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,60,100,0.35) 0%, rgba(4,129,191,0.15) 50%, rgba(0,80,130,0.25) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  left: max(48px, calc((100% - 1500px) / 2 + 120px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 660px;
  padding: 40px 44px;
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.03);
}

.hero__content::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,220,255,0.5), transparent);
}

.hero__title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 3.5px;
  color: #fff;
  margin: 0 0 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__title .accent {
  color: #7dd3fc;
}

.hero__subtitle {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__scroll-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.95);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 0 4px rgba(0,0,0,0.8);
}

.hero__scroll-line {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(125, 211, 252, 1) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/16px no-repeat;
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.7);
}

.hero__scroll-line::before,
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(125, 211, 252, 0.9);
  animation: scrollRipple 2.4s ease-out infinite;
}

.hero__scroll-line::after {
  animation-delay: 1.2s;
}

@keyframes scrollRipple {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

.hero__title,
.hero__subtitle {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease-out forwards;
}

.hero__title { animation-delay: 0.5s; }
.hero__subtitle { animation-delay: 0.9s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

.about.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/about/img_bg_okinawa_map_02_s.png');
	background-repeat:no-repeat;
	background-size: 400px;
	background-position: right 10px bottom -60px;
  opacity: 0.4;
}
@media (max-width: 768px) {
	.about.section
	{
		padding-bottom: 140px;
	}
}

.about__photo {
  position: relative;
  margin-bottom: 48px;
}

.about__photo > img:first-child {
  width: 100%;
  height: auto;
  display: block;
}

.about__content {
	position: relative;
}

.about__lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.9;
	color: #0481BF;
  margin: 0 0 28px;
}

.about__text p {
  font-size: var(--font-size-body);
  line-height: 2;
/*   color: var(--color-text-light); */
  margin: 0 0 16px;
}

.about__text p:nth-child(2),
.about__text p:nth-child(3),
.about__text p:nth-child(4)
{
	text-shadow: 0 1px 2px rgba(0, 20, 40, 0.2);
	
}

.about__photo::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: 16px;
  width: 90px;
  height: 100px;
  background: url('images/about/img_deco_doll_01.svg') no-repeat center / contain;
  pointer-events: none;
  z-index: 2;
}

/* ========================================
   BUSINESS Wave
   ======================================== */
.business-wave {
  position: relative;
  z-index: 1;
  height: 120px;
  overflow: hidden;
  line-height: 0;
}

.business-wave--top { margin-top: -1px; }
.business-wave--bottom { transform: scaleY(-1); margin-bottom: -1px; }

.business-wave__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 80%;
  display: flex;
  will-change: transform;
}

.business-wave__line svg {
  display: block;
  width: 50%;
  height: 100%;
  flex-shrink: 0;
}

@keyframes businessWaveFlow {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.business-wave__line--1 { animation: businessWaveFlow 22s linear infinite; }
.business-wave__line--2 { animation: businessWaveFlow 16s linear infinite; animation-direction: reverse; }
.business-wave__line--3 { animation: businessWaveFlow 11s linear infinite; }

@media (max-width: 768px) {
  .business-wave__line--1 { animation-duration: 14s; }
  .business-wave__line--2 { animation-duration: 10s; }
  .business-wave__line--3 { animation-duration: 7s; }
}

/* ========================================
   BUSINESS
   ======================================== */
.business {
  background: var(--color-bg-light);
  padding: 60px 0 150px;
}

.business__bg-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

background-image:
    url('images/business/img_bg_wave_pattern_02.png');
	opacity: 0.8;
	background-repeat: repeat-y;
	background-size: 100% auto;
  pointer-events: none;
  z-index: 0;
	margin-top: 65px;
}

.business__header {
	position: relative;
}

.business__intro {
  font-size: var(--font-size-body);
  line-height: 1.9;
  color: var(--color-text);
  margin: 0;
}

.business__illust {
	position: absolute;
	right: 0;
	top: -80px;
  width: 350px;
  aspect-ratio: 4 / 3;
  background: url('images/business/img_illust_building_02.png') no-repeat center / contain;
}

.business__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 60px;
}

/* Card wrapper: number area + card */
.business__card-wrap {
  position: relative;
  padding-top: 80px;
}

/* PC only: ずらし配置 + スクロール連動フェードイン */
@media (min-width: 769px) {
  .business__card-wrap {
    --final-y: 0px;
    opacity: 0;
    transform: translateY(calc(var(--final-y) + 40px));
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  }
  .business__card-wrap:nth-child(2) { --final-y: 100px; }
  .business__card-wrap:nth-child(3) { --final-y: -100px; }
  .business__card-wrap:nth-child(4) { --final-y: 40px; }

  .business__card-wrap.is-visible {
    opacity: 1;
    transform: translateY(var(--final-y));
  }
}

.business__card-num-area {
	margin-bottom: 2px;
}
@media (max-width: 769px) {
	.business__card-num-area {
		margin-bottom: 0;
	}
}

.business__card-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  line-height: 1;
	display:block;
	padding-left: 10px;
}

.business__card-num {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
	display:block;
}

/* Card */
.business__card {
  position: relative;
  background: transparent;
}

.business__card-en {
  position: absolute;
  top: -34px;
  right: 4%;
  font-size: 24px;
  font-weight: 700;
  color: rgba(125, 211, 252, 0.7);
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1.2;
}

/* Image */
.business__card-img {
  position: relative;
  width: 96%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.business__card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 88, 120, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.business__card-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
/* 	.business__bg-wave {
		    background-position: top 40px right -100px, center left, bottom -50px right -200px;
	} */
	.business__card-img {
		width: 100%;
	}
.business__card-caption {
	top: 10px;
	right: 10px;
  bottom: auto;
	left: auto;
	}
}

/* Overlapping glass card body */
.business__card-body {
  position: relative;
  width: 70%;
  margin-left: auto;
  margin-top: -100px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-card);
  z-index: 3;
}

.business__card-icon {
  display: block;
  margin-bottom: 12px;
}

.business__card-icon img {
  width: 44px;
  height: 44px;
  display: block;
}

.business__card-title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin: 0 0 12px;
}

.business__card-text {
  font-size: var(--font-size-body-sm);
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0 0 14px;
}

.business__card-link-wrap {
  display: flex;
  justify-content: flex-end;
}

.business__card-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 45px;
  padding: 0 0 0 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid rgba(4, 129, 191, 0.6);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.business__card-link span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  align-self: stretch;
  width: 46px;
  border: none;
  border-left: 1px solid rgba(4, 129, 191, 0.6);
  font-size: 20px;
  color: var(--color-primary);
  transition: color 0.2s, border-color 0.2s;
}

.business__card-link:hover {
  background: var(--color-primary);
  color: #fff;
}

.business__card-link:hover span {
  border-left-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.business__doll {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.business__doll--01 {
	width: 58px;
	aspect-ratio: 84 / 122;
	bottom: 100px;
  left: 80px;
	background-image: url('images/business/img_deco_doll_03.svg');
}
.business__doll--02 {
	width: 55px;
	aspect-ratio: 88 / 163;
	bottom: 45%;
	left: -30px;
	background-image: url('images/business/img_deco_doll_04.svg');
}
.business__doll--03 {
	width: 60px;
	aspect-ratio: 75 / 96;
	bottom: 48%;
	left: 80px;
	background-image: url('images/business/img_deco_doll_05.svg');
	transform: scaleX(-1);
}

.business__deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
	z-index: 3;
}

.business__deco--water-valve {
  width: 200px;
  aspect-ratio: 3 / 2;
  bottom: 80px;
  left: -80px;
  background-image: url('images/business/img_deco_water_valve.png');
  opacity: 0.88;
}

.business__deco--fuel-truck {
  width: 180px;
  aspect-ratio: 3 / 2;
  top: 19%;
  right: 100px;
  background-image: url('images/business/img_deco_fuel_truck.png');
  opacity: 0.88;
}

.business__deco--tank {
  width: 180px;
  aspect-ratio: 3 / 2;
  top: 12%;
  right: -30px;
  background-image: url('images/company/img_illust_tank.png');
	z-index: 0;
}

.business__deco--traffic-cones {
  width: 120px;
  aspect-ratio: 1 / 1;
  bottom: 50%;
  left: -50px;
  z-index: 4;
  background-image: url('images/business/img_deco_traffic_cones.png');
}

.business__deco--manhole {
  width: 100px;
  aspect-ratio: 1 / 1;
  bottom: 49%;
  left: 0;
  z-index: 4;
  background-image: url('images/business/img_deco_manhole.svg');
}
.business__deco--coral {
  width: 100%;
	height:200px;
  aspect-ratio: 3 / 2;
  bottom: -10px;
/*   left: 40%; */
  background-image: url('images/business/img_deco_coral_fish_border_pc.png');
	background-position:right bottom -40px;
	background-size: 650px;
	background-repeat:repeat-x;
/* 	border:1px solid red; */
/* 	z-index:333; */
/*   opacity: 0.88; */
}

.business__deco--water-bird {
  width: 250px;
  aspect-ratio: 3 / 2;
  right: -45px;
  bottom: 35%;
  background-image: url('images/business/img_deco_water_bird_simple_plants.png');
  opacity: 0.9;
}

@media (max-width: 769px) {
.business__doll--01 {
/* 	width: 40px;
	top: 150px; */
	display: none;
}
.business__doll--02 {
/* 	width: 40px;
	bottom: -60px;
		z-index: 5; */
	display: none;
}
.business__doll--03 {
	width: 40px;
	bottom: 71%;
	left: 90%;
	z-index: 5;
}
	.business__deco--fuel-truck {
    width: 130px;
    top: 50%;
    right: -20px;
 }
	.business__deco--tank, .business__deco--traffic-cones {
		display: none;
	}
	
	.business__deco--water-valve {
		width: 150px;
		bottom: 23%;
		left: 77%;
	}
	
		.business__deco--manhole {
		bottom: 71%;
		left: 80%;
    width: 90px;
	}
	
}
@media (max-width: 430px) {
	.business__doll--01 {
	top: 180px;
	}
	
	.business__doll--03 {
		bottom: 68%;
		left: 90%;
	}

	.business__deco--water-valve {
		width: 150px;
		bottom: 21%;
		left: 67%;
	}
	
	.business__deco--manhole {
		bottom: 69%;
		left: 74%;
    width: 90px;
	}
	
}
@media (max-width: 355px) {
.business__card-en {
	display: none;
}
}

/* ========================================
   COMPANY
   ======================================== */
.company {
  background-image: url('images/common/img_bg_texture_01.png');
  background-repeat: repeat;
}

.company__bg-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    background-image: url(images/company/img_bg_wave_03.png);
    background-repeat: no-repeat;
    background-position: bottom 35% left;
    background-size: 1900px;
}
@media (max-width: 769px) {
	.company__bg-wave {
    background-position: bottom -150px left;
    background-size: 800px;
	}
}

.company__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.company__illust {
	position: relative;
	width:20%;
	height:100px;
}

.company__illust-doll {
	position: absolute;
	top: 0;
	right: 200px;
	width: 60px;
	aspect-ratio: 52 / 123; background: url('images/company/img_deco_doll_06.svg') no-repeat center / contain; }
.company__illust-tank {
	position: absolute;
	top: -50px;
	right: -50px;
	width: 220px;
	aspect-ratio: 10 / 9; background: url('images/company/img_illust_tank.png') no-repeat center / contain; }

.company__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(4, 129, 191, 0.18);
  margin-bottom: 0;
}

.company__tab {
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.company__tab:hover {
  color: var(--color-primary);
  background: rgba(4, 129, 191, 0.06);
}
.company__tab.is-active {
  color: var(--color-primary);
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(4,129,191,0.08));
  border-bottom-color: var(--color-primary);
}

.company__panel { display: none; padding: 40px 0; }
.company__panel.is-active { display: block; }

.company__table,
.company__license-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-card);
}

.company__table th,
.company__license-table thead th {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  text-align: left;
}

.company__table tr { border-bottom: 1px solid #eee; }

.company__table th {
  width: 180px;
  padding: 22px 24px;
  vertical-align: middle;
}

.company__table td {
  padding: 22px 24px;
  font-size: var(--font-size-body);
  color: var(--color-text);
  vertical-align: middle;
  background: #fff;
}

.company__table tr:nth-child(even) td {
  background: var(--color-bg-table-alt);
}

.company__greeting {
/*   display: flex;
  gap: 40px; */
/*   margin-bottom: 40px; */
/*   align-items: flex-start; */
}

/* .company__greeting-text { flex: 1; } */

.company__greeting-text p {
  font-size: var(--font-size-body);
  line-height: 2;
  color: var(--color-text);
  margin: 0;
}

.company__greeting-side {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
}

.company__greeting-photo {
  width: 100%;
  height: 260px;
  background: #e8f4fb;
  border: 2px solid #a7deff;
}

.company__greeting-sign {
  text-align: right;
/*   margin-top: 16px; */
}
.company__greeting-role { 
	display: block; 
	font-size: 14px; 
	color: #666; 
/* 	margin-bottom: 4px;  */
	margin-right:15px;
}
.company__greeting-name {
	display: block;
/* 	font-size: 28px; */
	font-weight: 700;
	color: var(--color-primary); 
    text-align: right;
    padding-right: 10px;
}

.company__timeline {
  position: relative;
  padding-left: 28px;
}

.company__timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #0481bf;
}

.company__timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid #f0f0f0;
}

.company__timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-primary);
  z-index: 1;
}

.company__timeline-date {
  flex-shrink: 0;
  width: 130px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.company__timeline-text {
  font-size: var(--font-size-body);
  color: #444;
}

.company__license-table thead th {
  padding: 18px 24px;
}

.company__license-table tbody td {
  padding: 20px 24px;
  font-size: var(--font-size-body);
  color: var(--color-text);
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  background: #fff;
}

.company__license-table tbody tr:nth-child(even) td {
  background: var(--color-bg-table-alt);
}

.company__license-table tbody td:first-child {
  font-weight: 700;
  width: 120px;
  white-space: nowrap;
}

/* ========================================
   ACCESS
   ======================================== */
.access {
  background-image: url('images/about/img_photo_building.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.access__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 50, 70, 0.75);
}

.access__header {
  position: relative;
  margin-bottom: 40px;
}

.access__doll {
  position: absolute;
  top: 50px;
  right: 0;
  width: 70px;
  aspect-ratio: 65 / 129;
  background: url('images/access/img_deco_doll_06.svg') no-repeat center / contain;
}

.access__card {
  background: #fff;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.access__card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
  padding: 0;
  border-bottom: 1px solid #0481BF;
}
.access__card-name::before {
	content:"■";
	padding-right:5px;
	color:#0481BF;
}

.access__card-body {
  display: flex;
  gap: 32px;
}

.access__card-info { flex: 1; }
.access__card-info dl { margin: 0; }

.access__card-info dl > div {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  font-size: var(--font-size-body);
  line-height: 1.7;
  border-bottom: 1px solid #eee;
}

.access__card-info dl > div:last-child {
  border-bottom: none;
}

.access__card-info dt {
  flex-shrink: 0;
  width: 80px;
  font-weight: 700;
  color: var(--color-text);
}

.access__card-info dd { margin: 0; color: #444; }

.access__card-info a {
  color: var(--color-primary);
  text-decoration: none;
}
.access__card-info a:hover { text-decoration: underline; }

.access__card-map {
  flex-shrink: 0;
  width: 360px;
  height: 220px;
  overflow: hidden;
  background: #e8f4fb;
}

.access__card-map iframe { display: block; }

.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.access__card--sub { margin-bottom: 0; }

.access__card--sub .access__card-info dt { width: 80px; }

.access__card-map--small {
  width: 100%;
  height: 180px;
  margin-top: 16px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background-color: #f4f5f7;
}

.contact__header {
  position:relative;
}

.contact__illust {
	position: absolute;
	right:0;
	top:0;
  width: 150px;
  aspect-ratio: 5 / 6;
  background: url('images/contact/img_deco_doll_06.png') no-repeat center / contain;
}

.contact__intro {
  font-size: var(--font-size-body);
  line-height: 1.9;
  color: #444;
  margin: 0 0 48px;
}

.contact__form {
  background: #fff;
  padding: 48px 56px;
  box-shadow: var(--shadow-card);
}

.contact__field {
  padding: 24px 32px;
}

.contact__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.contact__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #e74c3c;
  min-height: 18px;
  padding: 5px 8px;
  margin-left: 4px;
  vertical-align: 0.08em;
}

.contact__input,
.contact__select,
.contact__textarea,
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form input[type="url"],
.contact__form input[type="number"],
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--color-text);
  background: #f8f8f8;
  border: 1px solid #ddd;
  outline: none;
  transition: border-color 0.2s;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  font-size: inherit;
  color: #999;
  opacity: 1;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus,
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--color-primary);
}

.contact__input--short { max-width: 280px; }
.contact__textarea { resize: vertical; min-height: 160px; }
.contact__select { appearance: auto; }

.contact__agree {
  text-align: center;
  padding: 36px 0 28px;
  font-size: 15px;
  color: #444;
}

.contact__agree a { color: var(--color-primary); text-decoration: underline; }
.contact__agree input[type="checkbox"] { margin-right: 4px; }

.contact__submit {
  position: relative;
  text-align: center;
	padding-bottom: 30px;
}

/* 送信ボタン（CF7の input[type="submit"] と .wpcf7-submit を統合） */
.contact__btn,
.contact__form .wpcf7-submit {
  display: inline-block;
  width: 100%;
  max-width: 260px;
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact__btn:hover,
.contact__form .wpcf7-submit:hover {
  background: var(--color-primary-dark);
}

.contact__btn:disabled,
.contact__btn[aria-disabled="true"],
.contact__form .wpcf7-submit:disabled,
.contact__form .wpcf7-submit[aria-disabled="true"] {
  background: #c5c5c5;
  color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
}

.contact__submit .wpcf7-spinner {
  position: absolute;
  right: 50%;
  margin-right: -150px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .contact__btn,
  .contact__form .wpcf7-submit {
    max-width: 200px;
    padding: 14px 32px;
    font-size: 15px;
  }

  .contact__submit .wpcf7-spinner {
    margin-right: -120px;
  }
}

/* ========================================
   PRIVACY POLICY PAGE
   ======================================== */
.privacy-page .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(4, 129, 191, 0.08);
}

.privacy-page .site-header__company,
.privacy-page .site-header__nav a,
.privacy-page .site-header__tel {
  color: var(--color-text);
  text-shadow: none;
}

.privacy-page .site-header__company-img--white {
  display: none;
}

.privacy-page .site-header__company-img--black {
  display: block;
}

.privacy {
  background: #fff;
  padding: 80px 0 120px;
  margin-top: 72px;
}

.privacy__content {
  max-width: 860px;
  margin: 0 auto;
}

.privacy__intro {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--color-bg-light);
}

.privacy__section {
  margin-bottom: 36px;
}

.privacy__section:last-child {
  margin-bottom: 0;
}

.privacy__section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px;
  padding: 0 0 10px 14px;
  border-left: 4px solid var(--color-primary);
  border-bottom: 1px solid #eee;
  line-height: 1.4;
}

.privacy__section-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0 0 12px;
}

.privacy__section-body p:last-child {
  margin-bottom: 0;
}

.privacy__list {
  margin: 8px 0 12px;
  padding-left: 24px;
}

.privacy__list li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  list-style: disc;
}

.privacy__contact-box {
  margin-top: 16px;
  padding: 20px 24px;
  background: #f8fbfd;
  border-left: 3px solid var(--color-primary);
}

.privacy__contact-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.privacy__contact-box strong {
  font-size: 16px;
  color: var(--color-primary);
}

.privacy__contact-box a {
  color: var(--color-primary);
  text-decoration: none;
}

.privacy__contact-box a:hover {
  text-decoration: underline;
}

.privacy__meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: right;
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .privacy { padding: 40px 0 56px; margin-top: 56px; }
  .privacy__content { padding: 0 16px; }
  .privacy__intro { font-size: var(--font-size-body); margin-bottom: 28px; padding-bottom: 20px; }
  .privacy__section { margin-bottom: 28px; }
  .privacy__section-title { font-size: 15px; padding-left: 10px; border-left-width: 3px; }
  .privacy__section-body p { font-size: var(--font-size-body); }
  .privacy__list li { font-size: var(--font-size-body); }
  .privacy__contact-box { padding: 14px 16px; }
  .privacy__contact-box p { font-size: 12px; }
  .privacy__contact-box strong { font-size: 14px; }
  .privacy__meta { font-size: 11px; }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background-color: #1a7ab5;
  background-image: url('images/common/img_bg_wave_02.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
	background-size: 110%;
  padding: 60px 0 32px;
  text-align: center;
}

.site-footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* .site-footer__company {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
} */

.site-footer__company {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.site-footer__company-img {
  display: block;
  width: 265px;
  max-width: 100%;
  height: auto;
}

.site-footer__company-en {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.site-footer__info { margin-bottom: 36px; }

.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
}

.site-footer__nav a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-footer__nav a:hover { opacity: 0.7; }

.site-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ========================================
   SUB PAGE: Page Hero
   ======================================== */
.page-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 50, 70, 0.7);
}

.page-hero__content {
  position: relative;
  z-index: 1;
	top: 10%;
}

.page-hero__en {
  display: block;
  font-size: 60px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  line-height: 1;
}

.page-hero__title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: -4px 0 0;
  letter-spacing: 0.06em;
}

/* Breadcrumb */
.breadcrumb {
  background: #f5f5f5;
  padding: 12px 0;
}

.breadcrumb__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
  font-size: 13px;
  color: #888;
}

.breadcrumb__inner a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb__inner span {
  margin: 0 6px;
}

/* Service Nav */
.service-nav {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 24px 0;
}

.service-nav__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-bg-light);
  text-decoration: none;
  transition: background 0.2s;
}

.service-nav__item:hover {
  background: #bee4fc;
}

.service-nav__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.service-nav__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

/* ========================================
   SUB PAGE: Service Detail
   ======================================== */
.service-detail {
  padding: 60px 0;
}

.service-detail__head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.service-detail__num-area {
  flex-shrink: 0;
}

.service-detail__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  line-height: 1;
	text-align: center;
}

.service-detail__num {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.service-detail__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
}

.service-detail__en-sub {
  font-size: 14px;
  color: rgba(4, 129, 191, 0.4);
  font-weight: 600;
  margin: 4px 0 0;
  letter-spacing: 0.03em;
}

.service-detail__main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.service-detail__hero-img {
  flex-shrink: 0;
  width: 480px;
  overflow: hidden;
}

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

.service-detail__summary {
  flex: 1;
}

.service-detail__lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--color-primary);
}

.service-detail__summary-text {
  font-size: var(--font-size-body);
  line-height: 2;
  color: var(--color-text-light);
  margin: 0;
}

.service-detail__body {
  max-width: 100%;
}

.service-detail__body p {
  font-size: var(--font-size-body);
  line-height: 2;
  color: var(--color-text-light);
  margin: 0 0 24px;
}

.service-detail__h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-bg-light);
}

.service-detail__list {
  margin: 0 0 24px;
  padding: 0 0 0 20px;
}

.service-detail__list li {
  font-size: var(--font-size-body);
  line-height: 2;
  color: var(--color-text-light);
}

/* Service Detail Table (工事実績) */
.service-detail__table-wrap {
  margin: 0 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service-detail__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.service-detail__table th,
.service-detail__table td {
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  vertical-align: middle;
/* 	word-break: keep-all; */
}

.service-detail__table thead th {
  color: #fff;
  font-weight: 700;
  background: var(--color-primary);
	text-align: center;
  white-space: nowrap;
}

.service-detail__table tbody tr {
  border-bottom: 1px solid #eee;
}

.service-detail__table tbody tr:nth-child(even) td {
  background: var(--color-bg-table-alt);
}

.service-detail__table td {
  color: var(--color-text-light);
	background-color: #fff;
}

.service-detail__table td:first-child {
  width: 90px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.service-detail__table td:last-child {
  white-space: nowrap;
}

/* 語のまとまりで改行（横長は1行／狭い時だけ境界で改行） */
span.u-ib {
  display: inline-block;
}

@media (max-width: 768px) {
  .service-detail__table th,
  .service-detail__table td {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.5;
  }
  .service-detail__table td:first-child {
    width: 60px;
  }
}

.service-detail__divider {
  border: none;
  border-top: 1px solid #eee;
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Page CTA */
.page-cta {
  background: var(--color-bg-light);
  padding: 56px 0;
  text-align: center;
}

.page-cta__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

.page-cta__text {
  font-size: var(--font-size-body);
  color: var(--color-text);
  margin: 0 0 24px;
}

.page-cta__btn {
  display: inline-block;
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}

.page-cta__btn:hover {
  background: var(--color-primary-dark);
	color: #fff;
}

/* ========================================
   Responsive (1280px / 中幅PC向け Hero調整)
   ======================================== */
@media (max-width: 1280px) and (min-width: 769px) {
  .hero__title { font-size: 38px; letter-spacing: 2.5px; }
  .hero__subtitle { font-size: 15px; }
  .hero__content { max-width: 540px; padding: 32px 36px; }
  .hero__photo { width: 40%; max-width: 460px; max-height: 480px; }
	
  .service-detail__main { gap: 32px; }
  .service-detail__hero-img {
    flex: 0 1 38%;
    width: 38%;
    max-width: 420px;
    min-width: 300px;
  }
  .service-detail__hero-img img {
    height: clamp(220px, 26vw, 280px);
  }
  .service-detail__summary {
    min-width: 0;
  }
	
	.company__illust-doll {
		top: 20px;
    right: 100%;
    width: 40px;
		z-index: 1;
	}
	
}

/* ========================================
   Responsive (768px)
   ======================================== */
@media (max-width: 768px) {
  .site-header { --site-header-height: 50px; }

  :root {
    --font-size-en: 48px;
    --font-size-heading: 24px;
    --font-size-body: 14px;
    --font-size-body-sm: 14px;
  }

  /* Commons */
  .section { padding: 56px 0; }
  .section__inner { padding: 0 16px; }
  .section__heading { margin-bottom: 32px; }
  .section__title { margin-top: -6px; }
  .section__heading--sm .section__en { font-size: 40px; }

  /* Header - Burger */
  .site-header__inner { padding: 10px 16px; gap: 8px; }
  .site-header__logo-img { height: 100%; left: 2px; padding: 4px 5px; }
  .site-header__company {
    position: absolute;
    left: 51%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    padding-left: 0;
/*     font-size: 14px;
    letter-spacing: 0.02em;
    text-align: center; */
		width: min(180px, calc(100vw - 150px));
    height: auto;
  }
  .site-header__nav { display: none; }
  .site-header__tel { display: none; }
  .site-header__cta { display: none; }
  .site-header__burger { display: block; margin-left: auto; }

  .site-header__mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 20px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(210,239,255,0.97));
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 2px solid rgba(4, 129, 191, 0.3);

    /* バーガー位置から円形に広がる/縮む波紋エフェクト */
    clip-path: circle(0% at calc(100% - 32px) 0%);
    -webkit-clip-path: circle(0% at calc(100% - 32px) 0%);
    pointer-events: none;
    transition:
      clip-path 0.65s cubic-bezier(0.4, 0, 0.2, 1),
      -webkit-clip-path 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-header__mobile-nav.is-open {
    clip-path: circle(150% at calc(100% - 32px) 0%);
    -webkit-clip-path: circle(150% at calc(100% - 32px) 0%);
    pointer-events: auto;
  }

  /* バーガーから外側へ広がる波紋リング */
  .site-header__mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    right: 32px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(125, 211, 252, 0.9);
    transform: translate(50%, -50%) scale(0);
    pointer-events: none;
    opacity: 0;
    transition:
      transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.7s ease-out;
  }

  .site-header__mobile-nav.is-open::before {
    transform: translate(50%, -50%) scale(35);
    opacity: 0;
    animation: rippleRing 0.7s ease-out;
  }

  @keyframes rippleRing {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }

  .site-header__mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(4, 129, 191, 0.15);
		text-align: center;
  }

  .site-header__mobile-nav a:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 10px 20px;
    background: var(--color-cta);
    border-bottom: none;
    color: #fff;
  }

  .site-header__mobile-nav a:last-child:hover {
    background: var(--color-cta-dark);
    color: #fff;
  }

  /* Hero */
  .hero { min-height: 100svh; height: 100svh; padding: 72px 0 0; display: block; }
  .hero__content { position: absolute; top: 40%; left: 16px; right: 16px; transform: translateY(-50%); margin: 0; padding: 28px 20px; max-width: none; text-align: left; z-index: 3; }
  .hero__title { font-size: 22px; line-height: 1.7; margin-bottom: 14px; letter-spacing: 2px; }
  .hero__subtitle { font-size: 14px; line-height: 1.8; }
  .hero__subtitle br { display: none; }
  .hero__photo { position: absolute; bottom: 0; left: 0; right: 0; top: auto; width: 100%; max-width: 100%; height: auto; max-height: none; aspect-ratio: 16/11; margin: 0; transform: none; mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 15%, black 40%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 15%, black 40%); box-shadow: none; z-index: 2; }

  /* About */
	.about.section::before {
	background-size: 70%;
	background-position: right bottom -25px;
}
  .about__photo { margin-bottom: 32px; }
  .about__content { flex-direction: column; gap: 24px; }
  .about__lead { font-size: 15px; margin-bottom: 20px; }
  .about__photo::after { width: 50px; height: 58px; bottom: -25px; }

  /* Business */
  .business { padding: 32px 0 130px; }
  .business__header { flex-direction: column; gap: 16px; margin-bottom: 20px; }
  .business__intro { font-size: var(--font-size-body); }
  .business__illust {
		width: 160px;
		top: -25px;
		right: -20px;
	}
  .business__card-wrap { padding-top: 20px; }
  .business__card-wrap:first-child { padding-top: 0; }
  .business__grid { grid-template-columns: 1fr; gap: 16px 0; }
	.business__card-body {
		width: 98%;
		margin-top: -60px;
		padding: 18px 20px 16px;
		margin: -60px auto 0 auto;
	}
  .business__card-num { font-size: 48px; }
  .business__card-title { font-size: 16px; }
  .business__card-en { font-size: 20px; }
  .business__card-en { top: -26px; right: 0; }
  .business-wave { height: 50px; }
	.business__card-label {
	padding-left: 2px;
}
  .business__card-link-wrap { justify-content: flex-start; }
  .business__card-link { width: 70%; }
	
	.business__deco--water-bird { display: none; }
  .business__deco--coral {
/*     width: 320px; */
    bottom: -10px;
/*     left: 50%; */
  }
	
  /* Company */
  .company__illust { align-self: flex-end; }
  .company__illust-doll {
		width: 35px;
		right: 90px;
	}
  .company__illust-tank {
		width: 120px;
		top: -20px;
		right: -25px;
	}
  .company__tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .company__tab { padding: 10px 13px; font-size: 13px; white-space: nowrap; }
  .company__panel { padding: 24px 0; }
  .company__table th { width: 90px; padding: 12px 10px; font-size: 12px; }
  .company__table td { padding: 12px 10px; font-size: var(--font-size-body); }
  .company__greeting-text { display: contents; }
  .company__greeting-text p { font-size: var(--font-size-body); }
  .company__greeting-text p {
    grid-column: 1 / -1;
  }
  .company__greeting-text p:last-child {
    grid-column: 1;
    margin-bottom: 0;
  }
  .company__greeting-side {
    width: 100%;
    grid-column: 2;
    grid-row: 2;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 8px;
  }
  .company__greeting-photo {
    width: 96px;
    max-width: 96px;
    height: 122px;
    margin: 0;
    flex-shrink: 0;
  }
  .company__greeting-name { font-size: 16px; line-height: 1.35; }
  .company__greeting-role { font-size: 12px; margin-bottom: 3px; }
  .company__timeline-item { flex-direction: column; gap: 4px; padding: 16px 0; }
  .company__timeline-date { font-size: 14px; }
  .company__timeline-text { font-size: var(--font-size-body); }
  .company__license-table thead th { padding: 10px 8px; font-size: 12px; }
  .company__license-table tbody td { padding: 10px 8px; font-size: 12px; }
  .company__license-table tbody td:first-child { white-space: normal;
	width: 95px; }

  /* Access */
  .access { background-attachment: scroll; }
  .access__doll {
		width: 40px;
		top: 30px;
	}
  .access__card { padding: 16px; }
  .access__card-name { font-size: 15px;
	margin: 0 0 8px 0; }
  .access__card-body { flex-direction: column; }
  .access__card-map { width: 100%; height: 180px; }
  .access__card-info dl > div { padding: 8px 0; font-size: var(--font-size-body); }
  .access__card-info dt { width: 52px; font-size: 13px; }
  .access__grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact__header { gap: 16px; }
  .contact__illust {
		width: 100px;
		top: -20px;
		right: 16px;
	}
  .contact__intro { font-size: var(--font-size-body); margin-bottom: 32px; }
  .contact__label { font-size: var(--font-size-body); }
  .contact__input,
  .contact__select,
  .contact__textarea,
  .contact__form input[type="text"],
  .contact__form input[type="email"],
  .contact__form input[type="tel"],
  .contact__form input[type="url"],
  .contact__form input[type="number"],
  .contact__form select,
  .contact__form textarea { font-size: var(--font-size-body); padding: 10px 12px; }
  .contact__input--short { max-width: 100%; }
  .contact__agree { font-size: var(--font-size-body); padding: 14px 0 20px; }
  .contact__form { padding: 24px 10px; }
  .contact__field { padding: 16px 12px; }

  /* Sub Page */
  .page-hero { height: 220px; }
  .page-hero__en { font-size: 36px; }
  .page-hero__title { font-size: 22px; }
  .breadcrumb__inner { padding: 0 16px; font-size: 11px; }
  .service-nav__inner { grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
  .service-nav__item { padding: 12px; gap: 8px; }
  .service-nav__num { font-size: 24px; }
  .service-nav__name { font-size: 11px; }
  .service-detail { padding: 48px 0; }
  .service-detail__head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .service-detail__num { font-size: 48px; }
  .service-detail__title { font-size: 20px; }
  .service-detail__en-sub { font-size: 12px; }
  .service-detail__main { flex-direction: column; gap: 24px; margin-bottom: 32px; }
  .service-detail__hero-img { width: 100%; }
  .service-detail__hero-img img { height: 200px; }
  .service-detail__lead { font-size: 16px; margin-bottom: 24px; }
  .service-detail__h3 { font-size: 17px; margin-top: 32px; }
  .page-cta { padding: 40px 0; }
  .page-cta__inner { padding: 0 16px; }
  .page-cta__text { font-size: var(--font-size-body); }
  .page-cta__btn { font-size: 14px; padding: 12px 32px; }

  /* Footer */
  .site-footer {
		padding: 20px 0;
	}
  .site-footer__inner { padding: 0 16px; }
  .site-footer__company-img { width: min(220px, 80vw); }
  .site-footer__company-en { font-size: 11px; }
  .site-footer__info { margin-bottom: 24px; }
  .site-footer__nav { flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
  .site-footer__nav a { font-size: 13px; }
  .site-footer__copy { font-size: 11px; padding-top: 16px; }
}

/* ========================================
   Footer Rain (境界線レインドロップ)
   ======================================== */
.footer-rain {
  position: relative;
  width: 100%;
  height: 50px;
  overflow: hidden;
  pointer-events: none;
  margin-top: -1px;
  opacity: 0;
  animation: footerRainFadeIn 0.4s ease-out 0.15s forwards;
}

@keyframes footerRainFadeIn {
  to { opacity: 1; }
}

.footer-rain canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========================================
   TOPに戻るボタン（水滴に水がたまる）
   ======================================== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 76px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s, transform 0.35s ease;
  filter: drop-shadow(0 6px 16px rgba(4, 129, 191, 0.25));
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { filter: drop-shadow(0 8px 20px rgba(4, 129, 191, 0.4)); }
.to-top:active { transform: translateY(2px); }

.to-top__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.to-top__water {
  transform: translateY(calc(68px - var(--progress, 0) * 0.68px));
  transition: transform 0.3s ease-out;
}

.to-top__wave {
  animation: toTopWave 3.5s ease-in-out infinite;
}

@keyframes toTopWave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
}

.to-top__label {
  position: absolute;
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #0481BF;
  white-space: nowrap;
	line-height: 1;
  -webkit-text-stroke: 0;
  paint-order: normal;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 1px 0 2px rgba(255, 255, 255, 0.9), -1px 0 2px rgba(255, 255, 255, 0.9), 0 -1px 2px rgba(255, 255, 255, 0.9);
}

.to-top__percent {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.to-top.is-full .to-top__percent { opacity: 1; }

@media (max-width: 768px) {
  .to-top { width: 48px; height: 60px; right: 5px; bottom: 38px; }
  .to-top__label { top: 64px; font-size: 9px; }
}
