/*
Theme Name: LEG
*/

:root {
  --primary-color: #005060;
  --color-white: #FFFFFF;
  --color-black: #000;
  --color-gray: #CCCCCC;
  --color-font: #222222;

  --base-font-family: "Zen Kaku Gothic New", sans-serif, serif;
}

html,
body {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: var(--base-font-family);
  color: var(--color-black);
  background-color: var(--color-white);
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', serif;
}

h2 {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 10px;
}

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

.container {
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
}

.pc-show {
  display: inline-block !important;
}

.sp-show {
  display: none !important;
}

.mb--25 {
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .pc-show {
    display: none !important;
  }

  .sp-show {
    display: block !important;
  }
}

/* ---------------
 *  ヘッダー
 * --------------- */

.site-header {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  background: transparent;
}

.header-container {
  max-width: 1000px;
  width: 100%;
  height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-family: var(--base-font-family);
  color: var(--color-white);
}

.header-link-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  width: 129px;
  height: 60px;
}

.nav-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-white);
}

.cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 263px;
  height: 66px;
  box-sizing: border-box;
  border: 1px solid var(--color-white);
  font-size: 24px;
  color: var(--color-white);
}

.cta-btn::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(45deg);
  transform-origin: center;
  margin-left: 21px;
  margin-bottom: 0;
}

.cta-btn:hover {
  background: var(--color-white);
  color: var(--primary-color);
}

.cta-btn:hover::after {
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.nav-cta .cta-btn {
  width: 162px;
  height: 46px;
  font-size: 15.5px;
}

.nav-cta .cta-btn:after {
  width: 6px;
  height: 6px;
  margin-left: 9px;
  margin-bottom: 2px;
}

.hamburger-menu {
  display: none;
  width: 30px;
  height: 25.5px;
  margin-top: 5px;
  margin-right: 15px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 100px;
}

.hamburger-menu span:nth-child(1) {
  top: 0;
}

.hamburger-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
  bottom: 0;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(13px) rotate(-30deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-11px) rotate(30deg);
}

@media (max-width: 768px) {
  .site-header {
    top: 0;
  }

  .header-container {
    height: 47px;
  }

  .logo img {
    width: 101px;
    height: 47px;
    margin-left: 7px;
  }

  .cta-btn {
    width: 158px;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
  }

  .cta-btn::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    margin-bottom: 1px;
  }

  .header-link-box {
    gap: 0;
  }

  .hamburger-menu {
    display: block;
  }

  .nav-menu-sp {
    position: fixed;
    top: 0;
    left: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100vh;
    background-color: #005060;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    padding-left: 40px;
  }

  .nav-menu-sp.active {
    left: 0;
  }

  .nav-menu-sp ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-top: 100px;
    margin-bottom: 60px;
  }

  .nav-menu-sp li {
    margin-left: 0;
  }

  .nav-menu-sp li a {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
  }

  .nav-cta .cta-btn {
    font-weight: 400;
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
  }

  .nav-cta .cta-btn::after {
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
  }
}

/* ---------------
 *  フッター
 * --------------- */

.footer {
  background-color: var(--color-font);
  color: var(--color-white);
  padding: 40px 0 48px;
}

.footer-inner {
  width: 100%;
  max-width: 827px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 470px;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 6px;
}

.footer-nav li a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

.footer-logo img {
  max-width: 129px;
  margin-bottom: 8px;
}

.footer-company p {
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1120px) {
  .footer-left {
    padding-left: 20px;
  }
  .fooer-right {
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 40px 40px;
  }

  .footer-inner {
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    gap: 33px;
  }
}


/* ---------------
 *  FAQ / プラポリ
 * --------------- */

.page-header {
  max-width: 1020px;
  margin: 12px auto 70px;
}

.page-header .logo a {
  display: inline-block;
}

.page .container {
  max-width: 1020px;
  margin: 0 auto;
}

.page-content {
  margin-bottom: 140px;
}

.page-title {
  text-align: left;
  margin-bottom: 55px;
}

.page-title h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-font);
}

.faq-item,
.privacy-item {
  margin-bottom: 50px;
}

.faq-item h3,
.privacy-content h3 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

.faq-item p,
.privacy-content p {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-font);
  margin: 0;
}

.privacy-content li {
  list-style-type: none;
  line-height: 1.8;
  color: #333;
}

.privacy-top-text {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .page-header {
    margin: 0 auto 50px;
  }

  .page .container {
    width: calc(100% - 40px);
  }

  .page-content {
    margin-bottom: 120px;
  }

  .page-title {
    margin-bottom: 27px;
  }

  .page-title h2 {
    font-size: 24px;
  }

  .faq-item,
  .privacy-item {
    margin-bottom: 30px;
  }

  .faq-item h3,
  .privacy-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .privacy-content li {
    list-style-type: none;
    line-height: 1.8;
    color: #333;
  }

  .privacy-top-text {
    margin-bottom: 30px;
  }
}

/* ---------------
 *  サンクスページ
 * --------------- */
.thankyou-page {
  background: var(--color-white);
  padding: 58px 0 200px;
  text-align: center;
}

.thankyou-section .container {
  max-width: 800px;
  margin: 0 auto;

}

.thankyou-box {
  background-color: #EFEFEF;
  border: 1px solid #707070;
  padding: 70px 140px 80px;
  text-align: left;
}

.thankyou-box h2 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: bold;
  font-family: var(--base-font-family);
  margin-bottom: 50px;
}

.thankyou-box p {
  color: var(--color-font);
  font-size: 16px;
  margin-bottom: 90px;
}

.btn-home {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 50px;
  margin: 0 auto;
  background-color: var(--primary-color);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

@media (max-width: 768px) {
  .thankyou-page {
    padding: 10px 0 120px;
  }

  .thankyou-section .container {
    width: calc(100% - 40px);
  }

  .thankyou-box {
    padding: 60px 15px;
    text-align: left;
  }

  .thankyou-box h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
  }

  .thankyou-box p {
    margin-bottom: 60px;
  }

  .btn-home {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 50px;
    margin: 0 auto;
    background-color: var(--primary-color);
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
  }
}