@charset "utf-8";
:root {
  /* color */
  --white: #fff;
  --black: #333333;
  --black2: #535353;
  --black3: #000000;
  --gray1: #cecece;
  --gray2: #ebebeb;
  --gray3: #c2c2c2;
  --gray4: #bcbcbc;
  --gray5: #f0f0f0;
  --gray6: #f6f6f2;
  --red1: #ec3947;
  --content-width: 1220px;
}

html {
  font-size: 100%;
}

body {
  color: var(--black);
  font-family: "Abhaya Libre", "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: initial;
  line-height: 1;
  letter-spacing: 0.1em;
  overflow-x: hidden;
}

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

li {
  list-style: none;
}

/* 共通パーツ
------------------------------------------------------- */
.section-heading {
  text-align: center;
}

.section-heading__title {
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.section-heading__subtitle {
  font-size: 0.8rem;
  margin-top: 14px;
}

.more-link,
.more-link--sp {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}

.more-link__arrow {
  width: 40px;
  height: 1px;
  background-color: var(--black);
  position: relative;
  transition: all 0.4s ease-out;
}

.more-link__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--black);
  transform: translateY(-50%) rotate(45deg);
}

.more-link:hover .more-link__arrow,
.more-link--sp:hover .more-link__arrow {
  translate: 10px 0px;
}

.no-scroll {
  overflow: hidden;
  width: 100%;
}

.for-sp,
.for-tab {
  display: none;
}

.white {
  color: var(--white);
}

.fade-in {
  opacity: 0;
  translate: 0 20px;
  transition: all 1s ease-out;
}

.fade-in--visible {
  opacity: 1;
  translate: 0 0;
}

.fade-in--up {
  translate: 0 50px;
}

.fade-in--down {
  translate: 0 -50px;
}

.fade-in--visible.fade-in--up,
.fade-in--visible.fade-in--down {
  translate: 0 0;
  opacity: 1;
}

@media screen and (max-width: 668px) {
  .for-tab {
    display: block;
  }
}

@media screen and (max-width: 428px) {
  .section-heading__title {
    font-size: 1.75rem;
  }

  .section-heading__subtitle {
    font-size: 0.75rem;
    margin-top: 7px;
  }

  .more-link {
    gap: 8px;
  }

  .for-pc {
    display: none;
  }

  .for-tab {
    display: none;
  }

  .for-sp {
    display: block;
  }
}

/* header
----------------------------------------------------- */

.header {
  height: 100px;
  width: 100%;
  display: grid;
  align-items: center;
  position: fixed;
  z-index: 60;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 24px;
}

.header__logo {
  width: 188px;
  height: auto;
  z-index: 90;
  transition: all 0.4s ease-out;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.header__logo-white {
  width: 188px;
  height: auto;
  z-index: 90;
  transition: all 0.4s ease-out;
}

.header__logo-burger {
  width: 188px;
  height: auto;
  z-index: 90;
  transition: all 0.4s ease-out;
  display: none;
}

.header__nav {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
}

.header__nav-list {
  display: flex;
  justify-content: center;
  gap: calc(clamp(1.5rem, -6.5rem + 13.33vw, 3.5rem));
  margin-right: 10px;
}

.header__nav-link {
  font-size: 1.25rem;
  transition: all 0.4s ease-out;
}

.header__nav-link:hover {
  opacity: 0.6;
}

.header__nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  width: 162px;
  height: 53px;
  border: solid 1px var(--gray1);
  border-radius: 25px;
  background-color: var(--white);
  transition: all 0.4s ease-out;
}

.header__nav-button--catalog {
  width: 180px;
  font-size: 1rem;
  font-weight: 600;
  padding-left: 17px;
  position: relative;
  padding-top: 4px;
}

.header__nav-button--catalog img {
  position: absolute;
  top: 12px;
  left: 12px;
}

.header__nav-button--catalog::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  position: absolute;
  left: 0;
  background: url(../img/catalog-button-bg.webp) no-repeat center -50px / cover;
  opacity: 0.1;
}

.header__nav-button:hover {
  background-color: var(--black);
  color: var(--white);
  border: solid 1px var(--black);
}

.header__nav-button--sp {
  font-size: 1rem;
  font-weight: 400;
  background-color: var(--black);
  color: var(--white);
  border: solid 1px var(--black);
  max-width: 300px;
  width: 90%;
  height: 45px;
  padding-left: 24px;
  border-radius: 24.5px;
  display: none;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
}

.header__nav-button-arrow--sp {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--white);
  position: relative;
  transition: all 0.4s ease-out;
}

.header__nav-button-arrow--sp::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  right: -20px;
  bottom: 3px;
  rotate: 45deg;
  transition: all 0.4s ease-out;
}

.header__nav-button-arrow--sp::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  right: -20px;
  transition: all 0.4s ease-out;
}

.header__nav-button--sp:hover .header__nav-button-arrow--sp::after {
  width: 30px;
  right: -30px;
}

.header__nav-button--sp:hover .header__nav-button-arrow--sp::before {
  translate: 10px 0;
}

.burger {
  display: none;
}

@media screen and (max-width: 1024px) {
  .header {
    height: 140px;
  }

  .burger {
    width: 95px;
    height: 95px;
    background-color: var(--white);
    border: solid 1px var(--gray1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    z-index: 99;
    top: 26px;
    right: 16px;
  }

  .burger__line {
    display: block;
    width: 36px;
    height: 1px;
    background-color: var(--gray1);
    transition: all 0.6s ease;
  }

  .is-active .burger__line:nth-of-type(1) {
    transform: translateY(16px) rotate(45deg);
  }

  .is-active .burger__line:nth-of-type(2) {
    opacity: 0;
  }

  .is-active .burger__line:nth-of-type(3) {
    transform: translateY(-13px) rotate(-45deg);
  }

  .header__nav-button {
    display: none;
  }

  .header__nav-button--sp {
    display: flex;
  }

  .header__nav-button--catalog {
    display: flex;
    max-width: 300px;
    width: 90%;
  }

  .header__nav-button--catalog::before {
    background-position-y: -75px;
  }

  .header__nav {
    background: url(../img/contact-bg.webp) no-repeat center top/cover;
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: start;
    gap: 120px;
    width: 100%;
    height: 100svh;
    padding-top: 144px;
    translate: 100% 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s;
  }

  .is-active .header__nav {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    overflow: auto;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin-right: 0px;
  }

  .is-active .header__nav-link {
    color: var(--black);
  }

  .is-active .header__logo-white {
    display: none;
  }

  .is-active .header__logo-burger {
    display: block;
  }
}

@media screen and (max-width: 428px) {
  .header {
    height: 70px;
  }

  .header__inner {
    padding-inline: 12px;
  }

  .header__logo {
    width: 110px;
  }

  .header__nav {
    padding-top: 110px;
    gap: 87px;
  }

  .header__nav-link {
    font-size: 1.3125rem;
  }

  .burger {
    width: 48px;
    height: 48px;
    gap: 7px;
    top: 13px;
    right: 8px;
  }

  .burger__line {
    width: 18px;
    height: 1px;
  }

  .is-active .burger__line:nth-of-type(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .is-active .burger__line:nth-of-type(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* mainvisual
-------------------------------- */
.mainvisual {
  height: 100vh;
  /* background-image: url("../img/top-mainvisual.webp");
  background-position: center;
  background-size: 110% 110%; */
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  /* overflow: hidden; */
}

.mainvisual__background {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: url("../img/top-mainvisual.webp");
  background-position: center;
  background-size: 110% 110%;
  animation: sway 10s ease-in-out infinite;
}

@keyframes sway {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.wave-bg__svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
}

.mainvisual__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 24px;
  position: relative;
  display: flex;
  align-items: center;
}

.mainvisual__text-title {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.3em;
}

.mainvisual__text-subtitle {
  margin-top: 50px;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.2em;
}

.mainvisual__scroll {
  position: absolute;
  left: 24px;
  z-index: 60;
  writing-mode: vertical-rl;
  font-size: 1rem;
  letter-spacing: 0.3em;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mainvisual__scroll-border {
  position: relative;
  display: block;
  width: 1px;
  height: 80px;
  background-color: currentColor;
  margin: 8px auto 0;
}

.mainvisual__scroll-border::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: currentColor;

  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-fade-loop 2s linear infinite;
}

@keyframes scroll-fade-loop {
  0% {
    transform: translate(-50%, -10px);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  80% {
    transform: translate(-50%, 70px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 90px);
    opacity: 0;
  }
}

.mainvisual__circle-block,
.mainvisual__circle-block--sp {
  margin: auto;
  position: absolute;
  bottom: -200px;
  right: 80px;
  z-index: 50;
}

.mainvisual__circle-block--sp {
  display: none;
}

.mainvisual__circleText {
  width: 260px; /* 半径125pxに合わせて300x300に拡大 */
  height: 260px;
  overflow: visible;
}

.mainvisual__circleText-text {
  fill: var(--black);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.3em;
}

.mainvisual__circleText-rotate {
  animation: rotation 18s linear infinite;
  transform-origin: 150px 150px; /* SVGの中心 */
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1024px) {
  .mainvisual__background {
    background-size: cover;
  }

  .mainvisual__text-title {
    font-size: 2.5rem;
  }

  .mainvisual__text-subtitle {
    font-size: 0.875rem;
  }

  .mainvisual__scroll {
    bottom: 10px;
  }

  .mainvisual__circleText {
    width: 150px;
    height: 150px;
  }

  .mainvisual__circle-block {
    display: none;
  }

  .mainvisual__circle-block--sp {
    display: block;
    bottom: 50px;
    right: 82px;
  }

  .mainvisual__circleText-text {
    font-size: 1rem;
  }
}

@media screen and (max-width: 428px) {
  @keyframes sway {
    0% {
      background-position: 0% 0%;
    }
    50% {
      background-position: 10% 10%;
    }
    100% {
      background-position: 0% 0%;
    }
  }
  .wave-bg__svg {
    height: 70px;
  }

  .mainvisual__text-title {
    font-size: 2rem;
  }

  .mainvisual__text-subtitle {
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
    margin-top: 36px;
    line-height: 1.8;
  }

  .mainvisual__scroll {
    font-size: 0.5rem;
    bottom: 10px;
    left: 12px;
  }

  .mainvisual__scroll-border {
    height: 45px;
  }

  .mainvisual__scroll-border::after {
    width: 5px;
    height: 5px;
  }

  .mainvisual__circle-block--sp {
    bottom: 30px;
    right: 42px;
  }

  .mainvisual__circleText {
    width: 100px;
    height: 100px;
  }

  .mainvisual__circleText-text {
    font-size: 1rem;
  }
}

/* =================================================================
  Block: philosophy
================================================================= */
.philosophy {
  padding: 129px 24px 0px;
}

.philosophy__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  text-align: center;
}

.philosophy__text {
  font-size: 1.375rem;
  line-height: 2.2;
  margin-top: 64px;
}

.philosophy .more-link {
  margin-top: 118px;
}

@media screen and (max-width: 428px) {
  .philosophy {
    padding: 64px 12px;
  }

  .philosophy__text {
    font-size: 0.875rem;
    margin-top: 32px;
  }

  .philosophy .more-link {
    margin-top: 59px;
  }
}

/* =================================================================
  Block: product
================================================================= */
.product {
  padding: 189px 24px 215px;
}

.product__inner {
  max-width: var(--content-width);
  margin-inline: auto;
}

.product__items {
  display: grid;
  gap: 120px;
  margin-top: 89px;
}

.product__item {
  display: grid;
  grid-template-columns: 1fr 580px;
  align-items: center;
  gap: 5%;
}

.product__item-image img {
  width: 100%;
  height: auto;
}

.product__item:nth-child(even) {
  grid-template-columns: 520px 1fr;
}

.product__item-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  letter-spacing: 0.3em;
  font-weight: 400;
  line-height: 1.2;
}

.product__item-text {
  width: 80%;
  margin-top: 20px;
  letter-spacing: 0.3em;
  line-height: 1.8;
}

.product .more-link {
  margin-top: 68px;
}

.product__banner {
  max-width: 1025px;
  background-color: var(--gray6);
  margin: 166px auto auto;
  padding: 21px 39px;
  display: grid;
  grid-template-columns: 237px 1fr;
  gap: 39px;
  box-shadow: 0px 6px 25px -6px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  position: relative;
}

.product__banner-image img {
  width: 100%;
  height: auto;
}

.product__banner-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-block: 20px;
}

.product__banner-title {
  font-size: 1.75rem;
  font-weight: 400;
}

.product__banner-sentence {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
}

.product__banner-caution {
  font-size: 0.75rem;
  margin-top: 10px;
}

.product__banner > .more-link {
  position: absolute;
  margin-top: 0px;
  bottom: 18px;
  right: 25px;
}

@media screen and (max-width: 960px) {
  .product__item {
    grid-template-columns: 1fr 1fr;
  }

  .product__item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }

  .product__item-text {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .product__item {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product__item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .product__item:nth-child(even) .product__item-image {
    grid-row: 1/2;
  }

  .product__item-content {
    padding-inline: 12px;
    text-align: center;
  }

  .product__item-text {
    text-align: justify;
  }

  .product__banner {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0px;
    margin-top: 83px;
    padding: 21px 20px 52px;
  }

  .product__item-text {
    gap: 5px;
    padding-block: 30px 50px;
  }

  .product__banner-sentence {
    letter-spacing: 0.2em;
  }

  .product__banner-caution {
    margin-top: 0px;
  }
}

@media screen and (max-width: 428px) {
  .product {
    padding: 108px 12px 59px;
  }

  .product__items {
    margin-top: 42px;
    gap: 99px;
  }

  /* .product__item-image--sp {
    display: block;
    width: 100%;
    height: auto;
  } */

  .product__item-content {
    padding-inline: 12px;
    text-align: center;
  }

  .product__item-title {
    font-size: 1.125rem;
    text-align: center;
  }

  .product__item-text {
    font-size: 0.8125rem;
    margin-top: 10px;
    text-align: center;
  }

  .product .more-link {
    margin-top: 38px;
  }

  .product__banner-title {
    font-size: 1.25rem;
  }

  .product__item-text {
    gap: 5px;
  }

  .product__banner .more-link img {
    width: 20px;
    height: auto;
  }
}

/* =================================================================
  Block: company
================================================================= */
.company {
  height: 500px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.company__background {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: -1;
  background: url(../img/company-bg.webp) no-repeat center bottom/cover;
  transition: all 0.4s ease-out;
}

.company__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  text-align: center;
}

.company__text {
  font-size: 1rem;
  margin-top: 26px;
  line-height: 1.6;
}

.company .more-link {
  position: absolute;
  bottom: 140px;
  right: 0;
  left: 0;
  justify-content: center;
  margin-inline: auto;
  margin-top: 67px;
}

.more-link:hover + .company__background {
  transform: scale(1.1);
}

@media screen and (max-width: 1024px) {
  .company {
    background-position-x: right;
  }
}

@media screen and (max-width: 428px) {
  .company {
    height: 350px;
    background-position-x: -500px;
  }

  .company__text {
    font-size: 0.8125rem;
  }

  .company .more-link {
    margin-top: 34px;
    bottom: 70px;
  }
}

/* =================================================================
  Block: news
================================================================= */
.news {
  padding: 160px 24px 103px;
}

.news__inner {
  max-width: 1000px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: calc(clamp(2.625rem, -7.875rem + 17.5vw, 5.25rem));
}

.news .section-heading {
  text-align: start;
}

.news .more-link {
  margin-top: 35px;
}

.more-link--sp {
  display: none;
}

.news__right {
  display: grid;
  grid-template-columns: 1fr;
}

.news__item {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: start;
  gap: 46px;
  padding-block: 32px;
  border-top: solid 1px var(--gray2);
}

.news__item:first-of-type {
  padding-top: 0px;
  border-top: none;
}

.news__card-pic {
  transition: all 0.4s ease-out;
}

.news__item-pic a:hover .news__card-pic {
  transform: scale(1.1);
}

.news__item-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.news__item-date {
  font-size: 0.875rem;
}

.news__item-title {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-align: justify;
}

.news__item-sentence {
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .news .section-heading {
    text-align: center;
  }

  .news .more-link {
    display: none;
  }

  .more-link--sp {
    display: inline-flex;
  }

  .news__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    place-items: center;
  }

  .news__item-pic {
    max-width: 230px;
    height: auto;
  }
}

@media screen and (max-width: 528px) {
  .news {
    padding: 70px 24px 59px;
  }

  .news__inner {
    gap: 28px;
  }

  .news__item {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 15px;
  }

  .news__item-text {
    gap: 10px;
  }

  .news__item-date {
    font-size: 0.75rem;
  }

  .news__item-title {
    font-size: 0.8125rem;
  }

  .news__item-sentence {
    font-size: 0.75rem;
  }
}

/* =================================================================
  Block: contact
================================================================= */
.gray-background {
  background: url(../img/contact-bg.webp) no-repeat center top/cover;
  position: relative;
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
}

.wave-top__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
}

.contact {
  padding-inline: 24px;
  padding-top: 200px;
  height: 430px;
}

.contact__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  text-align: center;
}

.contact__text {
  font-size: 1rem;
  margin-top: 26px;
  line-height: 1.6;
}

.contact__button {
  background-color: var(--black);
  color: var(--white);
  max-width: 508px;
  width: 90%;
  height: 51px;
  margin-top: 60px;
  margin-inline: auto;
  padding-left: 24px;
  border-radius: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.contact__button-arrow {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--white);
  position: relative;
  transition: all 0.4s ease-out;
}

.contact__button-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  right: -20px;
  bottom: 3px;
  rotate: 45deg;
  transition: all 0.4s ease-out;
}

.contact__button-arrow::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  right: -20px;
  transition: all 0.4s ease-out;
}

.contact__button:hover .contact__button-arrow::after {
  width: 30px;
  right: -30px;
}

.contact__button:hover .contact__button-arrow::before {
  translate: 10px 0;
}

@media screen and (max-width: 428px) {
  .wave-top__svg {
    height: 75px;
  }

  .contact {
    padding-top: 108px;
    height: 270px;
  }

  .contact__text {
    font-size: 0.8125rem;
  }

  .contact__button {
    max-width: 300px;
    height: 45px;
    margin-top: 30px;
  }
}

/* =================================================================
  Block: footer
================================================================= */
.footer {
  padding: 295px 24px 65px;
}

.footer__inner {
  max-width: 1000px;
  padding-inline: 24px;
  padding-bottom: 371px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 417px 1fr;
  gap: 24px;
  align-items: end;
}

.footer__info {
  display: grid;
  grid-template-columns: 1fr;
}

.footer__logo {
  width: 188px;
  height: auto;
}

.footer__postcode {
  font-size: 0.875rem;
  margin-top: 20px;
}

.footer__address {
  font-size: 0.875rem;
  margin-top: 0.5em;
}

.footer__info-link {
  display: flex;
  justify-content: start;
  align-items: end;
  gap: 11px;
  transition: all 0.4s ease-out;
}

.footer__info-link:hover {
  opacity: 0.6;
}

.footer__info-link--text {
  font-size: 0.875rem;
  border-bottom: solid 1px var(--gray3);
  margin-top: 53px;
}

.footer__info-link--text:last-of-type {
  margin-top: 23px;
}

.footer__nav-list {
  display: flex;
  justify-content: end;
  align-items: start;
  flex-direction: column;
  gap: 70px;
  margin-left: auto;
  padding-right: 50px;
}

.footer__nav-link {
  font-size: 1.5rem;
  transition: all 0.4s ease-out;
}

.footer__nav-link:hover {
  opacity: 0.6;
}

.footer__copyright {
  font-size: 0.875rem;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 78px;
    align-items: start;
    padding-inline: 0px;
    padding-bottom: 135px;
  }

  .footer__nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 0px;
    padding-right: 0px;
    width: 100%;
  }

  .footer__nav-item {
    width: 100%;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 428px) {
  .footer {
    padding: 127px 24px 33px;
  }

  .footer__logo {
    width: 135px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 78px;
    align-items: start;
    padding-inline: 0px;
    padding-bottom: 135px;
  }

  .footer__postcode,
  .footer__address {
    font-size: 0.625rem;
  }

  .footer__info-link {
    display: none;
  }

  .footer__nav-link {
    font-size: 0.875rem;
  }

  .footer__copyright {
    font-size: 0.75rem;
  }
}

/* =================================================================
  Block: solid-page
================================================================= */
.page-mainvisual {
  height: 570px;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
}

.wave-bg__svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
}

.page-mainvisual__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 48px;
  position: relative;
  display: flex;
  align-items: center;
}

.page__heading {
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.page__subheading {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.2em;
}

.breadcrumbs {
  position: absolute;
  z-index: 60;
  bottom: -120px;
  left: 44px;
  font-size: 0.75rem;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.breadcrumbs > a,
.breadcrumbs > li {
  color: currentColor;
}

.breadcrumbs > .white {
  color: var(--white);
}

@media screen and (max-width: 1024px) {
  .page-mainvisual .mainvisual__scroll {
    left: 12px;
    bottom: 100px;
  }
}

@media screen and (max-width: 428px) {
  .page__heading {
    font-size: 2.5rem;
  }

  .page__subheading {
    margin-top: 12px;
    font-size: 0.875rem;
  }

  .page-mainvisual .mainvisual__scroll {
    bottom: 100px;
  }
}

/* =================================================================
  Block: company
================================================================= */
.page-mainvisual__company {
  background-image: url(../img/company-bg.webp);
  background-position-y: -50px;
}

.company-about {
  padding: 62px 24px 131px;
  font-family: "Noto Serif JP", serif;
}

.company-about__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.company-about__title {
  font-size: 1.375rem;
  font-weight: 400;
}

.company-about__list {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  margin-top: 32px;
  border-bottom: 1px solid var(--gray1);
}

.company-about__list-term,
.company-about__list-description {
  padding: 20px 15px;
  border-top: 1px solid var(--gray1);
  font-size: 1.125rem;
  line-height: 1.4;
}

.company-about__list-term {
  display: flex;
  justify-content: start;
  align-items: center;
  height: 100%;
}

.company-about__list-link {
  transition: all 0.4s ease-out;
}

.company-about__list-link:hover {
  opacity: 0.6;
}

.company-about__map {
  margin-top: 20px;
}

.company-about__map iframe {
  width: 100%;
  aspect-ratio: 760/382;
}

.company-about__office {
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 81px;
}

.company-about__sub-title {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
}

.company-about__certification {
  display: grid;
  grid-template-columns: 294px 1fr;
  align-items: start;
  gap: 58px;
  margin-top: 32px;
  border-top: 1px solid var(--gray1);
  padding-top: 20px;
}

.company-about__certification-image {
  width: 100%;
  height: auto;
}

.company-about__certification-text {
  font-size: 1.125rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.company-about__certification-text p:not(:first-of-type) {
  margin-top: 2rem;
}

@media screen and (max-width: 768px) {
  .company-about__title,
  .company-about__sub-title {
    font-size: 1.125rem;
  }
  .company-about__list {
    grid-template-columns: 150px 1fr;
  }

  .company-about__list-term,
  .company-about__list-description,
  .company-about__certification-text {
    font-size: 1rem;
  }

  .company-about__certification {
    grid-template-columns: 150px 1fr;
  }
}

@media screen and (max-width: 428px) {
  .company-about__title,
  .company-about__sub-title {
    font-size: 1rem;
  }
  .company-about__list {
    grid-template-columns: 100px 1fr;
  }

  .company-about__list-term,
  .company-about__list-description,
  .company-about__certification-text {
    font-size: 0.75rem;
  }

  .company-about__certification {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 20px;
  }
}

/* =================================================================
  Block: news
================================================================= */
.page-mainvisual__news {
  background-image: url(../img/news-bg.webp);
}

.news-page__inner {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
}

#load-more-news {
  max-width: 1000px;
  width: 100%;
  height: 50px;
  display: grid;
  place-content: center;
  margin-inline: auto;
  margin-top: 108px;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  color: var(--black);
  font-family: "Abhaya Libre", "Noto Serif JP", serif;
  font-size: 1rem;
  border: solid 1px var(--gray4);
  border-radius: 25px;
  transition: all 0.4s ease-out;
}

#load-more-news:hover {
  opacity: 0.6;
}

@media screen and (max-width: 500px) {
  #load-more-news {
    margin-top: 50px;
    width: 95%;
  }
}

/* =================================================================
  Block: news-single
================================================================= */
.news-content {
  max-width: 1000px;
  margin-inline: auto;
  padding: 120px 24px 123px;
}

.news-breadcrumbs {
  position: initial;
  color: var(--brown1);
  font-size: 0.75rem;
  left: 0px;
}

.news-title {
  color: var(--brown1);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 32px;
}

.news-thumbnail {
  width: 100%;
  height: auto;
  margin-inline: auto;
  margin-top: 34px;
}

.news-body {
  margin-top: 34px;
}

.news-body h2 {
  font-size: 1.375rem;
  font-weight: 500;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1em;
  margin-top: 35px;
}

.news-body h2::before {
  content: "";
  display: block;
  background-color: var(--gray4);
  width: 10px;
  height: 40px;
}

.news-body h3 {
  color: var(--black);
  font-size: 1.125rem;
  padding: 16px 27px;
  background-color: var(--gray4);
  margin-top: 18px;
}

.news-body p {
  font-size: 1.125rem;
  line-height: 1.5;
}

.news-body a {
  display: inline-block;
  font-weight: bold;
  color: var(--black);
  border-bottom: solid 1px var(--black);
}

.news-body img {
  width: 84%;
  margin-inline: auto;
  margin-top: 32px;
  border-radius: 20px;
}

.news-body ul {
  margin-top: 18px;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  gap: 8px;
}

.news-body li {
  font-size: 1.25rem;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 16px;
}

.post-date {
  color: var(--black);
  font-size: 0.875rem;
}

.news__back {
  margin-top: 114px;
  text-align: center;
}

.news__back-link {
  font-size: 1rem;
  color: var(--black);
  font-weight: 400;
  letter-spacing: 0.2em;
  width: 95%;
  max-width: 400px;
  height: 50px;
  border: solid 1px var(--black);
  border-radius: 25px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease-out;
}

.news__back-link:hover {
  background-color: var(--black);
  color: var(--white);
}

/* youtubeサムネイルの調整 */
.wp-block-embed__wrapper iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 500/281;
}

@media screen and (max-width: 500px) {
  .news-content {
    padding: 70px 12px 75px;
  }

  .news-title {
    font-size: 1.25rem;
  }

  .news-body {
    margin-top: 33px;
  }

  .news-body p {
    font-size: 1rem;
  }
}

/* =================================================================
  Block: philosophy
================================================================= */
.philosophy-page__inner {
  max-width: 1000px;
  margin-inline: auto;
  padding: 125px 24px 155px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 114px;
}

.philosophy-page__images {
  position: relative;
}

.philosophy-page__image:first-of-type {
  max-width: 860px;
  width: 86%;
  height: auto;
  margin-inline: auto;
}

.philosophy-page__image:nth-of-type(2) {
  max-width: 228px;
  width: 22.8%;
  height: auto;
  position: absolute;
  left: 0;
  bottom: -70px;
}

.philosophy-page__image:nth-of-type(3) {
  max-width: 363px;
  width: 36.3%;
  height: auto;
  position: absolute;
  right: 0;
  bottom: -55px;
}

.philosophy-page__sentence {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 2;
  text-align: justify;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .philosophy-page__image:nth-of-type(2) {
    bottom: -45px;
  }

  .philosophy-page__image:nth-of-type(3) {
    max-width: 363px;
    width: 36.3%;
    height: auto;
    position: absolute;
    right: 0;
    bottom: -35px;
  }
}

@media screen and (max-width: 428px) {
  .philosophy-page__inner {
    padding: 64px 12px 78px;
    gap: 57px;
  }

  .philosophy-page__image:nth-of-type(2) {
    bottom: -35px;
  }

  .philosophy-page__sentence {
    font-size: 1rem;
    margin-bottom: 32px;
  }
}

/* =================================================================
  Block: privacy policy
================================================================= */
.privacy-page {
  padding: 116px 24px 112px;
  line-height: 2;
}

.privacy-page__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.privacy-page__text {
  text-align: justify;
  font-size: 1rem;
}

.privacy-page__list {
  padding-left: 1.5em;
  margin-top: 1rem;
  font-size: 1rem;
}

.privacy-page__list li {
  margin-bottom: 1em;
  list-style: decimal;
}

.privacy-page__footer {
  text-align: right;
  font-size: 1rem;
  line-height: 1.8;
}

.privacy-page__date {
  font-family: "Noto Serif JP", serif;
  margin-bottom: 1em;
}

@media screen and (max-width: 428px) {
  .privacy-page {
    padding: 58px 12px 56px;
  }

  .privacy-page__text,
  .privacy-page__list,
  .privacy-page__footer {
    font-size: 0.875rem;
  }
}

/* =================================================================
  Block: contact
================================================================= */
.page-mainvisual__contact {
  background-image: url(../img/top-mainvisual.webp);
}

.contact-form {
  padding: 93px 24px 173px;
}

.contact-form__inner {
  max-width: 1000px;
  margin-inline: auto;
}

.contact-form__description {
  text-align: center;
}

.contact-form__description-text {
  font-size: 1.125rem;
  line-height: 2;
}

.contact-form__content form {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0px 60px;
  margin-top: 106px;
}

/* トラッカー */
.smf-progress-tracker {
  grid-column: 1/2;
  grid-row: 1/3;
  flex-direction: column;
  grid-template-columns: 1fr;
  gap: 40px;
  height: 230px;
  margin-top: 20px;
  position: relative;
}

.smf-progress-tracker__item {
  font-size: 1.25rem;
  width: 100% !important;
  height: 50px;
  flex-direction: row !important;
  gap: 14px;
  opacity: 0.3;
}

.smf-progress-tracker__item__text {
  margin-top: 0 !important;
  color: var(--black) !important;
  font-size: 1.125rem;
  letter-spacing: 0;
}

.smf-progress-tracker__item::after,
.smf-progress-tracker__item::before {
  display: none !important;
}

/* 現在のステップ */
.smf-progress-tracker__item[aria-current="true"] {
  opacity: 1;
}

.smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__text {
  color: var(--black) !important;
}

.smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__number {
  background-color: var(--black) !important;
}

.smf-progress-tracker__item__number {
  font-size: 1.5rem;
  width: 50px !important;
  height: 50px !important;
  background-color: var(--black) !important;
  position: relative;
  overflow: visible !important;
}

.smf-progress-tracker__item:not(:first-of-type) .smf-progress-tracker__item__number::after {
  content: "";
  width: 2px;
  height: 40px;
  display: block;
  background-color: var(--black);
  position: absolute;
  top: -40px;
  left: 24px;
  opacity: 0.3;
}
/* トラッカー終了 */

/* form入力欄 */
.smf-form {
  grid-column: 2/3;
  grid-row: 1/2;
}

.smf-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  gap: 26px;
  padding-bottom: 42px !important;
}

.smf-item:last-of-type {
  align-items: start;
}

.has-inline-color {
  margin-left: 22px;
  background-color: var(--red1) !important;
}

.smf-item:not(:first-of-type) {
  border-top: solid 1px var(--gray5);
  padding-top: 42px !important;
}

.smf-item__col--label {
  max-width: 100% !important;
  padding: 0 !important;
  flex-basis: auto !important;
  width: 30%;
}

.smf-item__label__text {
  font-size: 1rem;
  letter-spacing: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black3);
}

.smf-item__label .has-inline-color {
  color: var(--white);
  font-size: 0.8em;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  padding: 6px 10px;
}

.smf-item__col--controls {
  width: 70%;
}

.smf-select-control {
  width: 100%;
}

.smf-text-control__control,
.smf-select-control__control,
.smf-textarea-control__control {
  display: block;
  width: 100%;
  padding: 16px 32px !important;
  box-sizing: border-box;
  color: var(--black);
  background-color: transparent !important;
  border: none !important;
  font-size: 1rem;
}

.smf-text-control,
.smf-select-control,
.smf-textarea-control {
  background-color: var(--gray5) !important;
  border-radius: 5px;
}

.smf-form .smf-select-control__toggle {
  background-color: var(--gray5) !important;
  border-radius: 5px;
}

.smf-textarea-control > textarea {
  height: 247px;
  padding: 26px;
  resize: none;
  overflow-y: auto;
}

.wp-block-columns.are-vertically-aligned-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 !important;
}

.smf-action {
  grid-column: 1/3;
  grid-row: 2/3;
}

.smf-system-error-content-ready {
  grid-column: 1/3;
  grid-row: 3/4;
}

.smf-button-control {
  position: relative;
}

.smf-button-control__control {
  width: 90%;
  max-width: 500px;
  height: 51px;
  background-image: none !important;
  background: var(--black) !important;
  color: var(--white) !important;
  border: solid 1px var(--black) !important;
  place-items: center;
  font-size: 1rem;
  border-radius: 30px !important;
  margin-top: 56px;
  transition: all 0.4s ease-out !important;
  position: relative;
  z-index: 10;
}

.smf-button-control__control::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  right: -30px;
  top: 21px;
  rotate: 45deg;
  transition: all 0.4s ease-out;
}

.smf-button-control__control::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  right: -30px;
  top: 25px;
  transition: all 0.4s ease-out;
}

.smf-button-control__control[data-action="back"] {
  background: none !important;
  color: var(--black) !important;
}

.smf-button-control::before {
  content: "";
  display: block;
  background: url(../img/email-logo.webp) no-repeat center top/contain;
  width: 16px;
  height: 12px;
  position: absolute;
  z-index: 20;
  left: 31px;
  top: 2px;
}

.smf-button-control__control:hover {
  background: var(--white) !important;
  color: var(--black) !important;
}

.smf-button-control__control:hover::before {
  translate: 10px 0;
}

.smf-button-control__control:hover::after {
  width: 40px;
  right: -40px;
}

.smf-action .smf-button-control + .smf-button-control {
  margin-left: 0 !important;
}

.smf-complete-content {
  width: 100%;
  color: var(--black);
  font-size: 1rem;
  line-height: 1.8;
}

@media screen and (max-width: 880px) {
  .contact-form {
    padding: 40px 16px;
  }
  .contact-form__content form {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .smf-progress-tracker {
    display: inline-block;
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .smf-form {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .smf-action {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .smf-system-error-content-ready {
    grid-column: 1/2;
    grid-row: 4/5;
  }
}

@media screen and (max-width: 624px) {
  .smf-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .smf-item__col--controls {
    width: 100%;
    margin-top: 20px;
  }

  .smf-item,
  .smf-item__col--label {
    width: 100%;
  }

  .smf-item,
  .smf-item__label__text {
    display: block;
    line-height: 1.6;
  }

  .smf-item__label .has-inline-color {
    margin-left: 22px;
  }

  .contact-form__description {
    padding: 20px;
  }
  .smf-complete-content,
  .contact-form__description-text {
    font-size: 1rem;
  }

  .contact-form__description-text--small {
    font-size: 0.875rem;
  }

  .contact-form__description-tell {
    font-size: 2rem;
  }

  .contact-form__description-mail {
    font-size: 1rem;
  }

  .smf-button-control__control {
    width: 90%;
    max-width: 400px;
  }
}

/* =================================================================
  Block: 404
================================================================= */
.error__wrapper {
  max-width: var(--content-width);
  padding: 140px 20px 100px;
  margin-inline: auto;
}

.error__title {
  font-size: 2rem;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}

.error__content {
  color: var(--black);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 36px;
}

.error__content-link {
  display: inline-block;
  font-weight: bold;
  color: var(--black2);
  border-bottom: solid 1px var(--black2);
}

.error__content-link:hover {
  opacity: 0.6;
}
