@charset "utf-8";
:root {
  --text-color: #111;
  --primary-color: #60AE12;
  --primary-background-color: #F3F6EF;
  /* clamp => Viewport min:360px max:1280px */
  /* block-30px => Values min:20px max:30px */
  --block-30px: clamp(20px, 16.08px + 1.09vw, 30px);
  --block-40px: calc(var(--block-30px) * 4 / 3);
  --block-50px: calc(var(--block-30px) * 5 / 3);
  --block-60px: calc(var(--block-30px) * 2);
  --block-65px: calc(var(--block-30px) * 13 / 6);
  --block-70px: calc(var(--block-30px) * 7 / 3);
  --block-80px: calc(var(--block-30px) * 8 / 3);
  --block-90px: calc(var(--block-30px) * 3);
  --block-100px: calc(var(--block-30px) * 10 / 3);
  --block-120px: calc(var(--block-30px) * 4);
  --block-140px: calc(var(--block-30px) * 14 / 3);
  --block-180px: calc(var(--block-30px) * 6);
  --block-200px: calc(var(--block-30px) * 20 / 3);
  --block-240px: calc(var(--block-30px) * 8);
  /* inline-30px => Values min:10px max:30px */
  --inline-30px: clamp(10px, 2.176px + 2.17vw, 30px);
  --inline-40px: calc(var(--inline-30px) * 4 / 3);
  --inline-50px: calc(var(--inline-30px) * 5 / 3);
  --inline-60px: calc(var(--inline-30px) * 2);
  --inline-70px: calc(var(--inline-30px) * 7 / 3);
  --inline-80px: calc(var(--inline-30px) * 8 / 3);
  --inline-90px: calc(var(--inline-30px) * 3);
  --font-size-18px: clamp(1.063rem, 1.038rem + 0.11vw, 1.125rem);
  --font-size-20px: clamp(1.125rem, 1.076rem + 0.22vw, 1.25rem);
  --font-size-22px: clamp(1.25rem, 1.201rem + 0.22vw, 1.375rem);
  --font-size-26px: clamp(1.375rem, 1.277rem + 0.43vw, 1.625rem);
  --font-size-30px: clamp(1.5rem, 1.353rem + 0.65vw, 1.875rem);
  --font-size-32px: clamp(1.625rem, 1.478rem + 0.65vw, 2rem);
  --font-size-36px: clamp(1.625rem, 1.38rem + 1.09vw, 2.25rem);
  --font-size-44px: clamp(1.75rem, 1.359rem + 1.74vw, 2.75rem);
  --font-size-48px: clamp(1.75rem, 1.261rem + 2.17vw, 3rem);
}
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  -moz-tab-size: 4;
  box-sizing: border-box;
  scroll-padding-top: 180px;
  &:has(#globalNavToggle:focus-within) {
    scroll-padding-top: 0;
  }
}
*, ::before, ::after {
  background-repeat: no-repeat;
  box-sizing: inherit;
}
* {
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background-color: #FFF;
  color: var(--text-color);
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-20px);
  line-height: 1.5;
  font-family: "LINE Seed JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  letter-spacing: 0;
}
a, input[type="submit"] {
  transition: opacity 0.35s;
  &:hover {
    opacity: 0.65;
  }
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  >li {
    list-style-type: none;
  }
}
summary {
  list-style: none;
  cursor: pointer;
}
abbr[title] {
  text-decoration: none;
}
code, kbd, pre, samp {
  font-family: monospace, monospace;
}
sub, sup {
  line-height: 0;
}
table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}
img, video, audio, iframe, textarea {
  vertical-align: bottom;
}
iframe {
  border: none;
}
address {
  font-style: inherit;
}
fieldset {
  border: none;
}
input, textarea, select, button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  border: none;
}
textarea {
  resize: vertical;
}
input[type="checkbox"], input[type="radio"], select {
  appearance: none;
}
input[type="checkbox"], input[type="radio"] {
  display: block;
}
input[type="button"], input[type="submit"], button {
  cursor: pointer;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  width: 100%;
  padding: 1em;
}
::placeholder {
  color: #AAA;
}
::file-selector-button {
  margin: 0;
  padding: 0;
  cursor: pointer;
  background-color: rgb(255, 255, 255, 0);
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  border: none;
}
html:not(.no-js) {
  @media (prefers-reduced-motion: no-preference) {
    .fadeIn {
      opacity: 0;
      &.show {
        animation: fadeIn 0.65s both;
      }
    }
    .fadeUp {
      scroll-margin-top: 30px;
      opacity: 0;
      translate: 0 30px;
      &.show {
        animation: fadeUp 0.65s both;
      }
    }
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
@keyframes fadeUp {
  to {
    scroll-margin-top: 0;
    opacity: 1;
    translate: none;
  }
}
.logo {
  line-height: 0;
  >a {
    display: inline-block;
  }
}
.sm_break {
  display: inline-block;
}
.break {
  display: block;
}
.kerning {
  letter-spacing: -0.3em;
}
.overflow_wrap {
  overflow-wrap: anywhere;
}
.underline {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.image_rounded>img {
  border-radius: 4px;
}
.container_l {
  width: min(1720px + var(--inline-60px) * 2, 100%);
  margin-inline: auto;
  padding-inline: var(--inline-60px);
}
.container_m {
  width: min(1260px + var(--inline-60px) * 2, 100%);
  margin-inline: auto;
  padding-inline: var(--inline-60px);
}
.button_map {
  display: flex;
  align-items: center;
  width: fit-content;
  padding-block: 0.45em;
  padding-inline: 1em 0.5em;
  background-color: var(--primary-color);
  border-radius: 2.9em;
  color: #FFF;
  font-size: 0.875rem;
  &::after {
    content: "";
    display: inline-block;
    width: 2em;
    aspect-ratio: 1 / 1;
    background-image: url(./img/icn-map-white.svg);
    background-size: 0.65em;
    background-position: center;
    border: 1px solid rgb(255, 255, 255, 0.25);
    border-radius: 50%;
    margin-left: 0.6em;
  }
}
.primary_heading {
  margin-bottom: 1em;
  font-weight: 400;
  font-size: var(--font-size-44px);
  line-height: 1.2;
}
.primary_heading-en {
  display: block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.8125rem;
}
.primary_heading-ja {
  display: block;
  margin-top: 0.6em;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-block: var(--block-65px);
  transition: padding 0.35s, background-color 0.35s;
  &.scroll {
    padding-block: 20px;
    background-color: var(--primary-background-color);
  }
}
.header-container {
  container: header-container / inline-size;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 20px;
}
.header-logo-text {
  display: block;
  margin-top: 8px;
  padding-top: 5px;
  border-top: 1px solid #DFE5D8;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.5;
}
.globalNav-toggle, .globalNav-button, .globalNav-overlay {
  display: none;
}
.globalNav-inner {
  display: flex;
  align-items: center;
  gap: 0 40px;
}
.globalNav-list {
  display: flex;
  align-items: center;
  gap: 0 30px;
  padding: 22px 48px;
  background-color: #FFF;
  border-radius: calc(1.5em + 44px);
  font-size: var(--font-size-18px);
}
.globalNav-contact {
  margin-left: auto;
  color: #FFF;
  text-align: center;
}
.globalNav-contact-header {
  padding: 0.2em;
  background-color: var(--primary-color);
  font-weight: 700;
  color: #FFF;
  font-size: 0.8125rem;
  border-radius: 2em;
}
.globalNav-contact-tel {
  margin-top: 0.25em;
  color: var(--primary-color);
  font-size: var(--font-size-32px);
}
.globalNav-contact-tel-link {
  display: flex;
  align-items: center;
  line-height: 1.2;
  &::before {
    content: "";
    display: inline-block;
    width: 1.125em;
    aspect-ratio: 1 / 1;
    background-color: #CEE6B6;
    background-image: url(./img/icn-tel-header.svg);
    background-size: 0.4375em;
    background-position: center;
    border-radius: 50%;
    margin-right: 10px;
  }
}
@container header-container (width < 80rem) {
  .header-inner {
    display: block;
    position: relative;
  }
  .header-logo {
    max-width: calc(100% - 80px);
  }
  .globalNav-toggle {
    display: inline;
    position: fixed;
  }
  .globalNav-button {
    display: block;
    position: absolute;
    z-index: 11;
    top: -5px;
    right: 0;
    transition: top 0.35s;
    cursor: pointer;
    &::after {
      content: "メニュー";
      display: inline-block;
      font-weight: 700;
      font-size: 0.8125rem;
      white-space: nowrap;
      position: absolute;
      bottom: -1.75em;
      left: 50%;
      translate: -50%;
    }
  }
  .globalNav-button-bar {
    display: block;
    width: 60px;
    aspect-ratio: 1 / 1;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    transition: background-color 0.35s;
    >span {
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      transition: opacity 0.35s;
      &, &::before, &::after {
        display: inline-block;
        width: 6px;
        aspect-ratio: 1 / 1;
        background-color: #FFF;
        border-radius: 50%;
        position: absolute;
        transition: background-color 0.35s, translate 0.35s, scale 0.35s, rotate 0.35s;
      }
      &::before, &::after {
        content: "";
      }
      &::before {
        translate: calc(-1 * (100% + 5px));
      }
      &::after {
        translate: calc(100% + 5px);
      }
    }
  }
  .globalNav-overlay {
    display: inline;
    position: fixed;
    z-index: 9;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.15s, opacity 0.15s;
  }
  .globalNav {
    display: grid;
    place-items: center;
    min-height: 100vh;
    width: min(25rem, 100%);
    padding: 20px;
    background-color: var(--primary-background-color);
    position: fixed;
    z-index: 10;
    top: 0;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    translate: 100%;
    transition: visibility 0.35s, opacity 0.35s, translate 0.35s;
    transition-timing-function: cubic-bezier(0.34, 0.55, 0.41, 0.99);
  }
  .globalNav-inner {
    display: block;
  }
  .globalNav-list {
    display: block;
    padding: 30px 20px;
    border-radius: 60px;
    text-align: center;
  }
  .globalNav-item {
    +.globalNav-item {
      margin-top: 1em;
    }
  }
  .globalNav-contact {
    margin-top: 40px;
  }
  #globalNavToggle:checked {
    ~.globalNav-button {
      &::after {
        content: "閉じる";
      }
      >.globalNav-button-bar {
        >span {
          background-color: rgb(255, 255, 255, 0);
          &::before, &::after {
            border-radius: 0;
            translate: 0;
            scale: 4.5 0.8;
          }
          &::before {
            rotate: 45deg;
          }
          &::after {
            rotate: -45deg;
          }
        }
      }
    }
    ~.globalNav-overlay {
      visibility: visible;
      opacity: 1;
    }
    ~.globalNav {
      visibility: visible;
      opacity: 1;
      translate: 0;
    }
  }
}
.footer {
  max-width: 1920px;
  margin-inline: auto;
  margin-top: var(--block-140px);
  padding-top: var(--block-100px);
  background-image: url(./img/footer-bg.png);
  background-position: center top;
  background-repeat: repeat-y;
  border-radius: 60px 60px 0 0;
  color: #FFF;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0 var(--inline-60px);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--block-70px) var(--inline-90px);
}
.footer-heading {
  white-space: nowrap;
  font-weight: 100;
  font-size: var(--font-size-44px);
}
.footer-access-content {
  max-width: 20em;
  color: var(--text-color);
}
.footer-access-header, .footer-access-data {
  width: fit-content;
  background-color: #FFF;
  border-radius: 3px;
  line-height: 1.2;
}
.footer-access-header {
  padding: 0.4em 0.55em;
  font-size: var(--font-size-22px);
}
.footer-access-data {
  margin-top: 4px;
  margin-bottom: 20px;
  padding: 0.35em 0.5em;
  font-size: var(--font-size-18px);
}
.footer-box {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.footer-pageTop {
  display: block;
  padding: var(--block-60px) calc(var(--block-30px) * 11 / 10);
  background-color: rgb(129, 171, 86, 0.6);
  border-radius: 4px;
  font-size: 1rem;
  writing-mode: vertical-rl;
  &::before {
    content: "";
    display: inline-block;
    width: 0.875em;
    height: 0.8125em;
    background-image: url(./img/icn-arrow-white-up.svg);
    background-size: 100%;
    margin-bottom: 0.625em;
  }
}
.contact {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--block-60px) var(--inline-90px);
  padding: var(--block-60px) var(--inline-70px) var(--block-70px);
  background-color: rgb(129, 171, 86, 0.6);
  border-radius: 4px;
}
.contact-textBox {
  .primary_heading-en {
    color: #FFF;
  }
}
.contact-text {
  margin-top: 1.5em;
  font-size: var(--font-size-22px);
}
.contact-tel {
  width: fit-content;
  margin-inline: auto;
  margin-top: 1.4em;
  border-bottom: 1px solid rgb(255, 255, 255, 0.25);
  color: #FFF;
  font-size: var(--font-size-48px);
  line-height: 1.2;
}
.contact-tel-link {
  display: flex;
  align-items: center;
  padding-right: 0.145em;
  padding-bottom: 0.4em;
  &::before {
    content: "";
    display: inline-block;
    min-width: 1.165em;
    aspect-ratio: 1 / 1;
    background-color: #CEE6B6;
    background-image: url(./img/icn-tel-header.svg);
    background-size: 0.455em;
    background-position: center;
    border-radius: 50%;
    margin-right: 0.375em;
  }
}
.copy {
  padding-block: calc(var(--block-90px) / 2);
  text-align: right;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.2;
  >small {
    font-size: 100%;
  }
}
.mv {
  padding-top: calc(var(--block-65px) * 2 + 70px);
  background-image: linear-gradient(to top, #FFF var(--block-100px), var(--primary-background-color) var(--block-100px));
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: 52%;
    height: calc(100% - var(--block-100px));
    background-image: url(./img/mv-bg.png);
    background-position: left top;
    position: absolute;
    top: 0;
    right: 0;
  }
}
.mv-inner {
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: calc(var(--inline-80px) + 3px);
    aspect-ratio: 1 / 1;
    background-image: url(./img/dot-circle-80px.svg), url(./img/icn-arrow-green-down.svg);
    background-size: 100%, 29%;
    background-position: 0 0, center;
    position: absolute;
    z-index: 1;
    bottom: 15.5%;
    left: -6px;
  }
}
.mv-heading {
  color: #FFF;
  font-weight: 400;
  font-size: var(--font-size-36px);
  line-height: 1.55;
  writing-mode: vertical-rl;
  position: absolute;
  z-index: 1;
  top: 19%;
  right: 10%;
}
.mv-slide {
  &:has(.mv-slide-text) {
    position: relative;
  }
}
.mv-slide-text {
  margin-top: 0.6em;
  color: #FFF;
  font-size: 0.9375rem;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  position: absolute;
  bottom: 57.5%;
  right: 55%;
  rotate: -14deg;
}
.mv-slider-control {
  display: flex;
  align-items: flex-end;
  margin-top: calc(var(--block-30px) / 2);
  position: absolute;
  bottom: calc(-1 * (var(--block-30px) / 2 + 32px));
  left: 0;
  right: 0;
  .splide__pagination {
    margin-bottom: 5px;
    padding: 0;
    position: static;
    li+li {
      margin-left: 4px;
    }
  }
  .splide__pagination__page {
    width: 19px;
    height: 19px;
    background: #FFF;
    margin: 0;
    opacity: 1;
    &::before, &::after {
      content: "";
      display: inline-block;
      border-radius: 50%;
      position: absolute;
    }
    &::before {
      width: 15px;
      height: 15px;
      background-color: #FFF;
      bottom: calc(50% - 7.5px);
      left: calc(50% - 7.5px);
    }
    &::after {
      width: 5px;
      height: 5px;
      background-color: #E8E7E0;
      bottom: calc(50% - 2.5px);
      left: calc(50% - 2.5px);
    }
    &.is-active {
      transform: none;
      background-color: rgb(191, 190, 179, 0.2);
      background-image: conic-gradient(rgb(96, 174, 18) var(--playing-rate), rgb(96, 174, 18, 0) var(--playing-rate));
      &::after {
        background-color: var(--primary-color);
      }
    }
  }
  .splide__toggle {
    margin-left: 18px;
  }
}
.greeting {
  max-width: 1760px;
  margin-inline: auto;
  margin-top: var(--block-180px);
  padding-bottom: 110px;
  position: relative;
}
.greeting-content {
  max-width: calc(47em + var(--inline-60px) * 2);
  margin-inline: auto;
  padding-inline: var(--inline-60px);
  display: flex;
  align-items: flex-start;
  gap: 0 var(--inline-60px);
}
.greeting-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: calc(9em + 3px);
  aspect-ratio: 1 / 1;
  background-image: url(./img/dot-circle-180px.svg);
  background-size: 100%;
  color: var(--primary-color);
  font-weight: 400;
  font-size: var(--font-size-20px);
  position: relative;
  &::after {
    content: "Greeting";
    color: #F6F9F1;
    font-size: 180px;
    line-height: 0.85;
    writing-mode: vertical-rl;
    position: absolute;
    z-index: -1;
    top: -50px;
    left: -70px;
  }
}
.greeting-textbox {
  flex-grow: 1;
  margin-top: var(--block-120px);
}
.greeting-text {
  line-height: 2;
  p+p {
    margin-top: 2em;
  }
}
.greeting-button {
  display: block;
  margin-top: var(--block-70px);
  padding-block: 22px;
  padding-left: 40px;
  padding-right: calc(37px + 1.75rem);
  background-color: var(--primary-color);
  border-radius: calc(1.5em + 44px);
  color: #FFF;
  font-size: var(--font-size-18px);
  position: relative;
  &.close {
    margin-top: var(--block-100px);
    margin-inline: auto;
    padding-left: calc(47px + 1.75rem);
    padding-right: 40px;
    .greeting-button-icon {
      right: auto;
      left: 32px;
      &::before {
        rotate: 45deg;
      }
      &::after {
        rotate: -45deg;
      }
    }
  }
}
.greeting-button-icon {
  display: inline-block;
  width: 1.75rem;
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(255, 255, 255, 0.25);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 22px;
  translate: 0 -50%;
  &::before, &::after {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.125rem;
    background-color: #FFF;
    border-radius: 0.125rem;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
  }
  &::after {
    rotate: 90deg;
  }
}
.greeting-fullText {
  background-color: #FFF;
  position: fixed;
  z-index: 20;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.15s, opacity 0.15s;
  &.open {
    visibility: visible;
    opacity: 1;
  }
}
.greeting-fullText-close {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background-color: var(--primary-color);
  border-radius: 0 0 0 15px;
  color: #FFF;
  font-size: 0.75rem;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.greeting-fullText-close-icon {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-bottom: 10px;
  position: relative;
  &::before, &::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 3px;
    background-color: #FFF;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
  }
  &::before {
    rotate: 45deg;
  }
  &::after {
    rotate: -45deg;
  }
}
.greeting-fullText-inner {
  max-width: 1920px;
  margin-inline: auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
}
.greeting-fullText-image {
  position: sticky;
  top: 0;
  left: 0;
}
.greeting-fullText-content {
  width: 80%;
  max-width: calc(660px + var(--inline-60px) * 2);
  margin-inline: auto;
  padding-block: var(--block-140px) var(--block-80px);
  padding-inline: var(--inline-60px);
}
.greeting-fullText-heading {
  width: fit-content;
  margin-bottom: 2em;
  padding-bottom: 0.4em;
  border-bottom: 0.12em solid var(--primary-color);
  font-weight: 400;
  font-size: var(--font-size-36px);
}
.greeting-fullText-text {
  font-size: 1.125rem;
  line-height: 2;
  p+p {
    margin-top: 1em;
  }
  +.greeting-fullText-text {
    margin-top: 3em;
  }
}
.greeting-fullText-name {
  margin-top: var(--block-60px);
  text-align: right;
  font-size: var(--font-size-22px);
}
body:has(#modal.open) {
  overflow: hidden;
}
.greeting-gallery-image {
  text-align: center;
  position: absolute;
  &:first-child {
    max-width: 27%;
    top: 410px;
    left: 0;
  }
  &:nth-child(2) {
    top: 30px;
    right: 11.4%;
  }
  &:last-child {
    bottom: 0;
    right: 8.5%;
  }
}
.service-outer {
  max-width: 1920px;
  margin-inline: auto;
  margin-top: var(--block-180px);
  padding-top: var(--block-140px);
  padding-bottom: 250px;
  background-image: url(./img/service-bg.png);
  background-position: center top;
  background-repeat: repeat-y;
  border-radius: 60px 60px 0 0;
}
.service {
  padding-bottom: var(--block-120px);
}
.service-top {
  display: flex;
  justify-content: space-between;
  gap: 0 var(--inline-90px);
}
.service-top-heading {
  font-weight: 400;
  font-size: var(--font-size-26px);
  writing-mode: vertical-rl;
  .break+.break {
    margin-block-start: 0.2em;
  }
}
.service-top-heading-line {
  display: inline-block;
  padding-block: 0.2em;
  padding-inline: 0.6em;
  background-color: #FFF;
  border-radius: 5px;
}
.service-list {
  margin-top: calc(var(--block-70px) + 15px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: calc(var(--block-70px) + 15px) var(--inline-60px);
  counter-reset: service-counter;
}
.service-item {
  padding-left: 64px;
  border-left: 1px solid #D8E3C7;
  counter-increment: service-counter;
  position: relative;
  &::before {
    content: counter(service-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 63px;
    aspect-ratio: 1 / 1;
    background-image: url(./img/dot-circle-60px.svg);
    background-size: 100%;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    position: absolute;
    top: -10px;
    left: -17px;
  }
}
.service-item-heading {
  margin-bottom: 0.8em;
  font-weight: 400;
  font-size: var(--font-size-30px);
}
.service-item-text {
  font-size: var(--font-size-18px);
}
.service-item-image {
  margin-top: var(--block-50px);
  text-align: center;
}
.service-comment {
  display: flex;
  align-items: center;
  gap: 0 30px;
  margin-top: var(--block-100px);
  padding: var(--block-40px) var(--block-50px);
  background-color: rgb(224, 236, 207, 0.5);
  border-radius: 4px;
}
.service-comment-image {
  flex-shrink: 0;
}
.profile-outer {
  margin-top: -250px;
  padding-top: var(--block-200px);
  background-image: linear-gradient(to right, rgb(255, 255, 255, 0) 50%, rgb(255, 255, 255) 50%);
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    max-width: calc(50% + 860px);
    background-color: #FFF;
    position: absolute;
    top: 0;
    right: 0;
  }
}
.profile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0 var(--inline-60px);
  position: relative;
}
.profile-textBox {
  max-width: 700px;
  font-size: var(--font-size-18px);
}
.profile-text {
  line-height: 2;
}
.profile-history {
  margin-top: 70px;
  position: relative;
}
.profile-history-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 83px;
  aspect-ratio: 1 / 1;
  background-image: url(./img/dot-circle-80px.svg);
  background-size: 100%;
  color: var(--primary-color);
  font-weight: 400;
  font-size: 1rem;
  position: absolute;
  top: -60px;
  left: calc(-1 * var(--inline-50px));
}
.profile-history-list {
  padding-block: 30px;
  border-top: 1px solid #D8E3C7;
  border-bottom: 1px solid #D8E3C7;
}
.profile-history-item {
  display: flex;
  +.profile-history-item {
    margin-top: 0.5em;
  }
}
.profile-history-year {
  min-width: 3em;
  margin-right: 20px;
  color: #BFBEB3;
}
.profile-figure {
  flex-shrink: 0;
  position: relative;
}
.profile-figure-image {
  position: relative;
  z-index: 0;
  &::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: #F1F8E7;
    border-radius: 4px;
    position: absolute;
    z-index: -1;
    right: -5.6%;
    bottom: -4.4%;
  }
}
.profile-figure-text {
  color: #FFF;
  font-size: 0.9375rem;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  position: absolute;
  top: 19%;
  right: 21%;
  rotate: 10deg;
}
.profile-figcaption {
  position: absolute;
  bottom: 15px;
  left: 15px;
}
.profile-figcaption-sub, .profile-figcaption-main {
  display: block;
  width: fit-content;
  background-color: #FFF;
  border-radius: 3px;
  line-height: 1.2;
}
.profile-figcaption-sub {
  padding: 0.4em 0.55em;
  font-size: 1rem;
}
.profile-figcaption-main {
  margin-top: 4px;
  padding: 0.4em 0.55em;
  font-size: var(--font-size-22px);
}
.gallery {
  margin-top: var(--block-180px);
}
.gallery-slider {
  max-width: 1920px;
  margin-inline: auto;
}
.gallery-slide {
  display: flex;
}
.gallery-image {
  &.slide01 {
    margin-top: 36px;
  }
  &.slide02 {
    margin-top: auto;
    margin-bottom: 7px;
  }
  &.slide04 {
    margin-top: auto;
  }
  &.slide05 {
    margin-top: 35px;
  }
  &.slide06 {
    margin-top: auto;
    margin-bottom: 50px;
  }
}
.office {
  margin-top: var(--block-240px);
}
.office-table {
  margin-top: var(--block-80px);
  font-size: var(--font-size-18px);
}
.office-table-row {
  display: flex;
  +.office-table-row {
    margin-top: 5px;
  }
}
.office-table-header {
  width: min(320px, 30%);
  min-width: 120px;
  padding: calc(var(--block-30px) * 13 / 15) var(--block-30px);
  background-color: #6A635B;
  border-radius: 4px;
  color: #FFF;
  flex-shrink: 0;
}
.office-table-data {
  flex-grow: 1;
  background-color: #F4F6F1;
  padding: calc(var(--block-30px) * 13 / 15) var(--block-30px);
  border-radius: 4px;
  &:has(.button_map) {
    position: relative;
    padding-right: calc(var(--block-30px) + 5.5rem + 1em);
  }
  .button_map {
    position: absolute;
    top: 50%;
    right: var(--block-30px);
    translate: 0 -50%;
  }
}
.access {
  margin-top: var(--block-80px);
}
.access-heading {
  display: flex;
  align-items: center;
  gap: 0 20px;
  margin-bottom: 1em;
  font-weight: 400;
  font-size: var(--font-size-30px);
  &::before {
    content: "";
    display: inline-block;
    min-width: 63px;
    aspect-ratio: 1 / 1;
    background-image: url(./img/dot-circle-60px.svg), url(./img/icn-map-green.svg);
    background-size: 100%, auto;
    background-position: 0 0, center;
  }
}
.access-link {
  font-weight: 700;
  font-size: var(--font-size-18px);
  line-height: 2;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.access-list {
  margin-top: 20px;
  font-size: 1rem;
}
.access-item {
  padding-left: 1.25em;
  position: relative;
  &::before {
    content: "";
    display: inline-block;
    width: 0.5em;
    aspect-ratio: 1 / 1;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 0.5em;
    left: 0.25em;
  }
  +.access-item {
    margin-top: 0.5em;
  }
}
.access-item-heading {
  font-weight: 700;
  font-size: 1rem;
  &::after {
    content: "：";
    font-weight: 400;
  }
}
.access-images {
  display: flex;
  gap: 0 20px;
  margin-top: var(--block-40px);
}
.access-map {
  flex-grow: 1;
}
.access-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.access-gallery-figure {
  position: relative;
}
.access-gallery-figcaption {
  padding: 0.25em 0.8em;
  background-color: rgb(55, 51, 47, 0.75);
  border-radius: 3px;
  color: #FFF;
  font-size: 0.9375rem;
  position: absolute;
  top: 10px;
  left: 10px;
}
@media screen and (max-width: 1200px) {
  .footer-inner {
    display: block;
  }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-bottom {
    margin-top: var(--block-60px);
  }
  .greeting {
    padding-bottom: 0;
  }
  .greeting-heading {
    &::after {
      font-size: 7em;
      top: 0.8em;
      left: -0.1em;
    }
  }
  .greeting-gallery {
    margin-top: var(--block-90px);
    display: grid;
    justify-content: center;
    gap: 20px;
  }
  .greeting-gallery-image {
    position: static;
    &:first-child {
      max-width: none;
      grid-row: 1 / 3;
      grid-column: 1 / 2;
    }
    &:nth-child(2) {
      grid-row: 1 / 2;
      grid-column: 2 / 3;
      margin: auto;
    }
    &:last-child {
      grid-row: 2 / 3;
      grid-column: 2 / 3;
    }
  }
  .service-outer {
    padding-bottom: 0;
  }
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-outer {
    margin-top: var(--block-140px);
    padding-top: 0;
    &::before {
      display: none;
    }
  }
  .profile {
    display: block;
  }
  .profile-textBox {
    max-width: none;
  }
  .profile-history-heading {
    left: -10px;
  }
  .profile-figure {
    margin-top: var(--block-60px);
    width: fit-content;
    margin-inline: auto;
  }
}
@media screen and (max-width: 960px) {
  .mv-heading {
    top: 8%;
    right: 8%;
  }
  .mv-slide-text {
    bottom: 41%;
    right: 56%;
  }
  .greeting-fullText-inner{
    display: block;
  }
  .greeting-fullText-content{
    width: auto;
  }
  .greeting-fullText-image{
    position: static;
  }
  .access-images {
    display: block;
  }
  .access-map {
    height: 280px;
  }
  .access-gallery {
    margin-top: 20px;
    flex-direction: row;
  }
}
@media screen and (max-width: 640px) {
  body:has(#globalNavToggle:checked) {
    overflow: hidden;
  }
  .globalNav {
    width: 100%;
  }
  .footer-top, .footer-box {
    flex-direction: column;
  }
  .footer-heading {
    white-space: normal;
  }
  .footer-pageTop {
    padding: 20px;
    writing-mode: horizontal-tb;
    text-align: center;
    &::before {
      margin-bottom: 0;
      margin-right: 0.625em;
    }
  }
  .mv-inner {
    padding-inline: 0;
    &::before {
      display: none;
    }
  }
  .mv-heading {
    margin-bottom: 0.8em;
    padding-inline: var(--inline-60px);
    color: var(--text-color);
    writing-mode: horizontal-tb;
    position: static;
  }
  .mv-slide-text {
    bottom: 12%;
    right: 58%;
  }
  .mv-slider-control {
    padding-inline: var(--inline-60px);
  }
  .greeting-content {
    display: block;
  }
  .greeting-heading {
    max-width: calc(7em + 3px);
    &::after {
      font-size: 20vw;
      writing-mode: horizontal-tb;
      top: auto;
      bottom: -0.5em;
      left: -10px;
    }
  }
  .greeting-gallery-image {
    &:first-child, &:nth-child(2), &:last-child {
      grid-row: auto;
      grid-column: auto;
    }
  }
  .service-top {
    display: block;
  }
  .service-top-heading {
    width: fit-content;
    margin-block: auto;
    margin-top: 1.5em;
  }
  .service-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .service-comment {
    display: block;
  }
  .service-comment-image {
    text-align: center;
    margin-bottom: 20px;
  }
  .service-comment-text {
    text-align: justify;
  }
  .profile-figure-image {
    &::after {
      right: -3.75%;
      bottom: -3%;
    }
  }
  .office-table-row {
    display: block;
  }
  .office-table-header {
    width: auto;
    min-width: 0;
  }
  .office-table-data {
    &:has(.button_map) {
      padding-right: var(--block-30px);
    }
    .button_map {
      position: static;
      translate: none;
      margin-top: 1em;
    }
  }
  .access-gallery {
    flex-direction: column;
  }
}
