@charset "utf-8";

/**********************
共通
***********************/
:root {
  --color-base: #1a1a1a;
  --color-accent: #b8832d;
  --color-main: #031a3b;
  --color-bg: #f3f6f8;
  --border-radius-50: 999px;
  --border-radius-3: 3px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.125rem;
  color: var(--color-base);
  line-height: 1.8;
}

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

a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  color: var(--color-base);
}

li {
  list-style: none;
}

section {
  padding-block: 30px 40px;
}

.head {
  margin-bottom: 40px;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  line-height: 1.4;
}

.head-sub {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: clamp(1rem, 4vw, 1.5rem);
}

.head-sub::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 15px;
  height: 1px;
  background: var(--color-main);
}

.outer,
.inner {
  padding-inline: 5%;
}

.btn {
  background: var(--color-accent);
  text-align: center;
}

.btn a {
  color: #fff;
  font-weight: 700;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

.text-animation .char {
  display: inline-block;
  color: inherit;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.text-animation.is-show .char {
  opacity: 1;
}

@media (min-width: 768px) {
  section {
    padding-block: 60px 80px;
  }

  .sp {
    display: none;
  }
}

@media (min-width: 1024px) {
  .outer {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: unset;
  }

  .inner {
    max-width: 750px;
    margin: 0 auto;
    padding-inline: unset;
  }
}

/**********************
header
***********************/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-left: 20px;
  background: #fff;
}

.header__logo {
  width: 220px;
}

.header__logo img {
  display: flex;
  align-items: center;
}

.header__list {
  display: flex;
  gap: 24px;
  font-weight: 500;
}

.header__list li:not(.header__btn) {
  line-height: 80px;
}

.header__list li:not(.header__btn) :hover {
  color: var(--color-accent);
  transition: 0.3s;
}

.header__btn {
  width: 80%;
  margin: 0 auto;
  background: var(--color-accent);
}

.header__btn a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  padding-inline: 20px 50px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.header__btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 13px;
  border-radius: 100px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) center / 10px
      1.5px no-repeat,
    #fff;
  transition: 0.3s;
}

.header__btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--color-accent);
  border-right: 1.5px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s;
}

.header__btn a:hover::before {
  transform: translate(5px, -50%);
}

.header__btn a:hover::after {
  transform: translate(5px, -50%) rotate(45deg);
}

.header__nav {
  display: none;
}

.toggle {
  display: block;
  position: relative;
  top: 0;
  right: 0;
  z-index: 1000;
  width: 60px;
  height: 60px;
  margin-left: auto;
  background: var(--color-main);
}

.toggle span {
  position: absolute;
  width: 65%;
  height: 2px;
  background-color: #fff;
  transition: 0.3s;
}

.toggle span:nth-of-type(1) {
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
}

.toggle span:nth-of-type(2) {
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
}

header.open + main .mv__container {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header__sp {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100vh;
  padding: 60px 30px;
  background-color: var(--color-main);
}

.header__sp li {
  margin-bottom: 30px;
}

.header__sp li:last-of-type a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 250px;
  margin: 0 auto;
  padding-block: 20px;
  font-size: 1.125rem;
}

.header__sp li:last-of-type img {
  width: 30px;
  height: 30px;
}

.header__sp a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
}

.header__sp a span {
  display: block;
  font-size: 1rem;
}

.open .header__sp {
  display: block;
}

.open .toggle span:nth-of-type(1) {
  top: 50%;
  left: 50%;
  transform: translateX(-50%) rotate(30deg);
  z-index: 999;
}

.open .toggle span:nth-of-type(2) {
  top: 50%;
  left: 50%;
  transform: translateX(-50%) rotate(-30deg);
  z-index: 999;
}

@media (min-width: 1200px) {
  .toggle,
  .header__sp {
    display: none;
  }

  header {
    height: 80px;
    padding-left: 40px;
  }

  .header__nav {
    display: block;
  }

  .header__btn {
    width: unset;
    margin: unset;
  }

  .toggle {
    width: 80px;
    height: 80px;
  }
}

/**********************
mv
***********************/
.mv {
  position: relative;
  z-index: 2;
  padding-block: 0;
}

.mv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  height: calc(100% - 80px);
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.mv > div {
  position: absolute;
  z-index: 2;
}

.mv img {
  width: 100%;
  height: 750px;
  object-fit: cover;
}

.mv__copy {
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.7);
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
}

.mv__copy p:nth-of-type(1) {
  font-size: clamp(1.75rem, 4vw, 3.875rem);
}

.mv__copy p:nth-of-type(2) {
  font-size: clamp(1.125rem, 2.5vw, 2.6rem);
}

@media (min-width:480px) {
  .mv__copy {
    left: 50px;
  }
}

/**********************
vision
***********************/
.vision {
  padding-bottom: 0;
  background: var(--color-bg);
}

.vision__text {
  color: var(--color-main);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  padding-inline: 5%;
  font-size: 1rem;
  text-align: left;
  line-height: 2.4;
}

.vision__text > p:not(:last-of-type) {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .vision__text {
    font-size: 1.5rem;
    text-align: center;
  }
}

/**********************
feature
***********************/
.feature {
  background: var(--color-main);
}

.feature .head {
  color: #fff;
}

.feature .head-sub::before {
  background: #fff;
}

.feature__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.feature__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--border-radius-50);
}

.feature__box img {
  width: 80%;
}

.feature__text {
  color: #fff;
  text-align: center;
}

@media (min-width: 768px) {
  .feature__container {
    flex-direction: row;
    gap: 120px;
  }
}
/**********************
service
***********************/
.service__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.service__banner a {
  width: 250px;
}

.service__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  gap: 60px;
}

.service__contents {
  width: 230px;
  padding: 25px 0 30px;
  border: 1px solid var(--color-main);
}

.service__contents:nth-of-type(3) {
  padding-bottom: 15px;
}

.service__contents:nth-of-type(3) .service__text {
  line-height: 1.2;
}

.service__contents img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
}

.service__text {
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.4;
}

.service__text span {
  font-size: 1rem;
}

@media (min-width:480px) {
  .service__banner a {
    width: 300px;
  }
}

@media (min-width: 768px) {
  .service__banner {
    flex-direction: row;
    gap: 80px;
  }

  .service__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .service__container {
    grid-template-columns: repeat(4, 1fr);
  }
}
/**********************
faq
***********************/
.faq {
  background: var(--color-bg);
}

/* accordion */
.faq__item {
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.faq__question {
  width: 100%;
  padding-block: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: var(--color-main);
  font-weight: 700;
  background: none;
  border-bottom: 1px solid var(--color-main);
  cursor: pointer;
  text-align: left;
}

.faq__q {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--color-main);
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--color-main);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq__answer p {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 8px;
  color: var(--color-main);
  overflow: hidden;
  margin: 0;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__a {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  color: var(--color-accent);
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
}
/**********************
flow
***********************/
.flow__lead {
  text-align: center;
}

.flow__container {
  position: relative;
  margin-block: 30px 40px;
}

.flow__container::before {
  content: "";
  position: absolute;
  top: 47px;
  bottom: 0;
  left: calc(5% + 15px);
  width: 1px;
  background: var(--color-main);
}

.flow__item {
  grid-template-columns: 40px 1fr;
  align-items: start;
}

.flow__item + .flow__item {
  margin-top: 40px;
}

.flow__time {
  position: relative;
  z-index: 1;
  top: 45px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  background: var(--color-main);
  border-radius: 50%;
  white-space: nowrap;
  line-height: 40px;
}

.flow__body {
  display: block;
  padding-left: 40px;
}

.flow__title {
  text-align: left;
  line-height: 1.5;
  font-weight: 700;
  font-size: 1rem;
}

.flow__title br {
  display: none;
}

.flow__icon img {
  width: 70px;
}

.flow__icon {
  margin-block: 15px;
  text-align: center;
}

.flow__text {
  line-height: 1.8;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .flow__lead br {
    display: none;
  }

  .flow__container::before {
    top: 32px;
    left: 32px;
  }

  .flow__body {
    padding-left: 80px;
  }

  .flow__time {
    top: unset;
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
    line-height: 65px;
  }

  .flow__item {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    font-size: 1rem;
  }

  .flow__item + .flow__item {
    margin-top: 60px;
  }

  .flow__body {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 40px;
  }

  .flow__icon img {
    width: 70px;
  }

  .flow__title,
  .flow__text {
    font-size: 1.125rem;
  }

  .flow__title br {
    display: block;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .flow__container::before {
    left: calc(5% + 32.5px);
    bottom: 32px;
  }
}

@media (min-width: 1024px) {
  .flow__container {
    margin-block: 40px 60px;
  }

  .flow__container::before {
    top: 45px;
    bottom: 32px;
  }
}

/**********************
news
***********************/
.news {
  background: var(--color-bg);
}

#sb_instagram .sbi_photo {
  position: relative;
  overflow: hidden;
}

#sb_instagram .sbi_photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

#sb_instagram .sbi_photo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  background: url("../images/instagram_white.svg") no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

@media (hover: hover) {
  #sb_instagram .sbi_photo:hover::before,
  #sb_instagram .sbi_photo:hover::after {
    opacity: 1;
  }
}

/**********************
company
***********************/
.company__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 20px;
  padding: 20px 10px;
  border-bottom: 1px solid #031a3b;
}

.company__row:last-of-type {
  border-bottom: none;
}

.company__term,
.company__description {
  font-size: 1.125rem;
}

.company__term,
.company__description {
  margin: 0;
}

.company__term {
  font-weight: 700;
}

.company__description {
  line-height: 1.8;
}

.company__description p {
  margin: 0;
}

.company__block {
  margin-top: 18px;
}

@media (min-width: 767px) {
  .company__row {
    grid-template-columns: 180px 1fr;
    column-gap: 40px;
    padding: 28px 60px;
  }
}

/**********************
contact
***********************/
.contact {
  padding-inline: 5%;
  background: var(--color-main);
}

.contact .head {
  color: #fff;
}

.contact .head-sub::before {
  background: #fff;
}

.contact__text {
  margin-bottom: 30px;
  text-align: center;
}

.contact__form {
  padding: 40px 20px;
  background: #fff;
}

.contact__form-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 45px;
}

.contact__form-item--textarea {
  margin-bottom: 25px;
}

.contact__form-item--textarea {
  align-items: start;
}

.contact__form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.contact__form-required {
  display: inline-block;
  padding: 2px 10px;
  color: #fff;
  background: #ee3b3d;
  font-size: 0.875rem;
}

.contact__form-input input,
.contact__form-input textarea {
  width: 100%;
  border: none;
  border: 1px solid var(--color-base);
  border-radius: var(--border-radius-3);
  padding: 10px;
  font: inherit;
}

.contact__form-input input {
  height: 40px;
}

.contact__form-input textarea {
  height: 200px;
  resize: vertical;
}

.contact__form-privacy {
  margin-top: 10px;
  text-align: center;
}

.contact__form-privacy label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.contact__form-privacy input {
  width: 18px;
  height: 18px;
}

.contact__form-privacy span {
  font-size: 1rem;
}

.contact__form-button {
  position: relative;
  width: min(280px, 100%);
  margin: 0 auto;
  margin-top: 30px;
  text-align: center;
}

.contact__form-button input[type="submit"] {
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 14px 20px;
  border: none;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.contact__form-button::before {
  content: "";
  position: absolute;
  top: 28%;
  right: 30px;
  z-index: 1;
  width: 28px;
  height: 13px;
  border-radius: 100px;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) center / 10px
      1.5px no-repeat,
    #fff;
  transition: 0.3s;
}

.contact__form-button::after {
  content: "";
  position: absolute;
  top: 32%;
  right: 38px;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--color-accent);
  border-right: 1.5px solid var(--color-accent);
  transform: rotate(45deg);
  transition: 0.3s;
}

.contact__form-button:hover::before {
  transform: translate(5px);
}

.contact__form-button:hover::after {
  transform: translate(5px) rotate(45deg);
}

.contact__form-button input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact__form .wpcf7-not-valid {
  outline: 2px solid #f04432;
}

.contact__form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #f04432;
  font-size: 0.875rem;
}

.contact__form .wpcf7-response-output {
  margin: 30px 0 0;
  padding: 12px 15px;
  border-radius: 6px;
  text-align: center;
}

.contact__form form.sent .wpcf7-response-output {
  border-color: var(--color-main);
  background: #fff;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #fff;
}

.contact__form form.invalid .wpcf7-response-output,
.contact__form form.failed .wpcf7-response-output,
.contact__form form.unaccepted .wpcf7-response-output {
  border-color: #f04432;
  background: #fff;
}

.contact__form .wpcf7-spinner {
  display: block;
  margin: 10px auto 0;
}

@media (min-width: 768px) {
  .contact {
    padding-inline: unset;
  }

  .contact__form {
    padding: 60px;
  }

  .contact__form-item {
    grid-template-columns: 210px 1fr;
    gap: 40px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .contact__form {
    margin-inline: 5%;
  }
}

/* modal */
.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

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

.modal-content {
  position: relative;
  width: 80%;
  max-width: 600px;
  height: 400px;
  padding: 20px;
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.modal-head {
  font-size: 1.6rem;
  font-weight: var(--font-bold);
  text-align: center;
}

.modal-body {
  height: calc(100% - 60px);
  overflow-y: auto;
  padding-right: 10px;
  overscroll-behavior: contain;
}

.modal-head,
.modal-lead,
.modal-list {
  margin-bottom: 10px;
}

.modal-list dt {
  font-size: 1.2rem;
  font-weight: var(--font-bold);
}

.modal-lead,
.modal-list dd {
  font-size: 1rem;
}

.modal-content li {
  list-style: none;
  position: relative;
  padding-left: 1em;
}

.modal-content li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.modal .close {
  position: absolute;
  top: -5px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}

body.is-modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

/**********************
privacy
***********************/
.privacy h1 {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
}

.s_pp {
  margin-bottom: 80px;
}

.sb_pp_lst {
  margin-bottom: 20px;
}

.sb_pp_lst dt {
  font-weight: 800;
  margin-bottom: 3px;
}

.sb_pp_lst dd {
  font-size: 13px;
}

.sb_pp_item_list {
  list-style: initial;
  padding-left: 20px;
}

.sb_pp_item_list li {
  list-style: initial;
}

@media (min-width: 600px) {
  .sb_pp_lst {
    margin-bottom: 30px;
  }

  .modal .close {
    font-size: 2.5rem;
  }
}

@media (min-width: 1071px) {
  .s_pp {
    margin-bottom: 150px;
  }

  .sb_pp_lst dd {
    font-size: 15px;
  }
}

.s_pp {
  padding-inline: 5%;
}

.sb_pp_lst:first-of-type {
  margin-top: 20px;
}

@media (min-width: 1200px) {
  .s_pp {
    max-width: 1140px;
    margin: 0 auto;
    padding-inline: 0;
  }
}

/**********************
footer
***********************/
footer {
  text-align: center;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  margin-top: 45px;
}

address {
  margin-bottom: 30px;
  font-style: normal;
}

.address__icon {
  display: flex;
  align-items: center;
  gap: 15px;
}

address a {
  display: inline;
}

address img {
  width: 25px;
  height: 25px;
}

.footer__sns {
  display: flex;
  gap: 24px;
}

.footer__sns img {
  width: 65px;
  height: 65px;
  transition: 0.3s;
}

.footer__sns img:hover {
  transform: translateY(3px);
}

footer small {
  display: block;
  padding-top: 20px;
}

/* top戻る */
.top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 98;
  width: 45px;
  height: 45px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .footer__container {
    grid-template-columns: 300px 1fr 270px;
    justify-items: unset;
  }
  address {
    margin-bottom: 0;
  }

  .top {
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
  }
}
