

body {
  --home-primary: #1d4a74;
  --home-primary-dark: #143752;

  --home-primary-medium: #32688f;
  --home-primary-light: #eaf3f8;
  --home-primary-pale: #f5f9fc;

  --home-accent: #2675a7;
  --home-accent-dark: #155179;
  --home-accent-light: #e8f5fc;

  --home-text: #1c2a33;
  --home-text-light: #333;
  --home-border: #d7e2e9;
  --home-white: #ffffff;
  --home-shadow: 0 18px 45px rgba(29, 74, 116, 0.1);
  --home-border-dark: #a1b0b9;
  
  /* 本文 */
  --font-size-body: clamp(18px, 1vw + 14px, 20px);

  /* 本文もう少し小さい */
  --font-size-body-small: clamp(16px, 1.25vw + 12px, 20px);

  /* 補足・小さい文字 */
  --font-size-small: clamp(15px, 0.5vw + 13px, 17px);

  /* ボタン・ナビゲーション */
  --font-size-ui: clamp(17px, 0.5vw + 15px, 19px);

  /* 小見出し */
  --font-size-subtitle: clamp(22px, 2vw, 28px);

  /* セクション見出し */
  --font-size-section-title: clamp(30px, 3vw, 44px);

  /* ページタイトル */
  --font-size-page-title: clamp(40px, 5vw, 60px);

  /* ヒーロータイトル */
  --font-size-hero: clamp(42px, 6.5vw, 90px);

  /* フッターロゴ */
  --font-size-footerlogo: clamp(22px, 2vw, 28px);

  /* 小さい～大きい */
  --font-size-message: clamp(16px, 1.25vw + 12px, 26px);

  /* 補助的な小さい文字 Co., Ltd.など*/
  --font-size-suffix: clamp(10px, 0.8vw, 12px);

  color: var(--home-text);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--home-white);
}




*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-size: var(--font-size-body);
  line-height: 1.8;
}


a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*
li{
  color: var(--home-text-light);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
}
*/
.container {
  width: min(calc(100% - 56px), 1180px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-heading {
  margin-bottom: 58px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: var(--home-accent-dark);
  font-size: var(--font-size-ui);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-label::before {
  width: 15px;
  height: 3px;
  background-color: var(--home-accent);
  border-radius: 3px;
  content: "";
}

.section-heading h2,
.contact-heading h2 {
  margin-bottom: 0;
  color: var(--home-primary);
  font-size: var(--font-size-section-title);
  font-weight: 700;
  letter-spacing: 0.03em;
}


/* ==================================================
   ヘッダー
================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 92px;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(29, 74, 116, 0.12);
  box-shadow: 0 8px 28px rgba(29, 74, 116, 0.07);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-rounded-image {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}



.logo-text {
  color: var(--home-primary-dark);
  font-size: var(--font-size-footerlogo);
  font-weight: 700;
  line-height: 1.4;
}

.logo-text small {
  display: block;
  margin-top: 2px;
  color: #536a79;
  font-size: var(--font-size-suffix);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 11px 15px;
  color: var(--home-text);
  font-size: var(--font-size-ui);
  font-weight: 700;
  white-space: nowrap;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.global-nav a::before,
.global-nav a::after {
  display: none;
  content: none;
}

.global-nav a:hover {
  color: var(--home-primary);
  background-color: var(--home-primary-light);
  transform: translateY(-2px);
}

.global-nav li:last-child a {
  color: var(--home-white);
  background-color: var(--home-accent);
  box-shadow: 0 8px 18px rgba(93 119 141 / 24%);
}

.global-nav li:last-child a:hover {
  color: var(--home-white);
  background-color: var(--home-accent-dark);
}

/* ==================================================
   トップページ専用デザイン
   index.html の body.home-page 内だけに適用
================================================== */
/* ==================================================
   ヒーロー
================================================== */

.home-page .hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 92px);
  overflow: hidden;
  background:
    linear-gradient(
      110deg,
      var(--home-white) 0%,
      var(--home-white) 59%,
      var(--home-primary-light) 59%,
      var(--home-primary-light) 100%
    );
  isolation: isolate;
}

.home-page .hero::before {
  position: absolute;
  top: 50%;
  right: 6%;
  z-index: -2;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  background:
    radial-gradient(
      circle at 35% 30%,
      #3f759d 0%,
      var(--home-primary) 48%,
      var(--home-primary-dark) 100%
    );
  border-radius: 50%;
  box-shadow: 0 34px 70px rgba(29, 74, 116, 0.22);
  content: "";
  transform: translateY(-50%);
}

.home-page .hero::after {
  position: absolute;
  top: 18%;
  right: 7%;
  z-index: -1;
  width: 130px;
  height: 130px;
  background-color: var(--home-accent);
  border-radius: 50%;
  content: "";
    will-change: transform;
  animation: hero-circle-float 8s linear infinite;
}

.home-page .hero-inner {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 92px);
  padding-top: 90px;
  padding-bottom: 100px;
}



.home-page .hero-label {
  margin-bottom: 24px;
  color: var(--home-accent-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.home-page .hero h1 {
  max-width: 770px;
  margin-bottom: 30px;
  color: var(--home-primary);
  font-size: var(--font-size-hero);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.home-page .hero-description {
  max-width: 720px;
  margin-bottom: 42px;
  color: var(--home-text);
  font-size: var(--font-size-small);
  font-weight: 500;
  line-height: 2;
}

.home-page .hero-decoration {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}
/*
.home-page .hero-decoration-left {
  bottom: 10%;
  left: 48%;
  width: 54px;
  height: 54px;
  background-color: rgba(69 146 238 / 45%);
  border: 0;
}
*/
.home-page .hero-decoration-right {
  top: 16%;
  right: 34%;
  width: 88px;
  height: 88px;
  background-color: transparent;
  border: 14px solid rgba(29, 74, 116, 0.15);
}

.home-page .hero-scroll {
  position: absolute;
  right: 28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--home-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.home-page .hero-scroll::after {
  width: 2px;
  height: 54px;
  background-color: var(--home-accent);
  content: "";
}
.home-page .hero-label,
.home-page .hero h1,
.home-page .hero-description,
.home-page .hero .button {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-fade-up 0.65s ease-out forwards;
}

/* 順番に表示 */

.home-page .hero-label {
  animation-delay: 0.15s;
}

.home-page .hero h1 {
  animation-delay: 0.25s;
}

.home-page .hero-description {
  animation-delay: 0.4s;
}

.home-page .hero .button {
  animation-delay: 0.55s;
}

/* アニメーション本体 */

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   ボタン
================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content:center;
  min-height: 64px;
  padding:   14px
    clamp(12px, 4vw, 20px)
    14px
    clamp(16px, 5vw, 28px);
  color: var(--home-white);
  font-size: var(--font-size-ui);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(29, 74, 116, 0.2);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.button span {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 18px;
  /*background-color: rgba(255, 255, 255, 0.18);*/
  border-radius: 9px;
  transition: transform 0.25s ease;
}

.button:hover {
  box-shadow: 0 18px 38px rgba(29, 74, 116, 0.27);
  transform: translateY(-4px);
}

.button:hover span {
  transform: translateX(3px);
}

.button-primary {
  background-color: var(--home-accent);
}

.button-primary:hover {
  background-color: var(--home-accent-dark);
}

.button-contact {
  background-color: var(--home-accent);
}

.button-contact:hover {
  background-color: var(--home-accent-dark);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(238, 125, 69, 0.55);
  outline-offset: 4px;
}


/* ==================================================
   会社紹介
================================================== */

.home-page .about {
  overflow: hidden;
  background-color: var(--home-white);
}

.home-page .about::before {
  position: absolute;
  top: 85px;
  left: -120px;
  width: 290px;
  height: 290px;
  background-color: var(--home-primary-light);
  border-radius: 40px;
  content: "";
  transform: rotate(20deg);
}

.home-page .about .container {
  position: relative;
}

.home-page .about-content {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 110px;
  align-items: start;
  margin-bottom: 88px;
}

.home-page .about-message {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 320px;
  padding: 0;
  background-color: var(--home-primary-light);
  border-radius: 8px 28px 8px 28px;
  box-shadow:
    20px 20px 0 var(--home-primary-light);
}

.home-page .about-message::after{
  position:absolute;
  inset:0;
  background-color: rgba(29,74,116,0.2);
  content: "";
}

/* 画像 */

.home-page .about-message-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: right;
  border-radius: inherit;
}


.home-page .about-text h3{
  position: relative;
  margin-bottom: 0;
  color: var(--home-primary);
  font-size: var(--font-size-subtitle);
  font-weight: 700;
  line-height: 1.75;
}

.home-page .about-text p {
  margin-bottom: 23px;
  color: var(--home-text-light);
  font-size: 17px;
}

.home-page .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 2px;
  color: var(--home-primary);
  font-size: var(--font-size-ui);
  font-weight: 700;
  border: 0;
  border-bottom: 2px solid var(--home-accent);
  text-decoration: none;
  transition:
    color 0.25s ease,
    gap 0.25s ease;
}

.home-page .text-link:hover {
  gap: 17px;
  color: var(--home-accent-dark);
}

.home-page .about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  border: 0;
}

.home-page .about-point {
  padding: 28px 32px;
  background-color: var(--home-accent);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow: var(--home-shadow);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.home-page .about-point:not(:last-child) {
  border-right: 1px solid var(--home-border);
}



.home-page .about-point:hover {
  border-color: rgba(69, 128, 238, 0.6);
  box-shadow: 0 24px 50px rgba(29, 74, 116, 0.15);
  transform: translateY(-7px);
}


.home-page .point-number {

  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--home-white);
  font-size: var(--font-size-section-title);
  font-weight: 900;
  background-color: var(--home-accent);
  border-radius: 10px;
  padding:10px 15px 0 10px;
  line-height: 1;
}

.home-page .about-point h3 {
  margin-bottom: 14px;
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
  line-height: 1.5;
}

.home-page .about-point p {
  margin-bottom: 0;
  color: var(--home-white);
  font-size: var(--font-size-body);
}



/* ==================================================
   サービス
================================================== */

.home-page .services {
  position: relative;
  overflow: hidden;
  background-color: var(--home-primary-pale);
}
/* ========================================
   サービス背景画像
======================================== */

.home-page .services-image {
  position: absolute;
  top: 0px;
  right: 0px;

  width: 45%;
  height:60%;

  overflow: hidden;

  /* 元の斜めデザインを維持 */
  clip-path: polygon(
    24% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}


/* 画像 */

.home-page .services-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: right 80%;
}


/* コンテンツを画像より前面にする */

.home-page .services .container {
  position: relative;
  z-index: 2;
}

.home-page .services .container {
  position: relative;
}

.home-page .section-heading-light {
  max-width: 720px;
}

.home-page .section-heading-light .section-label {
  color: var(--home-accent-dark);
}

.home-page .section-heading-light h2 {
  color: var(--home-primary);
}

.home-page .section-heading-light .section-introduction {
  margin-top: 20px;
  color: var(--home-text-light);
  font-size: var(--font-size-small);
}

.home-page .service-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.home-page .service-card {
  min-height: 470px;
  padding: 40px 22px;
  background-color: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow: var(--home-shadow);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.home-page .service-card:hover {
  box-shadow: 0 26px 54px rgba(29, 74, 116, 0.17);
  transform: translateY(-8px);
}

.home-page .service-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 27px;
  background-color: var(--home-accent-light);
  border-radius: 14px;
}

.home-page .service-number {
  margin-bottom: 9px;
  color: var(--home-accent-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.home-page .service-card h3 {
  margin-bottom: 18px;
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
  line-height: 1.5;
}

.home-page .service-card > p:not(.service-number) {
  margin-bottom: 24px;
  color: var(--home-text-light);
  font-size: var(--font-size-body);
}

.home-page .service-card ul {
  list-style: none;
}

.home-page .service-card li {
  position: relative;
  padding: 11px 0 11px 20px;
  color: var(--home-text);
  font-size: var(--font-size-small);
  font-weight: 400;
  border-top: 1px solid var(--home-border);
  line-height: 1.3;
}

.home-page .service-card li:last-child {
  border-bottom: 1px solid var(--home-border);
}

.home-page .service-card li::before {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 7px;
  height: 7px;
  background-color: var(--home-accent);
  border-radius: 2px;
  content: "";
}

.home-page .service-more {
  display: flex;
  justify-content: flex-start;
  margin-top: 38px;
}

/* ==================================================
   サービス用CSSアイコン
================================================== */

.icon-factory,
.icon-web,
.icon-dx {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  color: var(--home-primary);
}

/* 製造業向け業務システム */
.icon-factory{
  fill:var(--home-accent-dark);
  height:40px;
  width:40px;
}
/* Webシステム開発 */
.icon-ai {
  fill:var(--home-accent-dark);
  height:40px;
  width:40px;
}
/* Webシステム開発 */
.icon-web {
  fill:var(--home-accent-dark);
  height:40px;
  width:40px;
}

/* DX支援 */
.icon-dx{
  fill:var(--home-accent-dark);
  height:40px;
  width:40px;
}


/* ==================================================
   お知らせ
================================================== */

.home-page .news {
  overflow: hidden;
  background-color: var(--home-white);
}

.home-page .news::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 100%;
  background-color: var(--home-primary);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  content: "";
}

.home-page .news .container {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 85px;
}

.home-page .news-header {
  display: block;
  margin: 0;
  padding-top: 10px;
}

.home-page .news-header .section-heading {
  margin-bottom: 34px;
}

.home-page .news-header .section-label {
  color: #9ed8f5;
}

.home-page .news-header .section-heading h2 {
  color: var(--home-white);
}

.home-page .news-header .text-link {
  color: var(--home-white);
  border-bottom-color: var(--home-accent);
}

.home-page .news-list {
  overflow: hidden;
  background-color: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow: var(--home-shadow);
}

.home-page .news-item {
  border-bottom: 1px solid var(--home-border);
}

.home-page .news-item:last-child {
  border-bottom: 0;
}

.home-page .news-item > a {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 42px;
  gap: 24px;
  align-items: center;
  min-height: 126px;
  padding: 26px 30px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.home-page .news-item > a:hover {
  background-color: var(--home-primary-pale);
  transform: translateX(5px);
}

.home-page .news-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.home-page .news-meta time {
  color: var(--home-primary);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-page .news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 30px;
  padding: 4px 13px;
  color: var(--home-accent-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  background-color: var(--home-accent-light);
  border-radius: 8px;
}

.home-page .news-item h3 {
  margin: 0;
  color: var(--home-text);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: 1.7;
}

.home-page .news-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--home-white);
  font-size: var(--font-size-small);
  background-color: var(--home-primary);
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.home-page .news-item > a:hover .news-arrow {
  transform: translateX(3px);
}

.home-page .news-more {
  display: none;
}


/* ==================================================
   お問い合わせ
================================================== */

.home-page .contact {
  overflow: hidden;
  background:
    linear-gradient(
      108deg,
      var(--home-primary-pale) 0%,
      var(--home-primary-pale) 58%,
      var(--home-accent-light) 58%,
      var(--home-accent-light) 100%
    );
}

.home-page .contact::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border: 44px solid rgba(69, 148, 238, 0.13);
  border-radius: 50%;
  content: "";
}

.home-page .contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 95px;
  align-items: center;
}

.home-page .contact-heading {
  padding: 46px 42px;
  background-color: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow: 16px 16px 0 rgba(29, 74, 116, 0.1);
}

.home-page .contact-content {
  min-width: 0;
  padding: 0;
  border-left: 0;
}

.home-page .contact-content > p:first-child {
  margin-bottom: 30px;
  color: var(--home-text);
  font-size: var(--font-size-body);

}

.home-page .contact-content .button {
  max-width: 100%;
}

.home-page .contact-note {
  margin-top: 15px;
  color: var(--home-text-light);
  font-size: var(--font-size-small);
}


/* ==================================================
   フッター
================================================== */

.footer {
  padding-top: 78px;
  color: var(--home-primary-light);
  background-color: var(--home-primary-dark);
  border-top: 5px solid var(--home-primary);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 68px;
}

.footer-logo {
  margin-bottom: 28px;
}

.footer-logo .logo-mark {
  color: var(--home-white);
  background-color: var(--home-primary);
}

.footer-logo .logo-text {
  color: var(--home-primary-light);
}

.footer-logo .logo-text small {
  color: #bacdda;
}

.footer address {
  color: var(--home-primary-light);
  font-size: var(--font-size-small);
  font-style: normal;
}

.footer-navigation {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
}

.footer-navigation ul,
.footer-navigation li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-heading {
  margin-bottom: 19px;
  color: var(--home-border-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-navigation li {
  margin-bottom: 11px;
}

.footer-navigation a {
  display: inline-block;
  padding: 2px 0;
  color: var(--home-primary-light);
  font-size: var(--font-size-small);
  font-weight: 500;
  border: 0;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-navigation a::before,
.footer-navigation a::after {
  display: none;
  content: none;
}

.footer-navigation a:hover {
  color: var(--home-accent-dark);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-top: 1px solid rgba(29, 74, 116, 0.18);
}

.footer-bottom p {
  margin-bottom: 0;
  color: #91adbd;
  font-size: var(--font-size-suffix);
  font-weight: 600;
}

.footer-rounded-image {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-top {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--home-primary-pale);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.page-top span {
  color: var(--home-accent-dark);
  font-size: 17px;
}


/* ==================================================
   スクロールアニメーション
================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==================================================
   タブレット
================================================== */

@media (max-width: 1000px) {
  .home-page .section {
    padding: 96px 0;
  }

  .home-page .global-nav a {
    padding: 9px 10px;
  }

  .home-page .hero::before {
    right: -130px;
    opacity: 0.5;
  }

  .home-page .hero::after,
  .home-page .hero-inner::after {
    opacity: 0.45;
  }

  .home-page .about-content {
    gap: 60px;
  }

  .home-page .about-points {
    grid-template-columns: 1fr;
  }

  .home-page .about-point:nth-child(2),
  .home-page .about-point:nth-child(2):hover {
    transform: none;
  }

  .home-page .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .home-page .service-card:nth-child(2),
  .home-page .service-card:nth-child(3),
  .home-page .service-card:nth-child(2):hover,
  .home-page .service-card:nth-child(3):hover {
    transform: none;
  }

  .home-page .service-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .home-page .service-more {
    margin-top: 50px;
  }

  .home-page .news::before {
    width: 33%;
  }

  .home-page .news .container {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
  }

  .home-page .news-item > a {
    grid-template-columns: 150px minmax(0, 1fr) 38px;
  }

  .home-page .contact-inner {
    gap: 55px;
  }
}


/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 700px) {
  /*
  body {
    font-size: 16px;
  }

  p,
  li,
  address {
    font-size: 16px;
  }
*/
  .container {
    width: min(calc(100% - 32px), 1180px);
  }

  .section {
    padding: 74px 0;
  }

  .header {
    height: auto;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 13px;
    padding-bottom: 11px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 14px;
  }

  .global-nav {
    width: 100%;
    overflow-x: auto;
  }

  .global-nav ul {
    justify-content: flex-start;
    gap: 3px;
    min-width: max-content;
  }

  .global-nav a {
    padding: 7px 9px;
  }

  .global-nav li:last-child a {
    color: var(--home-text);
    background-color: transparent;
    box-shadow: none;
  }

  .home-page .hero {
    min-height: 690px;
    background:
      linear-gradient(
        160deg,
        var(--home-white) 0%,
        var(--home-white) 70%,
        var(--home-primary-light) 70%
      );
  }

  .home-page .hero::before {
    top: auto;
    right: -105px;
    bottom: -160px;
    width: 350px;
    opacity: 0.95;
  }

  .home-page .hero::after {
    top: auto;
    right: 18px;
    bottom: 75px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
  }

  .home-page .hero-inner {
    min-height: 690px;
    padding-top: 68px;
    padding-bottom: 120px;
  }

  .home-page .hero-inner::after {
    display: none;
  }

  .home-page .hero-description br {
    display: none;
  }

  .home-page .hero-scroll {
    display: none;
  }

  .home-page .section-heading {
    margin-bottom: 42px;
  }


  .home-page .button {
    width: 100%;
    min-width: 0;
    padding-left: 20px;
  }

  .home-page .about-content {
    grid-template-columns: 1fr;
    gap: 54px;
    margin-bottom: 62px;
  }

  .home-page .about-message {
    padding: 36px 28px;
    box-shadow: 11px 11px 0 var(--home-primary-light);
  }

  .home-page .about-points {
    gap: 18px;
  }

  .home-page .about-point {
    padding: 32px 24px;
  }

  .home-page .services::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 22%;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  }

  .home-page .service-list {
    grid-template-columns: 1fr;
  }

  .home-page .service-card:nth-child(3) {
    grid-column: auto;
  }

  .home-page .service-card {
    min-height: auto;
    padding: 34px 25px;
  }

  .home-page .service-more {
    justify-content: center;
  }

  .home-page .news::before {
    width: 100%;
    height: 290px;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  }

  .home-page .news .container {
    display: block;
  }

  .home-page .news-header {
    min-height: 230px;
  }

  .home-page .news-header .news-list-link {
    display: none;
  }

  .home-page .news-list {
    position: relative;
  }

  .home-page .news-item > a {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 14px;
    min-height: auto;
    padding: 24px 20px;
  }

  .home-page .news-meta {
    grid-column: 1 / -1;
    align-items: center;
    flex-direction: row;
  }


  .home-page .news-more {
    display: flex;
    justify-content: center;
    margin-top: 34px;
  }

  .home-page .contact {
    background:
      linear-gradient(
        170deg,
        var(--home-primary-pale) 0%,
        var(--home-primary-pale) 63%,
        var(--home-accent-light) 63%
      );
  }

  .home-page .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-page .contact-heading {
    padding: 34px 26px;
    box-shadow: 10px 10px 0 rgba(29, 74, 116, 0.1);
  }

  .footer {
    padding-top: 60px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }

  .footer-navigation {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 18px;
    padding: 24px 0;
  }
}


/* ==================================================
   小さいスマートフォン
================================================== */

@media (max-width: 380px) {
  .hero h1 {
    font-size: 36px;
  }

  .button {
    font-size: 14px;
  }

  .global-nav a {
    font-size: 11px;
  }
}


/* ==================================================
   動きを減らす設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* 小さい青い丸 */
.home-page .hero-decoration-left {
  bottom: 18%;
  left: 52%;
  width: 54px;
  height: 54px;
  background-color: var(--home-accent);
  border-radius: 50%;

  will-change: transform;
  animation: hero-circle-float 5s linear infinite;
}

.home-page .hero-decoration-right {
  top: 16%;
  right: 34%;
  width: 88px;
  height: 88px;
  background-color: transparent;
  border: 14px solid rgba(29, 74, 116, 0.15);

  will-change: transform;
  animation: hero-circle-float 5s linear infinite;
}
/* ゆっくり上下に動かす */
/* ゆっくり上下に動かす */
@keyframes hero-circle-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}



@keyframes hero-circle-m-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }
}

/* ========================================
   ヒーロー 衛星アニメーション
======================================== */

/* 大きな円と同じ中心位置に配置 */
.home-page .hero-orbit {
  position: absolute;
  top: 50%;
  right: 5%;

  width: min(43vw, 570px);
  aspect-ratio: 1;

  border-radius: 50%;

  pointer-events: none;

  transform: translateY(-50%);

  animation: hero-orbit-rotate 18s linear infinite;
}

/* 衛星になる小さな円 */
.home-page .hero-orbit-dot {
  position: absolute;

  top: 50%;
  left: -12px;

  width: 30px;
  height: 30px;

  background-color: var(--home-accent);

  border: 5px solid var(--home-white);
  border-radius: 50%;

  box-shadow:
    0 5px 16px rgba(29, 74, 116, 0.22);

  transform: translateY(-50%);
}

/* 一周する */
@keyframes hero-orbit-rotate {
  from {
    transform:
      translateY(-50%)
      rotate(0deg);
  }

  to {
    transform:
      translateY(-50%)
      rotate(360deg);
  }
}


/* ==============================
   30周年バッジ
============================== */

.home-page .hero-anniversary {
  position: absolute;
  top: 46%;
  right: 5%;
  z-index: 3;
  /*flex-direction: column;*/
  align-items: flex-start;
  /*gap: 2px;*/
  /*display: flex;*/



  padding: 12px 14px;

  color: var(--home-primary);
  background-color: rgb(97 127 170 / 54%);

  border: 1px solid rgb(78 103 126 / 18%);
  border-radius: 12px;

  box-shadow: 0 10px 28px rgba(29, 74, 116, 0.14);
}

.home-page .hero-anniversary-number {
  color: #f7e344;
  font-size: 78px;
  font-weight: 800;
  line-height: 1;
}

.home-page .hero-anniversary-text {
  max-width: none;

  color:#e7cf16;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
}
@media (max-width: 700px) {
  .home-page .hero-anniversary {
    top: auto;
    right: 20px;
    bottom: 10px;

    padding: 10px 13px;
  }

  .home-page .hero-anniversary-number {
    font-size: 32px;
  }

  .home-page .hero-anniversary-text {
    font-size: 9px;
  }
}
/* ==================================================
   オープニング
================================================== */

.home-page .opening {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  background-color: var(--home-primary);

  opacity: 1;
  visibility: visible;

  transition:
    opacity 1.9s ease,
    visibility 0.7s ease;
}


/* 非表示 */

.home-page .opening.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* 中央コンテンツ */

.home-page .opening-inner {
  padding: 30px;

  text-align: center;
}


/* 英字 */

.home-page .opening-company {
  margin-bottom: 22px;

  color: var(--home-accent);
  font-size: 14px;
  font-weight: 700;

  letter-spacing: 0.2em;
}


/* メッセージ */

.home-page .opening-message {
  margin: 0;

  color: var(--home-white);
  font-size: clamp(25px, 3.5vw, 42px);
  font-weight: 700;

  line-height: 1.7;
  letter-spacing: 0.04em;
}


/* 30周年を強調 */

.home-page .opening-message span {
  display: inline-block;

  margin: 0 6px;

  color: var(--home-accent);
  font-size: 1.25em;
}


/* 最初に文字をふわっと表示 */

.home-page .opening-inner {
  animation: opening-text 0.8s ease forwards;
}

@keyframes opening-text {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   各ページ共通   
================================================== */
/* ==================================================
   ヒーロー   
================================================== */

.subpage-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(
      346deg, 
      #c4d5f5 10% 0%, 
      #ffffff 52%, var(--home-primary-light) 72%, 
      var(--home-primary-light) 100%
    )
}

.subpage-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 430px;
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
}

.subpage-hero-label {
  margin-bottom: 12px;
  color: var(--home-primary-dark);
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: 0.2em;
}

.subpage-hero h1 {
  margin: 0 0 22px;
  color: var(--home-primary);
  font-size: var(--font-size-hero);
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.subpage-hero h1::first-letter {
  font-size: 1.3em;
}

.subpage-hero-description {
  margin: 0;
  color: var(--home-text-light);
  font-size:  var(--font-size-small);
  font-weight: 500;

}

.page-hero-label::first-letter {
  font-size: 1.2em;
}


/* ==================================================
   会社紹介ページ
================================================== */

body.company-page {
  background-color: var(--home-white);
}

/* ==================================================
   右側の画像
================================================== */

.subpage-hero-image {
  position: absolute;

  top: 0;
  right: 0;
  bottom: 0;

  width: 46%;

  overflow: hidden;

  /* 左側を斜めにする */
  clip-path: polygon(
    16% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}


.subpage-hero-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}
.subpage-hero-image::after {
  position: absolute;
  inset: 0;

  background-color: rgba(29, 74, 116, 0.2);

  content: "";
}


/* ==================================================
   代表メッセージ
================================================== */

.company-page .company-message {
  background-color: var(--home-white);
}

.company-page .company-message-layout {
  display: grid;
  grid-template-columns:
    minmax(510px, .8fr)
    minmax(0, 1.2fr);
  gap: 50px;
  align-items: start;
}


.company-page .company-message-title {
  position: relative;
  padding: 48px 42px;
  color: var(--home-white);
  background-color: var(--home-primary);
  border-radius: 14px;
  box-shadow:
    18px 18px 0 var(--home-primary-light);
}


.company-page .company-message-catch {
  margin: 0;
  color: var(--home-white);
  font-size: var(--font-size-message);
  font-weight: 500;
  line-height: 1.75;
}

.company-page .company-message-content p {
  margin: 0 0 24px;
  color: var(--home-text-light);
  font-size: var(--font-size-body-small);
  font-weight: 500;
  line-height: 2;
}

.company-page .company-message-signature {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--home-border);
}

.company-page .company-message-signature span {
  color: var(--home-text-light);
  font-size: var(--font-size-small);
}

.company-page .company-message-signature strong {
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
  letter-spacing: .1em;
}


/* ==================================================
   会社概要
================================================== */

.company-page .company-profile {
  background-color: var(--home-primary-pale);
}

.company-page .company-profile-box {
  overflow: hidden;
  background-color: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow:
    0 18px 44px rgba(29,74,116,.08);
}

.company-page .company-profile-list {
  margin: 0;
}

.company-page .company-profile-row {
  display: grid;
  grid-template-columns: 230px minmax(0,1fr);
  border-bottom: 1px solid var(--home-border);
}

.company-page .company-profile-row:last-child {
  border-bottom: 0;
}

.company-page .company-profile-row dt,
.company-page .company-profile-row dd {
  margin: 0;
  padding: 24px 30px;
}

.company-page .company-profile-row dt {
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
  background-color: var(--home-primary-light);
}

.company-page .company-profile-row dd {
  color: var(--home-text);
  font-size: var(--font-size-body);
  font-weight: 500;
}

.company-page .company-profile-business li {
  position: relative;
  padding-left: 18px;
}

.company-page .company-profile-business li + li {
  margin-top: 5px;
}

.company-page .company-profile-business li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--home-accent);
  border-radius: 50%;
  content: "";
}


/* ==================================================
   沿革
================================================== */

.company-page .company-history {
  background-color: var(--home-white);
}

.company-page .company-timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

/* 縦線 */
.company-page .company-timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 119px;
  width: 2px;
  background-color: var(--home-primary-light);
  content: "";
}

.company-page .company-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns:
    95px
    48px
    minmax(0,1fr);
  gap: 0 2px;
  padding-bottom: 52px;
}

.company-page .company-timeline-item:last-child {
  padding-bottom: 0;
}

.company-page .company-timeline-marker {
  grid-column: 2;
  position: relative;
  display: flex;
  justify-content: center;
}

.company-page .company-timeline-marker span {
  position: relative;
  z-index: 2;
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  background-color: var(--home-primary);
  border: 5px solid var(--home-primary-light);
  border-radius: 50%;
  box-sizing: content-box;
}


.company-page .company-timeline-date {
  grid-column: 1;
  grid-row: 1;
  padding-top: 1px;
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
  letter-spacing: .04em;
}

.company-page .company-timeline-content {
  grid-column: 3;
  grid-row: 1;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--home-border);
}

.company-page .company-timeline-item:last-child
.company-timeline-content {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-page .company-timeline-content h3 {
  margin: 0 0 8px;
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
}

.company-page .company-timeline-content p {
  margin: 0;
  color: var(--home-text-light);
  font-size: var(--font-size-small);
  font-weight: 500;
}


/* ==================================================
   アクセス
================================================== */

.company-page .company-access {
  background-color: var(--home-primary-pale);
}

.company-page .company-access-layout {
  display: grid;
  grid-template-columns:
    minmax(0,1.15fr)
    minmax(320px,.85fr);
  gap: 70px;
  align-items: stretch;
}

/* マップ */
.company-page .company-map {
  min-height: 430px;
  overflow: hidden;
  background-color: var(--home-primary-light);
  border: 1px solid var(--home-border);
  border-radius: 14px;
}

.company-page .company-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

/* アクセス情報 */

.company-page .company-access-info {
  padding: 42px 38px;
  background-color: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow:
    0 16px 38px rgba(29,74,116,.08);
}


.company-page .company-access-name {
  margin: 0 0 18px;
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
}


.company-page .company-access-info address {
  margin-bottom: 30px;
  color: var(--home-text-light);
  font-size: var(--font-size-small);
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
}

.company-page .company-access-list {
  margin: 0;
}

.company-page .company-access-list div {
  padding: 20px 0;
  border-top: 1px solid var(--home-border);
}

.company-page .company-access-list div:last-child {
  border-bottom: 1px solid var(--home-border);
}

.company-page .company-access-list dt {
  margin-bottom: 6px;
  color: var(--home-primary);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.company-page .company-access-list dd {
  margin: 0;
  color: var(--home-text);
  font-size: var(--font-size-small);
  font-weight: 500;
}


/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 1200px) {

  .company-page .container {
    width: min(calc(100% - 32px),1180px);
  }


  .company-page .section {
    padding: 72px 0;
  }

  /* ページタイトル */
  .company-page .company-hero {
    min-height: 360px;
    background:
      linear-gradient(
        155deg,
        #ffffff 0%,
        #ffffff 72%,
        var(--home-primary-light) 72%
      );
  }


  /* 代表メッセージ */
  .company-page .company-message-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .company-page .company-message-title {
    padding: 35px 28px;
    width:100%;
    max-width: 320px;
    box-shadow:
      10px 10px 0 var(--home-primary-light);

  }

  .company-page .company-message-signature {
    align-items: flex-end;
    flex-direction: column;
    gap: 3px;
  }


  /* 会社概要 */
  .company-page .company-profile-row {
    display: block;
  }

  .company-page .company-profile-row dt {
    padding: 16px 20px 7px;
  }

  .company-page .company-profile-row dd {
    padding: 10px 20px 20px;
  }


  /* 沿革 */
  .company-page .company-timeline::before {
    left: 14px;
  }

  .company-page .company-timeline-item {
    display: grid;
    grid-template-columns: 30px minmax(0,1fr);
    gap: 0 16px;
    padding-bottom: 40px;
  }

  .company-page .company-timeline-marker {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-content: flex-start;
  }

  .company-page .company-timeline-marker span {
    width: 14px;
    height: 14px;
    margin-left: 2px;
  }

  .company-page .company-timeline-date {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 12px;
  }

  .company-page .company-timeline-content {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 30px;
  }

  /* アクセス */

  .company-page .company-access-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-page .company-map,
  .company-page .company-map iframe {
    min-height: 310px;
  }

  .company-page .company-access-info {
    padding: 30px 24px;
  }

  .subpage-hero-image {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 42%;
    clip-path: polygon(
      0 24%,
      100% 0,
      100% 100%,
      0 100%
    );
  }

}

/* ==================================================
   サービスページ
================================================== */

body.service-page {
  --service-primary: #1d4a74;
  --service-primary-primary: #e9f4fd;
  --service-primary-contact: #bbd5e7;
  --service-primary-light: #f5f9fc;
  --service-primary-pale: #f7fafc;

  color: var(--home-text);
}

/* ==============================
   サービス概要
============================== */

.service-page .service-overview {
  background-color: var(--home-white);
}


.service-page .service-overview .container {
  display: grid;
  grid-template-columns:
    minmax(300px, .9fr)
    minmax(0, 1.1fr);
  gap: 90px;
  align-items: start;
}

.service-page .service-overview .section-heading {
  margin-bottom: 0;
}

.service-page .service-overview-content {
  padding-top: 35px;
}

.service-page .service-overview-content p {
  margin: 0 0 22px;
  color: var(--home-text-light);
  font-size: clamp(17px, 4vw, 20px);
  font-weight: 500;
  line-height: 2;
}


/* ==============================
   サービス詳細
============================== */

.service-page .service-page-detail {
  position: relative;

  overflow: hidden;
}


.service-page .service-page-detail-primary {
  background-color: var(--service-primary-primary);
}


.service-page .service-page-detail-light {
  background-color: var(--service-primary-light);
}


.service-page .service-page-detail-pale {
  background-color: var(--service-primary-pale);
}



.service-page .service-page-detail-layout {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  align-items: start;
  gap:60px;
}

.service-page .service-page-detail-reverse {
  grid-template-columns:
    minmax(300px, .75fr)
    minmax(0, 1.25fr);
}
.service-page .service-page-detail-primary .service-page-detail-heading {
  order:1;
  width:31%;
}
.service-page .service-page-detail-pale .service-page-detail-heading {
  order:2;
  width:31%;
}
.service-page .service-page-detail-heading {
  position: sticky;

}

.service-page .service-page-number {
  margin-bottom: 24px;
  color: var(--home-accent-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: .17em;
}

.service-page .service-page-icon {
  margin-bottom: 32px 0;
  display: grid;
}
.service-page-icon svg{
  width: 240px;
  height: 240px;
}


.service-page .service-page-detail-heading h2 {
  margin: 0;
  color: var(--home-primary);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.5;
}


.service-page .service-page-detail-primary .service-page-detail-content {
  padding-top: 38px;
  order:2;
  width:63%;
}
.service-page .service-page-detail-pale .service-page-detail-content {
  padding-top: 38px;
  order:1;
  width:63%;
}

.service-page .service-page-lead {
  margin-bottom: 22px;
  color: var(--home-primary);
  font-size: var(--font-size-small);
  font-weight: 800;
  line-height: 1.8;
}

.service-page .service-page-lead-detail {
  margin-bottom: 22px;
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: 1.8;
}
/* ==============================
   対応例
============================== */

.service-page .service-page-example {
  margin-top: 52px;
}


.service-page .service-page-example > h3 {
  margin-bottom: 22px;
  color: var(--service-primary);
  font-size:  var(--font-size-body);
  font-weight: 700;
}


.service-page .service-page-example-list {
  display: grid;

  gap: 16px;
}


.service-page .service-page-example-item {
  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr);

  gap: 22px;

  padding: 26px 28px;

  background-color: var(--home-white);

  border: 1px solid var(--home-border);
  border-radius: 14px;

  box-shadow:
    0 12px 30px rgba(29, 74, 116, .07);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}


.service-page .service-page-example-item:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 40px rgba(29, 74, 116, .12);
}


.service-page .service-page-example-item > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--home-white);
  font-size: var(--font-size-body);
  font-weight:bolder;
  background-color: var(--home-accent);
  border-radius: 10px;
}


.service-page .service-page-example-item h4 {
  margin: 0 0 7px;
  color: var(--home-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
}


.service-page .service-page-example-item p {
  margin: 0;
  color: var(--home-text-light);
  font-size: var(--font-size-small);
  font-weight: 500;
  line-height: 1.9;
}

/* ==================================================
   サービス詳細 画像
================================================== */

.service-page .service-page-image {
  margin-top: 32px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 4.1;
  background-color: var(--service-primary-light);
  border-radius: 14px;
  box-shadow:
    0 14px 32px rgba(29, 74, 116, 0.10);
}

.service-page .service-page-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.service-page .service-page-image::after{
  inset:0;
  background-color: rgba(29, 74, 116, 0.2);
  content: "";
}

.service-page .service-page-image:hover img {
  transform: scale(1.03);
}

/* ==============================
   CTA
============================== */

.service-page .service-page-contact {
  padding: 90px 0;
  background:
    linear-gradient(
      110deg,
      var(--home-primary) 0%,
      var(--home-primary) 60%,
      var(--service-primary-contact) 60%
    );
}


.service-page .service-page-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.service-page .service-page-contact .section-label {
  color: #a9dcf7;
}

.service-page .service-page-contact h2 {
  margin: 0 0 18px;
  color: var(--home-white);
  font-size: var(--font-size-subtitle);
  font-weight: 700;
  line-height: 1.5;
}


.service-page .service-page-contact p {
  margin-bottom: 0;
  color: rgba(255,255,255,.9);
  font-size: var(--font-size-ui);
}


/* ==============================
   タブレット
============================== */

@media (max-width: 1000px) {

  .service-page .service-overview .container {
    grid-template-columns: 1fr;

    gap: 30px;
  }


  .service-page .service-overview-content {
    padding-top: 0;
  }


  .service-page .service-page-detail-layout,
  .service-page .service-page-detail-reverse {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .service-page .service-page-detail-heading {
    position: static;
  }


  .service-page .service-page-detail-content {
    padding-top: 0;
  }


  .service-page .service-page-contact-inner {
    align-items: flex-start;
    flex-direction: column;

    gap: 35px;
  }

  .service-page .service-page-detail-primary .service-page-detail-heading {
    order:1;
    width:100%;
  }
  .service-page .service-page-detail-primary .service-page-detail-content {
    padding-top: 38px;
    order:2;
    width:100%;
  }
  .service-page .service-page-detail-content {
    padding-top: 38px;
    order:1;
    align-self:flex-end;
    width:100%;
  }
  .service-page .service-page-detail-pale .service-page-detail-content {
    padding-top: 38px;
    order:2;
    width:100%;
  }
  .service-page .service-page-detail-pale .service-page-detail-heading {
    order:1;
    width:100%;
  }

  .service-page-icon svg{
    width: 102px;
    height: 102px;
  }

}


/* ==============================
   スマートフォン
============================== */

@media (max-width: 700px) {

  .service-page .service-page-decoration {
    display: none;
  }

  .service-page .service-page-example {
    margin-top: 40px;
  }


  .service-page .service-page-example-item {
    grid-template-columns:
      42px
      minmax(0, 1fr);
    gap: 14px;
    padding: 22px 18px;
  }


  .service-page .service-page-example-item > span {
    width: 38px;
    height: 38px;
  }

  .service-page .service-page-contact {
    padding: 68px 0;
    background: var(--home-primary);
  }


  .service-page .service-page-contact h2 br {
    display: none;
  }


  .service-page .service-page-contact .button {
    width: 100%;
  }

}

/* ==================================================
   お知らせページ
================================================== */



/* ==================================================
   お知らせ一覧
================================================== */

.news-page .news-list-section {
  background-color: var(--home-white);
}

.news-page .news-list {
  border-top: 1px solid var(--home-border);
}

.news-page .news-list-item {
  border-bottom: 1px solid var(--home-border);
}

.news-page .news-list-item > a {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 50px;
  gap: 30px;
  align-items: center;
  min-height: 125px;
  padding: 25px 18px;
  text-decoration: none;
  transition:
    background-color .3s ease,
    padding .3s ease;
}

.news-page .news-list-item > a:hover {
  padding-right: 10px;
  padding-left: 28px;
  background-color: var(--home-primary-pale);
}

.news-page .news-list-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-page .news-list-meta time,
.news-detail-page .news-detail-meta time {
  color: var(--home-text-light);
  font-size: var(--font-size-small);
  font-weight: 600;
  letter-spacing: .05em;
}

.news-page .news-category,
.news-detail-page .news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 4px 10px;
  color: var(--home-primary);
  background-color: var(--home-primary-light);
  border-radius: 6px;
  font-size: var(--font-size-small);
  font-weight: 700;
}

.news-page .news-list-item h3 {
  margin: 0;
  color: var(--home-text);
  font-size: var(--font-size-small);
  font-weight: 600;
  line-height: 1.7;
}

.news-page .news-list-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--home-white);
  background-color: var(--home-primary);
  border-radius: 50%;
  transition:
    background-color .3s ease,
    transform .3s ease;
}

.news-page .news-list-item > a:hover
.news-list-arrow {
  background-color: var(--home-accent-dark);
  transform: translateX(5px);
}


/* ==================================================
   お知らせ詳細
================================================== */

.news-detail-page .news-detail {
  background-color: var(--home-white);
}

.news-detail-page .news-detail-container {
  max-width: 900px;
}

.news-detail-page .news-detail-header {
  margin-bottom: 55px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--home-border);
}

.news-detail-page .news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.news-detail-page .news-detail-header h2 {
  margin: 0;
  color: var(--home-primary);
  font-size: var(--font-size-section-title);
  font-weight: 700;
  line-height: 1.5;
}

/* 記事本文 */
.news-detail-page .news-detail-content {
  max-width: 780px;
  margin-inline: auto;
}

.news-detail-page .news-detail-content p {
  margin: 0 0 28px;
  color: var(--home-text-light);
  font-size: var(--font-size-small);
  font-weight: 500;
  line-height: 2.1;
}

.news-detail-page .news-detail-content h3 {
  position: relative;
  margin: 65px 0 28px;
  padding-left: 22px;
  color: var(--home-primary);
  font-size: var(--font-size-subtitle);
  font-weight: 700;
  line-height: 1.6;
}


.news-detail-page .news-detail-content h3::before {
  position: absolute;
  top: .25em;
  bottom: .25em;
  left: 0;
  width: 5px;
  background-color: var(--home-accent);
  border-radius: 4px;
  content: "";
}


/* 一覧へ戻る */

.news-detail-page .news-detail-back {
  margin-top: 75px;
  padding-top: 35px;
  border-top: 1px solid var(--home-border);
  text-align: center;
}


.news-detail-page .news-detail-back a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  color: var(--home-primary);
  border: 1px solid var(--home-primary);
  border-radius: 8px;
  font-size: var(--font-size-small);
  font-weight: 700;
  text-decoration: none;
  transition:
    color .3s ease,
    background-color .3s ease;
}


.news-detail-page .news-detail-back a:hover {
  color: var(--home-white);
  background-color: var(--home-primary);
}


/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 700px) {
  /* 一覧 */

  .news-page .news-list-item > a {
    display: block;
    min-height: auto;
    padding: 25px 52px 25px 8px;
  }

  .news-page .news-list-item > a:hover {
    padding:
      25px
      52px
      25px
      8px;
  }

  .news-page .news-list-meta {
    margin-bottom: 11px;
  }

  .news-page .news-list-arrow {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
  }


  .news-page .news-list-item > a:hover
  .news-list-arrow {
    transform:
      translate(3px, -50%);
  }

  /* 詳細 */

  .news-detail-page .news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
  }

  .news-detail-page .news-detail-content p {
    line-height: 2;
  }


  .news-detail-page .news-detail-content h3 {
    margin-top: 50px;
  }

  .news-detail-page .news-detail-back {
    margin-top: 55px;
  }

}

/* ==================================================
   お問い合わせページ
================================================== */


/* ==============================
   フォーム
============================== */

.contact-page .contact-form-section {
  background-color:
    var(--home-primary-pale);
}


.contact-page .contact-form-container {
  max-width: 950px;
}

.contact-page .contact-note {
    font-size: var(--font-size-small);
}

.contact-page .contact-form-introduction {
  margin-bottom: 45px;
}

.contact-page .contact-form-introduction h2 {
  margin: 0 0 20px;
  color: var(--home-primary);
  font-size: clamp(30px, 4vw, 42px);
}


.contact-page .contact-required-note {
  margin-top: 20px;
  font-size: var(--font-size-small);
}


.contact-page .contact-required-note span,
.contact-page .required {
  display: inline-flex;
  margin-left: 7px;
  padding: 2px 8px;
  color: #fff;
  background-color: var(--home-primary);
  border-radius: 5px;
  font-size: var(--font-size-suffix);
}


.contact-page .optional {
  display: inline-flex;
  margin-left: 7px;
  padding: 2px 8px;
  color: var(--home-text-light);
  background-color: var(--home-accent-light);
  border-radius: 5px;
  font-size: var(--font-size-suffix);
}


.contact-page .contact-form {
  overflow: hidden;

  background-color: var(--home-white);

  border: 1px solid var(--home-border);
  border-radius: 14px;

  box-shadow:
    0 18px 45px rgba(29, 74, 116, .08);
}

.contact-page .contact-form-row {
  display: grid;
  grid-template-columns:
    240px
    minmax(0, 1fr);
  border-bottom:
    1px solid var(--home-border);
}

.contact-page .contact-form-row > label {
  padding: 28px 26px;
  color: var(--home-primary);
  background-color:
    var(--contact-primary-light);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.contact-page .contact-form-row > div {
  padding: 24px 28px;
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page input[type="tel"],
.contact-page select,
.contact-page textarea {
  display: block;
  width: 100%;
  padding: 13px 15px;
  color: var(--contact-text);
  background-color: var(--home-white);
  border: 1px solid #b8c7d1;
  border-radius: 8px;
  font: inherit;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.contact-page textarea {
  min-height: 210px;
  resize: vertical;
}

.contact-page input:focus,
.contact-page select:focus,
.contact-page textarea:focus {
  border-color: var(--home-accent);
  outline: none;
  box-shadow:
    0 0 0 3px rgba(77, 163, 217, .18);
}

.contact-page .form-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: var(--font-size-suffix);
  font-weight: 600;
}

.contact-page .contact-privacy {
  padding: 30px 28px;
  text-align: center;
}

.contact-page .contact-privacy label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size:var(--font-size-small);
}

.contact-page .contact-privacy input {
  width: 19px;
  height: 19px;
}


.contact-page .contact-privacy a {
  color: var(--contact-primary);
  text-decoration: underline;
  font-size:var(--font-size-small);
}


.contact-page .contact-form-button {
  padding: 0 28px 38px;
  text-align: center;
}

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* ==============================
   確認
============================== */

.contact-page .contact-confirm-section {
  background-color:
    var(--contact-primary-pale);
}


.contact-page .contact-confirm-introduction {
  margin-bottom: 35px;
  text-align: center;
}


.contact-page .contact-confirm-list {
  overflow: hidden;
  margin: 0;
  background-color: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: 14px;
}


.contact-page .contact-confirm-list > div {
  display: grid;
  grid-template-columns:
    230px
    minmax(0, 1fr);
  border-bottom:
    1px solid var(--home-border);
}

.contact-page .contact-confirm-list > div:last-child {
  border-bottom: 0;
}

.contact-page .contact-confirm-list dt {
  padding: 24px 28px;
  color: var(--home-primary);
  background-color:
    var(--home-primary-light);
  font-weight: 700;
}

.contact-page .contact-confirm-list dd {
  margin: 0;
  padding: 24px 28px;
  color: var(--home-text);
}

.contact-page .contact-confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 45px;
}

.contact-page .button-secondary {
  color: var(--home-primary);
  background-color: var(--home-white);
  border: 1px solid
    var(--home-primary);
}

.contact-page .contact-send-error {
  margin-bottom: 30px;
  padding: 16px 20px;
  color: #9f1c16;
  background-color: #fff1f0;
  border: 1px solid #e6b8b5;
  border-radius: 8px;
  font-size: var(--font-size-suffix);
  font-weight: 600;
}

/* ==============================
   完了
============================== */

.contact-page .contact-complete-section {
  background-color:
    var(--home-primary-pale);
}

.contact-page .contact-complete-box {
  max-width: 760px;
  margin-inline: auto;
  padding: 70px 50px;
  text-align: center;
  background-color: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow:
    0 18px 45px rgba(29, 74, 116, .08);
}


.contact-page .contact-complete-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin:
    0
    auto
    30px;
  color: var(--home-white);
  background-color:
    var(--home-accent);
  border-radius: 50%;
  font-size: var(--font-size-subtitle);
}

.contact-page .contact-complete-box h2 {
  margin-bottom: 20px;
  color: var(--home-primary);
  font-size: var(--font-size-ui);
}

.contact-page .contact-complete-box p {
  margin-bottom: 35px;
  color: var(--home-text-light);
  font-size: var(--font-size-ui);
}

/* ==================================================
   各種方針ページ 共通
   privacy.html
   information-security.html
   quality-policy.html
================================================== */

body.policy-page {
  --policy-primary: #1d4a74;
  --policy-primary-dark: #143752;
  --policy-primary-medium: #32688f;
  --policy-primary-light: #eaf3f8;
  --policy-primary-pale: #f5f9fc;

  --policy-accent: #4da3d9;
  --policy-accent-dark: #2f82b8;

  --policy-text: #172936;
  --policy-text-light: #364b59;
  --policy-border: #d7e2e9;
  --policy-white: #ffffff;

  color: var(--policy-text);

  font-size: 17px;
  line-height: 1.9;

  background-color: var(--policy-white);
}


/* ==============================
   ページタイトル
============================== */

.policy-page .policy-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(
      110deg,
      var(--home-white) 0%,
      var(--home-white) 64%,
      var(--home-primary-light) 64%
    );
}


.policy-page .policy-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 390px;
}

.policy-page .policy-hero-content {
  position: relative;
  z-index: 2;
}

.policy-page .policy-hero-label {
  margin: 0 0 10px;
  color: var(--policy-accent-dark);
  font-size: var(--font-size-ui);
  font-weight: 700;
  letter-spacing: .18em;
}


.policy-page .policy-hero h1 {
  margin: 0 0 20px;
  color: var(--policy-primary);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.35;
}



/* ==============================
   本文
============================== */

.policy-page .policy-main {
  background-color:
    var(--policy-primary-pale);
}

.policy-page .policy-container {
  max-width: 980px;
}

.policy-page .policy-introduction {
  margin-bottom: 55px;
  padding: 40px 45px;
  background-color:
    var(--policy-white);
  border: 1px solid
    var(--policy-border);
  border-radius: 14px;
  box-shadow:
    0 16px 40px
    rgba(29, 74, 116, .07);
}

.policy-page .policy-introduction p {
  margin: 0;
  color: var(--policy-text-light);
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: 2;
}


.policy-page .policy-introduction p + p {
  margin-top: 18px;
}


/* ==============================
   方針各項目
============================== */

.policy-page .policy-content {
  overflow: hidden;
  background-color:
    var(--policy-white);
  border: 1px solid
    var(--policy-border);
  border-radius: 14px;
  box-shadow:
    0 16px 40px
    rgba(29, 74, 116, .07);
}


.policy-page .policy-section {
  display: grid;
  grid-template-columns:
    90px
    minmax(0, 1fr);
  border-bottom:
    1px solid var(--policy-border);
}


.policy-page .policy-section:last-child {
  border-bottom: 0;
}


/* 番号 */

.policy-page .policy-section-number {
  display: flex;
  justify-content: center;
  padding-top: 37px;
  color: var(--policy-accent-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: .08em;
  background-color:
    var(--policy-primary-light);
}


/* 内容 */

.policy-page .policy-section-body {
  padding: 34px 40px 38px;
}


.policy-page .policy-section-body h2 {
  position: relative;
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--policy-primary);
  font-size: var(--font-size-body);
  font-weight: 700;
  line-height: 1.6;
}

.policy-page .policy-section-body h2::before {
  position: absolute;
  top: .3em;
  bottom: .3em;
  left: 0;
  width: 4px;
  background-color:
    var(--policy-accent);
  border-radius: 4px;
  content: "";
}

.policy-page .policy-section-body p {
  margin: 0;
  color: var(--policy-text-light);
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: 2;
}

.policy-page .policy-section-body p + p {
  margin-top: 16px;
}


/* ==============================
   リスト
============================== */

.policy-page .policy-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.policy-page .policy-list li {
  position: relative;
  padding-left: 20px;
  color: var(--policy-text-light);
  font-size: var(--font-size-small);
  font-weight: 500;
  line-height: 1.9;
}

.policy-page .policy-list li + li {
  margin-top: 7px;
}

.policy-page .policy-list li::before {
  position: absolute;
  top: .85em;
  left: 2px;
  width: 7px;
  height: 7px;
  background-color:
    var(--policy-accent);
  border-radius: 50%;
  content: "";
}


/* ==============================
   問い合わせ先
============================== */

.policy-page .policy-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 22px;
  padding: 26px 28px;
  background-color: var(--policy-primary-pale);
  border-left: 4px solid var(--policy-primary);
  border-radius: 0 8px 8px 0;
}

.policy-page .policy-contact-info {
  flex: 1;
}

.policy-page .policy-contact-info p {
  margin: 0;
  color: var(--policy-text-light);
  font-size: var(--font-size-small);
  line-height: 1.3;
}

.policy-page .policy-contact-info p + p {
  margin-top: 5px;
}

.policy-page .policy-contact-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 250px;
  margin-top: 0;
  padding: 13px 18px 13px 22px;
  color: var(--policy-white);
  background-color: var(--policy-primary);
  border-radius: 8px;
  font-size: var(--font-size-small);
  font-weight: 700;
  text-decoration: none;
}


/* ==============================
   制定日
============================== */

.policy-page .policy-date {
  margin-top: 35px;
  text-align: right;
}


.policy-page .policy-date p {
  margin: 0;
  color: var(--policy-text-light);
  font-size: var(--font-size-small);
  font-weight: 500;
}


.policy-page .policy-date p + p {
  margin-top: 4px;
}

/* ==============================
   方針ページ お問い合わせボタン
============================== */

.policy-page .policy-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content:center;
  min-width: 250px;
  margin-top: 22px;
  padding: 13px 18px 13px 22px;
  color: var(--policy-white);
  background-color: var(--policy-primary);
  border-radius: 8px;
  font-size: var(--font-size-ui);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

.policy-page .policy-contact-button span {
  font-size: var(--font-size-body);
  transition: transform .3s ease;
}

.policy-page .policy-contact-button:hover {
  color: var(--policy-white);
  background-color: var(--policy-accent-dark);
  box-shadow:
    0 8px 20px rgba(29, 74, 116, .18);
  transform: translateY(-2px);
}

.policy-page .policy-contact-button:hover span {
  transform: translateX(4px);
}

.policy-page .policy-contact-button:focus-visible {
  outline: 3px solid
    rgba(77, 163, 217, .4);
  outline-offset: 3px;
}
/* ==================================================
   タブレット
================================================== */

@media (max-width: 1000px) {

  .policy-page .policy-hero-decoration {
    right: -30px;
    opacity: .7;
  }

}


/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 700px) {

  .policy-page .policy-hero {
    min-height: 330px;
  }


  .policy-page .policy-hero-inner {
    min-height: 330px;
  }


  .policy-page .policy-hero h1 {
    max-width: 300px;
  }


  .policy-page .policy-hero-description {
    max-width: 270px;
  }


  .policy-page .policy-hero-decoration {
    top: auto;
    right: -105px;
    bottom: -110px;
    width: 220px;
    height: 220px;
    transform: none;
  }


  .policy-page .policy-introduction {
    margin-bottom: 35px;
    padding: 28px 22px;
  }


  .policy-page .policy-section {
    display: block;
  }

  .policy-page .policy-section-number {
    display: block;
    padding: 14px 20px 4px;
    background-color:
      var(--policy-primary-light);
  }

  .policy-page .policy-section-body {
    padding: 15px 20px 28px;
    background-color:
      var(--policy-white);
  }

  .policy-page .policy-date {
    text-align: left;
  }

  .policy-page .policy-contact {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    padding: 22px 20px;
  }

  .policy-page .policy-contact-button {
    width: 100%;
    min-width: 0;
  }
}


/* ==============================
   スマートフォン
============================== */

@media (max-width: 700px) {

  .contact-page .contact-hero,
  .contact-page .contact-hero-inner {
    min-height: 330px;
  }


  .contact-page .contact-hero-small,
  .contact-page .contact-hero-small
  .contact-hero-inner {
    min-height: 250px;
  }

  .contact-page .contact-hero::after {
    right: -110px;
    bottom: -110px;
    top: auto;
    width: 220px;
    height: 220px;
    transform: none;
  }


  .contact-page .contact-form-row {
    display: block;
  }


  .contact-page .contact-form-row > label {
    display: block;

    padding: 18px 20px 8px;
  }


  .contact-page .contact-form-row > div {
    padding: 10px 20px 22px;
  }


  .contact-page .contact-confirm-list > div {
    display: block;
  }


  .contact-page .contact-confirm-list dt {
    padding: 16px 20px 7px;
  }


  .contact-page .contact-confirm-list dd {
    padding: 10px 20px 20px;
  }


  .contact-page .contact-confirm-buttons {
    flex-direction: column-reverse;
  }


  .contact-page .contact-confirm-buttons form,
  .contact-page .contact-confirm-buttons .button {
    width: 100%;
  }


  .contact-page .contact-complete-box {
    padding: 50px 24px;
  }

}



/* ==================================================
   ハンバーガーメニュー
================================================== */

/* PCでは非表示 */
.menu-toggle {
  display: none;
}

/* ==================================================
   タブレット・スマートフォン
================================================== */

@media (max-width: 1000px) {

.header {
    height: 76px;
  }

  .header-inner {
    position: relative;
    height: 100%;
  }


  /* ハンバーガーボタン */

  .menu-toggle {
    position: relative;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    background-color: var(--home-primary);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--home-white);
    border-radius: 2px;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }


  /* メニュー */

  .global-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    z-index: 100;
    padding: 24px 28px 32px;
    background-color: var(--home-white);
    border-top: 1px solid var(--home-border);
    box-shadow:
      0 14px 30px rgba(29, 74, 116, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .global-nav ul {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    width: min(100%, 1180px);
    margin-inline: auto;
  }

  .global-nav li {
    width: 100%;
  }

  .global-nav a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 12px 14px;
    color: var(--home-text);
    font-weight: 700;
    border-bottom: 1px solid var(--home-border);
    text-decoration: none;
  }

  .global-nav a:hover {
    color: var(--home-primary);
    background-color: var(--home-primary-pale);
  }

  /* メニューを開いた状態 */

 .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }


  /* ハンバーガー → × */

.menu-toggle.is-open span:nth-child(1) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

.menu-toggle.is-open span:nth-child(3) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

}


/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 700px) {

.header {
    height: 70px;
  }

.header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding-top: 0;
    padding-bottom: 0;
  }

.logo-mark {
    width: 38px;
    height: 38px;
  }

.menu-toggle {
    width: 44px;
    height: 44px;
  }

.global-nav {
    top: 70px;

    padding:
      18px
      16px
      26px;
  }

.global-nav a {
    min-height: 52px;
  }

}