/* ========================================
      リセットcss
 ========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  border: 0;
  font-size: 100%;
  font-weight: normal;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

ol,
ul {
  list-style: none;
}

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

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

button {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  margin: 0;
  padding: 0;
}

input,
select,
textarea {
  color: inherit;
  font: inherit;
  vertical-align: top;
}

/* ========================================
      ベースcss
 ========================================= */

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  animation: siteFadeIn 1.2s ease-out 0.1s both;
  background-color: #fff;
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-feature-settings: "pkna" 1;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.l-main {
  overflow: hidden;
}

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

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

/* ========================================
    inner_css
 ========================================= */

.l-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1440px;
  padding-left: clamp(1.375rem, 0.767rem + 3.04vw, 3.5rem);
  padding-right: clamp(1.375rem, 0.767rem + 3.04vw, 3.5rem);
}

/* =========================
   header
   ========================= */

.l-header__menu-wrapper {
  position: relative;
}

.l-header {
  left: 0;
  padding-top: 30px;
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  width: 100%;
  z-index: 100;
}

.l-header__container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.l-header__logo {
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
}

.l-header__logo-link {
  display: block;
}

.l-header__logo-img {
  height: 32px;
  transition: opacity 0.3s ease;
  width: auto;
}

.l-header__logo-img--scrolled {
  height: 32px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.3s ease;
  width: auto;
}

.l-header__actions {
  align-items: center;
  display: flex;
  gap: 16px;
}

.l-header__contact-btn {
  background-color: #0b5900;
  border: 1px solid #0b5900;
  border-radius: 25px;
  color: #ffffff;
  display: inline-block;
  font-size: clamp(0.75rem, 0.684rem + 0.28vw, 0.938rem);
  font-weight: 400;
  line-height: 100%;
  padding: clamp(0.5rem, 0.456rem + 0.19vw, 0.625rem) clamp(1.125rem, 0.641rem + 2.07vw, 2.5rem);
  transition: all 0.3s ease;
}

.l-header__menu-btn {
  align-items: center;
  background-color: transparent;
  border: 1.5px solid #fafafa;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 40px;
  justify-content: center;
  transition: all 0.3s ease;
  width: 40px;
  z-index: 101;
}

.l-header__menu-line {
  background-color: #fafafa;
  display: block;
  height: 1.5px;
  transition: all 0.3s ease;
  width: 16px;
}

.l-header--hero {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.l-header--hero.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.l-header--hero .l-header__logo-img {
  opacity: 1;
}

.l-header--hero .l-header__logo-img--scrolled {
  opacity: 0;
}

.l-header--hero .l-header__menu-btn {
  border-color: #fafafa;
}

.l-header--hero .l-header__menu-line {
  background-color: #fafafa;
}

.l-header--scroll {
  background-color: #e9ebe1;
  opacity: 0;
  padding-bottom: 13px !important;
  padding-top: 13px !important;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100 !important;
}

.l-header--scroll.is-visible {
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 1px 5px 0 rgba(34, 34, 34, 0.05);
}

.l-header--scroll .l-header__logo-img {
  opacity: 0;
}

.l-header--scroll .l-header__logo-img--scrolled {
  opacity: 1;
}

.l-header--scroll .l-header__menu-btn {
  border-color: #0b5900;
}

.l-header--scroll .l-header__menu-line {
  background-color: #0b5900;
}

.l-header--scroll .l-drawer {
  z-index: 102;
}

/* =========================
   drawer - リンクアニメーション付き
   ========================= */

.l-drawer {
  background-color: #0b5900;
  border-radius: 20px;
  height: auto;
  opacity: 0;
  position: absolute;
  right: -8px;
  top: -8px;
  transform: scale(0);
  transform-origin: top right;
  transition: all 0.6s ease-out;
  visibility: hidden;
  width: clamp(16.875rem, 15.775rem + 4.69vw, 20rem);
  z-index: 102;
}

.l-drawer.is-open {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.l-drawer.is-closing {
  transition-delay: 0.45s;
}

.l-drawer__content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.25rem, 0.986rem + 1.13vw, 2rem) clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  position: relative;
  width: 100%;
}

.l-drawer__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.l-drawer__close-btn {
  align-items: center;
  background-color: transparent;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 40px;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  width: 40px;
}

.l-drawer__close-line {
  background-color: #fff;
  display: block;
  height: 1.5px;
  position: absolute;
  transition: all 0.3s ease;
  width: 16px;
}

.l-drawer__close-line:first-child {
  transform: rotate(45deg);
}

.l-drawer__close-line:last-child {
  transform: rotate(-45deg);
}

.l-drawer__nav {
  flex: 1;
  overflow: hidden;
}

.l-drawer__nav-list {
  display: flex;
  flex-direction: column;
}

.l-drawer__nav-item {
  border-bottom: 1px dashed #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}

.l-drawer__nav-item:last-child {
  border-bottom: none;
}

.l-drawer.is-open .l-drawer__nav-item {
  opacity: 1;
  transform: translateY(0);
}

.l-drawer.is-open .l-drawer__nav-item:nth-child(1) {
  transition-delay: 0.3s;
}

.l-drawer.is-open .l-drawer__nav-item:nth-child(2) {
  transition-delay: 0.4s;
}

.l-drawer.is-open .l-drawer__nav-item:nth-child(3) {
  transition-delay: 0.5s;
}

.l-drawer.is-open .l-drawer__nav-item:nth-child(4) {
  transition-delay: 0.6s;
}

.l-drawer.is-open .l-drawer__nav-item:nth-child(5) {
  transition-delay: 0.7s;
}

.l-drawer.is-closing .l-drawer__nav-item {
  opacity: 0;
  transform: translateY(20px);
}

.l-drawer.is-closing .l-drawer__nav-item:nth-child(1) {
  transition-delay: 0s;
}

.l-drawer.is-closing .l-drawer__nav-item:nth-child(2) {
  transition-delay: 0.1s;
}

.l-drawer.is-closing .l-drawer__nav-item:nth-child(3) {
  transition-delay: 0.2s;
}

.l-drawer.is-closing .l-drawer__nav-item:nth-child(4) {
  transition-delay: 0.2s;
}

.l-drawer.is-closing .l-drawer__nav-item:nth-child(5) {
  transition-delay: 0.3s;
}

.l-drawer__nav-link {
  color: #fff;
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.l-drawer__logo {
  align-items: flex-end;
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease-out;
}

.l-drawer.is-open .l-drawer__logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.l-drawer.is-closing .l-drawer__logo {
  opacity: 0;
  transform: translateY(10px);
  transition-delay: 0.3s;
}

.l-drawer__logo-img {
  height: 32px;
  width: auto;
}

/* =========================
   footer
   ========================= */

.l-footer {
  background-color: #333333;
  padding-bottom: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  padding-top: clamp(2.5rem, 2.148rem + 1.5vw, 3.5rem);
  position: relative;
  z-index: 40;
}

/* パララックス用のスペーサー */

.l-parallax-spacer {
  height: 100vh;
  position: relative;
}

.l-footer__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(2rem, 1.648rem + 1.5vw, 3rem);
  text-align: center;
}

.l-footer__logo {
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
}

.l-footer__logo-img {
  height: auto;
  width: clamp(8rem, 7.692rem + 1.31vw, 8.875rem);
}

.l-footer__info {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 0.412rem + 0.38vw, 0.75rem);
  text-align: center;
}

.l-footer__address,
.l-footer__tel {
  color: #fff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.l-footer__divider {
  background-color: rgba(255, 255, 255, 0.3);
  height: 1px;
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  width: 100%;
}

.l-footer__copyright {
  text-align: center;
}

.l-footer__copyright-text {
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: clamp(0.75rem, 0.706rem + 0.19vw, 0.875rem);
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

/* =========================
   main
   ========================= */

.l-main {
  margin-top: 100vh;
  margin-top: 100svh; /* モバイルのアドレスバー変化でも高さを固定 */
  overflow: visible;
}

.l-hero {
  height: 100vh;
  height: 100svh; /* モバイルでも高さを一定に保つ */
  left: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  position: fixed; /* 固定表示 */
  top: 0;
  width: 100%;
  z-index: 1;
}

.l-hero__video {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.l-hero__video-element {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top center;
  object-position: top center;
}

/* CSS（@media クエリ）で表示を切り替え */
@media screen and (max-width: 970px) {
  .l-hero__video-element--sp {
    display: block;
  }
  .l-hero__video-element--pc {
    display: none;
  }
}

@media screen and (min-width: 971px) {
  .l-hero__video-element--sp {
    display: none;
  }
  .l-hero__video-element--pc {
    display: block;
  }
}

/* .l-hero__overlay {
  background-image: url("../img/texture-overlay.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
} */

.l-hero__content {
  bottom: 0;
  left: 0;
  padding-bottom: 60px;
  position: absolute;
  width: 100%;
  z-index: 4;
}

.l-hero__catchcopy {
  display: flex;
  justify-content: flex-start;
}

.l-hero__catchcopy-text {
  color: #fff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-orientation: mixed;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  writing-mode: vertical-rl;
}

.l-hero__catchcopy-line {
  display: block;
  font-family: "Noto Serif JP", serif;
  line-height: 100%;
  margin-left: 16px;
}

.l-hero__catchcopy-line:last-child {
  margin-left: 0;
  margin-top: 24px;
}

/* =========================
   about
   ========================= */

.l-about {
  background-color: #e9ebe1;
  border-radius: 30px 30px 0 0;
  min-height: 100vh;
  padding-bottom: clamp(4rem, 2.768rem + 5.26vw, 7.5rem);
  position: relative;
  z-index: 10; /* パララックス用のスタイル */
}

.l-about.is-fixed {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 15;
}

.l-about__inner {
  margin: 0 auto;
  max-width: 1232px;
  padding-top: clamp(4rem, 2.768rem + 5.26vw, 7.5rem);
}

.l-about__container {
  position: relative;
  width: 100%;
}

.l-about__title {
  color: #0b5900;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1rem, 0.648rem + 1.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: clamp(1.5rem, 0.972rem + 2.25vw, 3rem);
  text-align: left;
}

.l-about__catchcopy {
  margin-bottom: clamp(2rem, 1.472rem + 2.25vw, 3.5rem);
  text-align: left;
}

.l-about__heading {
  color: #0b5900;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 1.148rem + 1.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
}

.l-about__subheading {
  color: #0b5900;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1rem, 0.648rem + 1.5vw, 2rem);
  font-weight: 500;
  line-height: 100%;
}

.l-about__text {
  display: block;
  text-align: right;
}

.l-about_text-box {
  display: inline-block;
  text-align: left;
}

.l-about__text-line {
  color: #0b5900;
  display: block;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 250%;
}

.l-about__text-line:last-child {
  margin-bottom: 0;
}

/* =========================
   service
   ========================= */

.l-service {
  position: relative;
  z-index: 20;
  min-height: 100vh;
  padding-top: clamp(4rem, 2.768rem + 5.26vw, 7.5rem);
  padding-bottom: clamp(4rem, 2.768rem + 5.26vw, 7.5rem);
}
.l-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #f8f8f8;
  border-radius: 30px 30px 0 0;
  z-index: -5;
}

.l-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-color: #e9ebe1;
  z-index: -10;
}

.l-service__header {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 0.944rem + 4.51vw, 5rem);
  margin-bottom: clamp(3rem, 2.472rem + 2.25vw, 4.5rem);
}

.l-service__title {
  color: #0b5900;
  font-family: "Archivo", sans-serif;
  font-size: clamp(3rem, 2.296rem + 3vw, 5rem);
  font-weight: 500;
  line-height: 100%;
  margin-bottom: clamp(0.5rem, 0.324rem + 0.75vw, 1rem);
}

.l-service__subtitle {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
}

.l-service__description {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 0.912rem + 0.38vw, 1.25rem);
  font-weight: 400;
  line-height: 1.8;
}

.l-service__header-image {
  align-items: center;
  display: flex;
  justify-content: center;
  padding-left: 32px;
  padding-right: 32px;
}

.l-service__header-img {
  height: auto;
  max-width: 430px;
  width: 100%;
}

.l-service__detail-subtitle {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}

.l-service__detail-subtitle:nth-of-type(2) {
  margin-top: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
}

.l-service__detail {
  display: none;
}

.l-service__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 40px;
}

.l-service__detail-content {
  background-color: #fbfbfb;
  border-radius: 10px;
  box-shadow: 0 2px 7px 0 rgba(34, 34, 34, 0.05);
  height: auto;
  max-width: 470px;
  min-height: auto;
  padding: clamp(2rem, 1.824rem + 0.75vw, 2.5rem) clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
}

.l-service__detail-title {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
  font-weight: 500;
  margin-bottom: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
}

.l-service__detail-text {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
}

.l-service__detail-image {
  height: auto;
  max-width: 100%;
}

.l-service__detail-img {
  height: auto;
  width: 100%;
  -o-object-fit: cover;
  border-radius: 5px;
  object-fit: cover;
}

.l-service__category {
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
}

.l-service__category:last-child {
  margin-bottom: 0;
}

.l-service__category-header {
  border-top: 1px solid rgba(11, 89, 0, 0.2);
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  padding-top: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  transition: -webkit-text-decoration 0.3s ease;
  transition: text-decoration 0.3s ease;
  transition: text-decoration 0.3s ease, -webkit-text-decoration 0.3s ease;
}

.l-service__category-title {
  align-items: center;
  background-color: transparent;
  border: none;
  color: #a5c0a1;
  cursor: pointer;
  display: inline-flex;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  font-weight: 500;
  gap: 16px;
  justify-content: flex-start;
  padding: 0;
  text-align: left;
  transition: all 0.3s ease;
  width: auto;
}

.l-service__category-header {
  border-top: 1px solid rgba(11, 89, 0, 0.2);
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  padding-top: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
}

.l-service__category--active .l-service__category-title {
  color: #0b5900;
}

.l-service__category--active .l-service__category-title .l-service__category-arrow svg {
  fill: #0b5900;
}

.l-service__category-arrow {
  transition: transform 0.3s ease;
}

.l-service__category-arrow svg {
  height: 20px;
  width: 20px;
  fill: #a5c0a1;
  transition: fill 0.3s ease;
}

.l-service__category-items {
  display: none;
}

.l-service__category--active .l-service__category-items {
  display: block;
}

.l-service__category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.l-service__tag {
  align-items: center;
  background-color: transparent;
  border: 1px solid #0b5900;
  border-radius: 40px;
  color: #0b5900;
  cursor: pointer;
  display: inline-flex;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.75rem, 0.706rem + 0.19vw, 0.875rem);
  font-weight: 400;
  justify-content: space-between;
  padding: 8px 16px;
  text-align: left;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.l-service__category--expanded .l-service__category-items {
  display: block !important;
}

.l-service__tag--active {
  background-color: #0b5900;
  border-color: #0b5900;
  color: #fff;
}

.l-service__tag--active .l-service__tag-icon::before {
  content: url("../img/arrow_white.svg");
  height: 20px;
  position: absolute;
  width: 20px;
}

.l-service__tag-icon {
  align-items: center;
  display: inline-flex;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.l-service__modal {
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  visibility: hidden;
  width: 100%;
  z-index: 200;
}

.l-service__modal.is-open {
  opacity: 1;
  visibility: visible;
}

.l-service__modal-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.l-service__modal-content {
  background-color: #fff;
  border-radius: 12px;
  cursor: default;
  left: 50%;
  max-height: calc(100vh - 64px);
  max-width: 500px;
  overflow-y: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}

.l-service__modal-close {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  height: 32px;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  z-index: 1;
}

.l-service__modal-body {
  padding: 32px 24px 24px;
}

.l-service__modal-body .l-service__detail-title {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
  font-weight: 500;
  margin-bottom: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
}

.l-service__modal-body .l-service__detail-text {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
}

.l-service__modal-body .l-service__detail-image {
  height: auto;
  max-width: 100%;
}

.l-service__modal-body .l-service__detail-img {
  height: auto;
  width: 100%;
  -o-object-fit: cover;
  border-radius: 5px;
  object-fit: cover;
}

body.is-modal-open {
  overflow: hidden;
}

/* =========================
   company
   ========================= */

.l-company {
  min-height: 100vh;
  padding-bottom: clamp(4rem, 3.648rem + 1.5vw, 5rem);
  position: relative;
  z-index: 25; /* パララックス用のスタイル */
}

.l-company::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #e5e9d4;
  border-radius: 30px 30px 0 0;
  z-index: -5;
}

.l-company::before {
  background-color: #f8f8f8;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  z-index: -10;
}

.l-company.is-fixed {
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 30;
}

.l-company-inner {
  padding-top: clamp(4rem, 3.648rem + 1.5vw, 5rem);
}

.l-company__header {
  margin-bottom: clamp(3rem, 2.472rem + 2.25vw, 4.5rem);
  text-align: left;
}

.l-company__title {
  color: #0b5900;
  font-family: "Archivo", sans-serif;
  font-size: clamp(3rem, 2.296rem + 3vw, 5rem);
  font-weight: 500;
  line-height: 100%;
  margin-bottom: clamp(0.5rem, 0.324rem + 0.75vw, 1rem);
}

.l-company__subtitle {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.l-company__content {
  display: flex;
  justify-content: flex-end;
}

.l-company__table {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  width: 100%;
}

.l-company__table-row {
  align-items: flex-start;
  border-bottom: 1px solid #cacaca;
  display: flex;
  flex-direction: row;
  padding: clamp(1.5rem, 1.324rem + 0.75vw, 2rem) 0;
}

.l-company__table-row:first-child {
  padding-top: 0;
}

.l-company__table-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.l-company__table-term {
  color: #0b5900;
  flex: 0 0 clamp(7.5rem, 6.5rem + 4vw, 10rem);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
  margin-right: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  text-align: left;
  white-space: nowrap;
}

.l-company__table-desc {
  color: #222222;
  flex: 1;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

/* =========================
   contact
   ========================= */

.l-contact {
  min-height: 100vh;
  padding-bottom: clamp(4rem, 3.648rem + 1.5vw, 5rem);
  padding-top: clamp(4rem, 3.648rem + 1.5vw, 5rem);
  position: relative;
  z-index: 35;
}

.l-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #f8f8f8;
  border-radius: 30px 30px 0 0;
  z-index: -5;
}

.l-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-color: #e5e9d4;
  z-index: -10;
}

.l-contact__header {
  margin-bottom: clamp(2rem, 1.472rem + 2.25vw, 3.5rem);
  text-align: center;
}

.l-contact__title {
  color: #0b5900;
  font-family: "Archivo", sans-serif;
  font-size: clamp(3rem, 2.296rem + 3vw, 5rem);
  font-weight: 500;
  line-height: 100%;
  margin-bottom: clamp(0.5rem, 0.324rem + 0.75vw, 1rem);
}

.l-contact__subtitle {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.l-contact__description {
  margin-bottom: clamp(2rem, 1.296rem + 3vw, 4rem);
  text-align: left;
}

.l-contact__description-text {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 16px;
}

.l-contact__description-note {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.813rem, 0.79rem + 0.09vw, 0.875rem);
  font-weight: 400;
  line-height: 100%;
}

.l-contact__description-note::before {
  color: #c93a75;
  content: "※";
  font-size: clamp(0.813rem, 0.79rem + 0.09vw, 0.875rem);
}

.l-contact__form {
  margin: 0 auto;
  max-width: 800px;
}

.l-contact__form-group {
  margin-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
}

.l-contact__form-group:last-child {
  margin-bottom: 0;
}

.l-contact__form-label {
  color: #222222;
  display: block;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 500;
  margin-bottom: clamp(0.5rem, 0.412rem + 0.38vw, 0.75rem);
  position: relative;
}

.l-contact__form-label--required::after {
  color: #c93a75;
  content: "※";
  font-size: 12px;
  margin-left: 4px;
  position: absolute;
  top: 0;
}

.l-contact__form-label--subtext {
  display: inline-block;
  font-size: 12px;
}

.l-contact__form-input {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  padding: clamp(0.75rem, 0.618rem + 0.56vw, 1.125rem) clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  transition: border-color 0.3s ease;
  width: 100%;
}

.l-contact__form-input::-moz-placeholder {
  color: #aaaaaa;
}

.l-contact__form-input::placeholder {
  color: #aaaaaa;
}

.l-contact__form-input:focus {
  border-color: #0b5900;
  outline: none;
}

.l-contact__form-textarea {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  min-height: 120px;
  padding: clamp(0.75rem, 0.618rem + 0.56vw, 1.125rem) clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  resize: vertical;
  transition: border-color 0.3s ease;
  width: 100%;
}

.l-contact__form-textarea:focus {
  border-color: #0b5900;
  outline: none;
}

.l-contact__form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.l-contact__form-checkbox {
  align-items: center;
  cursor: pointer;
  display: flex;
}

.l-contact__form-checkbox--privacy {
  justify-content: center;
  margin-bottom: clamp(2.5rem, 2.324rem + 0.75vw, 3rem);
  margin-top: 24px;
}

.l-contact__form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  height: 18px;
  margin-right: 8px;
  margin-top: 2px;
  width: 18px;
}

.l-contact__form-checkbox-text {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 4px;
  text-align: center;
}

.l-contact__privacy-box {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  height: 242px;
  margin-bottom: 1rem;
  overflow-y: scroll;
  padding: 1rem;
}

.l-contact__privacy-box p {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: clamp(0.75rem, 0.618rem + 0.56vw, 1.125rem);
}

.l-contact__privacy-box p:last-child {
  margin-bottom: 0;
}

.l-contact__privacy-box h4 {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 500;
  margin-bottom: clamp(0.5rem, 0.412rem + 0.38vw, 0.75rem);
  margin-top: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
}

.l-contact__privacy-box h4:first-child {
  margin-top: 0;
}

.l-contact__form-submit {
  text-align: center;
}

.l-contact__submit-btn {
  background-color: #e9ebe1;
  border: none;
  color: #0b5900;
  cursor: pointer;
  display: inline-block;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 500;
  line-height: 100%;
  max-width: 400px;
  padding-bottom: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  padding-top: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  transition: all 0.3s ease;
  width: 100%;
}

@media (any-hover: hover) {
  .l-header__logo:hover {
    opacity: 0.8;
    transform: scale(1.02);
  }

  .l-header__contact-btn:hover {
    background-color: #fff;
    border: 1px solid #0b5900;
    border-radius: 24px;
    color: #0b5900;
  }

  .l-header__menu-btn:hover {
    background: #0b5900;
    border-color: #0b5900;
  }

  .l-header--hero .l-header__menu-btn:hover {
    background: #0b5900;
    border-color: #0b5900;
  }

  .l-header--hero .l-header__menu-btn:hover .l-header__menu-line {
    background-color: #ffffff;
  }

  .l-header--scroll .l-header__menu-btn:hover {
    background: #0b5900;
    border-color: #0b5900;
  }

  .l-header--scroll .l-header__menu-btn:hover .l-header__menu-line {
    background-color: #ffffff;
  }

  .l-drawer__close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
  }

  .l-drawer__nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 8px;
  }

  .l-service__category-title:hover {
    color: #0b5900;
    text-decoration: underline;
  }

  .l-service__category-title:hover .l-service__category-arrow svg {
    fill: #0b5900;
  }

  .l-service__tag:hover {
    background-color: #0b5900;
    color: #fff;
  }

  .l-service__tag:hover .l-service__tag-icon::before {
    content: url("../img/arrow_white.svg");
    height: 20px;
    position: absolute;
    width: 20px;
  }

  .l-contact__submit-btn:hover {
    background-color: #0b5900;
    color: #fff;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .l-header {
    padding-top: 30px;
  }

  .l-header__logo-img {
    height: 40px;
  }

  .l-header__logo-img--scrolled {
    height: 40px;
  }

  .l-header__actions {
    gap: 20px;
  }

  .l-header__menu-btn {
    gap: 8px;
    height: 44px;
    width: 44px;
  }

  .l-header__menu-line {
    height: 1.5px;
    width: 18px;
  }

  .l-drawer__close-btn {
    height: 44px;
    width: 44px;
  }

  .l-drawer__close-line {
    width: 18px;
  }

  .l-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .l-hero__content {
    padding-bottom: 80px;
  }

  .l-hero__catchcopy-line {
    margin-left: 18px;
  }

  .l-hero__catchcopy-line:last-child {
    margin-top: 32px;
  }

  .l-about__text-line {
    line-height: 100%;
    margin-bottom: 16px;
  }

  .l-about__text-line--indent1 {
    padding-left: 40px;
  }

  .l-about__text-line--indent2 {
    padding-left: 180px;
  }

  .l-service__header {
    align-items: center;
    flex-direction: row;
  }

  .l-service__header-image {
    flex: 0 0 300px;
    padding-left: 0;
    padding-right: 0;
  }

  .l-service__content {
    flex-direction: row;
    gap: 40px;
  }

  .l-service__detail-content {
    width: clamp(21.25rem, 9.956rem + 23.53vw, 25rem);
  }

  .l-contact__description {
    text-align: center;
  }
}

@media screen and (min-width: 1024px) {
  .l-header {
    padding-top: 40px;
  }

  .l-header__logo-img {
    height: 48px;
  }

  .l-header__logo-img--scrolled {
    height: 48px;
  }

  .l-header__actions {
    gap: 24px;
  }

  .l-header__menu-btn {
    gap: 8px;
    height: 56px;
    width: 56px;
  }

  .l-header__menu-line {
    height: 1.5px;
    width: 20px;
  }

  .l-drawer__close-btn {
    height: 56px;
    width: 56px;
  }

  .l-drawer__close-line {
    width: 20px;
  }

  .l-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .l-hero__content {
    padding-bottom: 100px;
  }

  .l-hero__catchcopy-line {
    margin-left: 24px;
  }

  .l-hero__catchcopy-line:last-child {
    margin-top: 32px;
  }

  .l-about__text-line {
    line-height: 100%;
    margin-bottom: 24px;
  }

  .l-about__text-line--indent1 {
    padding-left: 40px;
  }

  .l-about__text-line--indent2 {
    padding-left: 180px;
  }

  .l-service__header {
    align-items: flex-start;
    flex-direction: row;
  }

  .l-service__header-content {
    flex: 1;
  }

  .l-service__header-image {
    flex: 0 0 450px;
    padding-left: 0;
    padding-right: 0;
  }

  .l-service__detail {
    display: block;
  }

  .l-service__content {
    flex-direction: row;
    gap: 40px;
  }

  .l-service__detail-content {
    min-height: 700px;
  }

  .l-service__list {
    flex: 1;
  }

  .l-service__modal {
    display: none !important;
  }

  .l-company__header {
    margin-bottom: clamp(1.25rem, -5.496rem + 10.55vw, 4rem);
  }

  .l-company__content {
    justify-content: flex-end;
  }

  .l-company__table {
    min-width: 886px;
    width: auto;
  }

  .l-company__table-row {
    padding: 28px 0;
  }

  .l-company__table-term {
    flex: 0 0 220px;
    margin-right: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
  }

  .l-company__table-desc {
    flex: 1;
  }

  .l-contact__description {
    text-align: center;
  }
}

@keyframes siteFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =========================
   お問い合わせモーダル
   ========================= */

.l-contact__modal {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  visibility: hidden;
  width: 100%;
  z-index: 9999;
}

.l-contact__modal.is-open {
  opacity: 1;
  visibility: visible;
}

.l-contact__modal-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.l-contact__modal-content {
  background-color: #fff;
  border-radius: 12px;
  max-width: 500px;
  padding: clamp(2rem, 1.648rem + 1.5vw, 3rem) clamp(1.5rem, 1.148rem + 1.5vw, 2.5rem);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  width: calc(100% - 32px);
  z-index: 1;
}

.l-contact__modal.is-open .l-contact__modal-content {
  transform: scale(1);
}

.l-contact__modal-close {
  background-color: transparent;
  border: none;
  color: #222222;
  cursor: pointer;
  font-size: 32px;
  height: 40px;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: color 0.3s ease;
  width: 40px;
}

.l-contact__modal-close:hover {
  color: #0b5900;
}

.l-contact__modal-body {
  text-align: center;
}

.l-contact__modal-icon {
  margin-bottom: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
}

.l-contact__modal-title {
  color: #0b5900;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
  font-weight: 500;
  margin-bottom: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
}

.l-contact__modal-message {
  color: #222222;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
}

body.is-modal-open {
  overflow: hidden;
}

/* =========================
   サービスセクション - スマホ/タブレット用カラー調整
   ========================= */

@media screen and (max-width: 1023px) {
  /* 大カテゴリーのタイトルをすべてアクティブカラーに */
  .l-service__category-title {
    color: #0b5900 !important;
  }

  /* 大カテゴリーの矢印アイコンをすべてアクティブカラーに */
  .l-service__category-title .l-service__category-arrow svg {
    fill: #0b5900 !important;
  }
}

.sp-br {
  display: block;
}

@media screen and (min-width: 1023px) {
  /* 大カテゴリーのタイトルをすべてアクティブカラーに */
  .sp-br {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .sp-br {
    display: none;
  }
}
