@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #251e1c;
  background-color: #fff;
  font-size: 1rem;
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 743px) {
  html {
    font-size: 3.7333333333vw;
  }
}
/* reset */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

strong {
  font-weight: 600;
}

em {
  font-style: normal;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 0;
  text-align: left;
  vertical-align: top;
}

/* =========================================
  Page Header（共通）
========================================= */
.page-header {
  position: relative;
  padding-block: 4.5rem;
  margin-bottom: 3rem;
}
.page-header::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}
.page-header::after {
  content: "";
  position: absolute;
  left: calc(50% - 50vw);
  bottom: 0;
  height: 2px;
  width: min(40vw, 26rem);
  background: #019201;
}

/* =========================================
  Header
========================================= */
.site-header {
  position: relative;
  background: #fff;
  padding: 1.5rem 0;
  z-index: 100;
}
.site-header .container {
  max-width: 1920px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ */
.site-title {
  margin: 0;
  position: relative;
  z-index: 120;
}
.site-title a {
  display: block;
  padding: 0;
  margin: 0;
}
.site-title img {
  height: 4rem;
  width: auto;
}

.global-nav {
  padding-top: 0.5rem;
  /* ==========================
     Contact ボタン
  ========================== */
}
.global-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.global-nav li {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  /* 縦線 */
  /* 最後は線なし */
}
.global-nav li::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.9rem;
  background: #ccc;
}
.global-nav li:last-child::after {
  display: none;
}
.global-nav .nav-contact a {
  padding: 0.3rem 2rem;
  border: 1px solid #2d201c;
  background: #fff;
  border-radius: 100rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.global-nav .nav-contact a:hover {
  background: #f5f5f5;
  opacity: 1;
}

/* ハンバーガー */
.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 120;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 0.357rem;
  width: 1.786rem;
  height: 2px;
  background: #2d201c;
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.menu-toggle span:nth-child(1) {
  top: 0.643rem;
}
.menu-toggle span:nth-child(2) {
  top: 1.143rem;
}
.menu-toggle span:nth-child(3) {
  top: 1.643rem;
}

/* ==========================
   SP
========================== */
@media (max-width: 743px) {
  .site-header {
    padding: 1rem 0;
  }
  .site-header .container {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
  .site-title img {
    height: 2.143rem;
  }
  .menu-toggle {
    display: block;
  }
  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 110;
  }
  .global-nav ul {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 5rem 2rem 2rem;
    list-style: none;
  }
  .global-nav li {
    font-size: 1.143rem;
    line-height: 1.5;
  }
  .global-nav li::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0px;
    height: 0.9rem;
    background: #ccc;
  }
  .global-nav a {
    color: #2d201c;
  }
  .site-header.is-open .global-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-header.is-open .menu-toggle span:nth-child(1) {
    top: 1.143rem;
    transform: rotate(45deg);
  }
  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.is-open .menu-toggle span:nth-child(3) {
    top: 1.143rem;
    transform: rotate(-45deg);
  }
}
.site-footer {
  padding: 3rem 0;
  background-color: rgb(122, 90, 168);
  color: #fff;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  opacity: 0.7;
}
.site-footer .footer-logo img {
  max-width: 20rem;
  height: auto;
}
.site-footer .footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer .footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-service {
  flex: 3;
}
.site-footer .footer-service > a {
  display: block;
  font-weight: 700;
  line-height: 1.6;
}
.site-footer .footer-service .footer-nav__sub {
  margin-top: 0.5rem;
}
.site-footer .footer-service .footer-nav__sub li {
  margin-top: 0.3rem;
}
.site-footer .footer-service .footer-nav__sub li a {
  display: block;
  line-height: 1.6;
  opacity: 0.8;
}
.site-footer .footer-service .footer-nav__sub li:hover {
  opacity: 0.7;
}
.site-footer .footer-menu {
  flex: 2;
}
.site-footer .footer-menu li + li {
  margin-top: 0.5rem;
}
.site-footer .footer-menu a {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
}
.site-footer .footer-copyright {
  margin-top: 2rem;
  text-align: right;
  font-size: 0.8rem;
  opacity: 0.7;
}

.go-top {
  position: fixed;
  right: 1.5rem;
  bottom: 6.875rem;
  width: 3.125rem;
  height: 3.125rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.625rem);
  transition: 0.3s;
  z-index: 1000;
  border-radius: 0.625rem;
}
.go-top::before {
  margin-top: 0.625rem;
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: rotate(-45deg);
}
.go-top:hover {
  background: #d6c400;
}
.go-top:hover::before {
  border-color: #fff;
}

@media (max-width: 743px) {
  .site-footer {
    padding: 2.857rem 0 0.714rem;
  }
  .site-footer .footer-logo img {
    width: 20rem;
    max-width: 100%;
  }
  .site-footer .footer-nav {
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.286rem;
  }
  .site-footer .footer-service,
  .site-footer .footer-menu {
    flex: none;
    width: 100%;
  }
  .site-footer .footer-service > a {
    font-size: 1.286rem;
    line-height: 1.6;
  }
  .site-footer .footer-service .footer-nav__sub {
    margin-top: 0.857rem;
  }
  .site-footer .footer-service .footer-nav__sub li {
    margin-top: 0.571rem;
  }
  .site-footer .footer-service .footer-nav__sub a {
    font-size: 1rem;
    line-height: 1.7;
  }
  .site-footer .footer-menu li + li {
    margin-top: 0.714rem;
  }
  .site-footer .footer-menu a {
    font-size: 1.071rem;
    line-height: 1.6;
  }
  .site-footer .footer-copyright {
    margin-top: 1.714rem;
    text-align: center;
    font-size: 0.714rem;
    line-height: 1.6;
  }
  .go-top {
    right: 1.786rem;
    bottom: 3.571rem;
    width: 3.571rem;
    height: 3.571rem;
    border-radius: 0.714rem;
  }
  .go-top::before {
    margin-top: 0.714rem;
    width: 1.286rem;
    height: 1.286rem;
  }
}
.sp-br {
  display: none;
}

@media (max-width: 743px) {
  .sp-br {
    display: block;
  }
}
/* =========================================
  Service Page
========================================= */
.page-service {
  color: #2d201c;
  line-height: 1.8;
}
.page-service img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.page-service .section-title {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}
.page-service .section-lead {
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 0.95rem;
}

@media (min-width: 744px) {
  .page-service .section-lead {
    font-size: clamp(16px, 16px + 4 * (100vw - 744px) / 856, 20px);
  }
}
.service-heading {
  text-align: center;
}
.service-heading__en {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.service-heading__en--yellow {
  color: #f1e33f;
}
.service-heading__en--purple {
  color: #7a5aa8;
}
.service-heading__ja {
  margin: 0.8rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

/* =========================================
  Hero
========================================= */
.service-hero {
  background-color: #f1e33f;
  background-image: url("../img/hero_arm.svg"), url("../img/hero_pc.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: left 3rem bottom 3rem, right 3rem top 3rem;
  background-size: 20% auto, 20% auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 3rem 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* SP用コピー */
  /* JSで1文字ずつspan化される文字 */
}
.service-hero > .container {
  width: 100%;
}
.service-hero__copy {
  display: none;
}
.service-hero__box {
  position: relative;
  margin: 0 auto;
  padding: 2rem;
  background: transparent;
  overflow: hidden;
  border-radius: 1.2rem;
}
.service-hero__box-bg {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}
.service-hero__line {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-color: #fff;
  border-style: solid;
}
.service-hero__line--top {
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-width: 2px 0 0 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.service-hero__line--right {
  top: 0;
  right: 0;
  width: 100%;
  height: 0;
  border-width: 0 2px 0 0;
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
}
.service-hero__line--bottom {
  right: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  border-width: 0 0 2px 0;
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}
.service-hero__line--left {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-width: 0 0 0 2px;
  border-bottom-left-radius: inherit;
  border-top-left-radius: inherit;
}
.service-hero__box > .row {
  position: relative;
  z-index: 3;
}
.service-hero__title {
  margin-bottom: 2rem;
  line-height: 1.5;
  font-size: 2rem;
  overflow: hidden;
}
.service-hero__title-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(1.2em);
}
.service-hero__text {
  font-size: 1rem;
  opacity: 0;
  transform: translateY(24px);
}
.service-hero__text p + p {
  margin-top: 1rem;
}
.service-hero__image {
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
}
.service-hero__image svg {
  max-width: 100%;
}

/* =========================================
  Hero PC
========================================= */
@media (min-width: 744px) {
  .service-hero {
    padding: 10vh 0;
  }
  .service-hero .container {
    width: 90vw;
    max-width: 1600px;
  }
  .service-hero__box {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: clamp(30px, 30px + 34 * (100vw - 744px) / 856, 64px);
    display: flex;
    align-items: center;
  }
  .service-hero__box > .row {
    width: 100%;
    align-items: center;
  }
  .service-hero__title {
    font-size: clamp(27px, 27px + 13 * (100vw - 744px) / 856, 40px);
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  .service-hero__text {
    font-size: clamp(16px, 14px + 4 * (100vw - 744px) / 856, 20px);
    line-height: 2;
  }
  .service-hero__text p + p {
    margin-top: 1.4em;
  }
  .service-hero__image {
    text-align: center;
  }
  .service-hero__image svg {
    margin-top: 3rem;
    width: 100%;
    max-width: 300px;
  }
}
/* =========================================
  Hero SP
========================================= */
@media (max-width: 743px) {
  .service-hero {
    padding: 2.5rem 0;
    align-items: center;
    background-image: none;
  }
  .service-hero__copy {
    display: block;
    margin-bottom: 3rem;
    padding: 1rem;
  }
  .service-hero__box {
    padding: 2rem;
  }
  .service-hero__title {
    font-size: 1.05rem;
    line-height: 1.8;
  }
  .service-hero__text {
    margin-bottom: 3rem;
    line-height: 2;
  }
  .service-hero__image {
    text-align: center;
  }
}
/* =========================================
  Hero SVG data animation
========================================= */
.service-hero #b path,
.service-hero #y path {
  opacity: 0.25;
  transform-box: fill-box;
  transform-origin: center;
}

/* =========================================
  Work Flow / Card Slider
========================================= */
.service-flow {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  background: #f8f8f2;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.service-flow > .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  --bs-gutter-x: 0;
}
.service-flow .section-title,
.service-flow .section-lead {
  width: calc(100% - 40px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.service-flow .section-title {
  margin-bottom: 0.6rem;
}
.service-flow .section-lead {
  margin-bottom: 2rem;
}
.service-flow__slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.service-flow__viewport {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.service-flow__viewport:active {
  cursor: grabbing;
}
.service-flow__list {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  user-select: none;
}
.service-flow__item {
  position: relative;
  flex: 0 0 calc((100% - 4rem) / 2);
  min-height: 330px;
  padding: 3rem;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  user-select: none;
}
.service-flow__num {
  position: relative;
  display: block;
  margin: 0 0 -0.5rem 0;
  font-size: clamp(70px, 70px + 28 * (100vw - 744px) / 856, 98px);
  font-weight: 700;
  line-height: 1;
  color: #e5d62a;
  z-index: 1;
  pointer-events: none;
}
.service-flow__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 80%;
  min-height: 3.2rem;
  margin: 0 0 1.6rem 0;
  padding: 0.75rem 1.5rem;
  background: #e5d62a;
  font-size: clamp(20px, 20px + 8 * (100vw - 744px) / 856, 28px);
  font-weight: 700;
  line-height: 1.3;
  z-index: 2;
}
.service-flow__title::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1.6rem;
  width: 1.6rem;
  height: 100%;
  background: #e5d62a;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.service-flow__text {
  position: relative;
  margin: 0;
  font-size: clamp(16px, 16px + 4 * (100vw - 744px) / 856, 20px);
  line-height: 2;
  z-index: 2;
}
.service-flow__dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}
.service-flow__dot {
  position: relative;
  width: 44px;
  height: 5px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #d4d1c8;
  cursor: pointer;
  overflow: hidden;
}
.service-flow__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #3e3a39;
  transform: scaleX(0);
  transform-origin: left center;
}
.service-flow__dot.is-active::before {
  animation: serviceDotProgress 4s linear forwards;
}
.service-flow__dot.is-past::before {
  transform: scaleX(1);
}

@keyframes serviceDotProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/* =========================================
  Work Flow / tablet
  744px - 1200px
========================================= */
@media (min-width: 744px) and (max-width: 1200px) {
  .service-flow__list {
    gap: 1.5rem;
  }
  .service-flow__item {
    flex: 0 0 70%;
    min-height: 320px;
    padding: 2rem;
    border-radius: 1.3rem;
  }
  .service-flow__num {
    margin: 0 0 -0.4rem 0;
    font-size: clamp(70px, 70px + 20 * (100vw - 744px) / 456, 90px);
  }
  .service-flow__title {
    min-width: 80%;
    min-height: 3rem;
    margin: 0 0 1.4rem 0;
    padding: 0.7rem 1.4rem;
    font-size: clamp(18px, 18px + 6 * (100vw - 744px) / 456, 24px);
  }
  .service-flow__title::after {
    right: -1.4rem;
    width: 1.4rem;
  }
  .service-flow__text {
    font-size: clamp(16px, 16px + 2 * (100vw - 744px) / 456, 18px);
    line-height: 1.9;
  }
}
/* =========================================
  Work Flow / SP
  - 743px
========================================= */
@media (max-width: 743px) {
  .service-flow {
    min-height: auto;
    padding: 4rem 0;
    display: block;
  }
  .service-flow > .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    --bs-gutter-x: 0;
  }
  .service-flow .section-title,
  .service-flow .section-lead {
    width: calc(100% - 40px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .service-flow .section-lead {
    margin-bottom: 1.8rem;
  }
  .service-flow__slider {
    width: 100%;
  }
  .service-flow__viewport {
    width: 100%;
    overflow: hidden;
  }
  .service-flow__list {
    gap: 1rem;
  }
  .service-flow__item {
    flex: 0 0 86%;
    min-height: auto;
    padding: 2rem;
    border-radius: 1.2rem;
  }
  .service-flow__num {
    position: relative;
    display: block;
    top: auto;
    right: auto;
    left: auto;
    margin: 0 0 -0.4rem 0;
    font-size: 5.2rem;
    font-weight: 700;
    line-height: 1;
    color: #e5d62a;
    z-index: 1;
    pointer-events: none;
  }
  .service-flow__title {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 82%;
    min-height: 3rem;
    margin: 0 0 1.3rem 0;
    padding: 0.65rem 1.1rem;
    background: #e5d62a;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.35;
    z-index: 2;
  }
  .service-flow__title::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1.2rem;
    width: 1.2rem;
    height: 100%;
    background: #e5d62a;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
  .service-flow__text {
    font-size: 1.4rem;
    line-height: 1.9;
  }
  .service-flow__text br {
    display: none;
  }
  .service-flow__dots {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }
  .service-flow__dot {
    width: 3.2rem;
    height: 0.4rem;
  }
}
/* =========================================
  Merit
========================================= */
.service-merit {
  padding: 5rem 0;
  text-align: center;
  background: #fff;
}
.service-merit__visual {
  position: relative;
  width: max-content;
  max-width: 13.75rem;
  margin: 0 auto 2rem;
}
.service-merit__image {
  display: block;
  max-width: 13.75rem !important;
  width: 100%;
  margin: 0;
}
.service-merit__image2 {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.service-merit__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #2d201c;
}
.service-merit__list {
  max-width: 47.5rem;
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  counter-reset: merit-num;
}
.service-merit__item {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.2rem 0;
  margin: 1.2rem 0;
  border: 2px solid #c9c2bb;
  border-radius: 0.625rem;
  counter-increment: merit-num;
  background: #fff;
}
.service-merit__subtitle {
  position: relative;
  margin: 0;
  padding-left: 3rem;
  font-weight: 700;
  color: #7a5aa8;
}
.service-merit__subtitle::before {
  content: counter(merit-num);
  position: absolute;
  top: 0.15rem;
  left: 1rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #7a5aa8;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.35rem;
  text-align: center;
}
.service-merit__text {
  margin: 0;
  color: #2d201c;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* 744px以上：100vh化。形はまだSP版と同じ */
@media (min-width: 744px) {
  .service-merit {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
  }
  .service-merit > .container {
    width: 100%;
  }
  .service-merit__title {
    font-size: clamp(1.8rem, 2vw, 2.5rem);
  }
  .service-merit__text {
    font-size: clamp(16px, 16px + 2 * (100vw - 744px) / 456, 18px);
  }
}
/* 1200px以上：円レイアウト */
@media (min-width: 1200px) {
  .service-merit__list {
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
  }
  .service-merit__item {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: clamp(330px, 330px + 60 * (100vw - 1200px) / 400, 390px);
    height: clamp(330px, 330px + 60 * (100vw - 1200px) / 400, 390px);
    margin: 0;
    padding: 0;
    border: 3px solid #c9c2bb;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
  }
  .service-merit .service-merit__subtitle {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 72%;
    margin: 0;
    padding-left: 0;
    transform: translate(-50%, -50%);
    font-size: clamp(22px, 22px + 4 * (100vw - 1200px) / 400, 26px);
    line-height: 1.35;
    text-align: center;
  }
  .service-merit .service-merit__subtitle::before {
    position: static;
    display: block;
    margin: 0 auto 0.7rem;
    width: clamp(44px, 44px + 8 * (100vw - 1200px) / 400, 52px);
    height: clamp(44px, 44px + 8 * (100vw - 1200px) / 400, 52px);
    line-height: clamp(44px, 44px + 8 * (100vw - 1200px) / 400, 52px);
    border-radius: 50%;
    background: #7a5aa8;
    color: #fff;
    font-size: clamp(22px, 22px + 4 * (100vw - 1200px) / 400, 26px);
    font-weight: 700;
    text-align: center;
  }
  .service-merit .service-merit__text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    margin: 0;
    padding-left: 0;
    transform: translateX(-50%);
    font-size: clamp(15px, 15px + 1px * (100vw - 1200px) / 400, 16px);
    line-height: 1.75;
    text-align: center;
  }
}
/* SP：今まで通り */
@media (max-width: 743px) {
  .service-merit {
    padding: 4rem 0;
  }
  .service-merit__title {
    font-size: 1.5rem;
  }
  .service-merit__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .service-merit__text {
    padding-left: 1rem;
    font-size: 0.95rem;
  }
}
/* =========================================
  Merit Animation
  全サイズ共通
========================================= */
.service-merit__item {
  opacity: 0;
  transform: scale(1.2);
  transform-origin: center center;
}
.service-merit.is-show .service-merit__item {
  animation: meritItemFadeIn 0.75s ease forwards;
}
.service-merit.is-show .service-merit__item:nth-child(1) {
  animation-delay: 0s;
}
.service-merit.is-show .service-merit__item:nth-child(2) {
  animation-delay: 0.36s;
}
.service-merit.is-show .service-merit__item:nth-child(3) {
  animation-delay: 0.72s;
}

@keyframes meritItemFadeIn {
  from {
    opacity: 0;
    transform: scale(1.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.service-merit__image2 {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: center center;
}
.service-merit.is-show .service-merit__image2 {
  animation: meritImagePop 0.45s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
  animation-delay: 0.95s;
}

@keyframes meritImagePop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  90% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* =========================================
  PA
========================================= */
.service-pa {
  padding: 5rem 0;
  background: #f8f8f2;
}
.service-pa__image {
  display: block;
  max-width: 9.375rem !important;
  margin: 0 auto 1rem;
}
.service-pa__lead {
  margin: 2.5rem auto 0;
  margin-bottom: 3rem;
}
.service-pa__lead p + p {
  margin-top: 1rem;
}
.service-pa__cards {
  margin-top: 3rem;
}

.service-card {
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
}
.service-card + .service-card {
  margin-top: 1.5rem;
}
.service-card__title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
}
.service-card__text {
  margin: 0;
  font-size: 1rem;
}
.service-card__image {
  text-align: center;
}
.service-card__image img {
  max-width: 13.75rem;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.6rem;
  background: #e5d62a;
  border-radius: 999px;
  color: #2d201c;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.service-card__link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.service-card__link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.service-card__link:hover::after {
  transform: translateX(0.25rem);
}

@media (max-width: 743px) {
  .service-card__link {
    margin-top: 1.2rem;
  }
  .service-card__text {
    margin-bottom: 1rem;
  }
}
/* =========================================
  FA
========================================= */
.service-fa {
  padding: 5rem 0;
  margin-bottom: 10rem;
}
.service-fa__image {
  display: block;
  max-width: 100%;
  margin: 0 auto 1rem;
  max-width: 9.375rem !important;
}
.service-fa__lead {
  max-width: 61.25rem;
  margin: 3rem auto 0;
  font-size: 1rem;
}
.service-fa__chart {
  max-width: 51.25rem;
  margin: 6rem auto 6rem;
  text-align: center;
}
.service-fa__chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  margin-top: 2rem;
}
.service-fa__body {
  margin-top: 3rem;
}
.service-fa__title {
  margin: 0 0 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
}
.service-fa__source {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.8;
}
.service-fa__text {
  font-size: 1rem;
}
.service-fa__text p + p {
  margin-top: 1rem;
}
.service-fa__subimage {
  text-align: right;
}
.service-fa__subimage img {
  max-width: 100%;
}

@media (max-width: 743px) {
  .service-fa__text {
    margin-bottom: 1rem;
  }
}
.service-fa__chart {
  opacity: 1;
}

.service-fa__chart-svg {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0;
}
.service-fa__chart-svg svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* =========================================
  Company Page
========================================= */
.page-company {
  color: #2d201c;
  line-height: 1.8;
}
.page-company .section-title {
  margin: 4rem 0 5rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6rem;
}
.page-company .section-title span {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.page-company .section-title--left {
  text-align: left;
}

/* =========================================
  Message
========================================= */
.company-message {
  padding: 0 0 5rem;
}
.company-message__image {
  padding: 4rem 0;
  background: #f8f8f2;
}
.company-message__image img {
  display: block;
  width: 90%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
}
.company-message__text {
  text-align: left;
}
.company-message__text p + p {
  margin-top: 1rem;
}
.company-message__name {
  margin-top: 2rem;
  text-align: center;
  line-height: 1.7;
}
.company-message .ceobox {
  text-align: center;
}
.company-message .ceo {
  text-align: center;
}
.company-message .ceo img {
  display: block;
  width: 100%;
  max-width: 22rem;
  object-fit: contain;
  margin: 0 auto;
}

/* =========================================
  Profile
========================================= */
.company-profile {
  padding: 5rem 0;
  background: #f8f8f2;
}
.company-profile__image {
  display: block;
  width: 100%;
  max-width: 17.5rem;
  height: auto;
  margin: 0 auto 3rem;
}

.company-card {
  height: 100%;
}

.info-list,
.history-list {
  margin: 0;
}

.info-list {
  display: grid;
  grid-template-columns: 12rem 1fr;
  row-gap: 0.8rem;
  column-gap: 1.5rem;
}
.info-list dt,
.info-list dd {
  margin: 0;
}
.info-list dt {
  font-weight: 700;
}

.history-list {
  display: grid;
  grid-template-columns: 12rem 1fr;
  row-gap: 1rem;
  column-gap: 1.5rem;
  padding-left: 2rem;
  border-left: 1px solid #8f8a83;
}
.history-list dt,
.history-list dd {
  margin: 0;
}
.history-list dt {
  font-weight: 700;
}

@media (max-width: 991px) {
  .info-list {
    display: grid;
    grid-template-columns: 12rem 1fr;
    row-gap: 1rem;
    column-gap: 1.5rem;
    padding-left: 2rem;
    border-left: 1px solid #8f8a83;
  }
  .info-list dt,
  .info-list dd {
    margin: 0;
  }
  .info-list dt {
    font-weight: 700;
  }
}
/* =========================================
  Network
========================================= */
.company-network {
  padding: 5rem 0;
}
.company-network__image {
  text-align: center;
}
.company-network__image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.network-list {
  margin-top: 2rem;
}

.network-item + .network-item {
  margin-top: 1.5rem;
}

.network-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}
.network-item p {
  margin: 0;
  font-size: 0.95rem;
}
.network-item a {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.1rem 1rem;
  color: #4d4398;
  border: 1px solid #4d4398;
  border-radius: 5px;
  font-size: 0.85em;
  line-height: 1.4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.network-item a:hover {
  color: #fff;
  background-color: #4d4398;
  border-color: #4d4398;
}

/* =========================================
  Access
========================================= */
.company-access {
  padding: 0 0 5rem;
}
.company-access__map {
  margin-top: 2rem;
  height: 20rem;
  background: #ccc;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
  Clients
========================================= */
.company-clients {
  padding: 8rem 0 12rem;
  background: #f8f8f2;
  text-align: center;
}
.company-clients__image {
  display: block;
  width: 100%;
  max-width: 23.75rem;
  height: auto;
  margin: 0 auto 2rem;
}

.clients-list {
  max-width: 36rem;
  margin: 2rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  column-count: 2;
  column-gap: 2rem;
}
.clients-list li {
  position: relative;
  margin-bottom: 0.2rem;
  padding-left: 1rem;
  break-inside: avoid;
}
.clients-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #d6c400;
  transform: translateY(-50%);
}
.clients-list li.end::before {
  background: #f8f8f2;
}

/* =========================================
  Responsive
========================================= */
@media (max-width: 743px) {
  .page-company .section-title {
    margin: 0 0 3rem;
    font-size: 2.286rem;
    line-height: 1.2;
  }
  .page-company .section-title span {
    display: block;
    margin: 0.3rem 0 0;
    font-size: 1.143rem;
  }
  .company-message {
    padding: 3rem 0 4rem;
  }
  .company-message__box {
    padding: 2rem 0;
  }
  .info-list,
  .history-list {
    grid-template-columns: 1fr;
    row-gap: 0.4rem;
    margin-bottom: 4rem;
  }
  .info-list dt,
  .history-list dt {
    margin-top: 0.714rem;
  }
  .clients-list {
    max-width: 100%;
    column-count: 1;
    font-size: 0.929rem;
  }
  .company-profile,
  .company-network,
  .company-clients {
    padding: 5.714rem 0;
  }
  .company-access {
    padding: 0 0 4rem;
  }
  .company-access__map {
    margin-top: 1.5rem;
    height: 18rem;
  }
}
.service-kv {
  position: relative;
  height: calc(100vh - 112px);
  overflow: hidden;
  background: #4d4397;
}

/* ==========================
   共通キャンバス
========================== */
.service-kv__bg {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: auto;
  height: min(100vw, 100vh - 112px);
  aspect-ratio: 1920/1080;
  transform: translateX(-50%);
}

/* ==========================
   レイヤー共通
========================== */
.service-kv__layer {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* ==========================
   重なり順
========================== */
.service-kv__layer--01 {
  z-index: 1;
}

.service-kv__layer--02 {
  z-index: 2;
}

.service-kv__layer--03 {
  z-index: 3;
}

.service-kv__layer--04 {
  z-index: 4;
}

.service-kv__layer--05 {
  z-index: 5;
}

.service-kv__layer--06 {
  z-index: 6;
}

.service-kv__layer--07 {
  z-index: 7;
}

.service-kv__layer--08 {
  z-index: 8;
}

.service-kv__layer--09 {
  z-index: 9;
}

.service-kv__layer--10 {
  z-index: 10;
}

.service-kv__layer--11 {
  z-index: 11;
}

/* ==========================
   極端に横長の時だけ cover
========================== */
@media (min-aspect-ratio: 16/10) {
  .service-kv__bg {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
  }
  .service-kv__layer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }
  .service-kv__svg-layer svg {
    width: 100%;
    height: 100%;
    preserveAspectRatio: xMidYMax slice;
  }
}
/* ==========================
   3/4〜1/1（縦寄りPC）
========================== */
@media (min-aspect-ratio: 3/4) and (max-aspect-ratio: 1/1) {
  .service-kv {
    height: calc(100vh - 120px);
    background: linear-gradient(to bottom, #4d4397 0%, #4d4397 50%, #f2f2f2 50%, #f2f2f2 100%);
  }
  .service-kv__bg {
    left: 50%;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 100vw;
    aspect-ratio: 1920/1080;
    transform: translate(-50%, -50%);
  }
  .service-kv__layer {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
}
/* ==========================
   縦っぽい画面はスマホ用
========================== */
@media (max-aspect-ratio: 3/4) {
  .service-kv {
    height: auto;
    aspect-ratio: 3/4;
    background: linear-gradient(to bottom, #4d4397 0%, #4d4397 50%, #f2f2f2 50%, #f2f2f2 100%);
  }
  .service-kv__bg {
    left: 50%;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 100vw;
    aspect-ratio: 1920/1080;
    transform: translate(-50%, -50%);
  }
  .service-kv__layer {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
}
.service-kv__layer--10,
.service-kv__layer--11 {
  opacity: 0;
  visibility: hidden;
}

/* =========================================
  Item Page
========================================= */
.page-item {
  color: #2d201c;
  line-height: 1.8;
}
.page-item img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.page-item .section-title {
  margin: 0 0 2rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}
.page-item .section-title span {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.page-item .section-title--left {
  text-align: left;
}
.page-item .section-lead {
  margin: 3rem 0 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
}

/* =========================================
  Item Title
========================================= */
.item-title {
  padding: 0 0 4rem;
  background: #fff;
}
.item-title__image {
  padding: 2.5rem 0;
  background: #f8f8f2;
}
.item-title__image img {
  display: block;
  width: 400px;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.item-title__box {
  margin: 0 auto;
  padding: 4rem 0 0;
  text-align: center;
}
.item-title__text {
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 2;
}
.item-title__text p {
  margin: 0;
}
.item-title__text p + p {
  margin-top: 1rem;
}

/* =========================================
  Items
========================================= */
.item-list-section {
  padding: 0 0 8rem;
  background: #fff;
}

.item-category {
  margin-top: 5rem;
}
.item-category:first-of-type {
  margin-top: 0;
}
.item-category__title {
  position: relative;
  margin: 0 0 1.2rem;
  padding: 0.75rem 1.25rem;
  background: #e5d62a;
  border-radius: 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

/* colの中に h3 がある後半用 */
.item-category .col-md-6 {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.item-category .col-md-6 > .item-category__title {
  flex: 0 0 auto;
  margin: 0 0 1.2rem;
}

/* カード本体 */
.item-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  /* ここが重要：100%系は使わない */
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 1.6rem;
  background: #fafaf7;
  border-radius: 1rem;
  border: 1px solid rgba(45, 32, 28, 0.08);
}
.item-card__title {
  flex: 0 0 auto;
  margin: 0 0 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #d8d1ca;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #2d201c;
}
.item-card__images {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  margin-bottom: 1.3rem;
  padding: 1rem;
  border-radius: 0.8rem;
}
.item-card__images img {
  display: block;
  width: auto;
  max-width: 9.5rem;
  max-height: 8.75rem;
  object-fit: contain;
}
.item-card__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.65;
}
.item-card__list li {
  position: relative;
  padding-left: 1rem;
}
.item-card__list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #d6c400;
  transform: translateY(-50%);
}

@media (max-width: 743px) {
  .item-list-section {
    padding: 4rem 0 6rem;
  }
  .item-category {
    margin-top: 3rem;
  }
  .item-category__title {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    font-size: 1.429rem;
  }
  .item-category .col-md-6 {
    margin-bottom: 2rem;
  }
  .item-card {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    padding: 1.4rem;
  }
  .item-card__title {
    font-size: 1.143rem;
  }
  .item-card__images {
    gap: 0.6rem;
    min-height: auto;
    margin-bottom: 1.1rem;
    padding: 0.8rem;
  }
  .item-card__images img {
    max-width: 7.5rem;
    max-height: 7rem;
  }
  .item-card__list {
    grid-template-columns: 1fr;
    font-size: 1rem;
  }
}
/* =========================================
  Policy Page
========================================= */
.page-policy {
  color: #2d201c;
  line-height: 1.8;
}
.page-policy .section-title {
  margin: 4rem 0 3rem;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.page-policy .section-title span {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.page-policy .section-title--left {
  text-align: left;
}

/* =========================================
  Policy
========================================= */
.policy {
  padding: 0 0 5rem;
  /* -------------------------
    list
  ------------------------- */
  /* 第1階層 */
  /* 第2階層（入れ子） */
  /* li の中に入る補足文 */
}
.policy__image {
  padding: 4rem 0;
  background: #f8f8f2;
}
.policy__image img {
  display: block;
  width: 90%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
}
.policy__box {
  max-width: 52rem;
  margin: 0 auto;
  padding-top: 1rem;
}
.policy__text {
  text-align: left;
}
.policy__section {
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #d8d2cb;
}
.policy__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.policy__heading {
  margin: 0 0 1rem;
  padding-left: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: #2d201c;
}
.policy__intro, .policy__paragraph {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 2;
  color: #2d201c;
}
.policy__intro:last-child, .policy__paragraph:last-child {
  margin-bottom: 0;
}
.policy__list {
  margin: 0;
  padding-left: 2rem;
  list-style: decimal;
  font-size: 1rem;
  font-weight: 300;
  line-height: 2;
  color: #2d201c;
}
.policy__list li {
  margin-bottom: 0.75rem;
}
.policy__list li:last-child {
  margin-bottom: 0;
}
.policy__list--number {
  padding-left: 1rem;
  list-style: decimal;
}
.policy__list--sub {
  margin-top: 0.5rem;
  padding-left: 1rem;
  list-style: decimal;
}
.policy__list li > .policy__paragraph {
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.policy a {
  color: #2d201c;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: opacity 0.2s;
}
.policy a:hover {
  opacity: 0.7;
}

/* =========================================
  Policy Page SP
========================================= */
@media (max-width: 743px) {
  .page-policy .section-title {
    margin: 3rem 0 2.5rem;
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .policy {
    padding: 0 0 4rem;
  }
  .policy__image {
    padding: 3rem 0;
  }
  .policy__image-item {
    width: calc(100% - 3rem);
    max-width: 22rem;
  }
  .policy__box {
    max-width: 100%;
  }
  .policy__section {
    padding: 0 0 1.5rem;
    margin-bottom: 1.5rem;
  }
  .policy__heading {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
  }
  .policy__intro, .policy__paragraph {
    font-size: 1rem;
    line-height: 1.9;
  }
  .policy__list {
    padding-left: 2rem;
    font-size: 1rem;
    line-height: 1.9;
  }
  .policy__list li {
    margin-bottom: 0.6rem;
  }
  .policy__list--number {
    padding-left: 1rem;
  }
  .policy__list--sub {
    margin-top: 0.6rem;
    padding-left: 1rem;
  }
}
/* =========================================
  Contact Page
========================================= */
.page-contact {
  color: #2d201c;
  line-height: 1.8;
}
.page-contact .section-title {
  margin: 4rem 0 3rem;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

/* =========================================
  Contact
========================================= */
.contact {
  padding: 0 0 5rem;
}
.contact__image {
  padding: 4rem 0;
  background: #f8f8f2;
}
.contact__image img {
  display: block;
  width: 90%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
}
.contact__box {
  max-width: 61.25rem;
  margin: 0 auto;
  padding-top: 1rem;
}
.contact__intro {
  max-width: 61.25rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.contact__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
}
.contact__lead-red {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  color: red;
}
.contact__info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  background: #f8f8f2;
  border-radius: 0.25rem;
}
.contact__tel, .contact__time {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}
.contact__info-label {
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 600;
}
.contact__tel a {
  color: #2d201c;
  text-decoration: none;
}
.contact__tel a:hover {
  opacity: 0.7;
}

/* =========================================
  Contact Form
========================================= */
.contact-form {
  max-width: 61.25rem;
  margin: 0 auto;
}
.contact-form__row {
  display: flex;
  align-items: stretch;
  padding: 1.4rem 0;
  border-bottom: 1px solid #e6e6e6;
}
.contact-form__row:first-child {
  border-top: 1px solid #e6e6e6;
}
.contact-form__head {
  width: 16rem;
  min-width: 16rem;
  padding-right: 1.25rem;
}
.contact-form__head label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}
.contact-form__body {
  flex: 1;
  min-width: 0;
}
.contact-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 1.25rem;
  padding: 0 0.5rem;
  background: #c40016;
  color: #fff;
  border-radius: 0.125rem;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
  margin-top: 0.125rem;
}
.contact-form__note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  background: #f5f5f5;
  border-radius: 0.125rem;
  font-size: 1rem;
  color: #2d201c;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel] {
  height: 2.75rem;
  padding: 0 0.75rem;
}
.contact-form textarea {
  min-height: 10rem;
  padding: 0.75rem;
  resize: vertical;
}
.contact-form input[type=text]:hover,
.contact-form input[type=email]:hover,
.contact-form input[type=tel]:hover,
.contact-form textarea:hover {
  background: #ededed;
  border-color: #bfc7ce;
}
.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form input[type=tel]:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: #5aa7d8;
  box-shadow: 0 0 0 0.1875rem rgba(90, 167, 216, 0.18);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b3b3b3;
}
.contact-form__buttons {
  padding-top: 2rem;
  text-align: center;
}
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18rem;
  height: 4rem;
  padding: 0 2rem;
  border: 0;
  border-radius: 0.25rem;
  background: #3a86b8;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.08s ease;
}
.contact-form__submit:hover {
  opacity: 0.9;
}
.contact-form__submit:active {
  transform: translateY(1px);
}

.contact-form-error {
  max-width: 61.25rem;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #c40016;
  background: rgba(196, 0, 22, 0.06);
  color: #c40016;
}

.contact-form-error ul {
  margin: 0;
  padding-left: 1.2rem;
}

.contact-thanks {
  text-align: center;
  line-height: 2;
  margin-bottom: 2rem;
}

/* =========================================
  Contact SP
========================================= */
@media (max-width: 743px) {
  .page-contact .section-title {
    margin: 3rem 0 2.5rem;
    font-size: 1.6rem;
  }
  .contact {
    padding: 0 0 4rem;
  }
  .contact__intro {
    margin-bottom: 2.5rem;
  }
  .contact__lead {
    text-align: left;
  }
  .contact__info {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }
  .contact-form__row {
    display: block;
    padding: 1rem 0;
  }
  .contact-form__head {
    width: 100%;
    min-width: 0;
    padding-right: 0;
    margin-bottom: 0.75rem;
  }
  .contact-form__head label {
    font-size: 1rem;
  }
  .contact-form__note {
    font-size: 0.9rem;
  }
  .contact-form__submit {
    width: 100%;
    min-width: 0;
    height: 3.75rem;
    font-size: 1rem;
  }
}

/*# sourceMappingURL=main.css.map */
