@charset "UTF-8";
:root {
  --black: #333333;
  --white: #FFFFFF;
  --red: #d57665;
  --blue: #579bc9;
  --blue-dark: #0e469a;
  --blue-mid: #579bc9;
  --blue-light: #1d9cd9;
  --green-light: #d3ebeb;
  --orange: #dfbf5f;
  --yellow: #fde00f;
  --font-family: "Noto Sans", sans-serif;
  --font-family-serif: "Noto Serif", serif;
  --font-family-jost: "Jost", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

html img {
  width: 100%;
  height: auto;
}

html .sp {
  display: block;
}

@media screen and (min-width: 769px) {
  html .sp {
    display: none;
  }
}

html .pc {
  display: none;
}

@media screen and (min-width: 769px) {
  html .pc {
    display: block;
  }
}

html .center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

html .bg-gray {
  background: url(../img/bg-gray.webp) repeat center center;
}

html .bg-green-light {
  background: var(--green-light);
}

html .bg-blue-mid {
  background: var(--blue-mid);
}

html .btn {
  background-color: var(--blue-dark);
  color: var(--white);
  padding: 1.5rem 2rem;
  font-size: clamp(16px, 0.38vw + 14.57px, 20px);
  font-weight: 700;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
}

@media screen and (min-width: 769px) {
  html .btn {
    max-width: 375px;
  }
}

html .btn:hover {
  background-color: var(--blue-light);
  transition: background-color 0.3s ease-out;
}

html .btn:after {
  content: '';
  display: block;
  background: url(../img/icon-arrow.svg) no-repeat center bottom / cover;
  height: 20px;
  width: 20px;
  top: 50%;
  right: 1.5rem;
  transform: translate(0, -50%);
  position: absolute;
}

html .title {
  font-size: clamp(20px, 0.94vw + 16.48px, 30px);
  color: var(--blue-dark);
  font-weight: 700;
  text-align: center;
  margin-bottom: calc(50 / 1425 * 100%);
}

/* モーダル */
html .clickable-image {
  cursor: pointer;
  transition: opacity 0.3s;
}

html .clickable-image:hover {
  opacity: 0.8;
}

html .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

html .modal-content {
  position: absolute;
  margin: auto;
  width: 90%;
  max-width: 1200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  max-height: 90vh;
  overflow: auto;
  padding: 2rem;
}

html .modal-content .plan-pc {
  padding: calc(20 / 1425 * 100%) calc(50 / 1425 * 100%);
  max-width: 100%;
}

html .modal-content img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  max-height: 80vh;
  border-radius: 1.5rem;
}

html .modal-content img:hover {
  opacity: 1;
}

html .modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--white);
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}

html .modal-close img {
  width: 4rem;
}

html .modal-close:hover {
  color: var(--blue-light);
}

html .modal-prev,
html .modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  transition: opacity 0.3s;
}

html .modal-prev:hover,
html .modal-next:hover {
  opacity: 0.7;
}

html .modal-prev img,
html .modal-next img {
  width: 5rem;
  height: auto;
}

html .modal-prev {
  left: 20px;
}

html .modal-next {
  right: 20px;
}

@media screen and (max-width: 768px) {
  html .modal-close {
    top: 10px;
    right: 20px;
  }

  html .modal-close img {
    width: 4rem;
    height: auto;
  }

  html .modal-prev {
    left: 10px;
  }

  html .modal-prev img {
    width: 3rem;
    height: auto;
  }

  html .modal-next {
    right: 10px;
  }

  html .modal-next img {
    width: 3rem;
    height: auto;
  }
}

body {
  font-family: var(--font-family);
  font-size: clamp(14px, 0.2vw + 13.24px, 16px);
  color: var(--black);
  position: relative;
}

@media screen and (min-width: 769px) {
  body {
    font-size: 1.6rem;
  }
}
body p {
  text-align: justify;
}

body a {
  color: var(--black);
  text-decoration: none;
}

body i {
  font-style: normal;
}

body i.orange {
  color: var(--orange);
  margin-right: 0.5rem;
}

body header,
body main,
body footer {
  line-height: 1.5;
}

.fade-slide {
  opacity: 0;
  transform: translate(0, 0);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-slide.left {
  transform: translateX(-25px);
}

.fade-slide.right {
  transform: translateX(25px);
}

.fade-slide.top {
  transform: translateY(-25px);
}

.fade-slide.bottom {
  transform: translateY(25px);
}

.fade-slide.show {
  opacity: 1;
  transform: translate(0, 0);
}
