/*
Theme Name: R Theme
Author: 総合建設アール
Version: 1.0
*/
:root {
  --color-primary: #003f8f;
  --color-primary-dark: #002b6f;
  --color-accent: #21b7d7;
  --color-bg-blue: #eef6fc;
  --color-text: #111;
  --color-muted: #546171;
  --shadow-card: 0 0 22px rgba(28, 135, 204, 0.2);
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Zen Kaku Gothic New", "M PLUS Rounded 1c", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500;
  line-height: 1.7;
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  background: #fff;
  box-shadow: none;
}

.site-header__inner {
  width: min(100% - 72px, 1740px);
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
}

.site-header__brand,
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header__mark,
.site-footer__mark {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 74px;
  line-height: 0.8;
  font-weight: 700;
  background: linear-gradient(160deg, #29b9c9 15%, #1d2c57 85%);
  -webkit-background-clip: text;
  color: transparent;
}

.site-header__brand .site-header__mark.logo__mark {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS Mincho", "Times New Roman", serif !important;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

.site-header__text,
.site-footer__text {
  display: grid;
  gap: 0;
}

.site-header__brand .site-header__text {
  display: none !important;
}

.site-header__license,
.site-footer__license {
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}

.site-header__name,
.site-footer__name {
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 900;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.3vw, 38px);
  min-height: 54px;
  padding: 0 48px;
  border-radius: 999px;
  background: var(--color-primary);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 63, 143, 0.14);
}

.site-header__menu-toggle {
  display: none;
}

.site-header__link {
  color: #fff;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.site-header__link:hover {
  color: #d8ecff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./images/topf.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  transform-origin: center bottom;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1760px);
  min-height: 670px;
  margin: 0 auto;
  padding: 140px 0 150px;
}

.hero__lead {
  margin: 0 0 4px;
  color: var(--color-primary);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(38px, 4.2vw, 78px);
  line-height: 1.25;
  font-weight: 700;
  animation: hero-fade-up 0.8s ease-out 0.55s both;
}

.hero__title {
  margin: 0;
  color: var(--color-primary);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(38px, 4.6vw, 82px);
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 700;
  animation: hero-fade-up 0.8s ease-out 0.82s both;
}

.hero__copy {
  margin: 22px 0 46px;
  color: #04145f;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  font-size: clamp(24px, 2.2vw, 44px);
  line-height: 1.35;
  font-weight: 500;
  animation: hero-fade-up 0.8s ease-out 1.1s both;
}

.hero__badges,
.hero__gallery {
  display: none;
}

.hero__copy-break {
  display: inline;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero__actions {
  animation: hero-fade-up 0.8s ease-out 1.38s both;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  color: #fff;
  transform: translateX(-50%);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  animation: hero-fade-up 0.8s ease-out 1.7s both;
}

.hero__scroll-text {
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.hero__scroll::after {
  content: "";
  position: relative;
  width: 2px;
  height: 58px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.hero__scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 22px;
  background: #fff;
  transform: translate(-50%, -58px);
  animation: scroll-line 1.45s linear infinite;
}

.button {
  min-width: 280px;
  min-height: 84px;
  padding: 16px 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 18px;
  border-radius: 8px;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 63, 143, 0.2);
}

.button--phone {
  color: #fff;
  background: linear-gradient(180deg, #ffc622 0%, #ff6400 100%);
}

.button--mail {
  color: #001460;
  background: #fff;
  border: 4px solid #001460;
}

.button__small {
  font-size: 15px;
}

.button__main {
  font-size: 24px;
  letter-spacing: 0.04em;
}

.button__icon {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.button__icon--phone {
  background-image: url("./images/denwa.png");
}

.button__icon--mail {
  background-image: url("./images/ma1il.png");
}

.button__text {
  display: grid;
  justify-items: center;
}

.section {
  padding: 110px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.section--blue {
  background: var(--color-bg-blue);
}

.section__inner {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;
}

.section-title {
  margin-bottom: 62px;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.section-title__ja {
  margin: 0;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-title__en {
  margin: 2px 0 0;
  color: var(--color-primary);
  font-family: "M PLUS Rounded 1c", "Zen Kaku Gothic New", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 20px;
  letter-spacing: 0.18em;
}

.service__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.service__catch {
  display: none;
}

.service__item,
.flow__item {
  min-height: 280px;
  padding: 42px 24px 30px;
  display: grid;
  align-content: start;
  justify-items: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.service__item {
  min-height: 330px;
  padding: 52px 28px 36px;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.service__summary {
  position: relative;
  display: grid;
  justify-items: center;
  cursor: pointer;
  list-style: none;
}

.service__summary::-webkit-details-marker {
  display: none;
}

.service__summary::after {
  content: "";
  position: static;
  margin-top: 4px;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.service__item[open] .service__summary::after {
  transform: rotate(225deg);
}

.service__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(28, 135, 204, 0.28);
}

.service__item:hover .service__icon {
  transform: scale(1.08);
}

.service__icon {
  width: 122px;
  height: 122px;
  object-fit: contain;
  margin-bottom: 32px;
  transition: transform 0.24s ease;
}

.service__title,
.reason__title,
.flow__title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.35;
}

.service__title {
  font-size: 26px;
}

.service__text,
.reason__text,
.flow__text,
.company__lead,
.staff__lead,
.cta__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.service__text {
  font-size: 17px;
}

.reason__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100vw - 72px, 1360px);
  max-width: none;
  margin: 0 auto;
}

.reason__item {
  padding: 16px 30px;
  text-align: center;
  border-right: 2px solid #9dbfed;
  min-width: 0;
}

.reason__item:last-child {
  border-right: 0;
}

.reason__icon {
  width: 144px;
  height: 144px;
  margin: 0 auto 30px;
  object-fit: contain;
}

.reason__title {
  color: var(--color-primary);
  font-size: clamp(22px, 1.55vw, 28px);
  line-height: 1.4;
  white-space: nowrap;
}

.reason__text {
  color: var(--color-primary-dark);
  max-width: 260px;
  margin: 0 auto;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.9;
  word-break: normal;
  overflow-wrap: break-word;
}

.works__slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.works__item {
  flex: 0 0 clamp(300px, 30vw, 560px);
  margin: 0;
  overflow: hidden;
  border: 1px solid #b4c9ef;
}

.works__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: works-scroll 34s linear infinite;
}

.works__slider:hover .works__track {
  animation-play-state: paused;
}

.works__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.flow__list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  list-style: none;
}

.flow__inner {
  width: min(100% - 64px, 1420px);
}

.flow__item {
  position: relative;
  min-width: 0;
  min-height: 350px;
  height: 100%;
  padding: 56px 18px 38px;
  grid-template-rows: auto auto auto;
}

.flow.reveal .flow__item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.flow.reveal--visible .flow__item {
  opacity: 1;
  transform: translateY(0);
}

.flow.reveal--visible .flow__item:nth-child(1) {
  transition-delay: 0.05s;
}

.flow.reveal--visible .flow__item:nth-child(2) {
  transition-delay: 0.16s;
}

.flow.reveal--visible .flow__item:nth-child(3) {
  transition-delay: 0.27s;
}

.flow.reveal--visible .flow__item:nth-child(4) {
  transition-delay: 0.38s;
}

.flow.reveal--visible .flow__item:nth-child(5) {
  transition-delay: 0.49s;
}

.flow__number {
  position: absolute;
  top: -38px;
  left: -10px;
  width: 84px;
  height: 84px;
  object-fit: contain;
}

span.flow__number {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.page-top {
  display: none;
}

.flow__icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 32px;
  object-fit: contain;
  filter: grayscale(1);
}

.flow__item:nth-child(2) .flow__icon {
  width: 112px;
  height: 112px;
  margin-top: 8px;
  margin-bottom: 40px;
}

.flow__title {
  font-size: clamp(18px, 1.35vw, 22px);
  white-space: nowrap;
  max-width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__text {
  min-height: 96px;
  max-width: 220px;
  margin-inline: auto;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.85;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.company__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.company__lead {
  margin-bottom: 30px;
  font-size: 20px;
}

.company__table {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
}

.company__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid #dbe4ef;
}

.company__row:last-child {
  border-bottom: 0;
}

.company__term,
.company__desc {
  margin: 0;
  padding: 16px 20px;
  font-size: 16px;
}

.company__term {
  color: var(--color-primary);
  background: #f1f7ff;
}

.company__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.company-page-hero {
  padding: 86px 0 80px;
}

.company-page-hero__inner {
  width: min(100% - 48px, var(--content-width));
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: center;
  background-image: url("./images/companytop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.company-page-hero__title {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.2;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(255, 255, 255, 0.85);
}

.company-page-hero__en {
  margin: 0;
  color: var(--color-primary);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.85);
}

.company-message,
.company-info,
.company-access {
  padding: 0 0 98px;
}

.company-message__inner,
.company-info__inner,
.company-access__inner {
  width: min(100% - 48px, 1000px);
  margin: 0 auto;
}

.company-message__title,
.company-info__title,
.company-access__title {
  margin: 0 0 20px;
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.35;
}

.company-message__text {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.9;
}

.company-info__table {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 63, 143, 0.08);
}

.company-info__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #dbe4ef;
}

.company-info__row:last-child {
  border-bottom: 0;
}

.company-info__term,
.company-info__desc {
  margin: 0;
  padding: 18px 28px;
  font-size: 18px;
  line-height: 1.75;
}

.company-info__term {
  display: grid;
  align-items: center;
  color: var(--color-primary);
  background: #f1f7ff;
}

.company-info__list {
  margin: 0;
  padding-left: 1.2em;
}

.company-access__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 88px;
}

.company-access__photo,
.company-access__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #dbe4ef;
  background-color: #f4f8fc;
}

.company-access__photo--office {
  background-image: url("./images/gaikan.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.company-access__map {
  display: block;
  height: auto;
}

.staff__lead {
  text-align: center;
  font-size: 24px;
}

.staff-page-hero {
  padding: 86px 0 58px;
}

.staff-page-hero__inner {
  width: min(100% - 48px, var(--content-width));
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: center;
  background-image: url("./images/stafftop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.staff-page-hero__title {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.2;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(255, 255, 255, 0.85);
}

.staff-page-hero__en {
  margin: 0;
  color: var(--color-primary);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.85);
}

.staff-intro {
  padding: 0 0 96px;
}

.staff-intro__inner {
  width: min(100% - 48px, 900px);
  margin: 0 auto;
  text-align: center;
}

.staff-intro__text {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.8;
}

.staff-list {
  padding: 0 0 90px;
}

.staff-list__inner {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.staff-list__item {
  padding: 18px 18px 26px;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 63, 143, 0.08);
  text-align: center;
}

.staff-list__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0 auto 22px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  background: #fff;
}

.staff-list__role {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.staff-list__name {
  margin: 0;
  font-size: clamp(24px, 1.8vw, 30px);
  line-height: 1.35;
}

.cta {
  padding: 80px 0;
  background: #fff;
}

.cta__inner {
  position: relative;
  width: min(100% - 48px, var(--content-width));
  min-height: 300px;
  margin: 0 auto;
  padding: 58px 70px;
  display: grid;
  justify-content: end;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(0, 63, 143, 0.85), rgba(0, 63, 143, 0.85)), url("./images/topf.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  color: #fff;
  overflow: visible;
}

.cta__inner::before {
  content: "";
  position: absolute;
  left: 70px;
  bottom: 0;
  z-index: 1;
  width: min(30vw, 310px);
  height: 380px;
  background-image: url("./images/annai.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  pointer-events: none;
}

.cta__body {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta__title {
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 44px);
}

.cta__text {
  margin-bottom: 26px;
  font-size: 20px;
}

.site-footer {
  padding: 54px 0 34px;
  color: #fff;
  background: var(--color-primary);
}

.site-footer__inner {
  width: min(100% - 48px, 1760px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer__mark {
  background: linear-gradient(160deg, #41c5d0 15%, #142f65 85%);
  -webkit-background-clip: text;
  color: transparent;
}

.site-footer__copyright {
  margin: 0;
  font-size: 16px;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes scroll-line {
  0% {
    transform: translate(-50%, -58px);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
}

@keyframes works-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 12px));
  }
}

@keyframes mobile-button-float {
  0%,
  100% {
    transform: translateY(0);
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero__lead,
  .hero__title,
  .hero__copy,
  .hero__actions,
  .hero__scroll,
  .hero__scroll::after,
  .works__track {
    animation: none;
  }

  .reveal,
  .flow.reveal .flow__item,
  .service__item,
  .service__icon {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-hero {
  padding: 86px 0 46px;
  background: #fff;
}

.page-hero__inner {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;
}

.page-hero__visual {
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: center;
  background-image: url("./images/contacttop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #fff;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(255, 255, 255, 0.85);
}

.page-hero__en {
  margin: 4px 0 0;
  color: var(--color-primary);
  font-family: "M PLUS Rounded 1c", "Zen Kaku Gothic New", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.85);
}

.page-hero__lead {
  margin: 46px 0 0;
  text-align: center;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.8;
}

.contact-form {
  padding: 62px 0 110px;
}

.contact-form__inner {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.82fr 1.55fr;
  gap: 72px;
  align-items: start;
}

.contact-form__heading {
  margin: 0 0 28px;
  color: var(--color-primary);
  font-size: 26px;
  line-height: 1.4;
}

.contact-form__text {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.9;
}

.contact-form__body {
  display: grid;
  gap: 22px;
}

.contact-form__cf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form__cf7 .wpcf7 form > p {
  margin: 0;
}

.contact-form__field {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
}

.contact-form__label {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 17px;
  line-height: 1.5;
}

.contact-form__required {
  padding: 2px 8px;
  color: #fff;
  background: #f03232;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__cf7 .wpcf7 input[type="text"],
.contact-form__cf7 .wpcf7 input[type="email"],
.contact-form__cf7 .wpcf7 input[type="tel"],
.contact-form__cf7 .wpcf7 textarea {
  width: 100%;
  border: 2px solid #e3e3e3;
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input,
.contact-form__cf7 .wpcf7 input[type="text"],
.contact-form__cf7 .wpcf7 input[type="email"],
.contact-form__cf7 .wpcf7 input[type="tel"] {
  min-height: 62px;
  padding: 0 24px;
}

.contact-form__textarea,
.contact-form__cf7 .wpcf7 textarea {
  min-height: 176px;
  padding: 20px 24px;
  resize: vertical;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder,
.contact-form__cf7 .wpcf7 input::placeholder,
.contact-form__cf7 .wpcf7 textarea::placeholder {
  color: #b5b5b5;
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__cf7 .wpcf7 input:focus,
.contact-form__cf7 .wpcf7 textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 63, 143, 0.12);
}

.contact-form__field--privacy {
  align-items: center;
}

.contact-form__privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-size: 17px;
}

.contact-form__checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--color-primary);
}

.contact-form__submit,
.contact-form__cf7 .wpcf7 input[type="submit"] {
  width: min(100%, 650px);
  min-height: 76px;
  margin: 34px 0 0 234px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--color-primary);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 63, 143, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__submit:hover,
.contact-form__cf7 .wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 63, 143, 0.28);
}

.contact-note {
  padding: 0 0 110px;
}

.contact-note__inner {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;
  padding: 44px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  border: 2px solid #dce9f7;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 8px 20px rgba(0, 63, 143, 0.08);
}

.contact-note__icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.contact-note__title {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 24px;
}

.contact-note__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-note__item {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.9;
}

.contact-note__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 12px;
  height: 7px;
  border-left: 4px solid var(--color-primary);
  border-bottom: 4px solid var(--color-primary);
  transform: rotate(-45deg);
}

@media (max-width: 1280px) {
  .site-header__inner {
    width: min(100% - 48px, 1180px);
    min-height: 84px;
  }

  .site-header__nav {
    gap: clamp(16px, 1.9vw, 26px);
    min-height: 50px;
    padding: 0 34px;
    font-size: 14px;
  }

  .service__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .reason__list {
    width: min(100% - 48px, 900px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reason__item:nth-child(2) {
    border-right: 0;
  }

  .reason__item:nth-child(-n + 2) {
    border-bottom: 2px solid #9dbfed;
  }

  .flow__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .flow__inner {
    width: min(100% - 32px, 1180px);
  }
}

@media (max-width: 800px) {
  .site-header__inner,
  .hero__inner,
  .section__inner,
  .cta__inner,
  .site-footer__inner,
  .company-page-hero__inner,
  .company-message__inner,
  .company-info__inner,
  .company-access__inner,
  .staff-page-hero__inner,
  .staff-intro__inner,
  .staff-list__inner,
  .page-hero__inner,
  .contact-form__inner,
  .contact-note__inner {
    width: min(100% - 32px, var(--content-width));
  }

  .site-header__mark,
  .site-footer__mark {
    font-size: 56px;
  }

  .site-header__license,
  .site-footer__license {
    font-size: 13px;
  }

  .site-header__name,
  .site-footer__name {
    font-size: 30px;
  }

  .site-header__inner {
    min-height: 152px;
    padding: 24px 0;
    align-items: center;
    flex-direction: row;
  }

  .site-header__nav {
    width: auto;
    margin-left: auto;
    padding: 0;
    display: grid;
    gap: 5px;
    overflow: visible;
    color: var(--color-primary);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .site-header__nav::before {
    content: "";
    width: 48px;
    height: 34px;
    display: block;
    background:
      linear-gradient(var(--color-primary), var(--color-primary)) 0 0 / 48px 5px no-repeat,
      linear-gradient(var(--color-primary), var(--color-primary)) 0 14px / 48px 5px no-repeat,
      linear-gradient(var(--color-primary), var(--color-primary)) 0 28px / 48px 5px no-repeat;
  }

  .site-header__nav::after {
    content: "MENU";
    text-align: center;
  }

  .site-header__link {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-image: url("./images/s.png"), url("./images/topf-sp-placeholder.svg");
    inset: auto 0 0;
    height: calc(100% + 56px);
    background-position: center bottom;
    background-size: cover;
  }

  .hero__inner {
    min-height: 1080px;
    padding: 72px 0 220px;
  }

  .hero__scroll {
    bottom: 18px;
  }

  .hero__title,
  .hero__lead {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
  }

  .hero__lead {
    margin-bottom: 2px;
    font-size: clamp(42px, 10vw, 62px);
    line-height: 1.25;
  }

  .hero__title {
    font-size: clamp(37px, 8.8vw, 56px);
    line-height: 1.48;
  }

  .hero__copy {
    margin: 18px 0 24px;
    font-size: clamp(22px, 5.2vw, 31px);
    line-height: 1.45;
  }

  .hero__badges {
    width: min(100%, 500px);
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    animation: hero-fade-up 0.8s ease-out 1.24s both;
  }

  .hero__badge {
    aspect-ratio: 1 / 1.18;
    padding: 18px 8px 14px;
    display: grid;
    align-content: center;
    justify-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(0, 63, 143, 0.18);
    text-align: center;
  }

  .hero__badge-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-bottom: 8px;
  }

  .hero__badge-text {
    color: var(--color-primary);
    font-size: clamp(14px, 3.2vw, 18px);
    line-height: 1.45;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions {
    width: min(100%, 360px);
    gap: 14px;
  }

  .hero__gallery {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: min(100%, 620px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    transform: translateX(-50%);
  }

  .hero__gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(0, 63, 143, 0.2);
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .service__list,
  .reason__list,
  .flow__list,
  .company__inner,
  .company-access__inner {
    grid-template-columns: 1fr;
  }

  .reason__item {
    border-right: 0;
    border-bottom: 2px solid #9dbfed;
  }

  .reason__item:last-child {
    border-bottom: 0;
  }

  .company__row,
  .company-info__row {
    grid-template-columns: 1fr;
  }

  .company-page-hero {
    padding-top: 48px;
  }

  .company-page-hero__inner {
    min-height: 220px;
    background-size: cover;
    background-position: center;
  }

  .staff-page-hero {
    padding-top: 48px;
  }

  .staff-page-hero__inner {
    min-height: 220px;
    background-size: cover;
    background-position: center;
  }

  .staff-list__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .company-message__text {
    font-size: 18px;
  }

  .company-access__inner {
    gap: 46px;
  }

  .cta__inner {
    padding: 42px 22px 280px;
    justify-content: stretch;
  }

  .cta__inner::before {
    left: 50%;
    width: 230px;
    height: 280px;
    transform: translateX(-50%);
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding-top: 48px;
  }

  .page-hero__visual {
    min-height: 220px;
    background-size: cover;
    background-position: center;
  }

  .contact-form__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-form__field {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form__label {
    justify-content: flex-start;
  }

  .contact-form__submit,
  .contact-form__cf7 .wpcf7 input[type="submit"] {
    width: 100%;
    margin-left: 0;
  }

  .contact-note__inner {
    padding: 32px 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .site-header__nav {
    font-size: 14px;
  }

  .hero__inner {
    min-height: 980px;
    padding-top: 52px;
  }

  .hero__copy {
    margin-bottom: 22px;
  }

  .button__main {
    font-size: 20px;
  }

  .section {
    padding: 76px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .service__item,
  .flow__item {
    min-height: auto;
  }

  .staff-list__inner {
    width: min(100% - 24px, var(--content-width));
    gap: 12px;
  }

  .staff-list__item {
    padding: 10px 10px 18px;
  }

  .staff-list__role {
    font-size: 14px;
  }

  .staff-list__name {
    font-size: 20px;
  }
}

@media (max-width: 800px) {
  body {
    font-family: "M PLUS Rounded 1c", "Zen Kaku Gothic New", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
    font-weight: 700;
    line-height: 1.55;
  }

  body.nav-open {
    overflow: hidden;
  }

  .reveal,
  .flow.reveal .flow__item,
  .hero__lead,
  .hero__title,
  .hero__copy,
  .hero__actions {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.7s ease,
      transform 0.7s ease;
  }

  .reveal.reveal--visible {
    opacity: 1;
    transform: translateY(0);
  }

  .service.reveal .service__item,
  .reason.reveal .reason__item,
  .flow.reveal .flow__item,
  .works.reveal .works__slider,
  .cta.reveal .cta__title,
  .cta.reveal .cta__text,
  .cta.reveal .button {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.58s ease,
      transform 0.58s ease;
  }

  .service.reveal--visible .service__item,
  .reason.reveal--visible .reason__item,
  .flow.reveal--visible .flow__item,
  .works.reveal--visible .works__slider,
  .cta.reveal--visible .cta__title,
  .cta.reveal--visible .cta__text,
  .cta.reveal--visible .button {
    opacity: 1;
    transform: translateY(0);
  }

  .service.reveal--visible .service__item:nth-child(2),
  .reason.reveal--visible .reason__item:nth-child(2),
  .flow.reveal--visible .flow__item:nth-child(2),
  .cta.reveal--visible .cta__text {
    transition-delay: 0.08s;
  }

  .service.reveal--visible .service__item:nth-child(3),
  .reason.reveal--visible .reason__item:nth-child(3),
  .flow.reveal--visible .flow__item:nth-child(3),
  .cta.reveal--visible .button:nth-child(1) {
    transition-delay: 0.16s;
  }

  .service.reveal--visible .service__item:nth-child(4),
  .reason.reveal--visible .reason__item:nth-child(4),
  .flow.reveal--visible .flow__item:nth-child(4),
  .cta.reveal--visible .button:nth-child(2) {
    transition-delay: 0.24s;
  }

  .service.reveal--visible .service__item:nth-child(5),
  .flow.reveal--visible .flow__item:nth-child(5) {
    transition-delay: 0.32s;
  }

  .site-header {
    position: sticky;
    padding: 0;
    background: #fff;
    box-shadow: none;
  }

  .site-header__inner {
    width: min(100% - 24px, 380px);
    min-height: 62px;
    padding: 10px 0 9px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header__brand {
    display: flex;
    gap: 7px;
  }

  .site-header__mark {
    font-size: 46px;
    line-height: 0.8;
  }

  .site-header__license {
    font-size: 8px;
    line-height: 1.15;
    color: #111;
  }

  .site-header__name {
    font-size: 18px;
    line-height: 1.05;
    color: #111;
  }

  .site-header__menu-toggle {
    position: relative;
    z-index: 51;
    width: 44px;
    height: 38px;
    margin-left: auto;
    padding: 9px 10px;
    display: grid;
    align-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    background: linear-gradient(180deg, #0058b8 0%, var(--color-primary) 100%);
    box-shadow: 0 5px 14px rgba(0, 63, 143, 0.24);
    cursor: pointer;
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease;
  }

  .site-header__menu-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 63, 143, 0.28);
  }

  .site-header__menu-toggle:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 63, 143, 0.22);
  }

  .site-header__menu-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 25, 65, 0.18);
    transition:
      transform 0.22s ease,
      opacity 0.22s ease,
      width 0.22s ease;
  }

  .site-header__menu-bar:nth-child(2) {
    width: 16px;
    justify-self: end;
  }

  .nav-open .site-header__menu-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .nav-open .site-header__menu-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-open .site-header__menu-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    width: min(76vw, 280px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 72px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -12px 0 28px rgba(0, 30, 91, 0.16);
    font-size: 15px;
    letter-spacing: 0.08em;
    transform: translateX(105%);
    transition: transform 0.25s ease;
  }

  .nav-open .site-header__nav {
    transform: translateX(0);
  }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgba(0, 16, 46, 0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav-open .site-header::after {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header__nav::before,
  .site-header__nav::after,
  .hero__badges,
  .hero__gallery,
  .hero__scroll,
  .site-footer__brand {
    display: none;
  }

  .site-header__link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #d9e2ef;
    color: var(--color-primary);
    font-size: 15px;
    line-height: 1.35;
  }

  .hero {
    min-height: 640px;
    background: #0b65a8;
  }

  .hero::before {
    background-image: linear-gradient(90deg, rgba(0, 55, 132, 0.08), rgba(0, 80, 145, 0.02)), url("./images/s.png");
    inset: auto 0 0;
    height: calc(100% + 56px);
    background-position: center bottom;
    background-size: cover;
  }

  .hero__inner {
    width: min(100% - 32px, 360px);
    min-height: 640px;
    padding: 44px 0 32px;
  }

  .hero__lead,
  .hero__title,
  .hero__copy {
    font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.98),
      0 0 12px rgba(255, 255, 255, 0.92),
      0 0 24px rgba(255, 255, 255, 0.76),
      0 2px 8px rgba(255, 255, 255, 0.72);
  }

  .hero__lead,
  .hero__title {
    color: var(--color-primary);
  }

  .hero__lead {
    margin: 8px 0 4px;
    font-size: clamp(32px, 8.8vw, 42px);
    line-height: 1.28;
    letter-spacing: 0.06em;
    animation: hero-fade-up 0.62s ease-out 0.08s both;
  }

  .hero__title {
    font-size: clamp(25px, 6.7vw, 34px);
    line-height: 1.5;
    letter-spacing: 0.04em;
    word-break: keep-all;
    overflow-wrap: normal;
    animation: hero-fade-up 0.62s ease-out 0.22s both;
  }

  .hero__copy {
    color: #04145f;
    margin: 12px 0 0;
    font-size: clamp(17px, 4.8vw, 22px);
    line-height: 1.55;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    animation: hero-fade-up 0.62s ease-out 0.36s both;
  }

  .hero__copy-break {
    display: block;
  }

  .hero__actions {
    width: min(100%, 312px);
    margin: clamp(150px, 27vh, 220px) auto 0;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
    animation: hero-fade-up 0.62s ease-out 0.5s both;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 10px 18px;
    flex-direction: row;
    gap: 14px;
    border-radius: 8px;
    line-height: 1.25;
    box-shadow: 0 3px 8px rgba(0, 35, 93, 0.24);
  }

  .button--phone {
    background: linear-gradient(180deg, #ffc622 0%, #ff6400 100%);
  }

  .button--mail {
    color: #001460;
    background: #fff;
    border: 4px solid #001460;
  }

  .button__icon {
    position: relative;
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .button__icon--phone {
    background-image: url("./images/denwa.png");
  }

  .button__icon--mail {
    background-image: url("./images/ma1il.png");
  }

  .button__text {
    justify-items: center;
    flex: 1;
  }

  .button__small {
    font-size: 13px;
    line-height: 1.25;
  }

  .button__main {
    font-size: 21px;
    line-height: 1.08;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .button--mail .button__main {
    font-size: 21px;
    letter-spacing: 0.04em;
  }

  .hero__actions .button--phone {
    animation: mobile-button-float 3.4s ease-in-out 1.3s infinite;
  }

  .hero__actions .button--mail {
    animation: mobile-button-float 3.4s ease-in-out 1.55s infinite;
  }

  .cta__actions .button--mail .button__main {
    font-size: 21px;
  }

  .section {
    padding: 48px 0 54px;
  }

  .section__inner,
  .flow__inner {
    width: min(100% - 32px, 360px);
  }

  .section-title {
    margin-bottom: 22px;
  }

  .section-title__ja {
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: 0.04em;
  }

  .section-title__en {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.14em;
  }

  .service {
    padding-top: 16px;
    padding-bottom: 46px;
  }

  .service .section-title {
    margin-bottom: 20px;
  }

  .service__catch {
    display: block;
    margin: 0 0 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.05em;
  }

  .service__list {
    width: min(100%, 340px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 4px;
  }

  .service__item {
    min-height: 0;
    padding: 0;
    display: block;
    border-radius: 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
    text-align: left;
  }

  .service__item + .service__item {
    margin-top: 1px;
  }

  .service__item:first-child {
    border-radius: 4px 4px 0 0;
  }

  .service__item:last-child {
    border-radius: 0 0 4px 4px;
  }

  .service__item:hover {
    transform: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
  }

  .service__summary {
    position: relative;
    min-height: 76px;
    width: 100%;
    padding: 11px 20px;
    display: grid;
    grid-template-columns: 58px 1fr 18px;
    align-items: center;
    column-gap: 8px;
  }

  .service__summary::after {
    content: "";
    position: static;
    margin-top: 0;
    justify-self: center;
    width: 9px;
    height: 9px;
    border-right: 2px solid #1c2241;
    border-bottom: 2px solid #1c2241;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
  }

  .service__item[open] .service__summary::after {
    transform: rotate(225deg) translate(-2px, -1px);
  }

  .service__icon {
    width: 46px;
    height: 46px;
    margin: 0;
    object-fit: contain;
    justify-self: center;
    transform: none;
  }

  .service__title {
    margin: 0;
    justify-self: center;
    width: 164px;
    text-align: center;
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transform: none;
  }

  .service__text {
    padding: 0 20px 18px 84px;
    color: #1d2740;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
  }

  .reason {
    padding-top: 47px;
    padding-bottom: 37px;
    color: #fff;
    background: #001e5b;
  }

  .reason .section__inner {
    width: min(100% - 20px, 380px);
  }

  .reason .section-title {
    margin-bottom: 13px;
  }

  .reason .section-title__ja,
  .reason .section-title__en {
    color: #fff;
  }

  .reason__list {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .reason__item {
    min-height: 124px;
    padding: 18px 8px 18px 18px;
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: center;
    gap: 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.82);
    text-align: left;
  }

  .reason__item:nth-child(2) {
    border-right: 0;
  }

  .reason__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  }

  .reason__item:last-child {
    border-bottom: 0;
  }

  .reason__icon {
    width: 82px;
    height: 82px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    box-shadow: none;
  }

  .reason__title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
    line-height: 1.32;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .reason__text {
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.05em;
  }

  .flow {
    padding-top: 39px;
    padding-bottom: 55px;
    background: #fff;
  }

  .flow .section-title {
    margin-bottom: 21px;
  }

  .flow__list {
    width: min(100%, 352px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow__item {
    position: relative;
    min-height: 0;
    padding: 0 0 28px 58px;
    display: block;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left !important;
  }

  .flow__item::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 42px;
    bottom: -2px;
    width: 1px;
    background: #dce5f4;
  }

  .flow__item:last-child::before {
    display: none;
  }

  .flow__number {
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    font-size: 8px;
    line-height: 1;
    background: var(--color-primary);
  }

  .flow__icon {
    display: none;
  }

  .flow__title {
    min-height: 0;
    margin: 0 0 8px;
    display: block !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: 100%;
    text-align: left !important;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0.03em;
    white-space: normal;
  }

  .flow__text {
    min-height: 0;
    display: block;
    width: 100%;
    text-align: left !important;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: normal;
  }

  .cta {
    padding: 25px 0 0;
    background: #fff;
  }

  .cta__inner {
    width: 100%;
    min-height: 275px;
    padding: 21px 0 54px;
    display: block;
    background-image: linear-gradient(180deg, rgba(0, 70, 155, 0.88), rgba(0, 62, 138, 0.83)), url("./images/topf.png");
    background-position: center bottom;
    color: #fff;
  }

  .cta__inner::before {
    display: none;
  }

  .cta__body {
    width: min(100% - 32px, 330px);
    margin: 0 auto;
  }

  .cta__title {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }

  .cta__text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.75;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  .cta__actions {
    gap: 9px;
    flex-direction: column;
    align-items: stretch;
  }

  .page-top {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: block;
    width: 33px;
    height: 33px;
    border: 1px solid #fff;
    border-radius: 50%;
  }

  .page-top::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 12px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg);
  }

  .site-footer {
    margin-top: -36px;
    padding: 0 0 8px;
    color: #fff;
    background: transparent;
  }

  .site-footer__inner {
    width: 100%;
    min-height: 28px;
    justify-content: center;
    align-items: center;
  }

  .site-footer__copyright {
    color: #fff;
    font-size: 10px;
    line-height: 1;
    text-align: center;
  }

  .company-message__text,
  .staff-intro__text,
  .page-hero__lead,
  .contact-form__text {
    font-size: 17px;
    line-height: 1.8;
  }
}

@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero__lead,
  .hero__title,
  .hero__copy,
  .hero__actions,
  .hero__actions .button,
  .reveal,
  .service.reveal .service__item,
  .reason.reveal .reason__item,
  .flow.reveal .flow__item,
  .works.reveal .works__slider,
  .cta.reveal .cta__title,
  .cta.reveal .cta__text,
  .cta.reveal .button {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-header__brand .logo__mark,
.site-header__brand .site-header__mark.logo__mark {
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS Mincho", serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1 !important;
}

img.site-header__mark.logo__mark {
  width: auto;
  height: 0.82em;
  flex: 0 0 auto;
}

img.site-footer__mark.logo__mark {
  width: auto;
  height: 0.82em;
  flex: 0 0 auto;
}

