/* ============================================
   Gerok Inc. — Website Styles
   Palette: warm white, deep navy, soft sage, gold accent
   ============================================ */

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

:root {
  --clr-bg:        #edf0f2;
  --clr-white:     #FFFFFF;
  --primary-blue:#4fa4ad;

  --ff-serif:      "Shippori Mincho", serif;
  --ff-sans:       'Noto Sans JP', sans-serif;
  --ff-display:    "Montserrat", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --max-width: 1200px;
  --section-gap: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--ff-sans);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- UTILITIES ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--ff-display);
  font-size: 13px;
  letter-spacing: 0.15em;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--clr-navy);
  margin-bottom: 3%;
  letter-spacing: 0.04em;
}

.section-intro {
  font-size: clamp(14px, 0.8vw, 16px);
  margin-bottom: 48px;
}

.sp {
  display: none;
}

.fadein {
  opacity: 0;
	transform : translate(0px, 15px);
	transition : all 1s;
}

.fadein.active{
	opacity: 1;
	transform : translate(0, 0);
}

/* ============================================
   HEADER
   ============================================ */

.toggle_btn,
#mask,
.nav_logo {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* height: 64px; */
}

.header-inner {
  padding: 10px 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 8px;
  width: calc(100vw / 10);
  min-width: 140px;
}


.logo-text {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--clr-navy);
  letter-spacing: 0.05em;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.main-nav li {
  font-size: clamp(14px, 0.8vw, 16px);
  color: #fff;
  letter-spacing: 0.02em;
  transition: 0.4s;
  white-space: nowrap;
}

.main-nav a {
  display: inline-block;
  position: relative;
}

.lgBtn {
  display: flex;
}

.jpBtn::after {
  content: '/';
  margin-left: 5px;
  margin-right: 5px;
}

.jpBtn a,
.enBtn a {
  opacity: 0.5;
}

.jpBtn.is-active a,
.enBtn.is-active a {
  opacity: 1;
}

/* アンダーライン */
.main-nav a:not(.btn-contact-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;

  width: 100%;
  height: 1px;
  background-color: currentColor;

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}

/* ホバー時 */
.main-nav a:not(.btn-contact-nav):hover::after {
  transform: scaleX(1);
}

/* ホバー解除時は右へ消える */
.main-nav a:not(.btn-contact-nav):not(:hover)::after {
  transform-origin: right center;
}

.main-nav a:last-of-type:hover {
  opacity: 1;
}

.main-nav.headerColorScroll li {
  color: #000;
  transition: color 0.4s ease-out;
}

.site-header.headerColorScroll {
  background-color: #fff;
  transition: 0.4s ease-out;
}

.btn-contact-nav {
  display: inline-block;
  padding: 8px 20px;
  border: solid 1px #fff;
  color: var(--clr-white);
  font-family: var(--ff-serif)!important;
  font-weight: 600;
  font-size: clamp(14px, 0.8vw, 16px);
  letter-spacing: 0.04em;
  transition: background 0.4s;
  white-space: nowrap;
}

.btn-contact-nav.headerColorScroll {
  border: none;
  background-color: var(--primary-blue);
  color: #fff;
}


.btn-contact-nav:hover {
  background-color: rgba(255,255,255,0.4);
}

.btn-contact-nav.headerColorScroll:hover {
  background-color: #2e6060;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: calc(100vh / 1.5);
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.hero::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(340deg, rgba(255, 255, 255, 0) 81%, rgba(0, 0, 0, 0.65));
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
}

.hero-images {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.hero-images ul {
  position: relative;
}



.hero-images img {
  object-fit: cover;
  height: 100%;
  width: 120%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 60px 40px;
  color: var(--clr-white);
  z-index: 8;
}

.hero-origin {
  font-family: var(--ff-serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(14px, 2vw, 21px);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  opacity: 0.9;
}


.FV_slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.FV_slide,
.FV_slide img {
  will-change: transform;
  transform: translateZ(0);
}

/* =======  FV animation Mask  ======= */

.FV_slide:nth-child(1) {
  animation: slideMask 30s ease infinite;
  z-index: 6;
}

.FV_slide:nth-child(2) {
  animation: slideMask 30s 5s ease infinite;
  z-index: 5;
}

.FV_slide:nth-child(3) {
  animation: slideMask 30s 10s ease infinite;
  z-index: 4;
}

.FV_slide:nth-child(4) {
  animation: slideMask 30s 15s ease infinite;
  z-index: 3;
}

.FV_slide:nth-child(5) {
  animation: slideMask 30s 20s ease infinite;
  z-index: 2;
}

.FV_slide:nth-child(6) {
  animation: slideMask 30s 25s ease infinite;
  z-index: 1;
}

.hero-images ul:nth-child(2) .FV_slide:nth-child(1) {
  animation-delay: 0.15s;
}
.hero-images ul:nth-child(2) .FV_slide:nth-child(2) {
  animation-delay: 5.15s;
}
.hero-images ul:nth-child(2) .FV_slide:nth-child(3) {
  animation-delay: 10.15s;
}
.hero-images ul:nth-child(2) .FV_slide:nth-child(4) {
  animation-delay: 15.15s;
}
.hero-images ul:nth-child(2) .FV_slide:nth-child(5) {
  animation-delay: 20.15s;
}
.hero-images ul:nth-child(2) .FV_slide:nth-child(6) {
  animation-delay: 25.15s;
}

.hero-images ul:nth-child(3) .FV_slide:nth-child(1) {
  animation-delay: 0.3s;
}
.hero-images ul:nth-child(3) .FV_slide:nth-child(2) {
  animation-delay: 5.3s;
}
.hero-images ul:nth-child(3) .FV_slide:nth-child(3) {
  animation-delay: 10.3s;
}
.hero-images ul:nth-child(3) .FV_slide:nth-child(4) {
  animation-delay: 15.3s;
}
.hero-images ul:nth-child(3) .FV_slide:nth-child(5) {
  animation-delay: 20.3s;
}
.hero-images ul:nth-child(3) .FV_slide:nth-child(6) {
  animation-delay: 25.3s;
}

.hero-images ul:nth-child(4) .FV_slide:nth-child(1) {
  animation-delay: 0.45s;
}
.hero-images ul:nth-child(4) .FV_slide:nth-child(2) {
  animation-delay: 5.45s;
}
.hero-images ul:nth-child(4) .FV_slide:nth-child(3) {
  animation-delay: 10.45s;
}
.hero-images ul:nth-child(4) .FV_slide:nth-child(4) {
  animation-delay: 15.45s;
}
.hero-images ul:nth-child(4) .FV_slide:nth-child(5) {
  animation-delay: 20.45s;
}
.hero-images ul:nth-child(4) .FV_slide:nth-child(6) {
  animation-delay: 25.45s;
}

.hero-images ul:nth-child(5) .FV_slide:nth-child(1) {
  animation-delay: 0.6s;
}
.hero-images ul:nth-child(5) .FV_slide:nth-child(2) {
  animation-delay: 5.6s;
}
.hero-images ul:nth-child(5) .FV_slide:nth-child(3) {
  animation-delay: 10.6s;
}
.hero-images ul:nth-child(5) .FV_slide:nth-child(4) {
  animation-delay: 15.6s;
}
.hero-images ul:nth-child(5) .FV_slide:nth-child(5) {
  animation-delay: 20.6s;
}
.hero-images ul:nth-child(5) .FV_slide:nth-child(6) {
  animation-delay: 25.6s;
}

@keyframes slideMask {
  0% {
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  }

  17% {
    z-index: 7;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  }

  24% {
    z-index: 7;
    clip-path: polygon(0 100%, 0 100%, 0 0, 0 0);
  }

  32% {
    z-index: 0;
  }

  100% {
    clip-path: polygon(0 100%, 0 100%, 0 0, 0 0);
  }
}


/* =======  FV animation slide  ======= */

.FV_slide:nth-child(1) img {
  animation: slideMove 30s linear infinite;
}
.FV_slide:nth-child(2) img {
  animation: slideMove 30s 5s linear infinite;
}
.FV_slide:nth-child(3) img {
  animation: slideMove 30s 10s linear infinite;
}
.FV_slide:nth-child(4) img {
  animation: slideMove 30s 15s linear infinite;
}
.FV_slide:nth-child(5) img {
  animation: slideMove 30s 20s linear infinite;
}
.FV_slide:nth-child(6) img {
  animation: slideMove 30s 25s linear infinite;
}

@keyframes slideMove {
  0% {
    transform: translateX(0%);
  }

  24% {
    transform: translateX(-15%);
  }

  79% {
    transform: translateX(-15%);
  }

  80% {
    transform: translateX(-2%);
  }

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

.hero-images.pause .FV_slide,
.hero-images.pause .FV_slide img {
  animation-play-state: paused !important;
}

/* ============================================
   SECTION NAV
   ============================================ */
.section-nav {
  background: var(--clr-navy);
  padding: 0;
}

.section-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  padding: 0 40px;
}

.section-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 8px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
  text-align: center;
}

.section-nav a:last-child {
  border-right: none;
}

.section-nav a:hover {
  background: rgba(255,255,255,0.07);
}

.sn-en {
  font-family: var(--ff-display);
  font-size: 13px;
  color: var(--clr-teal-lt);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.sn-ja {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

/* ============================================
   ABOUT
   ============================================ */
.section-about {
  padding: var(--section-gap) 0;
  background: var(--clr-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3vw;
  place-items: center;
}

.about-images {
  width: calc( 100vw / 5);
}

.about_logo img {
  width: calc(100vw / 9);
  margin: 0 auto 3%;
  min-width: 150px;
}

.about-text {
  font-size: clamp(14px, 0.8vw, 16px);
  line-height: 2;
  color: var(--clr-text-mid);
  margin-bottom: 16px;
}

.partner-logos {
  display: flex;
  gap: 5vw;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
}

.partner-logos img {
  width: calc(100vw/12);
  min-width: 100px;
}

.partner-logos img:last-of-type {
  width: calc(100vw / 18);
  min-width: 80px;
}


/* ============================================
   TECHNOLOGY
   ============================================ */
.section-technology {
  padding: var(--section-gap) 0;
  background: var(--clr-bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.tech-grid-reverse {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.tech-subtitle {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 500;
  border-bottom: solid 1px var(--primary-blue);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.tech-text p {
  font-size: clamp(14px, 0.8vw, 16px);
  line-height: 2;
  color: var(--clr-text-mid);
  margin-bottom: 12px;
}

.tech-note {
  display: block;
  font-size: clamp(12px, 0.7vw, 14px) !important;
  color: var(--clr-text-lt) !important;
  line-height: 1.6 !important;
}

.tech-note_mt {
  margin-top: 10px;
}

.klotho-circle {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.klotho-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--clr-teal-lt);
  opacity: 0.4;
}

.klotho-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid var(--clr-gold);
  opacity: 0.5;
}

.klotho-icon {
  font-family: var(--ff-display);
  font-size: 72px;
  font-style: italic;
  color: var(--clr-teal);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(61,122,122,0.2);
}


.tech-compound p {
  font-size: 14px;
  line-height: 2;
  color: var(--clr-text-mid);
  margin-bottom: 12px;
}

.hallmarks-note {
  margin-top: 36px;
  align-items: center;
}

.hallmarks-caption {
  font-size: clamp(12px, 0.7vw, 14px) !important;
  color: var(--clr-text-lt) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  min-width: 160px;
  text-align: center;
}

.hallmarks-visual {
  position: relative;
  width: calc(100vw/5);
  margin: 0 auto;
  min-width: 250px;
}

.hw-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  font-size: 10px;
  color: var(--clr-text-lt);
}

.hw-outer {
  inset: 0;
  border-color: var(--clr-sage);
  padding: 8px;
}

.hw-middle {
  inset: 30px;
  border-color: var(--clr-teal-lt);
  padding: 6px;
}

.hw-center {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: var(--clr-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--clr-white);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================
   BUSINESS
   ============================================ */
.section-business {
  padding: var(--section-gap) 0;
  background: var(--clr-white);
}

.business-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.biz-item {
  margin-bottom: 10%;
}

.biz-item:last-child {
  margin-bottom: 0;
}

.biz-title {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  border-bottom: solid 1px var(--primary-blue);
}

.biz-item p {
  font-size: clamp(14px, 0.8vw, 16px);
  line-height: 1.8;
}

/* Pyramid */
.business-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pyramid-wrap {
  width: 100%;
}

.pyramid-tier {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

.pt-top {
  height: 56px;
  background: var(--clr-navy);
  width: 50%;
  margin: 0 auto 2px;
}

.pt-mid {
  height: 56px;
  background: var(--clr-teal);
  width: 75%;
  margin: 0 auto 2px;
}

.pt-bot {
  height: 56px;
  background: var(--clr-gold);
  width: 100%;
}

.pyramid-base {
  background: var(--clr-sage-lt);
  border: 1px solid var(--clr-sage);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--clr-navy);
  margin-top: 8px;
}

.pyramid-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--clr-text-lt);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ============================================
   PHOTO STRIP
   ============================================ */
.slide_container {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slider {
  display: flex;
  animation: slide-flow 20s infinite linear 1s both;
}

.slide-img {
  width: 400px;
  object-fit: cover;
}

@keyframes slide-flow {
  0%{transform: translateX(0);}
  100%{transform: translateX(-100%);}
}


/* ============================================
   NEWS
   ============================================ */
.section-news {
  padding: var(--section-gap) 0;
  background: var(--clr-bg);
}

.news_container {
  display: flex;
  justify-content: space-between;
  gap: 2vw;
}

.news-list {
  width: clamp(500px, 55vw, 820px);
}

.news-item {
  border-top: 1px solid var(--clr-border);
  border-top: solid 1px #cccccc;
  padding: 5% 2%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
}

.news-item::after {
  content: '';
  display: block;
  width: 9px;
  height: 8px;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  background-color: var(--primary-blue);
}

.news-item:last-of-type {
  border-bottom: 1px solid #cccccc;
}

.news-item div {
  display: flex;
  align-items: baseline;
  gap: 4vw;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
  align-items: center;
}

.news-item:hover {
  opacity: 0.7;
}

.news-date {
  font-family: var(--ff-display);
  font-size: clamp(14px, 0.8vw, 16px);
  color: var(--clr-text-lt);
  letter-spacing: 0.06em;
  min-width: 90px;
  flex-shrink: 0;
}

.news-text {
  font-size: clamp(14px, 0.8vw, 16px);
  line-height: 1.6;
  flex: 1;
  transition: color 0.2s;
}

.news-detail {
  padding: 0 0 20px 114px;
  font-size: 13px;
  color: var(--clr-text-mid);
}

/* ============================================
   LONGEVITY BANNER
   ============================================ */
.longevity-banner {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.longevity-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.longevity-content p {
  font-family: var(--ff-serif);
  font-size: clamp(20px, 3vw, 32px);
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.12em;
}

/* ============================================
   COMPANY
   ============================================ */
.campany_container {
  display: flex;
  gap: 2vw;
  justify-content: space-between;
}

.section-company {
  padding: var(--section-gap) 0;
  background: var(--clr-white);
}

.company-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
}

.company-table tr {
  border-top: solid 1px #cccccc;
}

.company-table tr:last-of-type {
  border-bottom: solid 1px #cccccc;
}

.company-table th,
.company-table td {
  padding: 5% 2%;
  border-bottom: 1px solid var(--clr-border);
  font-size: clamp(14px, 0.8vw, 16px);
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 140px;
  color: var(--clr-text-lt);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.company-table_en th {
  width: 160px;
}

.company-table td {
  color: var(--clr-text);
}

.company-table tr:first-child th,
.company-table tr:first-child td {
  border-top: 1px solid var(--clr-border);
}

/* ============================================
   CONTACT
   ============================================ */
.section-contact {
  padding: var(--section-gap) 0;
  background: var(--clr-bg);
}

.contact-intro {
  font-size: clamp(14px, 0.8vw, 16px);
  color: var(--clr-text-mid);
  line-height: 2;
  margin-bottom: 48px;
}


.form-row {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1.5fr 4.5fr;
  align-items: center;
  gap: 5vw;
}

.form-row label {
  display: block;
  font-size: clamp(14px, 0.8vw, 16px);
  color: var(--clr-text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.required {
  display: inline-block;
  margin-left: 6px;
  font-size: clamp(14px, 0.8vw, 16px);
  color: #ed1c24;
  letter-spacing: 0.04em;
}

.form-row input,
.form-row textarea {
  padding: 12px 16px;
  background: var(--clr-white);
  border: 1px solid #b3b3b3;
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: clamp(14px, 0.8vw, 16px);
  color: var(--clr-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--clr-teal);
  box-shadow: 0 0 0 3px rgba(61,122,122,0.1);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-privacy div {
  width: 100%;
  height: 200px;
  font-size: clamp(14px, 0.8vw, 16px);
  background-color: #fff;
  border: solid 1px #b3b3b3;
  overflow: auto;
  padding: 1% 3%;
  border-radius: var(--radius-sm);
}

.form-privacy p {
  text-align: center;
}

.form-privacy a {
  color: var(--primary-blue);
  text-decoration: underline;
  transition: 0.4s;
}

.form-privacy:hover a {
  opacity: 0.7;
}

.privacy-link {
  font-size: 13px;
  color: var(--clr-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(14px, 0.8vw, 16px);
  cursor: pointer;
  margin-top: 1%;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--clr-teal);
  cursor: pointer;
}

.form-submit {
  text-align: center;
}

.btn-submit {
  display: inline-block;
  padding: 14px 48px;
  background: var(--primary-blue);
  color: var(--clr-white);
  font-family: var(--ff-serif);
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background: #2e6060;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 32px 0 0;
  background-color: #fff;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 1px #b3b3b3;
  padding-bottom: 2%;
}

.footer-logo {
  width: calc(100vw / 10);
  min-width: 140px;
}

.footer-nav {
  flex: 1;
  display: flex;
  gap: 3vw;
  flex-wrap: wrap;
  margin-top: 2%;
}

.footer-nav a {
  font-size: clamp(14px, 0.8vw, 16px);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-nav a:last-of-type:hover {
  opacity: 1;
}

.footer-contact-btn {
  background: var(--primary-blue);
  color: #fff;
  font-size: clamp(14px, 0.8vw, 16px);
  font-weight: 600;
  font-family: var(--ff-serif);
}

.footer-contact-btn:hover {
  background: #2e6060;
}

.copyright {
  font-size: 11px;
  padding: 16px 0;
  letter-spacing: 0.06em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .main-nav{
    position: fixed;
    right: -300px;
    width: 300px;
    top: 0;
    bottom: 0;
    background-color: var(--primary-blue);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
  }

  .main-nav ul {
    position: relative;
  }

  .main-nav ul::before {
    position: absolute;
    content: '';
    display: block;
    width: 300px;
    height: 100px;
    background-color: #fff;
    top: 0;
    right: 0;
  }

  .open .main-nav {
    right: 0;
    opacity: 1;
  }

  .main-nav ul {
    padding: 15px 25px;
    flex-direction: column;
  }

  .main-nav li:nth-of-type(2) {
    margin-top: 20px;
  }

  .open .nav_logo {
    display: block;
    z-index: 1;
  }

  .section-nav-inner {
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .section-nav a {
    flex: 0 0 33.333%;
  }

  /*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 25px;
  right: 20px;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
.open .toggle_btn {
  right: 330px;
}
.toggle_btn span {
  display: block;
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: #fff;
  border-radius: 4px;
  transition: all .5s;
}

.toggle_btn.headerColorScroll span {
  background-color: #000;
}

.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.open .toggle_btn span:nth-child(1), .open .toggle_btn span:nth-child(3) {
  width: 16px;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translate(-1px,4px) rotate(-45deg);
  transform: translate(1px,4px) rotate(45deg);
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translate(-1px,-4px) rotate(45deg);
  transform: translate(1px,-4px) rotate(-45deg);
}
@media screen and (max-width: 767px) {
  .open .toggle_btn {
    right: 320px;
  }
}
/*============
#mask
=============*/
#mask {
  display: none;
  transition: all .5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
}
/*============
main
=============*/
main {
  transition: all .5s;
}
.open main {
  transform: translateX(-300px);
}

  .about-grid,
  .tech-grid,
  .business-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    place-items: center;
  }

  .hero-content {
    padding: 40px 24px 60px;
  }

  .container {
    padding: 0 5%;
  }

  :root { --section-gap: 64px; }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
    height: 280px;
  }

  .company-table_en th {
    width: 160px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 24px 24px;
  }

  .footer-nav {
    gap: 1vw 5vw;
    margin-top: 5%;
  }

  .hallmarks-note {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .hero-images {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 1fr);
  }

  .section-nav a {
    flex: 0 0 50%;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .tech-compound {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ====================
header sp
======================*/
@media (max-width: 900px) {
  .logo {
    width: min(35vw, 150px);
  }

  .header-inner {
    padding: 10px 20px;
  }

  .main-nav.headerColorScroll li {
    color: #fff;
    transition: color 0.4s ease-out;
  }

  .btn-contact-nav.headerColorScroll {
    border: solid 1px #fff;
    background-color: transparent;
  }

  .btn-contact-nav.headerColorScroll:hover {
    background-color: rgba(255,255,255,0.4);
  }
}


/* ====================
HERO sp
======================*/
@media (max-width: 900px) {

  .hero-images img {
    object-fit: cover;
    height: 120%;
    width: 100%;
  }

  /* =======  FV animation slide  ======= */

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

    24% {
      transform: translateY(-15%);
    }

    79% {
      transform: translateY(-15%);
    }

    80% {
      transform: translateY(-2%);
    }

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

}

/* ====================
ABOUT sp
======================*/
@media (max-width: 900px) {
  .about-images {
    max-width: 300px;
    min-width: 250px
  }
}

/* ====================
TECHNOLOGY sp
======================*/
@media (max-width: 900px){
  .tech-grid-reverse {
    display: flex;
    flex-direction: column-reverse;
    gap: 2vw;
    align-items: center;
    margin-bottom: 60px;
  }

  .tech-visual {
    max-width: 400px;
  }

  .hallmarks-visual {
    position: relative;
    width: calc(100vw/2);
    margin: 0 auto;
    min-width: 250px;
  }
}

/* ====================
NEWS sp
======================*/
@media (max-width: 900px) {
  .news_container {
    flex-direction: column;
  }

  .news-list {
    width: auto;
  }

.news-item {
  gap: 2vw;
}

  .news-item summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ====================
LONGEVITY HERO BANNER sp
======================*/
@media (max-width: 900px) {
  .longevity-content img {
    object-fit: cover;
    height: 300px;
  }
}

/* ====================
COMPANY sp
======================*/
@media (max-width: 900px) {
  .campany_container {
    flex-direction: column;
  }
}

/* ====================
CONTACT sp
======================*/
@media (max-width: 900px) {
  .form-row {
    display: block;
  }

  .form-row input,
  .form-row textarea {
    width: 100%;
  }
}