@charset "UTF-8";

/* フォントの設定 */
html {
  font-size: calc( 1000vw / 375 );
}

@media screen and (min-width: 768px) {
  html {
    font-size: calc( 1000vw / 1366 );
  }
}

@media screen and (min-width: 1367px) {
  html {
    font-size: 10px;
  }
}

body {
  background-color: #ffffff;
  color: #221714;
  font-size: 1.6rem;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

/* 画像の設定 */
img {
  vertical-align: bottom;
}

/* PC版・SP版の切り替え */
@media screen and (max-width: 767px) {
  .only-pc {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .only-sp {
    display: none;
  }
}

/* 共通の設定 */
/* CTA */
.cta {
  position: relative;
  padding: 5rem 0;
  background-color: #fabe00;
}

.cta::before {
  position: absolute;
  content: '';
  top: -4rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_yellow.svg);
}

.cta::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_yellow.svg);
  transform: rotate(-180deg);
  z-index: 100;
}

.cta_text01 {
  position: relative;
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  animation: blink .8s ease-in-out infinite alternate;
}

.cta_text01 span {
  font-size: 2.4rem;
  color: #cd1e1b;
}

.cta_text01::before {
  position: absolute;
  content: '';
  top: 50%;
  left: calc(50% - 15rem);
  transform: translateY(-50%);
  width: 4rem;
  height: 4.5rem;
  background-image: url(../images/cta_deco01.svg);
}

.cta_text01::after {
  position: absolute;
  content: '';
  top: 50%;
  right: calc(50% - 15rem);
  transform: translateY(-50%);
  width: 4rem;
  height: 4.5rem;
  background-image: url(../images/cta_deco02.svg);
}

.cta_text02 {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  color: #cd1e1b;
}

.cta_image {
  display: block;
  margin: 0 auto 1.5rem;
  width: 28.5rem;
}

.cta_button {
  position: relative;
  width: 31.5rem;
  height: 5rem;
  margin: 0 auto;
  border-radius: 2.5rem;
  box-shadow: 0 .15rem 0 rgb(51, 51, 51);
  background: #cd1e1b;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 5rem;
  text-align: center;
  transition: opacity .2s ease-out;
}

.cta_button a {
  display: block;
  width: 100%;
  height: 100%;
}

.cta_button:hover {
  opacity: .7;
}

.cta .cta_button::after {
  position: absolute;
  content: '';
  top: 1rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  background-image: url(../images/cta_illust01.svg);
  background-repeat: no-repeat;
  animation: move-y .75s infinite alternate ease-in-out;
}

@media screen and (min-width: 768px) {
  .cta {
    padding: 7.5rem 0;
  }
  
  .cta::before {
    top: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .cta::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .cta_text01 {
    margin: 0 0 3rem;
    font-size: 3.2rem;
  }
  
  .cta_text01 span {
    font-size: 4.8rem;
  }
  
  .cta_text01::before {
    left: calc(50% - 25rem);
    width: 8rem;
    height: 9rem;
  }
  
  .cta_text01::after {
    right: calc(50% - 25rem);
    width: 8rem;
    height: 9rem;
  }

  .cta_text02 {
    margin: 0 0 3rem;
    font-size: 3.2rem;
  }

  .cta_image {
    margin: 0 auto 3rem;
    width: 64rem;
  }
  
  .cta_button {
    width: 50rem;
    height: 7.5rem;
    border-radius: 3.75rem;
    font-size: 2.4rem;
    line-height: 7.5rem;
  }

  .cta .cta_button::after {
    top: 1.5rem;
    right: -4rem;
    width: 12rem;
    height: 12rem;
  }
}

/* 注釈 */
.caution {
  font-size: 1rem;
  padding-left: 1em;
  text-indent: -1em;
  text-align: justify;
}

.caution a {
  color: #cd1e1b;
  text-decoration: underline;
  transition: opacity .2s ease-out;
}

.caution a:hover {
  text-decoration: none;
  opacity: .7;
}

@media screen and (min-width: 768px) {
  .caution {
    font-size: 1.2rem;
  }
}

/* セレクトボックス */
select:disabled {
  opacity: .75;
}

/* アニメーション */
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes move-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(10px);
  }
}

/* ヘッダー SP版 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  width: 100%;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
  border-radius: 4rem 0 0 4rem;
  margin: 1.5rem 0 0 1.5rem;
  padding: 1.5rem;
  background-color: rgba(255,255,255,.9);
}

.header_logo {
  width: 18rem;
  z-index: 10000;
}

.header_logo a {
  transition: opacity .2s ease-out;
}

.header_logo a:hover {
  opacity: .7;
}

.header_tel {
  margin: 0 1rem 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 5rem;
  height: 5rem;
  border-radius: 2.5rem;
  padding-bottom: .5rem;
  background: #0075c1 url(../images/icon_tel01.svg) no-repeat center 1rem;
  background-size: 2rem auto;
  color: #ffffff;
  font-weight: 600;
  font-size: .8rem;
  font-family: "Josefin Sans", sans-serif;
  z-index: 10000;
}

.header_menu {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 5rem;
  height: 5rem;
  border-radius: 2.5rem;
  padding-bottom: .5rem;
  background-color: #e73357;
  color: #ffffff;
  font-weight: 600;
  font-size: .8rem;
  font-family: "Josefin Sans", sans-serif;
  z-index: 10000;
}

.nav_opened .header_menu_text > span:nth-child(1), .header_menu_text > span:nth-child(2) {
  display: none;
}

.nav_opened .header_menu_text > span:nth-child(2) {
  display: inline;
}

.header_menu.nav_opened .header_menu_line > span, .header_menu.nav_opened .header_menu_line > span::before, .header_menu.nav_opened .header_menu_line > span::after {
  background-color: #ffffff;
}

.header_menu_line {
  display: block;
  position: relative;
  width: 2rem;
  height: 1.5rem;
  margin: 0 auto .7rem;
}

.header_menu_line > span {
  display: block;
  top: 50%;
  transition-duration: .075s;
  transition-timing-function: cubic-bezier(.55, .055, .675, .19);
}

.header_menu_line > span, .header_menu_line > span::before, .header_menu_line > span::after {
  position: absolute;
  width: 2rem;
  height: .1rem;
  background-color: #ffffff;
  transition-property: transform;
  transition-duration: .15s;
  transition-timing-function: ease;
}

.header_menu_line > span::before, .header_menu_line > span::after {
  display: block;
  content: "";
}

.header_menu_line > span::before {
  top: -.6rem;
  transition: top .075s .12s ease, opacity .075s ease;
}

.header_menu_line > span::after {
  bottom: -.6rem;
  transition: bottom .075s .12s ease, transform .075s cubic-bezier(.55, .055, .675, .19);
}

.header_menu.nav_opened .header_menu_line > span {
  transform: rotate(45deg);
  transition-timing-function: cubic-bezier(.215, .61, .355, 1);
  transition-delay: .12s;
}

.header_menu.nav_opened .header_menu_line > span::before {
  opacity: 0;
  top: 0;
  transition: top .075s ease, opacity .075s .12s ease;
}

.header_menu.nav_opened .header_menu_line > span::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom .075s ease, transform .075s .12s cubic-bezier(.215, .61, .355, 1);
}

.header_nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8000;
  transform: translate3d(100%, 0, 0);
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
  transition: transform .25s ease-out;
}

.header_nav.nav_opened {
  transform: translate3d(0, 0, 0);
}

.header_nav_box {
  margin: 1.5rem 0 0 1.5rem;
  height: 8rem;
  border-radius: 4rem 0 0 4rem;
  background-color: #ffffff;
}

.header_nav_link01 {
  margin: 3rem 1.5rem 0 0;
  padding: 4rem 6rem 5.5rem 0;
  border-radius: 0 4rem 4rem 0;
  background-color: #ffffff;
}

.header_nav_link01 li {
  position: relative;
  padding: 0 0 0 5.5rem;
  height: 5rem;
  background-size: 6px 1px;
  background-image: url(../images/dashed.png);
  background-repeat: repeat-x;
  background-position: left top;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 5rem;
}

.header_nav_link01 li:last-child {
  background-size: 6px 1px, 6px 1px;
  background-image: url(../images/dashed.png), url(../images/dashed.png);
  background-repeat: repeat-x, repeat-x;
  background-position: left top, left bottom;
}

.header_nav_link01 li::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  border: 5px solid transparent;
}

.header_nav_link01 li:nth-child(1)::before {
  border-left: 10px solid #e73357;
}

.header_nav_link01 li:nth-child(2)::before {
  border-left: 10px solid #0075c1;
}

.header_nav_link01 li:nth-child(3)::before {
  border-left: 10px solid #6eb92b;
}

.header_nav_link01 li:nth-child(4)::before {
  border-left: 10px solid #fabe00;
}

.header_nav_link01 li:nth-child(5)::before {
  border-left: 10px solid #f08200;
}

.header_nav .cta_button {
  margin: -2.5rem auto 0;
}

.header_nav_link02 {
  margin: 3rem 0 0;
  text-align: center;
}

.header_nav_link02 > span:first-child {
  font-size: 1.2rem;
  font-weight: 500;
}


.header_nav_link02 ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.header_nav_tel,
.header_nav_line {
  width: 15rem;
  height: 5rem;
  border-radius: 2.5rem;
  background-color: #0075c1;
  font-weight: 700;
  color: #ffffff;
  line-height: 5rem;
  box-shadow: 0 .15rem 0 rgb(51, 51, 51);
}

.header_nav_tel a,
.header_nav_line a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.header_nav_link02 img {
  width: 2rem;
}

.header_nav_tel a > span:nth-child(4) {
  display: none;
}

.header_nav_link02 > span:last-child {
  font-size: 1.2rem;
  font-weight: 400;
}

.modaal_line {
  display: none;
}

.modaal-inner-wrapper {
  padding: 0;
}

.modaal-container {
  background: none;
}

.modaal-content-container {
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 34.5rem;
  border-radius: 5px;
  background-color: #ffffff;
}

.modaal-content-container img {
  display: block;
  margin: 0 auto;
  width: 28.5rem;
}

.modaal-content-container p {
  margin: 1.5rem 0 0;
  padding: 1.5rem;
  border-radius: 5px;
  background-color: #06c755;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.modaal-content-container div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0 0;
}

.modaal-content-container div > img {
  margin: 0;
  width: 16rem;
}

.modaal-content-container div > a {
  width: 12rem;
}

.modaal-close {
  right: 1.5rem;
  top: 12rem;
}

/* ヘッダー PC版 */
@media screen and (min-width: 768px) {
  .header {
    left: 50%;
    transform: translateX(-50%);
  }

  .header_inner {
    width: 126.6rem;
    height: 10rem;
    border-radius: 5rem;
    margin: 2.5rem auto 0;
    padding: 0 5rem;
    background-color: rgba(255,255,255,.9);
  }

  .header_inner.header_inner-past {
    justify-content: space-between;
    gap: 17rem;
  }
  
  .header_nav_title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
  }
  .header_logo {
    width: 20rem;
    flex-shrink: 0;
  }

  .header_tel {
    display: none;
  }
  
  .header_menu {
    display: none;
  }
  
  .header_nav {
    position: static;
    z-index: 9000;
    transform: none;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    background: none;
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  .header_nav.header_nav-past {
    justify-content: space-between;
  }
  
  .header_nav_link01 {
    margin: 0 0 0 auto;
    padding: 0;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    height: 100%;
  }

  .header_nav_link01 li {
    position: static;
    margin: 0;
    padding: 0;
    height: auto;
    background: none;
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: center;
    transition: transform .3s ease;
  }

  .header_nav_link01 li:last-child {
    background: none;
  }

  .header_nav_link01 li::before {
    border: none;
  }
  
  .header_nav_link01 li:hover {
    transform: scale(1.2);
  }
  
  .header_nav_link02 {
    margin: 0;
    text-align: right;
  }
  
  .header_nav_link02 > span {
    display: block;
    font-weight: 400;
  }
  
  .header_nav_link02 > span:first-child {
    display: none;
  }
  
  .header_nav_link02 ul {
    display: block;
    gap: 0;
    margin: 0;
  }
  
  .header_nav_tel {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: none;
    font-weight: 700;
    line-height: 5rem;
    box-shadow: none;
  }

  .header_nav_line {
    display: none;
  }
  
  .header_nav_tel a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: opacity .2s ease-out;
  }
  
  .header_nav_tel a:hover {
    opacity: .7;
  }
  
  .header_nav_link02 img {
    width: 2.5rem;
  }
  
  .header_nav_tel a > span:nth-child(3) {
    display: none;
  }
  
  .header_nav_tel a > span:nth-child(4) {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: #0075c1;
  }

  .modaal-content-container {
    margin: 10rem auto 0;
    padding: 5rem 10rem;
    width: 80rem;
  }
  
  .modaal-content-container img {
    width: 40rem;
  }
  
  .modaal-content-container p {
    margin: 1.5rem 0 0;
    padding: 2.5rem 5rem;
    font-size: 1.8rem;
  }
  
  .modaal-content-container div {
    margin: 5rem 0 0;
  }
  
  .modaal-content-container div > img {
    width: 24rem;
  }
  
  .modaal-content-container div > a {
    width: 18rem;
  }
  
  .modaal-close {
    right: calc(50% - 40rem);
    top: 15rem;
  }
}

/* ヒーロー */
.hero {
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.hero_mv {
  position: relative;
  padding: 11rem 0 0;
}

.hero_mv_image {
  width: 36rem;
}

.hero_mv_medal {
  position: absolute;
  top: 40rem;
  right: 3rem;
  width: 15rem;
  animation: poyopoyo 2s ease-out infinite;
}

.hero_mv_caution {
  margin-top: 2rem;
  font-size: 1.4rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero_mv .cta_button {
  margin: -2.5rem auto 0;
}

.hero_introduction_flex:nth-child(1) img {
  margin: 3rem 0 0;
  padding: 0 0 0 3rem;
}

.hero_introduction_flex:nth-child(1) p {
  position: relative;
  margin: -1.8rem 0 0;
  width: 36rem;
  height: 3.6rem;
  border-radius: 0 1.8rem 1.8rem 0;
  background-color: #0075c1;
  font-size: 1.8rem;
  line-height: 3.6rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  z-index: 100;
}

.hero_introduction_flex:nth-child(2) img {
  margin: 3rem 0 0;
  padding: 0 3rem 0 0;
}

.hero_introduction_flex:nth-child(2) p {
  position: relative;
  margin: -1.8rem 0 0 auto;
  width: 36rem;
  height: 3.6rem;
  border-radius: 1.8rem 0 0 1.8rem;
  background-color: #0075c1;
  font-size: 1.8rem;
  line-height: 3.6rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  z-index: 100;
}

.scroll_left {
  -webkit-transition: 1s ease-in-out;
  -moz-transition: 1s ease-in-out;
  -o-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
}

.scroll_left.on {
  opacity: 1.0;
  filter: alpha(opacity=100);
  -moz-opacity: 1.0;
}

.scroll_right {
  -webkit-transition: 1s ease-in-out;
  -moz-transition: 1s ease-in-out;
  -o-transition: 1s ease-in-out;
  transition: 1s ease-in-out;
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
}

.scroll_right.on {
  opacity: 1.0;
  filter: alpha(opacity=100);
  -moz-opacity: 1.0;
}

.hero_introduction_title {
  margin: 5rem 0 0;
}

.hero_introduction_title p {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
}

.hero_introduction_title p span {
  background-image: radial-gradient(circle at center, #cd1e1b 20%, transparent 20%);
  background-position: top right;
  background-repeat: repeat-x;
  background-size: 1em 1em;
  padding-top: 1.5rem;
}

.hero_introduction_title img {
  display: block;
  margin: 1.5rem auto 0;
  width: 32rem;
}

@media screen and (min-width: 768px) {
  .hero {
    background-size: 22.5rem 30rem;
  }
  
  .hero_mv {
    padding: 15rem 0 0;
  }
  
  .hero_mv_image {
    display: block;
    margin: 0 auto;
    width: 116.6rem;
  }
  
  .hero_mv_medal {
    top: 40rem;
    right: calc(50% - 63.3rem);
    width: 30rem;
  }

  .hero_mv_caution {
    max-width: 120.6rem;
    margin-inline: auto;

  }
  
  .hero_mv .cta_button {
    margin: -3.75rem auto 0;
  }
  
  .hero_introduction_flex:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    margin: 7.5rem auto 0;
    max-width: 100rem;
  }
  
  .hero_introduction_flex:nth-child(1) img {
    margin: 0;
    padding: 0;
    width: 60rem;
  }
  
  .hero_introduction_flex:nth-child(1) p {
    margin: -5rem -10rem 0 0;
    padding: 2.5rem 0 0 10rem;
    width: 50rem;
    height: 15rem;
    border-radius: 0 4rem 0 4rem;
    font-size: 3.2rem;
    line-height: 1.5;
    text-align: left;
  }

  .hero_introduction_flex:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -5rem auto 0;
    max-width: 100rem;
  }
  
  .hero_introduction_flex:nth-child(2) img {
    margin: 0;
    padding: 0;
    width: 60rem;
  }
  
  .hero_introduction_flex:nth-child(2) p {
    margin: 5rem 0 0 -10rem;
    padding: 2.5rem 0 0 10rem;
    width: 50rem;
    height: 15rem;
    border-radius: 0 4rem 0 4rem;
    font-size: 3.2rem;
    line-height: 1.5;
    text-align: left;
  }
  
  .hero_introduction_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 7.5rem auto 0;
    max-width: 80rem;
  }
  
  .hero_introduction_title p {
    font-size: 4rem;
    text-align: left;
    line-height: 2;
  }
  
  .hero_introduction_title p span {
    background-image: radial-gradient(circle at center, #cd1e1b 20%, transparent 20%);
    background-position: top right;
    background-repeat: repeat-x;
    background-size: 1em 1em;
    padding-top: 2rem;
  }
  
  .hero_introduction_title img {
    margin: 0;
    width: 48rem;
  }
}

/* 3つの特徴 */
.feature {
  position: relative;
  padding: 5rem 1.5rem;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.feature::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_cream.svg);
  transform: rotate(-180deg);
  z-index: 100;
}

.feature_title {
  margin: 0 0 1.5rem;
}

/* スライド共通 */
.feature_slide {
  padding: 0 3rem 3rem;
  height: 48rem;
  border-radius: 0 4rem 0 4rem;
  background-color: #ffffff;
}

.feature_slide_title {
  margin: 0 0 0 -3rem;
  padding: 0 0 0 1.5rem;
  width: 31rem;
  height: 5rem;
  border-radius: 0 0 4rem 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 5rem;
}

.feature_slide_title span {
  position: relative;
  top: .5rem;
  margin: 0 1rem 0 0;
  color: #fabe00;
  font-size: 3.2rem;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
}

.feature_slide_content p {
  font-size: 1.2rem;
  text-align: justify;
}

.feature_slide_content p span {
  font-weight: 700;
  color: #cd1e1b;
}

.feature_slide_content img.only-pc {
  display: none;
}

.feature_slider_prev {
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: -5.5rem;
  right: 14rem;
  z-index: 100;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.feature_slider_next {
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: -5.5rem;
  right: 0;
  z-index: 100;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.feature_slider_next:hover,
.feature_slider_next:hover {
  transform: scale(1.2);
}

.slide_number {
  position: absolute;
  top: -4.5rem;
  right: 7.5rem;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
}

/* スライド01 */
.feature_slide.feature01 .feature_slide_title {
  background-color: #e73357;
}

.feature_slide.feature01 .feature_slide_content div p:nth-child(1) {
  margin: 4rem 0 0;
  letter-spacing: -.1rem;
  text-align: center;
}

.feature_slide.feature01 .feature_slide_content div p:nth-child(2) {
  text-align: center;
}

.feature_slide.feature01 .feature_slide_content div p:nth-child(2) img {
  display: inline-block;
  width: 20rem;
  vertical-align: text-bottom;
}

.feature_slide.feature01 .feature_slide_content div p:nth-child(2) span {
  display: inline-block;
  font-size: 2.4rem;
  color: #221714;
}

.feature_slide.feature01 .feature_slide_content div p:nth-child(3) {
  margin: 0 0 3rem;
  text-align: center;
}

.feature_slide.feature01 .feature_slide_content > p {
  margin: 3rem 0 0;
}

/* スライド02 */
.feature_slide.feature02 .feature_slide_title {
  background-color: #0075c1;
}

.feature_slide.feature02 .feature_slide_content img {
  margin: 4rem 0 0;
}

.feature_slide.feature02 .feature_slide_content p {
  margin: 1.5rem 0 0;
}

.lb-data .lb-details {
  display: none;
}

/* スライド03 */
.feature_slide.feature03 .feature_slide_title {
  background-color: #6eb92b;
}

.feature_slide.feature03 .feature_slide_title sub {
  font-size: 1rem;
  font-weight: 400;
}

.feature_slide.feature03 .feature_slide_content img {
  margin: 1.5rem 0 0;
}

.feature_slide.feature03 .feature_slide_content p {
  margin: 1rem 0 0;
}

.feature_slide.feature03 .caution {
  margin: 1rem 0 0;
}

@media screen and (min-width: 768px) {
  .feature {
    padding: 7.5rem 0;
    background-size: 22.5rem 30rem;
  }

  .feature::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .feature_title {
    display: block;
    margin: 0 auto 3rem;
    width: 66rem;
  }
  
  /* スライド共通 */
  .feature_slider {
    margin: 0 auto;
    width: 80rem;
  }

  .feature_slide {
    padding: 0 5rem 2.5rem;
    height: 42rem;
  }
  
  .feature_slide_title {
    margin: 0 0 0 -5rem;
    padding: 0 0 0 5rem;
    width: 64rem;
    height: 7.5rem;
    font-size: 2.4rem;
    line-height: 7.5rem;
  }
  
  .feature_slide_title span {
    margin: 0 2rem 0 0;
    font-size: 4.8rem;
  }
  
  .feature_slide_content p {
    font-size: 1.6rem;
  }
  
  .feature_slide_content img.only-sp {
    display: none;
  }
  
  .feature_slide_content img.only-pc {
    display: block;
  }
  
  .feature_slider_prev {
    width: 6rem;
    height: 6rem;
    top: -9rem;
    right: 18rem;
  }
  
  .feature_slider_next {
    width: 6rem;
    height: 6rem;
    top: -9rem;
    right: 0;
  }
  
  .slide_number {
    top: -7.5rem;
    right: 9.5rem;
    font-size: 2.4rem;
  }
  
  /* スライド01 */
  .feature_slide.feature01 .feature_slide_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    margin: 3rem 0 0;
  }

  .feature_slide.feature01 .feature_slide_content div p:nth-child(1) {
    margin: 0;
    letter-spacing: -.05rem;
  }
  
  .feature_slide.feature01 .feature_slide_content div p:nth-child(2) img {
    width: 28rem;
  }
  
  .feature_slide.feature01 .feature_slide_content div p:nth-child(2) span {
    font-size: 3.2rem;
  }
  
  .feature_slide.feature01 .feature_slide_content div p:nth-child(3) {
    margin: 1.5rem 0 3rem;
  }
  
  .feature_slide.feature01 .feature_slide_content img {
    width: 25rem;
  }
  
  /* スライド02 */
  .feature_slide.feature02 .feature_slide_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    gap: 5rem;
    margin: 3rem 0 0;
  }

  .feature_slide.feature02 .feature_slide_content img {
    margin: 0;
    width: 34rem;
  }
  
  .feature_slide.feature02 .feature_slide_content p {
    margin: 0;
    width: 31rem;
  }
  
  /* スライド03 */
  .feature_slide.feature03 .feature_slide_title sub {
    font-size: 1.2rem;
  }

  .feature_slide.feature03 .feature_slide_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    gap: 5rem;
    margin: 2.5rem 0 0;
  }

  .feature_slide.feature03 .feature_slide_content img {
    margin: 0;
    width: 25rem;
  }
  
  .feature_slide.feature03 .feature_slide_content p {
    margin: 0 0 1.5rem;
  }
  
  .feature_slide.feature03 .feature_slide_content p:last-child {
    margin: 0;
  }
}

/* 参加者インタビュー */
.interview {
  position: relative;
  padding: 5rem 1.5rem;
  background-color: #0075c1;
}

.interview::before {
  position: absolute;
  content: '';
  top: -4rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_blue.svg);
}

.interview::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_blue.svg);
  transform: rotate(-180deg);
  z-index: 100;
}

.interview_movie {
  position: relative;
  width: 100%;
  margin: .5rem auto 1rem;
}

.interview_movie::before {
  position: absolute;
  content: '';
  top: -4.4rem;
  right: 3rem;
  width: 8rem;
  height: 7.8rem;
  background-image: url(../images/interview_illust.svg);
  background-repeat: no-repeat;
  z-index: 100;
}

.interview_movie_inner {
  width: 100%;
  height: 0;
  padding: 0 0 56.25%;
  position: relative;
}

.interview_movie_inner > iframe {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border: none;
}

.interview .caution {
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .interview {
    padding: 7.5rem 0rem;
  }
  
  .interview::before {
    top: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .interview::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .interview_title {
    margin: 0 0 0 calc(50% - 35rem);
    width: 52rem;
  }
  
  .interview_movie {
    width: 80rem;
    margin: 1.5rem auto;
  }
  
  .interview_movie::before {
    top: -8.8rem;
    right: 5rem;
    width: 16rem;
    height: 15.6rem;
  }

  .interview .caution {
    margin: 0 0 0 calc(50% - 40rem);
  }
}

/* 開催情報 */
.info {
  position: relative;
  padding: 5rem 1.5rem;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.info::before {
  position: absolute;
  content: '';
  top: -4rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_cream.svg);
}

.info::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_cream.svg);
  transform: rotate(180deg);
  z-index: 100;
}

.info > h3 {
  display: block;
  position: relative;
  margin: 6rem auto 1.5rem;
  width: 24rem;
  height: 3rem;
  border-radius: 1.5rem;
  background-color: #0075c1;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 3rem;
  text-align: center;
  color: #ffffff;
}

.info > h3::before {
  position: absolute;
  content: '';
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 3rem;
  background-image: url(../images/info_deco.svg);
}

.info > p {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.info > strong {
  display: block;
  margin: 0 auto;
  font-size: 4rem;
  font-weight: 700;
  color: #cd1e1b;
  text-align: center;
}

.info > span {
  display: block;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
}

.info > .caution {
  margin: 0 0 0 4rem;
}

.info_area_select,
.info_grade_select {
  position: relative;
  padding: 0 0 0 1.5rem;
  margin: 0 auto 1.5rem;
  width: 31.5rem;
  height: 4rem;
  border-radius: 5px;
  border: .5px solid #cbcbcb;
  background-color: #ffffff;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 4rem;
}

.info_area_select::after,
.info_grade_select::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(-135deg);
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #e73357;
  border-left: 2px solid #e73357;
  content: "";
  pointer-events: none;
}

.info_area_select select,
.info_grade_select select {
  width: 100%;
  height: 100%;
}

.info_schedule {
  display: none;
}

.info_schedule.current {
  display: block;
}

.info_school {
  position: relative;
  margin: 1.5rem auto 0;
  padding: 1.5rem;
  width: 31.5rem;
  background-color: #ffffff;
  border-radius: 5px;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
}

.info_school:first-child {
  margin: 0 auto;
}

.info_school::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(-135deg);
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #e73357;
  border-left: 2px solid #e73357;
  content: "";
  pointer-events: none;
  transition: transform 0.2s linear;
}

.info_school.opened::after {
  transform: rotate(45deg);
}

.info_school span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
}

.info_school a {
  transition: opacity .2s ease-out;
}

.info_school a:hover {
  opacity: .7;
}

.info_school img {
  margin: 1rem 0 0;
  width: 6rem;
}

.info_timetable {
  display: none;
}

.info_timetable table {
  margin: 1.5rem auto 0;
  width: 31.5rem;
  background-color: #ffffff;
  text-align: center;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.info_timetable table th {
  width: 10.5rem;
  height: 3rem;
  border-right: 1px solid #ffffff;
  background-color: #6eb92b;
  color: #ffffff;
  font-weight: 500;
  vertical-align: middle;
}

.info_timetable table td {
  width: 10.5rem;
  height: 3rem;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  background-color: #ffffff;
  font-weight: 400;
  vertical-align: middle;
}

.info_timetable th:last-child {
  border-right: none;
}

.info_timetable tr:last-child td {
  border-bottom: none;
}

.info_timetable td:last-child {
  border-right: none;
}

.info_timetable p {
  margin: 1.5rem 0 -1rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.info_timetable p span {
  color: #6eb92b;
}

.info_timetable .caution {
  margin: 1rem 1.5rem 0;
}

.info_flow {
  margin: 0 auto 5rem;
  padding: 3rem 1.5rem;
  width: 31.5rem;
  border-radius: 5px;
  background-color: #ffffff;
}

.info_flow h4 {
  position: relative;
  margin: 3rem 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}

.info_flow h4 span {
  display: block;
  margin: 0 auto 1rem;
  width: 16rem;
  height: 2rem;
  border-radius: 1rem;
  background-color: #e73357;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
  color: #ffffff;
  line-height: 2.3rem;
}

.info_flow div:first-child h4 {
  margin: 0 0 1rem;
}

.info_flow div:nth-child(1) h4::after {
  position: absolute;
  content: '';
  bottom: 0;
  right: 0;
  width: 4.1rem;
  height: 6rem;
  background-image: url(../images/info_flow_illust01.svg);
  background-repeat: no-repeat;
}

.info_flow div:nth-child(2) h4::after {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 4.6rem;
  height: 6rem;
  background-image: url(../images/info_flow_illust02.svg);
  background-repeat: no-repeat;
}

.info_flow div:nth-child(3) h4::after {
  position: absolute;
  content: '';
  bottom: 0;
  right: 0;
  width: 4.7rem;
  height: 7rem;
  background-image: url(../images/info_flow_illust03.svg);
  background-repeat: no-repeat;
}

.info_flow div:nth-child(6) h4::before {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 4.4rem;
  height: 6rem;
  background-image: url(../images/info_flow_illust05.svg);
  background-repeat: no-repeat;
}

.info_flow div:nth-child(6) h4::after {
  position: absolute;
  content: '';
  bottom: 0;
  right: 0;
  width: 3.9rem;
  height: 6rem;
  background-image: url(../images/info_flow_illust06.svg);
  background-repeat: no-repeat;
}

.info_flow p {
  font-size: 1.2rem;
  font-weight: 400;
  text-align: justify;
}

.info_flow p a {
  color: #cd1e1b;
  text-decoration: underline;
  transition: opacity .2s ease-out;
}

.info_flow p a:hover {
  text-decoration: none;
  opacity: .7;
}

.info_flow .caution {
  margin: 1rem 0 0;
}

.info_flow img {
  display: block;
  margin: 1.5rem auto 0;
}

.info_flow div:nth-child(4) img {
  width: 20rem;
}

.info_line {
  margin: 0 auto;
  width: 31.5rem;
}

.info_line > img {
  display: block;
  margin: 0 auto 1rem;
  width: 28.5rem;
}

.info_line p {
  padding: 1.5rem;
  border-radius: 5px;
  background-color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: justify;
  color: #06c755;
}

.info_line div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0 0;
}

.info_line div > img {
  margin: 0;
  width: 16rem;
}

.info_line div > a {
  width: 12rem;
}

.info_present_image_wrap {
  margin-top: 1rem;
  margin-inline: auto;
  max-width: 55rem;
  width: 100%;
}

.info_present_image_text {
  font-size: 1.2rem;
}

.info_present_image_wrap img {
  margin-top: 1rem;
  width: 100%;
}

.info_present_image_caption {
  margin-top: 1rem;
  font-size: 1.2rem;
}

@media screen and (min-width: 768px) {
  .info {
    padding: 7.5rem 0;
    background-size: 22.5rem 30rem;
  }
  
  .info::before {
    top: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .info::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }

  .info_title {
    display: block;
    margin: 0 auto;
    width: 56rem;
  }
  
  .info > h3 {
    margin: 12rem auto 3rem;
    width: 36rem;
    height: 5rem;
    border-radius: 2.5rem;
    font-size: 2.8rem;
    line-height: 5rem;
  }
  
  .info > h3::before {
    top: -5rem;
    width: 10rem;
    height: 5rem;
  }
  
  .info > p {
    font-size: 2.4rem;
  }
  
  .info > strong {
    font-size: 7.2rem;
  }
  
  .info > span {
    font-size: 1.6rem;
  }
  
  .info > .caution {
    margin: 1.5rem 0 0 calc(50% - 20rem);
    font-size: 1.6rem;
  }
  
  .info_area_select,
  .info_grade_select {
    margin: 0 auto 2.5rem;
    padding: 0 0 0 2.5rem;
    width: 60rem;
    height: 5rem;
    font-size: 1.6rem;
    line-height: 5rem;
  }
  
  .info_area_select::after,
  .info_grade_select::after {
    right: 2.5rem;
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .info_school {
    margin: 2.5rem auto 0;
    padding: 2.5rem;
    width: 60rem;
    font-size: 1.8rem;
  }
  
  .info_school::after {
    right: 2.5rem;
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .info_school span {
    font-size: 1.4rem;
  }
  
  .info_school img {
    width: 8rem;
  }
  
  .info_timetable table {
    margin: 2.5rem auto 0;
    width: 60rem;
    font-size: 1.6rem;
  }
  
  .info_timetable table th {
    width: 20rem;
    height: 5rem;
  }
  
  .info_timetable table td {
    width: 20rem;
    height: 5rem;
  }

  .info_timetable p {
    margin: 2.5rem 0 -2rem calc(50% - 30rem);
    font-size: 1.8rem;
  }

  .info_timetable .caution {
    margin: 1.5rem 0 0 calc(50% - 30rem);
  }
  
  .info_flow {
    margin: 0 auto 7.5rem;
    padding: 5rem;
    width: 60rem;
  }
  
  .info_flow h4 {
    margin: 7.5rem 0 2.5rem;
    font-size: 2.4rem;
  }
  
  .info_flow h4 span {
    margin: 0 auto 1.5rem;
    width: 24rem;
    height: 3rem;
    border-radius: 1.5rem;
    font-size: 1.6rem;
    line-height: 3.5rem;
  }
  
  .info_flow div:first-child h4 {
    margin: 0 0 1.5rem;
  }
  
  .info_flow div:nth-child(1) h4::after {
    width: 8.2rem;
    height: 12rem;
  }
  
  .info_flow div:nth-child(2) h4::after {
    width: 9.2rem;
    height: 12rem;
  }
  
  .info_flow div:nth-child(3) h4::after {
    width: 9.4rem;
    height: 14rem;
  }
  
  .info_flow div:nth-child(6) h4::before {
    width: 8.8rem;
    height: 12rem;
  }
  
  .info_flow div:nth-child(6) h4::after {
    width: 7.8rem;
    height: 12rem;
  }
  
  .info_flow p {
    font-size: 1.6rem;
  }

  .info_flow .caution {
    margin: 1.5rem 0 0;
  }
  
  .info_flow img {
    margin: 3rem auto 0;
  }
  
  .info_flow div:nth-child(4) img {
    width: 40rem;
  }
  
  .info_line {
    width: 60rem;
  }
  
  .info_line > img {
    margin: 0 auto 3rem;
    width: 40rem;
  }
  
  .info_line p {
    padding: 2.5rem 5rem;
    font-size: 1.8rem;
  }
  
  .info_line div {
    margin: 5rem 0 0;
  }
  
  .info_line div > img {
    margin: 0;
    width: 24rem;
  }
  
  .info_line div > a {
    width: 18rem;
  }
  .info_present_image_text {
    font-size: 1.6rem;
  }
  
}

/* 喜びの声 */
.voice {
  position: relative;
  padding: 5rem 1.5rem;
  background-color: #e73357;
}

.voice::before {
  position: absolute;
  content: '';
  top: -4rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_red.svg);
}

.voice::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_red.svg);
  transform: rotate(-180deg);
  z-index: 100;
}

.voice_slider {
  margin: 1rem auto;
}

.voice_slide {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  height: 12rem;
  border-radius: 5px;
  background-color: #ffffff;
}

.voice_slide img {
  width: 8rem;
}

.voice_slide p {
  font-size: 1.2rem;
  text-align: justify;
}

.voice_slide p span {
  font-weight: 700;
  color: #e73357;
}

.voice .caution {
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .voice {
    padding: 7.5rem 0;
  }
  
  .voice::before {
    top: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .voice::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }

  .voice_title {
    display: block;
    margin: 0 auto;
    width: 72rem;
  }
  
  .voice_slider {
    margin: 1.5rem auto;
    width: 80rem;
  }
  
  .voice_slide {
    gap: 5rem;
    padding: 5rem;
    height: 24rem;
  }
  
  .voice_slide img {
    width: 20rem;
  }
  
  .voice_slide p {
    font-size: 2.4rem;
  }

  .voice .caution {
    margin: 0 0 0 calc(50% - 40rem);
  }
}

/* よくある質問 */
.faq {
  position: relative;
  padding: 5rem 1.5rem;
  background-color: #6eb92b;
}

.faq::before {
  position: absolute;
  content: '';
  top: -4rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_green.svg);
}

.faq::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_green.svg);
  transform: rotate(-180deg);
  z-index: 100;
}

.faq_box {
  background-color: #ffffff;
  border-radius: 5px;
}

.faq_q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 1.5rem 0 0;
  padding: 1.5rem 5rem 1.5rem 1.5rem;
  cursor: pointer;
}

.faq_q::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(-135deg);
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #e73357;
  border-left: 2px solid #e73357;
  content: "";
  pointer-events: none;
  transition: transform 0.2s linear;
}

.faq_q.opened::after {
  transform: rotate(45deg);
}

.faq_q span {
  font-size: 2.4rem;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
  color: #6eb92b;
}

.faq_q h3 {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: justify;
}

.faq_a {
  padding: 1.5rem 1.5rem 3rem;
  display: none;
}

.faq_a_flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.faq_a_flex > span {
  font-size: 2.4rem;
  font-weight: 600;
  font-family: "Josefin Sans", sans-serif;
  color: #e73357;
}

.faq_a_flex p {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: justify;
}

.faq_a_flex p:last-child {
  margin: 0 0 3rem;
}

.faq_a_flex p > span {
  font-weight: 700;
  color: #cd1e1b;
}

.faq_a_flex p > a:hover {
  text-decoration: none;
  opacity: .7;
}

.faq_a_flex ul {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  padding-left: 1em;
  text-indent: -1em;
  text-align: justify;
}

.faq_a_flex ul span {
  color: #6eb92b;
}

@media screen and (min-width: 768px) {
  .faq {
    padding: 10rem 0;
  }
  
  .faq::before {
    top: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .faq::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }

  .faq_title {
    display: block;
    margin: 0 auto;
    width: 56rem;
  }

  .faq_box {
    margin: 0 auto;
    width: 80rem;
  }
  
  .faq_q {
    gap: 2.5rem;
    margin: 2.5rem auto 0;
    padding: 2.5rem 7.5rem 2.5rem 2.5rem;
  }

  .faq_q::after {
    right: 2.5rem;
    width: 1.25rem;
    height: 1.25rem;
  }

  .faq_q span {
    font-size: 3.6rem;
    position: relative;
    top: .25rem;
  }
  
  .faq_q h3 {
    font-size: 1.8rem;
  }
  
  .faq_a {
    padding: 2.5rem 2.5rem 5rem;
  }
  
  .faq_a_flex {
    gap: 2.5rem;
  }

  .faq_a_flex > span {
    font-size: 3.6rem;
  }
  
  .faq_a_flex p {
    margin: 0 0 2.5rem;
    font-size: 1.6rem;
  }
  
  .faq_a_flex p:last-child {
    margin: 0 0 5rem;
  }

  .faq_a_flex ul {
    margin: 0 0 2.5rem;
    font-size: 1.6rem;
  }
}

/* お問合せ先 */
.contact-list {
  position: relative;
  padding: 5rem 1.5rem;
  background-color: #fabe00;
}

.contact-list::before {
  position: absolute;
  content: '';
  top: -4rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_yellow.svg);
}

.contact-list::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_yellow.svg);
  transform: rotate(-180deg);
  z-index: 100;
}

.contact-list_inner {
  padding: 3rem 1.5rem;
  border-radius: 5px;
  background-color: #ffffff;
  text-align: center;
}

.contact-list_inner p {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.025rem;
}

.contact-list_tel {
  margin: 1.5rem 0 0;
}

.contact-list_tel span:nth-child(1) {
  font-size: 1.2rem;
  font-weight: 500;
}

.contact-list_tel a {
  position: relative;
  display: block;
  margin: .5rem auto;
  padding: 0 0 0 3rem;
  width: 100%;
  height: 5rem;
  border-radius: 2.5rem;
  box-shadow: 0 .15rem 0 rgb(51, 51, 51);
  background-color: #cd1e1b;
  transition: opacity .2s ease-out;
}

.contact-list_tel a:hover {
  opacity: .7;
}

.contact-list_tel a span:nth-child(1) {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 5rem;
  text-align: center;
}

.contact-list_tel a span:nth-child(2) {
  display: none;
}

.contact-list_tel a::before {
  position: absolute;
  top: 50%;
  left: 6.5rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  content: '';
  background: url(../images/icon_tel03.svg) no-repeat left center / contain;
}

.contact-list_tel span:nth-child(3) {
  font-size: 1.2rem;
  font-weight: 400;
}

.contact-list_line {
  margin: 1.5rem auto 0;
}

.contact-list_line span {
  font-size: 1.2rem;
  font-weight: 500;
}

.contact-list_line div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0 0;
}

.contact-list_line div:last-child {
  margin: 3rem 0 0;
}

.contact-list_line div > img {
  margin: 0;
  width: 16rem;
}

.contact-list_line div > a {
  width: 12rem;
}

.contact-list_line a {
  transition: opacity .2s ease-out;
}

.contact-list_line a:hover {
  opacity: .7;
}

@media screen and (min-width: 768px) {
  .contact-list {
    padding: 10rem 0;
  }
  
  .contact-list::before {
    top: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .contact-list::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }

  .contact-list_inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 2.5rem;
  }
  
  .contact-list_inner p {
    font-size: 1.8rem;
    letter-spacing: 0;
  }
  
  .contact-list_tel {
    margin: 2.5rem 0 0;
  }
  
  .contact-list_tel span:nth-child(1) {
    font-size: 1.6rem;
  }
  
  .contact-list_tel a {
    margin: 1rem auto;
    padding: 0 0 0 5rem;
    width: 50rem;
    height: 7.5rem;
    border-radius: 3.75rem;
  }
  
  .contact-list_tel a span:nth-child(1) {
    display: none;
  }
  
  .contact-list_tel a span:nth-child(2) {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 7.5rem;
    text-align: center;
  }
  
  .contact-list_tel a::before {
    left: 11rem;
    width: 3rem;
    height: 3rem;
  }
  
  .contact-list_tel span:nth-child(3) {
    font-size: 1.6rem;
  }
  
  .contact-list_line {
    margin: 2.5rem auto 0;
    width: 50rem;
  }
  
  .contact-list_line span {
    font-size: 1.6rem;
  }
  
  .contact-list_line div {
    margin: 2.5rem 0 0;
  }
  
  .contact-list_line div:last-child {
    margin: 5rem 0 0;
  }
  
  .contact-list_line div > img {
    margin: 0;
    width: 24rem;
  }
  
  .contact-list_line div > a {
    width: 18rem;
  }
}

/* フォーム */
.contact {
  position: relative;
  padding: 5rem 1.5rem;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.contact::before {
  position: absolute;
  content: '';
  top: -4rem;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_cream.svg);
}

.contact::after {
  position: absolute;
  content: '';
  bottom: -4rem;
  right: 0;
  width: 4rem;
  height: 4rem;
  background-image: url(../images/section_deco_cream.svg);
  transform: rotate(180deg);
  z-index: 100;
}

.contact form {
  margin: 1.5rem 0 0;
  padding: 3rem 1.5rem;
  background-color: #ffffff;
  border-radius: 5px;
}

.contact form h3 {
  margin: 0 0 5rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

form dl {
  margin: 0 0 3rem;
}

form dt {
  position: relative;
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

form dt span {
  display: inline-block;
  position: relative;
  top: -.125rem;
  margin: 0 0 0 .5rem;
  width: 3rem;
  height: 2rem;
  border-radius: 2.5px;
  background-color: #cd1e1b;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 2rem;
}

form dd {
  font-size: 1.4rem;
}

form dd > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  /* flex-direction: column; */
}

form dd > ul.contact_kinds {
  flex-direction: column;
}

/* フォーム 2カラム */
form dd > ul.two-column > li {
  width: 100%;
}

/* フォーム セレクトボックス */
.contact-select {
  position: relative;
  padding: 0 0 0 1.5rem;
  width: 100%;
  height: 4rem;
  border-radius: 5px;
  border: .5px solid #cccccc;
  background-color: #f5f5f5;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 4rem;
}

.contact-select::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(-135deg);
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #333333;
  border-left: 2px solid #333333;
  content: "";
  pointer-events: none;
}

.contact-select select {
  width: 100%;
  height: 100%;
}

/* フォーム テキストボックス */
input[type=text], textarea {
  padding: 0 0 0 1.5rem;
  width: 100%;
  height: 4rem;
  border-radius: 5px;
  border: .5px solid #cccccc;
  background-color: #f5f5f5;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 4rem;
}

input[type=text]::placeholder {
  color: #cccccc;
}

textarea {
  resize: vertical;
  height: 15rem;
}

/* フォーム チェックボックス＆ラジオボタン */
.contact-custom_input input {
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-custom_control01 {
  display: inline-flex;
  vertical-align: bottom;
  width: 2rem;
  height: 2rem;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 1.4rem auto;
  margin: 0 .5rem 0 0;
  position: relative;
  background-color: #f5f5f5;
  border-radius: 1px;
  border: .5px solid #cccccc;
}

input[type=checkbox]:checked + .contact-custom_control01,
input[type=radio]:checked + .contact-custom_control01 {
  border: 1px solid #cd1e1b;
}

input[type=checkbox]:checked + .contact-custom_control01::after,
input[type=radio]:checked + .contact-custom_control01::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%) rotate(-45deg);
  width: 1.2rem;
  height: .8rem;
  border-bottom: 2px solid #cd1e1b;
  border-left: 2px solid #cd1e1b;
  content: "";
}

.contact-custom_control02 {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  bottom: .1rem;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 1.4rem auto;
  vertical-align: middle;
  margin: 0 .5rem 0 0;
  position: relative;
  border-radius: 1rem;
  background-color: #f5f5f5;
  border: .5px solid #cccccc;
}

input[type=radio]:checked + .contact-custom_control02::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
  border-radius: .5rem;
  background-color: #cd1e1b;
  content: "";
}

/* フォーム 誕生日 */
form dd > ul.birthday > li:nth-child(1) {
  width: 28%;
}

form dd > ul.birthday > li:nth-child(2) {
  width: 24%;
}

form dd > ul.birthday > li:nth-child(3) {
  width: 24%;
}

form dd > ul.birthday > li {
  position: relative;
  margin: 0 1.6rem 0 0;
}

form dd > ul.birthday > li:nth-child(1)::after,
form dd > ul.birthday > li:nth-child(2)::after,
form dd > ul.birthday > li:nth-child(3)::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: calc(100% + .5rem);
  transform: translateY(-50%);
}

form dd > ul.birthday > li:nth-child(1)::after {
  content: "年";
}

form dd > ul.birthday > li:nth-child(2)::after {
  content: "月";
}

form dd > ul.birthday > li:nth-child(3)::after {
  content: "日";
}

/* フォーム 住所 */
.zip-wrap {
  margin: 0 0 1rem;
}

.zip-wrap input[type=text] {
  width: 40%;
  margin: 0 1.5rem 0 0;
}

.postcode-btn {
  position: relative;
  display: inline-flex;
  color: #ffffff;
  background-color: #cd1e1b;
  height: 4rem;
  padding: .375rem 2.5rem 0;
  border-radius: 2.5rem;
  transition: opacity 0.2s ease-out;
  cursor: pointer;
  line-height: 1.25;
  text-align: center;
  vertical-align: bottom;
  font-weight: 700;
  font-size: 1.2rem;
}

.postcode-btn:hover {
  opacity: .7;
}

.input-mt1 {
  margin: 1rem 0 0;
}

/* フォーム 電話番号 */
.tel-wrap > input[type=text] {
  width: 25%;
}

.contact .caution {
  margin: 1rem 0 0;
}

/* フォーム メールアドレス */
form dd > ul.mail> li:first-child {
  position: relative;
  padding: 0 2.5rem 0 0;
}

form dd > ul.mail> li:first-child::after {
  display: inline-block;
  position: absolute;
  line-height: 1;
  top: 50%;
  right: .5rem;
  transform: translateY(-50%);
  content: "@";
}

.other-domain {
  display: none;
  margin: 1rem 0 0;
}

.other-domain.custom {
  display: block;
}

/* フォーム プライバシーポリシー */
.privacy-policy span {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
}

.privacy-policy span a {
  color: #cd1e1b;
  text-decoration: underline;
  transition: opacity .2s ease-out;
}

.privacy-policy span a:hover {
  text-decoration: none;
  opacity: .7;
}

/* フォーム 送信ボタン */
.submit-button {
  position: relative;
  display: block;
  margin: 1.5rem auto;
  width: 100%;
  height: 5rem;
  box-shadow: 0 .15rem 0 rgb(51, 51, 51);
  border-radius: 2.5rem;
  background-color: #cd1e1b;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 5rem;
  text-align: center;
}

.submit-button:hover {
  opacity: .7;
}

.non-click{
  opacity: 0.2;
  pointer-events: none;
}

.txt-error {
  display: none;
  font-size: 1rem;
  margin: 1rem 0 0;
  color: #cd1e1b;
}

/* 謎 */
.form-select.form-select--half {
  max-width: 50%;
}

/* フォーム 日程 */
.form_schedule {
  display: none;
}

.form_schedule.current {
  display: block;
}

.form_caution01 {
  margin: .5rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #cd1e1b;
}

.form_schedule_caution_02.hide {
  display: none;
}

@media screen and (min-width: 768px) {
  .contact {
    padding: 7.5rem 0;
    background-size: 22.5rem 30rem;
  }
  
  .contact::before {
    top: -8rem;
    width: 8rem;
    height: 8rem;
  }
  
  .contact::after {
    bottom: -8rem;
    width: 8rem;
    height: 8rem;
  }

  .contact_title {
    display: block;
    margin: 0 auto;
    width: 56rem;
  }
  
  .contact form {
    margin: 2.5rem auto 0;
    padding: 5rem 10rem;
    width: 80rem;
  }

  .contact form h3 {
    margin: 0 0 7.5rem;
    font-size: 3.2rem;
  }

  form dl {
    margin: 0 0 5rem;
  }

  form dt {
    font-size: 1.8rem;
    margin: 0 0 2.5rem;
  }

  form dt span {
    top: -.25rem;
    margin: 0 0 0 1rem;
    width: 4.5rem;
    height: 2.5rem;
    font-size: 1.4rem;
    line-height: 2.5rem;
  }

  form dd {
    font-size: 1.6rem;
  }

  form dd > ul {
    gap: 1.5rem;
  }

  /* フォーム 2カラム */
  form dd > ul.two-column > li {
    width: calc(50% - .75rem);
  }

  /* フォーム セレクトボックス */
  .contact-select {
    padding: 0 0 0 2.5rem;
    height: 5rem;
    font-size: 1.6rem;
    line-height: 5rem;
  }

  .contact-select::after {
    right: 2.5rem;
    width: 1.25rem;
    height: 1.25rem;
  }

  /* フォーム テキストボックス */
  input[type=text], textarea {
    padding: 0 0 0 2.5rem;
    height: 5rem;
    font-size: 1.6rem;
    line-height: 5rem;
  }

  textarea {
    height: 20rem;
  }

  /* フォーム チェックボックス＆ラジオボタン */
  .contact-custom_control01 {
    vertical-align: text-top;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 1rem 0 0;
  }

  input[type=checkbox]:checked + .contact-custom_control01 {
    border: 2px solid #cd1e1b;
  }

  input[type=checkbox]:checked + .contact-custom_control01::after {
    width: 1.5rem;
    height: 1rem;
  }

  .contact-custom_control02 {
    width: 2.5rem;
    height: 2.5rem;
    bottom: .25rem;
    margin: 0 1rem 0 0;
    border-radius: 1.25rem;
  }

  input[type=radio]:checked + .contact-custom_control02::after {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: .625rem;
  }

  /* フォーム 誕生日 */
  .contact dd > ul.birthday > li:nth-child(1) {
    width: calc(33% - 2.8rem);
  }

  .contact dd > ul.birthday > li:nth-child(2) {
    width: calc(33% - 2.8rem);
  }

  .contact dd > ul.birthday > li:nth-child(3) {
    width: calc(33% - 2.8rem);
  }

  .contact dd > ul.birthday > li {
    margin: 0 1.8rem 0 0;
  }

  form dd > ul.birthday > li:nth-child(1)::after,
  form dd > ul.birthday > li:nth-child(2)::after,
  form dd > ul.birthday > li:nth-child(3)::after {
    top: 50%;
    left: calc(100% + .75rem);
    transform: translateY(-50%);
  }

  /* フォーム 住所 */
  .zip-wrap {
    margin: 0 0 1.5rem;
  }

  .zip-wrap input[type=text] {
    width: 32rem;
    margin: 0 2.5rem 0 0;
  }

  .postcode-btn {
    font-size: 1.6rem;
    height: 5rem;
    padding: 0 2.5rem;
    line-height: 5rem;
  }

  .input-mt1 {
    margin: 1.5rem 0 0;
  }

 /* フォーム 電話番号 */
  .notes_tel {
    font-size: 1.2rem;
  }

  /* フォーム メールアドレス */
  .contact dd > ul.mail {
    align-items: flex-start;
  }

  .contact dd > ul.mail> li:first-child {
    padding: 0 1.5rem 0 0;
  }

  .contact dd > ul.mail> li:first-child::after {
    right: -.9rem;
  }

  .other-domain {
    margin: 1.5rem 0 0;
  }

  /* フォーム プライバシーポリシー */
  .privacy-policy span {
    font-size: 1.2rem;
  }

  /* フォーム 送信ボタン */
  .submit-button {
    margin: 2.5rem auto 0;
    width: 50rem;
    height: 7.5rem;
    border-radius: 3.75rem;
    font-size: 2rem;
    line-height: 7.5rem;
  }

  .txt-error {
    font-size: 1.2rem;
  }
}

/* フッター */
.footer {
  padding: 5rem 0 8rem;
  background-color: #ffffff;
}

.footer img {
  display: block;
  margin: 0 auto 1rem;
  width: 27.5rem;
}

.footer span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer {
    padding: 5rem 0 10rem;
  }
  
  .footer img {
    margin: 0 auto 1.5rem;
    width: 56rem;
  }
  
  .footer span {
    font-size: 1.2rem;
  }
}

/* フローティングメニュー */
.float-nav {
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: 5000;
  left: 0;
  bottom: 0;
  box-shadow: 0px -3px 10px 0px rgba(0, 0, 0, 0.4);
}

.float-nav a:nth-child(1) {
  width: 27.5rem;
  height: 5rem;
  background-color: #f08200;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  line-height: 5rem;
}

.float-nav a:nth-child(2) {
  padding: 1rem 0 0;
  width: 5rem;
  height: 5rem;
  background-color: #06c755;
  text-align: center;
}

.float-nav a:nth-child(2) img {
  width: 3rem;
}

.float-nav a:nth-child(3) {
  position: relative;
  padding: 3.2rem 0 0;
  width: 5rem;
  height: 5rem;
  background-color: #ffffff;
  color: #cd1e1b;
  font-weight: 600;
  font-size: .8rem;
  font-family: "Josefin Sans", sans-serif;
  text-align: center;
}

.float-nav a:nth-child(3)::before {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  width: 2rem;
  height: 2rem;
  background: url(../images/top.svg) no-repeat center center;
  content: "";
}

@media screen and (min-width: 768px) {
  .float-nav {
    flex-direction: column;
    gap: 0;
    padding: 0;
    bottom: 50%;
    left: calc(100% - 6rem);
    transform: translateY(50%);
    width: 6rem;
    height: auto;
  }
  
  .float-nav a:nth-child(1) {
    padding: 3rem 0;
    width: 6rem;
    height: auto;
    border-radius: 5px 0 0 0;
    font-size: 2rem;
    writing-mode: vertical-rl;
    letter-spacing: .5rem;
    line-height: 6rem;
    box-shadow: none;
  }

  .float-nav a:nth-child(2) {
    padding: 1rem 0 0;
    width: 6rem;
    height: 6rem;
    border-radius: 0;
    box-shadow: none;
  }

  .float-nav a:nth-child(2) img {
    width: 4rem;
  }
  
  .float-nav a:nth-child(3) {
    padding: 3.6rem 0 0;
    width: 6rem;
    height: 6rem;
    border-radius: 0 0 0 5px;
    font-size: 1.4rem;
    box-shadow: none;
  }
  
  .float-nav a:nth-child(3)::before {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
  }

  /* フォーム 日程 */
  .form_caution01 {
    font-size: 1.2rem;
  }
}

/* サンクスページ */
.thanks {
  padding: 11rem 1.5rem 5rem;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.thanks_contact {
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: 5px;
  background-color: #ffffff;
  text-align: center;
}

.thanks_contact h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #cd1e1b;
}

.thanks_contact p {
  margin: 0 0 3rem;
  font-size: 1.2rem;
  text-align: justify;
}

.thanks_contact_tel span:nth-child(1) {
  font-size: 1.2rem;
  font-weight: 500;
}

.thanks_contact_tel a {
  position: relative;
  display: block;
  margin: .5rem auto;
  padding: 0 0 0 3rem;
  width: 100%;
  height: 5rem;
  border-radius: 2.5rem;
  box-shadow: 0 .15rem 0 rgb(51, 51, 51);
  background-color: #cd1e1b;
  transition: opacity .2s ease-out;
}

.thanks_contact_tel a:hover {
  opacity: .7;
}

.thanks_contact_tel a span:nth-child(1) {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 5rem;
  text-align: center;
}

.thanks_contact_tel a span:nth-child(2) {
  display: none;
}

.thanks_contact_tel a::before {
  position: absolute;
  top: 50%;
  left: 6.5rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  content: '';
  background: url(../images/icon_tel03.svg) no-repeat left center / contain;
}

.thanks_contact_tel span:nth-child(3) {
  font-size: 1.2rem;
  font-weight: 400;
}

.thanks_past {
  position: relative;
  margin: 15rem auto 1.5rem;
  padding: 6rem 1.5rem 3rem;
  border-radius: 5px;
  background-color: #ffffff;
}

.thanks_past::before {
  position: absolute;
  content: '';
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24rem;
  height: 13.8rem;
  background-image: url(../images/thanks_past_title.png);
  background-position: center;
  background-size: contain;
}

.thanks_past p {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.thanks_past_flex {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 1.5rem 0 0 5rem;
}

.thanks_past_flex span:nth-child(1) {
  display: inline-block;
  position: relative;
  top: 0;
  margin: 0 0 0 .5rem;
  width: 8rem;
  height: 2rem;
  border-radius: 2.5px;
  background-color: #0075c1;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 2rem;
}

.thanks_past_flex span:nth-child(2) {
  font-size: 1.4rem;
  font-weight: 700;
}

.thanks_line {
  margin: 5rem auto 0;
  width: 31.5rem;
}

.thanks_line > img {
  display: block;
  margin: 0 auto 1rem;
  width: 28.5rem;
}

.thanks_line p {
  padding: 1.5rem;
  border-radius: 5px;
  background-color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: justify;
  color: #06c755;
}

.thanks_line div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0 0;
}

.thanks_line div > img {
  margin: 0;
  width: 16rem;
}
.thanks_line div > a {
  width: 12rem;
}

.thanks_kyoikulab {
  margin: 5rem auto 0;
  padding: 3rem 1.5rem;
  border-radius: 5px;
  background-color: #ffffff;
  text-align: center;
}

.thanks_kyoikulab_title p:nth-child(1) {
  font-size: 1.4rem;
  font-weight: 700;
}

.thanks_kyoikulab_title p:nth-child(1) span {
  background-image: radial-gradient(circle at center, #221714 20%, transparent 20%);
  background-position: top right;
  background-repeat: repeat-x;
  background-size: 1em 1em;
  padding-top: 1rem;
}

.thanks_kyoikulab_title img {
  margin: 1rem auto;
  width: 24rem;
}

.thanks_kyoikulab_title p:nth-child(3) {
  font-size: 1.2rem;
  font-weight: 700;
}

.thanks_kyoikulab_image {
  margin: 1.5rem auto;
}

.thanks_kyoikulab_text {
  font-size: 1.2rem;
  font-weight: 700;
}

.thanks_kyoikulab_copy {
  position: relative;
  display: block;
  margin: 3rem 0 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #f08200;
}

.thanks_kyoikulab_copy::before {
  position: absolute;
  content: '';
  bottom: 0;
  left: calc(50% - 15rem);
  width: 2rem;
  height: 2.25rem;
  background-image: url(../images/thanks_kyoikulab_deco01.svg);
}

.thanks_kyoikulab_copy::after {
  position: absolute;
  content: '';
  bottom: 0;
  right: calc(50% - 15rem);
  width: 2rem;
  height: 2.25rem;
  background-image: url(../images/thanks_kyoikulab_deco02.svg);
}

.thanks_kyoikulab .cta_button {
  background-color: #f08200;
}

.thanks_sns {
  margin: 5rem 0 0;
}

.thanks_sns p {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.thanks_sns ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
}

.thanks_sns ul li {
  width: 4rem;
}

.thanks_sns ul li a {
  transition: opacity .2s ease-out;
}

.thanks_sns ul li a:hover {
  opacity: .7;
}

@media screen and (min-width: 768px) {
  .thanks {
    padding: 15rem 0 10rem;
    background-size: 22.5rem 30rem;
  }
  
  .thanks_contact {
    width: 80rem;
    padding: 5rem 10rem;
  }
  
  .thanks_contact h2 {
    margin: 0 0 3rem;
    font-size: 3.2rem;
  }
  
  .thanks_contact p {
    margin: 0 0 5rem;
    font-size: 1.6rem;
  }
  
  .thanks_contact_tel span:nth-child(1) {
    font-size: 1.6rem;
  }
  
  .thanks_contact_tel a {
    margin: 1rem auto;
    padding: 0 0 0 5rem;
    width: 50rem;
    height: 7.5rem;
    border-radius: 3.75rem;
  }
  
  .thanks_contact_tel a span:nth-child(1) {
    display: none;
  }
  
  .thanks_contact_tel a span:nth-child(2) {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 7.5rem;
    text-align: center;
  }
  
  .thanks_contact_tel a::before {
    left: 11rem;
    width: 3rem;
    height: 3rem;
  }
  
  .thanks_contact_tel span:nth-child(3) {
    font-size: 1.6rem;
  }

  .thanks_past {
    width: 80rem;
    margin: 25rem auto 3rem;
    padding: 9rem 10rem 5rem;
  }
  
  .thanks_past::before {
    top: -15rem;
    width: 36rem;
    height: 20.7rem;
  }
  
  .thanks_past p {
    font-size: 2.4rem;
  }
  
  .thanks_past_flex {
    gap: 5rem;
    margin: 3rem 0 0 10rem;
  }
  
  .thanks_past_flex span:nth-child(1) {
    margin: 0 0 0 .5rem;
    width: 16rem;
    height: 3rem;
    font-size: 1.8rem;
    line-height: 3rem;
  }
  
  .thanks_past_flex span:nth-child(2) {
    font-size: 2.4rem;
  }
  
  .thanks_line {
    margin: 10rem auto 0;
    width: 60rem;
  }
  
  .thanks_line > img {
    margin: 0 auto 3rem;
    width: 40rem;
  }
  
  .thanks_line p {
    padding: 2.5rem 5rem;
    font-size: 1.8rem;
  }
  
  .thanks_line div {
    margin: 5rem 0 0;
  }
  
  .thanks_line div > img {
    width: 24rem;
  }
  .thanks_line div > a {
    width: 18rem;
  }
  
  .thanks_kyoikulab {
    margin: 10rem auto 0;
    padding: 5rem 10rem;
    width: 80rem;
  }
  
  .thanks_kyoikulab_title p:nth-child(1) {
    font-size: 2.4rem;
  }
  
  .thanks_kyoikulab_title p:nth-child(1) span {
    padding-top: 1.5rem;
  }
  
  .thanks_kyoikulab_title img {
    margin: 1.5rem auto;
    width: 36rem;
  }
  
  .thanks_kyoikulab_title p:nth-child(3) {
    font-size: 2rem;
  }
  
  .thanks_kyoikulab_image {
    margin: 3rem auto;
    width: 50rem;
  }
  
  .thanks_kyoikulab_text {
    font-size: 2rem;
  }
  
  .thanks_kyoikulab_copy {
    margin: 5rem 0 1.5rem;
    font-size: 2.4rem;
  }
  
  .thanks_kyoikulab_copy::before {
    left: calc(50% - 25rem);
    width: 4rem;
    height: 4.5rem;
  }
  
  .thanks_kyoikulab_copy::after {
    right: calc(50% - 25rem);
    width: 4rem;
    height: 4.5rem;
  }

  .thanks_sns {
    margin: 10rem 0 0;
  }
  
  .thanks_sns p {
    margin: 0 0 2.5rem;
    font-size: 1.8rem;
  }
  
  .thanks_sns ul {
    gap: 10rem;
  }
  
  .thanks_sns ul li {
    width: 6rem;
  }
}

/* 2段階フォーム */
.inquiry {
  padding: 11rem 1.5rem 5rem;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.inquiry form {
  margin: 1.5rem 0 0;
  padding: 3rem 1.5rem;
  background-color: #ffffff;
  border-radius: 5px;
}

.inquiry form h3 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #cd1e1b;
}

.inquiry form p {
  margin: 0 0 3rem;
  font-size: 1.2rem;
  text-align: justify;
}

@media screen and (min-width: 768px) {
  .inquiry {
    padding: 15rem 0 5rem;
    background-size: 22.5rem 30rem;
  }
  
  .inquiry form {
    width: 80rem;
    margin: 2.5rem auto 0;
    padding: 5rem 10rem;
  }
  
  .inquiry form h3 {
    margin: 0 0 3rem;
    font-size: 3.2rem;
  }
  
  .inquiry form p {
    margin: 0 0 5rem;
    font-size: 1.6rem;
  }
}

/* 過去問ダウンロードページ */
.past_login {
  padding: 11rem 1.5rem 5rem;
  min-height: 100vh;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.past_login_inner {
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: 5px;
  background-color: #ffffff;
}

.past_login_title h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #cd1e1b;
}

.past_login_title p {
  margin: 0 0 3rem;
  font-size: 1.2rem;
  text-align: justify;
}

.past_login_content p {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  color: #cd1e1b;
}

.past_login_content input {
  display: block;
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  width: 100%;
  height: 4rem;
  border-radius: 5px;
  border: .5px solid #cbcbcb;
  background-color: #f5f5f5;
  font-weight: 500;
  font-size: 1.4rem;
}

.past_login_content input:nth-child(3) {
  margin: 0 0 3rem;
}

::placeholder {
  color: #cbcbcb;
}

.past_download {
  padding: 11rem 1.5rem 5rem;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  background-size: 7.5rem 10rem;
}

.past_download_inner {
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: 5px;
  background-color: #ffffff;
}

.past_download_title h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #cd1e1b;
}

.past_download_title p {
  margin: 0 0 3rem;
  font-size: 1.2rem;
  text-align: justify;
}

.past_download_select {
  position: relative;
  padding: 0 0 0 1.5rem;
  margin: 0 auto;
  width: 31.5rem;
  height: 4rem;
  border-radius: 5px;
  border: .5px solid #cbcbcb;
  background-color: #ffffff;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 4rem;
}

.past_download_select::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(-135deg);
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #e73357;
  border-left: 2px solid #e73357;
  content: "";
  pointer-events: none;
}

.past_download_select select {
  width: 100%;
  height: 100%;
}

.past_download_test {
  display: none;
}

.past_download_test.current {
  display: block;
  margin: 3rem auto 0;
}

.past_download_test div {
  margin: 0 auto 2.5rem;
}

.past_download_test div:last-child {
  margin: 0 auto;
}

.past_download_test div h3 {
  margin: 0 0 .5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.past_download_test div div {
  width: 18rem;
  height: 3rem;
  border-radius: 1.5rem;
  background-color: #e73357;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 3rem;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .past_login {
    padding: 15rem 0 5rem;
    background-size: 22.5rem 30rem;
  }
  
  .past_login_inner {
    padding: 5rem 10rem;
    width: 80rem;
  }
  
  .past_login_title h2 {
    margin: 0 0 3rem;
    font-size: 3.2rem;
  }
  
  .past_login_title p {
    margin: 0 0 5rem;
    font-size: 1.6rem;
  }
  
  .past_login_content p {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
  }
  
  .past_login_content input {
    margin: 0 0 2.5rem;
    padding: 2.5rem;
    height: 5rem;
    font-size: 1.6rem;
  }
  
  .past_login_content input:nth-child(3) {
    margin: 0 0 3rem;
  }

  .past_login_content .cta_button {
    display: block;
    text-align: center;
  }
  
  .past_download {
    padding: 15rem 0 5rem;
    background-size: 22.5rem 30rem;
  }
  
  .past_download_inner {
    padding: 5rem 10rem;
    width: 80rem;
  }
  
  .past_download_title h2 {
    margin: 0 0 3rem;
    font-size: 3.2rem;
  }
  
  .past_download_title p {
    margin: 0 0 5rem;
    font-size: 1.6rem;
  }
  
  .past_download_select {
    padding: 0 0 0 2.5rem;
    width: 60rem;
    height: 5rem;
    font-size: 1.6rem;
    line-height: 5rem;
  }
  
  .past_download_select::after {
    right: 2.5rem;
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .past_download_test.current {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin: 5rem auto 0;
  }
  
  .past_download_test div {
    margin: 0 auto;
  }
  
  .past_download_test div h3 {
    font-size: 2.4rem;
  }
  
  .past_download_test div div {
    width: 20rem;
    height: 4rem;
    border-radius: 2rem;
    font-size: 1.8rem;
    line-height: 4rem;
  }
}

