@charset "utf-8";
/*-------------- 全体 ----------------*/
html {
  position: relative;
  font-size: 100%;
  /*スクロールバーの位置保持*/
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}
body {
  position: relative;
  /*スマホのタップ時ハイライト無効化*/
  -webkit-tap-highlight-color: transparent;
  color: #515151;
  background-color: #FBF3DB;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
:root {
  /* デザインの基本インナー幅（1200px - 50px = 1150px） */
  --inner-width: calc(1200px - 50px);
}
/*iOSのリセット*/
input:not([type="radio"]), button, textarea {
  color: #515151;
}
.bg {
  position: fixed;
  max-width: 300px;
  width: 30%;
  height: auto;
  z-index: -2;
  pointer-events: none;
  opacity: 0.2;
}
.left-top {
  left: 0;
  top: 12%;
}
.left-bottom {
  left: 0;
  bottom: 10%;
}
.right-top {
  right: 0;
  top: 15%;
}
.right-bottom {
  right: 0;
  bottom: 8%;
}
section {
  margin-left: auto;
  margin-right: auto;
}
section:not(#about, #pc_footer_menu) {
  max-width: var(--inner-width);
  width: 100%;
  padding: 0 25px;
}
#talk {
  max-width: calc(var(--inner-width) - 150px);
}
#key {
  margin: 0 auto;
}
section:not(#key, #pc_footer_menu) {
  margin-top: 200px;
}
main section:last-of-type {
  margin-bottom: 150px;
}
img {
  width: 100%;
  height: auto;
  display: block;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #515151;
}
h2 {
  font-size: clamp(1.875rem, 1.534rem + 1.7vw, 2.813rem);
  margin-bottom: 80px;
}
p, ul {
  letter-spacing: 0.05em;
  line-height: 1.7;
}
.center {
  text-align: center;
}
@media (hover: hover) {
  a:hover {
    color: #AAA7A7;
    transition: .3s;
  }
}
/*-------------- header ----------------*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 0 30px;
  height: 120px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  max-width: 180px;
}
h1 {
  transform: translateY(17px);
}
.logo p {
  font-weight: 600;
}
.menu {
  display: flex;
  gap: 15px;
  align-items: center;
}
.oubo {
  display: inline-block;
  text-align: center;
  width: fit-content;
  border: 3px solid #68ACF1;
  border-radius: 20px;
  padding: 8px 30px;
  background-color: #DFFAFF;
}
.sp-only {
  display: none;
}
/*-------------- footer ----------------*/
footer {
  clear: both;
  width: 100%;
}
copyright {
  display: block;
  clear: both;
  padding: 10px;
  background-color: #A80507;
  color: #fff;
  text-align: center;
  margin-bottom: 0px !important;
}
#pc_footer_menu {
  background-color: #F5F4F4;
  padding: 30px;
}
#pc_footer_menu:after {
  clear: both;
  height: 0;
  visibility: hidden;
  display: block;
  content: ".";
}
#footer_menu2 li {
  display: none;
}
#pc_footer_menu nav {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#pc_footer_menu nav ul {
  width: 50%;
  float: left;
}
#pc_footer_menu nav ul li {
  width: 94%;
  padding: 5px;
  border-bottom: 1px dashed #ccc;
}
/*-------------- backbtn ----------------*/
.page-top {
  position: fixed;
  display: flex;
  justify-content: flex-end;
  bottom: 0;
  right: 0;
  width: clamp(80px, 10%, 200px);
  height: auto;
}
.page-top.stopped {
  position: absolute;
  bottom: auto;
}
.top {
  display: block;
  width: fit-content;
  transition: 0.8s;
}
/*--------------------------------------------------------------*/
/*---------------------------- tb ------------------------------*/
@media (max-width:999px) {
  /*-------------- 全体 ----------------*/
  html {
    scroll-padding-top: 150px;
  }
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none !important;
  }
  section:not(#pc_footer_menu, #key) {
    margin-top: 150px;
  }
  main:not(:has(#key)) > section:first-of-type {
    margin-top: 100px !important;
  }
  h2 {
    margin-bottom: 50px;
  }
  /*-------------- header ----------------*/
  header {
    height: 60px;
    padding: 0 15px;
  }
  .logo {
    gap: 14px;
    position: relative;
    z-index: 1001;
  }
  .logo img {
    max-width: 80px;
  }
  h1 {
    transform: translateY(5px);
  }
  /*-------------- ハンバーガー ----------------*/
  .btn-wrap {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
  }
  .btn {
    position: relative;
    width: 25px;
    height: 14px;
    background: none;
    border: none;
  }
  .btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #707070;
    transition: .3s;
  }
  .btn span:nth-child(1) {
    top: 0;
  }
  .btn span:nth-child(2) {
    top: 6px;
  }
  .btn span:nth-child(3) {
    bottom: 0;
  }
  .btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .btn.open span:nth-child(2) {
    display: none;
  }
  .btn.open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  .sp-menu {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 100vh;
    background-color: #fff;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .5s ease-in-out;
    z-index: 1000;
  }
  .sp-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
  }
  .sp-menu.open {
    transform: translateX(0);
    pointer-events: all;
  }
  .nav-bg {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 999;
    transform: translateX(100%);
    transition: transform .5s ease-in-out;
  }
  .nav-bg.open {
    pointer-events: all;
    transform: translateX(0);
  }
  html.no-scroll, body.no-scroll {
    overflow: hidden;
  }
  /*-------------- footer ----------------*/
  footer {
    margin-top: 20px;
    clear: both;
  }
  footer copyright {
    font-size: 0.8em;
    text-align: center;
    display: block;
    clear: both;
    background-color: #F77D90;
  }
  #footer_menu2 li {
    display: block;
    font-size: 0.8em;
    padding: 3px 15px;
    margin-bottom: 10px;
    float: left;
    border-left: 1px solid #ccc;
  }
  #pc_footer_menu {
    background-color: #F5F4F4;
    padding: 10px;
  }
  #pc_footer_menu nav ul {
    width: 50%;
  }
  #pc_footer_menu nav ul li a {
    display: block;
    padding: 5px;
  }
}
/*-------------------------------------------------------------------*/
/*---------------------------- モバイル ----------------------------*/
@media (max-width:599px) {
  /*-------------- 全体 ----------------*/
  .sp-menu {
    width: 100%;
  }
  .logo {
    gap: 0;
  }
  .logo p {
    font-size: 11px;
  }
}