/* CSS Document */
.w-100 {
  max-width: 100%;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}
.section-title {
  font-size: 1.75vw;
  margin: 48px 0 24px;
}
.center {
  text-align: center;
}
h2.page-title {
  font-weight: 600;
  font-size: 2vw;
  line-height: 1.5vw;
}
h2.page-title span {
  display: block;
  font-weight: 600;
  color: var(--blue);
  font-size: 1vw;
  margin-bottom: 1vw;
}
h3.blue-title {
  font-weight: 500;
  font-size: 1.5vw;
  line-height: 1.5vw;
  color: var(--blue);
  margin-bottom: 1.1vw;
}
h4.sub-title {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5vw;
  color: #242020;
  margin-bottom: 1.1vw;
}
.txt-blue {
  color: var(--theme, #0E6EB8);
  line-height: 1.5vw;
  font-size: 1.1vw;
  margin-bottom: 2vw;
}
    br.nodisp-pc {
        display: none;
    }

/*青4ボックス*/
.card-box {
  display: grid;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  /* PC: 横4列並び */
  grid-template-columns: repeat(4, 1fr);
}
/* ボックスの基本スタイル */
.card {
  background-color: var(--blue); /* 青背景 */
  border-radius: 5px;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* 丸い白枠 */
.icon-circle {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  overflow: hidden;
}
.icon-circle img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
.text-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}
.text-content p {
  font-size: 1vw;
  line-height: 1.8vw;
}
/*申込み・利用の流れ*/
.step-container {
    background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 1.5vh;
}
.grid-step {
  display: grid;
  grid-template-columns: 7.5% 1fr;
}
/* ヘッダー */
.step-header {
/*  display: flex;
  align-items: center;
  margin-bottom: 20px;*/
}
.step-badge {
  border: 2px solid var(--blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--blue);
  flex-shrink: 0;
  font-weight: 600;
}
.step-label {
  font-size: 0.8vw;
  font-weight: 600;
  color: var(--blue);
}
.step-number {
  font-size: 1vw;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.step-title {
  color: var(--blue);
  font-size: 1.5vw;
  margin: 0 0 0.5vw 0;;
  font-weight: 500;
}
.step-description {
  margin-bottom: 30px;
}
/* フローチャート */
.flow-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.flow-card {
  background-color: var(--skyblue_sub);
  padding: 20px;
  border-radius: 5px;
  flex: 1;
  min-height: 240px;
}
.flow-card h3 {
  font-size: 1.1vw;
  margin-top: 0;
  margin-bottom: 10px;
}
.flow-card p {
  font-size: 1vw;
  margin: 0;
}
/* 矢印 (CSSでの描画) */
.flow-arrow {
  position: relative;
  display: inline-block;
  width: 41px;
  height: 4px;
  margin: 9.2px 0;
  border-radius: 9999px;
  background-color: #036eb7;
}
.flow-arrow::before, .flow-arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  width: 17px;
  height: 4px;
  border-radius: 9999px;
  background-color: var(--blue);
  transform-origin: calc(100% - 2px) 50%;
}
.flow-arrow::before {
  transform: rotate(45deg);
}
.flow-arrow::after {
  transform: rotate(-45deg);
}
/* フッターリンク */
.gr-box {
  background-color: #F2F2F2;
  padding: 20px 40px;
  border-radius: 5px;
}
.gr-box-link {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

/*WEB申込みについて*/
.btn-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.btn-box a{
    background: var(--skyblue_sub);
    border-radius: 5px;
    color: var(--blue);
    display: block;
    width: 100%;
    padding: 1vw;
    position: relative;
    align-items: center;
    font-weight: 600;
}
@media (any-hover: hover) {
  .btn-box a {
    transition: background-color 0.2s;
  }
     .btn-box a:hover {
    text-decoration: none;
    background: #F2F2F2;
  }
}
.arrow {
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: solid 1px var(--blue);
    right: 15px;
}

.arrow::before,
.arrow::after {
  content: "";
    position: absolute;
    bottom: 4px;
    left: calc(50% + -1px);
    width: 1px;
    height: 8px;
    background-color: var(--blue);
    transform-origin: 50% calc(100% - 1px);
}

.arrow::before {
  transform: rotate(45deg);
}

.arrow::after {
  transform: rotate(-45deg);
}
.arrow::before:hover,
.arrow::after:hover{
        bottom: 0;
}

.blue-box{
    background: var(--blue);
    border-radius: 5px;
    padding:5%;
}

h3.white-title {
  font-weight: 500;
  font-size: 1.5vw;
  line-height: 1.5vw;
  color: #fff;
  margin-bottom: 1.1vw;
}
.white-box{
    background: #fff;
    border-radius: 5px;
    padding:5%;
    margin: 5% 0 0 0;
}
.white-box p.normal{
    margin-bottom: 4rem;
}
.white-box img{
    margin-bottom: 4rem;
    max-width: 100%;
}
.grid1-3 img{
    margin-bottom: 0;
}
.grid1-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1vw;
}
.grid1-2{
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.flex{
    display: flex;
}
.card-f{
 display: flex;
    gap: 10px;
}
.card-f div{
    width: 50%;
}
.card-f div img{
    width: 100%;
    margin-bottom: 0.5rem;
}
.grid2-1{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    align-items: center;
}

.q-txt{
    width: 45%;
    display: flex;
    justify-content: space-between;
    margin-right: 2.5%;
}
.q-txt::before{
    content: "?";
    border: solid 1px #242020;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.q-txt::after{
  content: "";
    width: 30px;
    height: 1px;
    background-color: #242020;
    top: 12px;
    position: relative;
}

.line-blue{
    border-top: 1px solid var(--theme, #0E6EB8);
    margin: 5vw 0;
}
h3.heading-no {
	display: flex;
    align-items: center;
    font-size: 1.5vw;
    line-height: 1.2vw;
    margin-bottom: 1vw;
    font-weight: 500;
}

h3.heading-no::before {
	content: attr(data-number);
		display: flex;
	margin-right: 20px;
	color: var(--theme, #0E6EB8);
	font-size: 30px;
	border: 1px solid var(--theme, #0E6EB8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}
.grid3-1{
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap:16px;
}

ul.list-ast {
    list-style:  none;      /* デフォルトのアイコンを消す */
    margin:  0 0 2rem 0;             /* デフォルト指定上書き */
    padding: 0;             /* デフォルト指定上書き */
}
ul.list-ast li{
    border-bottom: 1px solid #D3D3D3;
    line-height: 1.8;
    padding: 1rem;
}
ul.list-ast li::before {
    content:  "※";     /* 空の要素作成 */
    width:  10px;               /* 幅指定 */
    height:  10px;              /* 高さ指定 */
    display:  inline-block;     /* インラインブロックにする */
    margin-right: 5px;          /* 余白指定 */
}

.grid1-1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:16px;
    align-content: center;
    align-items: center;
}

a.btn_conveni {
    display: block;
    margin: 0 0 0.5rem 0;;
    padding: .75rem 1.2rem;
    text-align: left;
    leading-trim: both;
    text-edge: cap;
    font-size: 1.125rem;
    /* line-height: 1.5rem; */
    border: solid 1px var(--theme, #0E6EB8);
    border-radius: 0.5rem;
    text-decoration: none;
    background: url(../../images/guide/blue-arrow-link.svg) no-repeat calc(100% - 1rem) center #fff;
    background-size: 1.5rem;
}

.line-blue-vertical{
    height: 100px;
    margin: 1rem auto;
    position: relative;
}
.line-blue-vertical::after{
    content: "";
    position: absolute;
    top:  0;
    left: 50%;
    transform: translateX(-50%);
    width:  1px;
    height: 100px;
    background: var(--theme, #0E6EB8);
}
.pink-box{
    background: #F6C6C5;
border-radius: 5px;
    color: var(--theme, #0E6EB8);
    padding: 2.5%;
    text-align: center;
  font-size: 1.1vw;
  line-height: 1.6vw;
}
/*WEB申込みフォーム*/
.btn-box-w{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.web_entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.5rem;
    border-radius: .3125rem .3125rem 0 0;
    background: var(--blue, #036EB7);
    color: var(--white, #FFFFFF);
    letter-spacing: .03rem;
    min-height: 5rem;
}
.web_entry p {
    display: inline-block;
    color: #fff;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-size: 1.25rem;
    line-height: 1.625rem;
}
.web_entry p.regist {
    margin-right: .5rem;
    font-size: 1.125rem;
    padding-right: 2rem;
    background: url(../../images/icon_whitearrow_upright.svg) right center no-repeat;
    background-size: 1.5625rem;
}
.web_entry:hover {
  background: var(--link_hover);
    color: white;
}
.facility-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.5rem;
    border-radius: 0 0 .3125rem .3125rem;
    background:#E2EEF6;
    letter-spacing: .03rem;
    color: var(--black, #242020);
}
.facility-link:after {
    content: "";
    width: 25px;
    height: 25px;
    background: url(../../images/guide/arrow-blue-up.svg) right center no-repeat;
}

/*WEB申込み以外での教室申込み方法*/
.gr-area{
    background: #F2F2F2;
}

/* スマホ向けレスポンシブ (768px以下) */
@media (max-width: 767px) {
    h2.page-title {
  font-size: 6.5vw;
}
h2.page-title span {
  font-size: 3vw;
  margin-bottom: 6vw;
}
  .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 10px;
  }
    .blue-box {
    padding: 10% 5%;
}
  p.text-content br.nodisp {
    display: none;
  }
  .section-title {
    font-size: 5vw;
    margin: 24px 0 24px;
  }
  h3.blue-title {
    font-size: 4vw;
    margin-bottom: 2vw;
  }
    h3.white-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
    br.nodisp {
        display: none;
    }
        br.nodisp-pc {
        display: block;
    }

  /*青4ボックス*/
  .card-box {
    /* スマホ: 縦1列 */
    grid-template-columns: 1fr;
  }
  .card {
    /* スマホ: 左右に分かれる構成 */
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 15px;
  }
  .icon-circle {
    margin-bottom: 0;
    margin-right: 20px; /* 画像とテキストの間に余白 */
    flex-shrink: 0; /* 丸が潰れないように固定 */
  }
  .text-content {
    flex-grow: 1;
  }
  .text-content p {
    font-size: 4vw;
    line-height: 7vw;
  }
  /*申込み・利用の流れ*/
    .step-container {
    padding: 10px;
}
        .grid-step {
    grid-template-columns: 13% 1fr;
}
    .step-label {
    font-size: 3vw;
}
    .step-description {
    margin-bottom: 5px;
}
.flow-card h3 {
    font-size: 4vw;
    text-align: center;
}
    .flow-card p {
    font-size: 3.5vw;
}
  .flow-wrapper {
    flex-direction: column;
  }
  .flow-arrow {
        margin: 10px 0;
        transform: rotate(90deg);
        height: 2px;
      width: 30px;
  }
.flow-arrow::before, .flow-arrow::after {
    top: calc(50% - 1px);
    right: 0;
    width: 17px;
    height: 2px;
    transform-origin: calc(100% - 1px) 50%;
}
  .flow-card {
    width: 100%;
    min-height: auto;
  }
  .step-title {
    font-size: 20px;
  }
   /* WEB申込みについて*/
    .flex {
    flex-direction: column;
}
  .card-f div{
    width: 50%;
    font-size: 0.8rem;
}  
    .grid2-1 {
    grid-template-columns: 1fr;
        margin-bottom: 2rem;
}
    .q-txt {
    width: 100%;
    justify-content: flex-start;
        margin-right: 0;
        margin-bottom: 0.5rem;
}
    .q-txt::before {
    margin-right: 5px;
}
    .q-txt::after {
        display: none;
}
    .btn-box {
    display: grid;
        grid-auto-columns: 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}
    .btn-box a {
    padding: 1.5rem;
}
    .grid1-3{
    grid-template-columns: repeat(1, 1fr);
}
    .grid1-3 img {
            width: 100%;
    }
.grid3-1{
    grid-template-columns: repeat(1, 1fr);
}
    
/*申込手順*/
    h3.heading-no {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.5rem;
}
    h3.heading-no::before {
    margin-right: 10px;
    font-size: 1.5rem;
}
    .white-box p.normal {
    margin-bottom: 2rem;
}
    .white-box img {
    margin-bottom: 1rem;
    width: 100%;
}
    .grid1-1 {
    grid-template-columns: 1fr;
}
    a.btn_conveni {
    padding: .75rem;
    font-size: 1rem;
}
    .line-blue-vertical {
    height: 50px;
    margin: 0 auto 1rem auto;
}  
    .line-blue-vertical::after {
    height: 50px;
}
    .pink-box {
    padding: 5%;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6rem;
}
    /*WEB申込みフォーム*/
    .btn-box-w {
    grid-template-columns: 1fr;
    gap: 10px;
}
    .web_entry {
    flex-direction: column;
    justify-content: center;
    min-height: 8rem;
}
    .web_entry p.regist {
    background-size: 1.325rem;
    margin-top: 0.5rem;
}
}