@charset "UTF-8";

/*
GENERAL STYLING
================================================ */
:root {
  --red: #eb7671;
  --teal: #2fadc0;
  --brown: #564938;
  --light-brown: #8d6b35;
  --light-teal: #e8f7f9;
  --pink-bg: #fcebeb;
  --gray-bg: #f4f4f4;
  --white: #ffffff;
  --header-height: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--brown);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}
.normal-font{
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
/* ボタン */
button,
input {
  font: inherit;
}
/* フォント */
.zen-maru-gothic {
  font-family: "Zen Maru Gothic", sans-serif;
}
/* PC・SP切り替え */
.pc {
  display: block;
}
.sp {
  display: none;
}
/* カラー */
.bg-red { background: var(--red); }
.bg-brown { background: var(--brown); }
.bg-teal { background: var(--teal); }

@media (max-width: 820px) {
  body {
    padding-bottom: 10.667vw;
    font-size: 3.6vw;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

/*
HEADER
================================================ */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px clamp(18px, 4vw, 30px) 14px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 4px solid var(--red);
}

.logo {
  font-size: 14px;
  color: #e5211c;
}
.logo img {
  margin-top: 3px;
  width: 200px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 54px;
}
.header-nav ul {
  display: flex;
  align-items: center;
  gap: 54px;
  margin: 0;
  padding: 0;
  color: #000;
  list-style: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 12px 12px 16px;
  color: var(--white);
  background: var(--brown);
  border-radius: 5px;
  font-weight: 500;
  line-height: 1;
  transition-duration: .4s;
}
.header-cta:hover {
  transform: scale(1.1);
  background: var(--light-brown);
}
.header-cta::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--white);
  border-right: 0;
}

@media (821px <= width < 1060px) {
  .site-header {
    padding: 8px 10px 14px;
  }
  .logo {
    font-size: 11px;
  }
  .logo img {
    width: 170px;
  }
  .header-nav {
    gap: 20px;
  }
  .header-nav ul {
    gap: 20px;
    font-size: 14px;
  }
  .header-cta {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 1.067vw 2.667vw 2.667vw;
    border-bottom: 0.533vw solid var(--red);
  }
  .logo {
    font-size: 3.2vw;
  }
  .logo img {
    margin-top: 0.533vw;
    width: 42.667vw;
  }

  /* ハンバーガーメニュー */
  .header-menu-button {
    position: relative;
    top: 1.333vw;
    width: 5vw;
    height: 5vw;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 26;
  }
  .header-menu-button span {
    position: absolute;
    left: 0;
    width: 5vw;
    height: 0.625vw;
    background: #333;
    transition: all 0.3s ease;
  }

  /* 3本線 */
  .header-menu-button span:nth-child(1) {
    top: 0;
  }
  .header-menu-button span:nth-child(2) {
    top: 1.563vw;
  }
  .header-menu-button span:nth-child(3) {
    top: 3.125vw;
  }

  /* ×に変形 */
  .header-menu-button[aria-expanded="true"] span:nth-child(1) {
    top: 1.563vw;
    transform: rotate(45deg);
  }
  .header-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .header-menu-button[aria-expanded="true"] span:nth-child(3) {
    top: 1.563vw;
    transform: rotate(-45deg);
  }

  /* ハンバーガーメニュー展開時 */
  .header-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(50vw, 80%);
    padding: 15.625vw 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 25;
    box-shadow: -2.5vw 0 7.5vw rgba(0, 0, 0, .16);
  }
  .header-nav.open {
    transform: translateX(0);
  }
  .header-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .header-nav li {
    width: 100%;
    border-top: 1px solid var(--brown);
  }
  .header-nav li:last-child {
    border-bottom: 1px solid var(--brown);
  }
  .header-nav li a {
    display: block;
    width: 100%;
    padding: 3.125vw 4.688vw;
    font-size: 3.125vw;
    line-height: 1.3;
  }
  .header-cta {
    justify-content: space-between;
    align-self: stretch;
    width: auto;
    margin: 4.688vw 1.563vw 0;
    padding: 1.563vw 1.563vw 1.875vw;
    font-size: 3.125vw;
    gap: 3.125vw;
    line-height: 1.4;
    border-radius: 0.781vw;
  }
  .header-cta::after {
    right: 4vw;
    border-top: 0.8vw solid transparent;
    border-bottom: 0.8vw solid transparent;
    border-left: 1.333vw solid var(--white);
  }
}

/*
FOOTER
================================================ */
footer {
  padding: 30px 0;
  color: #000;
  text-align: center;
}
footer small {
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 820px) {
  footer {
    padding: 4.8vw 0;
  }
  footer small {
    font-size: 2.667vw;
  }
}

/*
サイドリンク
================================================ */
.side-links {
  position: fixed;
  top: 8vh;
  right: 0;
  z-index: 19;
  display: grid;
  gap: 5px;
}
.side-link {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  display: grid;
  place-items: center;
  grid-auto-flow: column;
  gap: 10px;
  padding: 14px 28px 14px 14px;
  margin-right:-14px;
  color: var(--white);
  line-height: 1.3;
  font-size: 1.6vh;
  box-shadow: 0 0 10px rgba(0,0,0,.5);
  transition: transform 0.3s ease;
}
.side-link:hover{
	transform: translateX(-10px);
}
.icon_mail::before,
.icon_tel::before,
.icon_phone::before {
  content: "";
  display: block;
}
.icon_mail::before {
  width: 26px;
  height: 20px;
  background-image: url(../img/icon_mail.svg);
  background-size: 26px 20px;
}
.icon_tel::before {
  width: 22px;
  height: 24px;
  background-image: url(../img/icon_tel.svg);
  background-size: 22px 24px;
}
.icon_phone::before {
  width: 29px;
  height: 30px;
  background-image: url(../img/icon_phone.svg);
  background-size: 29px 30px;
}
.mobile-fixed {
  display: none;
}

@media (max-width: 820px) {
  .side-links {
    display: none;
  }
  .mobile-fixed {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 0 0.8vw;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    font-size: 3vw;
  }
  .mobile-fixed a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.333vw;
    padding: 1.333vw 0;
    line-height: 1.4;
    color: var(--white);
  }
  .icon_mail::before {
    width: 3.6vw;
    height: 2.667vw;
    background-size: 3.6vw 2.667vw;
  }
  .icon_tel::before {
    width: 3.2vw;
    height: 3.467vw;
    background-size: 3.2vw 3.467vw;
  }
  .icon_phone::before {
    width: 4vw;
    height: 4.267vw;
    background-size: 4vw 4.267vw;
  }
}

/*
PAGE TITLE
================================================ */
.page-title { 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  color: var(--white);
  text-align: center;
  min-height: 230px;
  background-size: cover;
}
.page-title::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
}
.page-title_inner {
  position: relative;
}
.page-title h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
}
.page-description {
  margin-top: 30px;
}

@media (max-width: 820px) {
  .page-title {
    padding: 8vw 5.333vw;
    min-height: 32vw;
  }
  .page-title h1 {
    font-size: 5.6vw;
  }
  .page-description {
    margin-top: 5.333vw;
    text-align: left;
    font-size: 3.467vw;
  }
}

/*
TITLE
================================================ */
section h2 {
  margin: 0 0 50px;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}
section h2 span {
  color: var(--red);
}
.heading {
  text-align: center;
}

@media (max-width: 820px) {
  section h2 {
    margin: 0 0 6.667vw;
    font-size: 4.8vw;
  }
}

/*
BUTTON
================================================ */
.button_link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 10px 30px 12px;
  min-width: 240px;
  line-height: 1;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  font-size: 18px;
  background: var(--brown);
  border-radius: 9999px;
  transition-duration: .4s;
}
.button_link:hover {
  transform: scale(1.1);
}
.button_link::after {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #fff;
  border-right: 0;
}

@media (max-width: 820px) {
  .button_link {
    padding: 2.667vw 8vw 3.2vw;
    min-width: 64vw;
    font-size: 4.267vw;
  }
  .button_link::after {
    right: 3.733vw;
    border-top: 1.067vw solid transparent;
    border-bottom: 1.067vw solid transparent;
    border-left: 1.6vw solid #fff;
  }
}

/*
吹き出しリンク
================================================ */
div#eye_catcher {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}

/*
よくある質問
================================================ */
.faq {
  padding: 60px 0;
  background: var(--light-teal);
}
.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: left;
}
.faq-list summary::before,
.faq-list details p::before {
  position: absolute;
  left: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  border-radius: 50%;
}
.faq-list summary {
  position: relative;
  padding: 15px 50px 15px 75px;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::before {
  content: "Q";
  top: 16px;
  background: var(--teal);
}
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 10px solid var(--brown);
  border-bottom: 0;
}
.faq-list details {
  overflow: hidden;
  background: #fff;
}
.faq-list details[open] summary::after {
  border-top: 0;
  border-bottom: 10px solid var(--brown);
}
.faq-list details p {
  position: relative;
  padding: 0 50px 15px 75px;
  font-weight: 400;
}
.faq-list details p::before {
  content: "A";
  top: 0;
  background: var(--red);
}

@media (max-width: 820px) {
  .faq {
    padding: 8vw 5.333vw;
  }
  .faq-list summary {
    padding: 2.667vw 6.933vw 2.667vw 12.533vw;
    font-size: 4vw;
  }
  .faq-list summary::before,
  .faq-list details p::before {
    left: 2.133vw;
    width: 6.933vw;
    height: 6.933vw;
    font-size: 4vw;
  }
  .faq-list summary::before {
    top: 2.667vw;
  }
  .faq-list summary::after {
    top: 5.867vw;
    right: 2.667vw;
    border-right: 1.067vw solid transparent;
    border-left: 1.067vw solid transparent;
    border-top: 1.6vw solid var(--brown);
  }
  .faq-list details p {
    padding: 0 3.467vw 2.667vw 12.533vw;
  }
  .faq-list details[open] summary::after {
    border-bottom: 1.333vw solid var(--brown);
  }
}

/*
コンタクト
================================================ */
.contact {
  padding: 60px 0;
  background: #f4f4f4;
}
.mail-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0 auto;
  padding: 30px 0 34px;
  width: min(614px, 100%);
  color: #fff;
  background: var(--red);
  border-radius: 17px;
  text-align: center;
	margin-bottom: 40px;
}
.mail-form label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.mail-form label::before {
  content: "";
  display: block;
  width: 39px;
  height: 30px;
  background-image: url(../img/icon_mail.svg);
  background-size: 39px 30px;
}
.mail-form label .mailmag-text {
  font-size: 24px;
}
.mail-form div {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.mail-form .input_text {
  padding: 5px 10px;
  max-width: 328px;
  width: 100%;
  font-weight: 400;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.mail-form .form_button {
  flex-shrink: 0;
  padding: 0 17px;
  font-size: 20px;
  letter-spacing: 0.1em;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: var(--brown);
  cursor: pointer;
  transition-duration: .4s;
}
.mail-form .form_button:hover {
  background: var(--light-brown);
  transform: scale(1.1);
}
.mail-form.large {
  margin-bottom: 50px;
}
.online-banner {
  display: block;
  width: fit-content;
  margin: 0 auto 50px;
}
.online-banner img {
  transition-duration: .4s;
}
.online-banner img:hover {
  transform: scale(1.05);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  max-width: 920px;
}
.contact-card {
  padding: 28px 0 20px;
  text-align: center;
  background: #fff;
}
.contact-title {
  display: block;
  margin-bottom: 20px;
  padding: 6px 10px;
  color: #fff;
  background: var(--brown);
}
.web-title {
  margin-bottom: 40px;
}
.contact-tel {
  display: block;
  margin: 0 auto 10px;
  line-height: 1;
  font-size: 38px;
}
.button_request {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 10px 30px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  font-size: 18px;
  background: var(--red);
  border-radius: 26px;
  transition-duration: .4s;
}
.button_request:hover {
  transform: scale(1.1);
}
.button_request::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #fff;
  border-right: 0;
}
.contact-card img {
  display: block;
  margin: 0 auto 20px;
}
.device-icon {
  width: 167px;
}
.operator-icon {
  width: 71px;
}
.contact-card small {
  font-size: 14px;
}

@media (max-width: 820px) {
  .contact {
    padding: 8vw 3.2vw;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-title {
    margin-bottom: 5.333vw;
    padding: 0.8vw 2.667vw 1.333vw;
    font-size: 4.267vw;
  }
  .contact-card {
    padding: 2.133vw 0 4.267vw;
  }
  .contact-card[href^="tel"] strong {
    font-size: 8vw;
  }
  .contact-tel {
    margin: 0 auto 1.6vw;
    font-size: 10.133vw;
  }
  .contact-card small {
    font-size: 4vw;
  }
  .contact-card img {
    margin: 0 auto 2.4vw;
  }
  .mail-form label {
    font-size: 3.5vw;
    gap: 2.667vw;
  }
  .mail-form label::before {
    width: 8vw;
    height: 6.133vw;
    background-size: 8vw 6.133vw;
  }
  .mail-form label .mailmag-text {
    font-size: 5vw;
  }
  .mail-form label span {
    line-height: 1.5;
  }
  .mail-form {
    padding: 4vw 2.667vw;
  }
  .mail-form.large {
    margin-bottom: 5.333vw;
  }
  .mail-form {
    padding: 5.333vw 3.733vw;
    border-radius: 2.133vw;
  }
  .mail-form div {
    gap: 1.6vw;
  }
  .mail-form .input_text {
    padding: 1.333vw 2.667vw;
    font-size: 3.2vw;
    border-radius: 0.4vw;
  }
  .mail-form .form_button {
    padding: 0 2.667vw;
    font-size: 3.733vw;
    border-radius: 0.4vw;
    letter-spacing: 0;
  }
  .button_request {
    gap: 3.2vw;
    padding: 2.133vw 5.867vw;
    font-size: 4.267vw;
  }
  .device-icon {
    width: 28.533vw;
  }
  .operator-icon {
    width: 11.733vw;
  }
  .online-banner {
    margin: 0 auto 5.333vw;
    width: 77.333vw;
  }
}