:root {
  --base: #f7f7f7;
  --bk: #1d1d1d;
  --white: #fffff9;
  --light_gray: #d9d9d9;
  --jp-font: "Noto Sans JP", sans-serif;
  --jp-font-weight-Thin: 100;
  --jp-font-weight-ExtraLight: 200;
  --jp-font-weight-Light: 300;
  --jp-font-weight-Regular: 400;
  --jp-font-weight-Medium: 500;
  --jp-font-weight-SemiBold: 600;
  --jp-font-weight-Bold: 700;
  --jp-font-weight-ExtraBold: 800;
  --jp-font-weight-Black: 900;
  --en-font: "Roboto", sans-serif;
  --en-font-weight-Thin: 100;
  --en-font-weight-ExtraLight: 200;
  --en-font-weight-Light: 300;
  --en-font-weight-Regular: 400;
  --en-font-weight-Medium: 500;
  --en-font-weight-SemiBold: 600;
  --en-font-weight-Bold: 700;
  --en-font-weight-ExtraBold: 800;
  --en-font-weight-Black: 900;
}

html {
  font-size: 62.5%;
  width: 100%;
  box-sizing: border-box;
  color: var(--bk);
  scroll-behavior: smooth;
  background-color: var(--base);
}

body {
  min-width: 100%;
  font-family: YakuHanJP, "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  letter-spacing: 0.05em;
  line-height: 1.75;
  text-align: center;
  position: relative;
  overflow-x: hidden !important;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

picture {
  display: block;
}

p {
  letter-spacing: 0.05em;
}

.pc {
  display: block;
}
.sp {
  display: none;
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
/* ハンバーガーメニュー */
.hamburger {
  display: none;
}

.menu-container {
  display: none;
}
@media (max-width: 767px) {
  .hamburger {
    position: fixed;
    top: 4px;
    right: 4px;
    width: 50px;
    height: 50px;
    background: var(--bk);
    border: none;
    cursor: pointer;
    z-index: 100;
    /* 最前面 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s;
  }

  /* 2. メニュー本体 */
  .menu-container {
    position: fixed;
    top: 0;
    right: -300px;
    display: block;
    width: 250px;
    height: 100%;
    background: #fff;
    transition: all 0.4s;
    z-index: 90;
    padding-top: 80px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .menu-container.is-active {
    right: 0;
  }

  /* 3. オーバーレイ（背景の黒マスク） */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 80;
    cursor: pointer;
  }

  .overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  /* メニューリストのデザイン */
  .menu-container ul {
    list-style: none;
    padding: 0;
  }

  .menu-container ul li a {
    display: block;
    color: #333;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }

  /* ボタンのアニメーション */
  .hamburger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

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

  .hamburger.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
}

/* header */
header.header {
  width: 100%;
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
header.header div.header_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 10px;
}
header.header div.header_flex h1.header_logo {
  width: 193px;
  height: auto;
  line-height: 1;
}
header.header div.header_flex h1.header_logo img {
  width: 100%;
}

header.header div.header_flex nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.header div.header_flex nav ul li {
  cursor: pointer;
}
header.header div.header_flex nav ul li:not(:last-child) {
  margin-right: 40px;
}
header.header div.header_flex nav ul li a {
  display: block;
  text-decoration: none;
  color: var(--bk);
  cursor: pointer;
}

@media (max-width: 767px) {
  header.header div.header_flex {
    max-width: 95%;
    margin: 0 auto;
    padding: 16px 8px;
  }
  header.header div.header_flex h1.header_logo {
    width: 120px;
  }
  header.header div.header_flex nav ul {
    display: none;
  }
}

/* フッターセクション */
footer {
  background-color: var(--white);
  padding-bottom: 24px;
}
footer div.contact_section {
  background-color: var(--base);
  padding: 100px 0;
}
footer div.contact_section div.contact_flex {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 0;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer div.contact_section div.contact_flex div.ttl_box {
}
footer div.contact_section div.contact_flex div.ttl_box p {
  font-size: 4.8rem;
  text-align: left;
}
footer div.contact_section div.contact_flex div.ttl_box h2 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
footer div.contact_section div.contact_flex div.ttl_box h2:before {
  border-top: 1px solid var(--bk);
  content: "";
  width: 30px;
  margin-right: 20px;
}
footer div.contact_section div.contact_flex div.ttl_box p.contact_paragraph {
  margin-top: 24px;
  font-size: 1.6rem;
}
footer div.contact_section div.contact_flex div.contact_btn {
  display: flex;
}
footer div.contact_section div.contact_flex div.contact_btn a {
  padding: 16px 32px;
  display: block;
  text-decoration: none;
  color: var(--white);
  background-color: var(--bk);
  border: 1px solid var(--bk);
  border-radius: 100vh;
  -webkit-border-radius: 100vh;
  -moz-border-radius: 100vh;
  -ms-border-radius: 100vh;
  -o-border-radius: 100vh;
}
footer div.contact_section div.contact_flex div.contact_btn a:hover {
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  background-color: var(--base);
  color: var(--bk);
}
footer div.contact_section div.contact_flex div.contact_btn a i {
  margin-left: 16px;
}
footer div.footer_nav {
  background-color: var(--white);
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}
footer div.footer_nav figure {
  width: 193px;
  height: auto;
}
footer div.footer_nav figure img {
  width: 100%;
}
footer div.footer_nav nav {
}
footer div.footer_nav nav ul {
}
footer div.footer_nav nav ul li {
  display: inline-block;
}
footer div.footer_nav nav ul li:not(:first-child) {
  margin-left: 32px;
}
footer div.footer_nav nav ul li a {
  text-decoration: none;
  color: var(--bk);
}
footer small {
  font-size: 1.2rem;
  font-weight: var(--en-font-weight-Regular);
}

@media (max-width: 767px) {
  footer div.contact_section div.contact_flex {
    max-width: 95%;
    margin: 0 auto;
    padding: 60px 0;
    display: block;
  }

  footer div.contact_section div.contact_flex div.contact_btn a {
    margin-right: auto;
    margin-top: 40px;
    display: block;
    line-height: 1;
  }
  footer div.contact_section {
    background-color: var(--base);
    padding: 60px 0;
  }
  footer div.footer_nav {
    max-width: 95%;
    display: block;
    padding: 40px 0;
  }
  footer div.footer_nav figure {
    margin: 0 auto 32px auto;
  }
  footer div.footer_nav nav ul li {
    display: block;
    margin-bottom: 16px;
  }
  footer div.footer_nav nav ul li:not(:first-child) {
    margin-left: 0px;
  }
}

/* 下層ページ共通見出し */
section.common_head_h2 {
  background-image: url(../img/page_head.jpg);
  background-size: cover;
  background-position: center;
  padding: 200px 0 100px 0;
  color: var(--base);
}
section.common_head_h2 p {
  font-size: 1.6rem;
}
section.common_head_h2 h2 {
  font-size: 4.8rem;
  font-weight: var(--en-font-weight-Bold);
  letter-spacing: 0.05em;
}
.common_head_h3 {
  font-size: 3.2rem;
  letter-spacing: 0.05em;
  padding-top: 16px;
  display: inline-block;
  margin-bottom: 32px;
  position: relative;
}
.common_head_h3::before {
  position: absolute;
  content: "";
  height: 1px;
  width: 30px;
  background-color: var(--bk);
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

/* 下層ページインナー */
.page_inner {
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  section.common_head_h2 {
    padding: 150px 0 60px 0;
  }
  section.common_head_h2 p {
    font-size: 1.4rem;
  }
  section.common_head_h2 h2 {
    font-size: 3.2rem;
  }
  .common_head_h3 {
    font-size: 2.4rem;
  }

  /* 下層ページインナー */
  .page_inner {
    max-width: 95%;
  }
}
