body {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  color: #373737;
  position: relative;
}

body p {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  color: #373737;
}

.font-noto {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.font-din {
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-style: normal;
}

a {
  text-decoration: none !important;
}

a:hover {
  opacity: 0.8;
  transition-duration: 0.5s;
}

/*フォントサイズ*/
.fz-12 {
  font-size: 12px;
}
.fz-14 {
  font-size: 14px;
}
.fz-15 {
  font-size: 15px;
}
.fz-16 {
  font-size: 16px;
}
.fz-18 {
  font-size: 18px;
}
.fz-20 {
  font-size: 20px;
}
.fz-24 {
  font-size: 24px;
}
.fz-28 {
  font-size: 28px;
}
.fz-32 {
  font-size: 32px;
}

@media screen and (min-width: 768px) {
  .fz-md-14 {
    font-size: 14px;
  }
  .fz-md-16 {
    font-size: 16px;
  }
  .fz-md-18 {
    font-size: 18px;
  }
  .fz-md-20 {
    font-size: 20px;
  }
  .fz-md-24 {
    font-size: 24px;
  }
  .fz-md-28 {
    font-size: 28px;
  }
  .fz-md-32 {
    font-size: 32px;
  }
  .fz-md-40 {
    font-size: 40px;
  }
  .fz-md-48 {
    font-size: 48px;
  }
  .fz-md-56 {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .mt-24-sp {
    margin-top: 24px !important;
  }

  .mt-36-sp {
    margin-top: 36px !important;
  }
}

@media (min-width: 768px) {
  .section {
    margin-top: 100px;
  }
}

@media (max-width: 767px) {
  .section {
    margin-top: 64px;
  }
}

@media (max-width: 767px) {
  .section h2 {
    font-size: 24px !important;
    letter-spacing: 0.1em !important;
  }
}

.section h2 {
  width: 650px;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
  font-size: 32px;
  letter-spacing: 0.3em;
  padding-bottom: 6px;
  border-bottom: dotted 3px #373737;
  border-width: 4px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  color: #373737;
}

.bg-orange {
  background-color: #0066C8;
}

.bg-red {
  background-color: #c52620;
}

.text-orange {
  color: #d08727;
}

.text-orange-b {
  color: #ce6016;
}

.text-red {
  color: #c52620;
}

@media (max-width: 576px) {
  .container {
    padding-left: 7% !important;
    padding-right: 7% !important;
  }
}

@media (min-width: 1200px) {
  .container-lg {
    max-width: 1000px !important;
  }
}

/*サイド*/
.side-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}
.side-btn-red {
  height: 250px;
  width: 76px;
  background-color: #c52620;
  position: relative;
  border-radius: 15px 0 0 15px;
}

.side-btn-orange {
  margin-top: 25px;
  height: 250px;
  width: 76px;
  background-color: #0066C8;
  position: relative;
  border-radius: 15px 0 0 15px;
}

.side-btn-rayout {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0; /* top, right, bottom, leftを一括指定 */
  margin: auto;
}

.tategaki {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
  color: #fff;
  font-weight: bold;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  text-align: center;
  display: inline-block;
}


.side-btn-ls {
  letter-spacing: 0.2em;
}

.side-btn-sp {
  position: fixed;
  bottom: 0;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.side-btn-red-sp {
  height: 85px;
  width: 47%;
  background-color: #c52620;
  position: relative;
  border-radius: 15px 15px 0 0;
}

.side-btn-orange-sp {
  height: 85px;
  width: 47%;
  background-color: #0066C8;
  position: relative;
  border-radius: 15px 15px 0 0;
}

.btn-top {
  height: 45px;
}

.btn-bottom {
  height: 40px;
}

/*ヘッダー*/
#header {
  position: relative;
  background-image: url(../images/bg-header.jpg);
  background-size: cover;
  background-position: center center;
  width: 100%;
  pointer-events: auto;
}

@media (min-width: 768px) {
  #header {
    aspect-ratio: 143/75;
  }

  #header .header-logo {
    left: 5%;
    top: 5%;
    width: 15%;
    z-index: 99;
  }

  #header .header-deco {
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 143/75;
    opacity: 0.8;
  }

  #header .header-content {
    width: 100%;
    bottom: -2px;
    z-index: 99;
  }

  #header .header-title {
    width: 53%;
  }
}

@media (max-width: 767px) {
  #header {
    aspect-ratio: 75/43;
  }

  #header .header-logo {
    left: 5%;
    top: 5%;
    width: 15%;
    z-index: 99;
  }

  #header .header-deco {
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 75/43;
    opacity: 0.8;
  }

  #header .header-content {
    width: 100%;
    bottom: -1px;
    z-index: 99;
  }

  #header .header-title {
    width: 55%;
  }
}

/*前書き*/
#content-1 p {
  line-height: 1.8;
}

.float-box {
  width: 100%;
  overflow: hidden;
}

.float-box .float-space {
  float: right;
  height: 45px;
}

.float-box .float-img {
  float: right;
  clear: both;
  margin-left: 50px;
  margin-top: 35px;
  width: 30%;
}

/*コンテンツ2*/
@media (min-width: 768px) {
  .content-2-entry-title {
    padding-bottom: 5px;
  }

  .content-2-act-title {
    padding-bottom: 23px;
  }
}

/*コンテンツ4*/
@media (min-width: 768px) {
  .text-hidamari {
    width: 220px;
    padding: 0 8px;
  }
}

@media (min-width: 1200px) {
  .w-content-4-box {
    padding: 0px 20px !important;
  }

  .content-4-btn {
    padding: 0px 20px !important;
  }
}

@media (min-width: 992px) {
  .w-content-4-box {
    width: 25%;
    border-right: dotted 4px #a0a0a0;
    border-width: 5px;
    padding: 0px 12px;
  }

  .w-content-4-box-2 {
    padding-bottom: 30%;
  }

  .h-content-4-img {
    padding-bottom: 40%;
    margin-bottom: 5%;
  }

  .content-4-btn {
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 0px 12px;
  }

  .content-4-num {
    width: 15%;
    top: 0;
    left: 0;
  }

  .content-4-arrow {
    width: 10%;
    top: 50%;
    right: -9%;
    transform: translateY(-50%);
  }

  .content-4-icon-1 {
    width: 60%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .content-4-icon-2 {
    width: 60%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .content-4-icon-3 {
    width: 35%;
    bottom: -7%;
    left: 50%;
    transform: translateX(-50%);
  }

  .content-4-icon-4 {
    width: 27%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 991px) {
  .text-hidamari {
    width: 180px;
    padding: 0 8px;
  }

  .content-4-num {
    width: 10%;
  }

  .content-4-btn {
    width: 90%;
    margin: 0 auto;
  }

  .content-4-icon-1 {
    width: 60%;
    margin: 0 auto;
  }

  .content-4-icon-2 {
    width: 50%;
    margin: 0 auto;
  }

  .content-4-icon-3 {
    width: 30%;
    margin: 0 auto 3%;
  }

  .content-4-icon-4 {
    width: 25%;
    margin: 0 auto;
  }
}

/*コンテンツ5*/
@media (min-width: 768px) {
  .content-5-img-1 {
    width: 25%;
    text-align: center;
  }

  .content-5-img-1 img {
    width: 50%;
    margin-top: 20%;
  }

  .content-5-img-2 {
    width: 48%;
  }

  .content-5-img-3 {
    width: 25%;
    text-align: center;
  }

  .content-5-img-3 img {
    width: 80%;
  }
}

@media (max-width: 767px) {
  .content-5-img-1 {
    width: 22%;
    text-align: start;
  }

  .content-5-img-1 img {
    width: 75%;
    margin-top: 20%;
  }

  .content-5-img-2 {
    width: 56%;
  }

  .content-5-img-3 {
    width: 22%;
    text-align: start;
  }

  .content-5-img-3 img {
    width: 100%;
  }
}

.border-yellow-dash {
  border: dashed 4px #f0cf00;
  padding: 16px 32px;
  border-width: 4px;
  border-radius: 12px;
}

@media (max-width: 576px) {
  .border-yellow-dash {
    border: dashed 4px #f0cf00;
    padding: 16px 8px;
  }
}

/*コンテンツ6*/
@media (min-width: 768px) {
  .content-6-flex {
    margin-bottom: 12px;
    width: 100%;
  }

  .content-6-flex .left-side {
    position: relative;
    background-color: #c0e1ff;
    margin-right: 12px;
    width: 20%;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
  }

  .content-6-flex .right-side {
    border-top: solid 2px #0066c8;
    border-bottom: solid 2px #0066c8;
    padding: 20px;
    flex: 1;
  }
}

@media (max-width: 767px) {
  .content-6-flex .left-side {
    position: relative;
    background-color: #c0e1ff;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    padding: 16px;
    margin-bottom: 12px;
  }
}

.style-border-blue {
  border: solid 2px #0066c8;
  color: #0066c8;
  font-weight: bold;
  letter-spacing: 0.2em;
  padding: 2px 12px;
  display: inline-block;
}

/*コンテンツ7*/
@media (min-width: 767px) {
  .content-flex-7 {
    width: 100%;
    padding: 24px 0;
    border-bottom: solid 2px #a0a0a0;
  }
}

@media (max-width: 766px) {
  .content-flex-7 {
    width: 100%;
    padding-top: 24px;
  }
}

.content-flex-7 .left-side {
  width: 10%;
  text-align: center;
}

.content-flex-7 .right-side {
  flex: 1;
}

.content-flex-7 .float-num {
  float: left;
  width: 40px;
  margin-top: 0.3em;
  margin-right: 0.5em;
}

/*コンテンツ8*/
#content-8 .list-style li {
  font-size: 14px;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/*コンテンツ9*/
/*アコーディオン全体*/
.accordion-area {
  list-style: none;
  width: 100%;
  margin: 0 auto;
  padding-left: 0;
}

/*アコーディオンタイトル*/
.title {
  position: relative; /*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  font-size: 1rem;
  font-weight: normal;
  padding: 12px 50px 12px 0px;
  transition: all 0.5s ease;
  margin: 0;
  border-top: solid 1px #373737;
  background-color: #ecece3;
}

.accordion-area li:not(:last-child) .title.close {
  border-bottom: solid 1px #373737;
}

.accordion-area li:last-child .title {
  border-bottom: solid 1px #373737;
}

@media (min-width: 768px) {
  .w-qe {
    width: 82px;
  }

  .w-an {
    width: 45px;
  }
}

@media (max-width: 767px) {
  .w-qe {
    width: 50px;
  }

  .w-an {
    width: 50px;
  }
}

/*アイコンの＋と×*/
.title::before,
.title::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 3px;
  background-color: #969696;
  border-radius: 10px;
}
.title::before {
  top: 48%;
  right: 25px;
  transform: rotate(35deg);
}
.title::after {
  top: 48%;
  right: 15px;
  transform: rotate(-35deg);
}
/*　closeというクラスがついたら形状変化　*/
.title.close::before {
  transform: rotate(145deg);
}

.title.close::after {
  transform: rotate(35deg);
}

/*アコーディオンで現れるエリア*/
@media (min-width: 768px) {
  .box {
    display: none; /*はじめは非表示*/
    margin-left: 82px;
    margin-right: 12px;
    padding: 16px 0;
  }

  .qe-btn-rayout {
    text-align: start;
  }
}

@media (max-width: 767px) {
  .box {
    display: none; /*はじめは非表示*/
    margin-left: 0px;
    padding: 16px 0;
  }
  .qe-btn-rayout {
    text-align: center;
  }
}

/*フッター*/
@media (min-width: 768px) {
  #footer {
    margin-top: 100px;
    margin-bottom: 100px;
  }
}

@media (max-width: 767px) {
  #footer {
    margin-top: 50px;
    margin-bottom: 130px;
  }
}
