/* 共通 */
:root {
  --main-font: "TheImpressionist", serif;
  /* --noto-font: "Noto Sans JP", sans-serif; */
  --sub-font: "Parisienne", cursive;
  --noto-font: "Noto Serif", serif;
  --base-font-size: 16px;
  --heading-font-size: 2rem;
  --main-color: #B59B9B;
  --main-blue: #1F233A;
  --main-gray: #D9D9D9;
  --font-gray: #4E4E4E;
}

/* 全体の箱 */
.container_wrapper {
  max-width: 128rem;
  padding: 5rem 0 10rem;
  background-color: #D9D9D9;
}

.contents_wrapper {
  max-width: 100rem;
  margin: 0 auto;
}

/* タイトル */
.contents_wrapper h1 {
  font-size: 5rem;
  font-weight: 500;
  text-align: center;
  padding: 2rem 0 0;
  color: #1F233A;
  font-family: var(--main-font);
}


/* 小タイトル */
.service-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 5rem;
  color: #1F233A;
  font-family: var(--noto-font);
}


.policy-text {
  width: 80rem;
  margin: 4rem auto;
  text-indent: 1em;
}

.policy-block {
  margin: 0 0 10rem;
}

.policy-text h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 12rem;
  color: #1F233A;
  font-family: var(--noto-font);
}

.policy-text h3 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 3rem;
  color: #1F233A;
  font-family: var(--noto-font);
}

.policy-text p {
  text-align: start;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1em;
  color: #1F233A;
  font-family: var(--noto-font);
  line-height: 1.5em;
}

/* ここからリンクボタン */
.link-btn {
  background-color: #1F233A;
  width: 22rem;
  height: 4rem;
  border-radius: 3rem;
  font-size: 1.6rem;
  margin: 0 auto;
  text-align: center;
  line-height: 4rem;
  margin: 5rem auto 5rem;
  cursor: pointer;
  transition: all 0.8s ease;
}

.link-btn:hover {
  background-color: #ffffff;
  opacity: 1;
  color: #1F233A;
}

.link-btn a {
  color: #fff;
  font-weight: 300;
  font-family: var(--noto-font);
}

.link-btn:hover a {
  color: #1F233A;
}




/* inview */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
.inview1 {
  opacity: 0;
  transform: translateY(5rem);
  transition: 0.8s;
}

.inview1.show {
  opacity: 1;
  transform: translateY(0px);
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */


/* アコーディオン */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
.accordion h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  margin: 5rem auto 2rem;
  color: #1F233A;
  font-family: var(--noto-font);
}

.job_titile {
  width: 90rem;
  background-color: transparent;
  /* スムーズな切り替え */
  transition: background-color 0.6s ease;
  border-top: 1px solid #000;
  padding: 2rem 3rem 2.5rem;
  font-family: var(--noto-font);
  color: #1F233A;
}

.accordion-content {
  width: 90rem;
  margin: 0 auto;
}

.accordion-header {
  cursor: pointer;
}

.accordion-header:nth-last-of-type(2) .job_titile {
  border-bottom: 1px solid #000;
}

/* アコーディオンが開いた状態（ .active クラスが付いたとき） */
.accordion-header.active .job_titile {
  /* 開いたときは黄色に */
  background-color: #1F233A;
  color: #ffffff;
}

.job_wrapper h3,
h3 {
  font-size: 1.3rem;
  font-weight: 500;
  /* line-height: 10rem; */
  margin: 0 auto;
  /* padding-left: 3rem; */
}

/* 項目を横並びに */
.job_item {
  display: flex;
  background-color: #ffffff;
}

.job_item:first-child {
  /* padding: 1rem; */
}

.job_item dd {
  font-size: 1.3rem;
  font-weight: 400;
  font-family: var(--noto-font);
  color: #1F233A;
  padding: 1rem 3rem 3rem;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.job_titile {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job_titile .arrow {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
  transform: rotate(180deg);
}






/* ここからスマホ版・SP版 */
@media screen and (max-width: 699.98px) {

  /* コンテンツの大枠 */
  .container_wrapper {
    max-width: 37.5rem;
    margin: 0rem auto;
  }

  .container_wrapper {
    padding: 0rem 0 1rem;
  }

  .wrap img {
    width: 100%;
    height: 56rem;
    object-fit: cover;
  }

  .contents_wrapper:last-of-type {
    max-width: 37.5rem;
    margin: 0rem auto 7rem;
  }

  .policy-text {
    width: 30rem;
    margin: 4rem auto;
  }

  .policy-text h2 {
    text-align: start;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 5rem;
  }

  .policy-text h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    padding-left: 0;
  }

  .policy-text p {
    text-align: start;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 3em;
  }

  .service-title {
    font-size: 1rem;
    margin-bottom: 0rem;
  }



  /* ここからリンクボタン */
  .link-btn {
    width: 20rem;
    height: 5rem;
    font-size: 1.6rem;
    line-height: 5rem;
    margin: 5rem auto;
  }



  /* アコーディオン */
  /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
  .job_titile {
    width: 30rem;
    padding: 0.5rem 1rem;
  }

  .job_wrapper h3,
  h3 {
    font-size: 1.2rem;
    padding-left: 3rem;
  }

  .accordion-content {
    width: 30rem;
    margin: 0 auto;
  }

  /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

}