@charset'utf-8';
/* メディアクエリ
@media screen and (min-width: 521px) and (max-width:959px) {}

@media screen and (min-width: 960px) {} */

/* リセットcss ----------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 共通設定 ------------------------------------*/
:root {
  /*　作り方 
  --primary-color: #1b9aaa; 
  　　指定方法
  color: var(--primary-color); */
  --primary-color: rgba(242, 242, 242, 0.8);
  --secondary-color: #808080;
  --accent-color: #337AB7;
}

body,
button {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: #333;
}

h2 {
  font-family: haboro-soft-condensed, sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

ul li a {
  font-family: haboro-soft-condensed, sans-serif;
  font-weight: 200;
  font-style: normal;
}

h3 {
  font-size: 1.4rem;
  font-weight: normal;
}

img {
  width: 100%;
}

/* メディアクエリ /////////////*/
@media screen and (min-width: 960px) {
  h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
  }

  h3 {
    font-size: 1.9rem;
  }
}

/* ハンバーガー ---------------------------------*/
/* ロゴ画像 */
.header_logo {
  position: fixed;
  top: 1.3rem;
  left: 0.8rem;
  width: 5.5rem;
  max-width: 8rem;
}

#nav-input {
  display: none;
}

#nav-content {
  position: fixed;
  top: 0;
  left: -100%;
  z-index: 500;
  width: 100%;
}

.nav ul {
  background: rgba(255, 255, 255, 0.93);
  height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav ul li {
  list-style: none;
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

#nav-input:checked~#nav-content {
  left: 0;
}

/* ハンバーガーメニュー btnの× //////*/
.nav-btn {
  display: block;
  width: 40px;
  height: 40px;
  position: fixed;
  top: 0.5rem;
  right: 0.3rem;
  z-index: 600;
}

.nav-btn span,
.nav-btn::before,
.nav-btn::after {
  width: 30px;
  height: 1.5px;
  background-color: #333;
  display: block;
  text-indent: 100%;
  /* 字下げプロパティ */
  white-space: nowrap;
  overflow: hidden;
  /* boxからはみ出た要素を回り込ませる */
  position: absolute;
  top: 50%;
  left: 5px;
  transition: 0.4s;
}

/* 1本線から3本線へ */
.nav-btn::before,
.nav-btn::after {
  content: "";
}

.nav-btn::before {
  transform: translateY(-9px);
}

.nav-btn::after {
  transform: translateY(9px);
}

#nav-input:checked~.nav-btn span {
  transform: scaleX(0);
}

#nav-input:checked~.nav-btn::before {
  transform: rotate(40deg);
}

#nav-input:checked~.nav-btn::after {
  transform: rotate(-40deg);
}

/* メディアクエリ /////////////*/
@media screen and (min-width: 960px) {
  .header_logo {
    top: 3.6rem;
    left: 5rem;
    width: 5.5rem;
  }

  .nav-btn {
    top: 3rem;
    right: 5rem;
  }

  .nav ul li {
    margin-bottom: 1.8rem;
  }

  /* ホバー時の挙動 */
  .header_logo:hover,
  .nav-btn:hover,
  .nav ul li a:hover {
    cursor: pointer;
    opacity: 0.6;
  }
}


/* faq -----------------------------------------*/
.title {
  padding-top: 2rem;
  background: white;
}

.contact {
  padding-bottom: 2rem;
  margin-bottom: 0;
}

.faq {
  margin: 1rem 0px 3.5rem;
  padding: 0 3rem;
}

.faq h2 {
  padding: 1.5rem 0;
  border-image: linear-gradient(rgba(242, 242, 242, 0.8), rgba(242, 242, 242, 0.8)) fill 0 //0 0px 0 100vw;
}

.inner {
  width: 100%;
  max-width: 57rem;
  margin: 0 auto;
}

.inner dl {
  padding: 1.2rem;
  border-top: 1px solid #808080;
}

.inner dl:nth-child(4) {
  border-bottom: 1px solid #808080;
}

.faq_dt {
  position: relative;
  cursor: pointer;
  /* ボタンが文字に被らないように指定↓ */
  padding-right: 1.9rem;
  font-size: 1.2rem;
}

.faq_dt::before {
  content: "＋";
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #337ab7;
  color: white;
  transition: 0.4s;
}

dl.open .faq_dt::before {
  content: "－";
}

.inner dl dd {
  display: none;
  margin-top: 1rem;
  font-size: 1rem;
}

.inner p {
  margin-top: 3rem;
  text-align: center;
}

/* メディアクエリ /////////////*/
@media screen and (min-width: 521px) and (max-width:959px) {
  .faq {
    padding: 0 4rem;
    margin: 3rem 0 6rem 0;
  }

  .faq_dt {
    font-size: 1.4rem;
  }

  .inner p {
    margin-top: 4rem;
  }
}

@media screen and (min-width: 960px) {
  .faq {
    padding: 0 6rem;
    margin: 3rem 0 7.5rem 0;
  }

  .inner {
    margin: 0 auto;
  }

  .faq_dt {
    font-size: 1.9rem;
  }

  .inner p {
    margin-top: 4rem;
  }
}

/* form ---------------------------------------*/
.ct_form {
  padding: 0 6rem;
  text-align: center;
  margin: 0 auto 7.5rem;
}

.form_title {
  font-size: 2.4rem;
  padding: 1.5rem 0;
  border-image: linear-gradient(rgba(242, 242, 242, 0.8), rgba(242, 242, 242, 0.8)) fill 0 //0 100vw 0 0;
}

.ct_form p {
  margin-bottom: 2rem;
}

/* formの中身  ----------------*/
.form_wrapper {
  width: 100%;
  margin: 0 auto;
}

.form_wrapper span {
  display: block;
  border-top: 1px solid #808080;
  max-width: 57rem;
  margin: 0 auto;
}

.form_item:first-of-type {
  margin-top: 3rem;
}

.form_item {
  text-align: left;
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.form_dt {
  width: 18rem;
}

.form_item dd {
  width: 22rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  display: block;
  width: 100%;
  height: 2.5rem;
  border: 1px solid #808080;
  padding: 0.4rem;
  border-radius: 0.2rem;
}

textarea {
  min-height: 6rem;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  vertical-align: -2px;
  /*チェックボックスの位置を微調整 */
  margin-right: 0.5rem;
}

input[type="submit"] {
  margin-top: 2rem;
  width: 70%;
  /* 最小値の設定 */
  max-width: 19rem;
  height: 2.5rem;
  border-radius: 0.2rem;
  background-color: #808080;
  border: none;
  color: #fff;
}

/* hoverした時の設定 */
input[type="submit"]:hover {
  cursor: pointer;
  opacity: 0.7;
}

/* メディアクエリ /////////////*/
@media screen and (max-width: 959px) and (min-width:521px) {
  .ct_form {
    padding: 0 4rem;
  }

  .form_title {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 520px) {
  .ct_form {
    padding: 0 3rem;
    text-align: center;
    margin: 0 auto 3.5rem;
  }

  .form_title {
    font-size: 1.8rem;
  }

  form {
    width: 100%;
  }

  .form_item {
    display: block;
  }

  .form_dt {
    margin-bottom: 0.3rem;
  }

  .form_dt,
  .form_item dd {
    width: 100%;
  }
}

/* footer  -----------------------------------*/
footer {
  background: var(--secondary-color);
  max-width: 100%;
  color: white;
}

footer a {
  color: white;
}

/* 画像を白に変更 */
footer img {
  filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
}

.container {
  padding: 3.5rem 3rem 2rem;
  max-width: 60rem;
  margin: 0 auto;
}

.footer_logo_center {
  text-align: center;
  margin-bottom: 2rem;
}

.footer_logo img {
  width: 6.5rem;
}

.footer_nav ul {
  list-style: none;
}

.footer_nav ul li {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.sns {
  text-align: right;
}

.sns img {
  width: 1.7rem;
  margin: 0.6rem 0 0.6rem 0.5rem
}

.company {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.company a {
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.company a:first-child {
  margin-left: 0;
}

.copyright {
  text-align: center;
  font-size: 0.7rem;
}

/* メディアクエリ /////////////*/
@media screen and (min-width: 521px) {

  /* ホバー時の挙動 */
  footer a:hover {
    opacity: 0.6;
  }

  .footer_nav ul {
    display: flex;
    justify-content: space-around;
    max-width: 40rem;
    margin: 0 auto;
  }

  .sns {
    text-align: center;
  }

  .sns img {
    width: 1.5rem;
    margin: 0.5rem 0 1.4rem 0.5rem;
  }

  .company {
    margin-bottom: 0.5rem;
  }
}