@charset "utf-8";

* {
	box-sizing: border-box;
}

body {
	color: var(--shienshi-text);
	background-color: #fff;
	letter-spacing: 0.1em; /*100*/
	line-height: 1.7;
	font-size: 0.875rem;/*14px*/
	font-feature-settings: "palt";
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500;
}

a {
	text-decoration: none;
	transition: all 0.3s;
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0);  /* 最初は透明 */
    transition: all 0.3s;
}

a:hover::after {
    background-color: rgba(255, 255, 255, 0.4);  /* ホバーで白くふわっと */
    border-radius: 1.5vh;
}

.link {
	position: relative
}
.link a {	
position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}


img {
	height: auto;
	width: 100%;
}

section {
	padding: 150px 0 80px;
}

#wrap {
    position: relative;
	zoom: calc(100vw / 1980px);
}

.br-sp{
  display: none;
}

.br-pc{
    display: block;
  }


/* =================================================
header
==================================================*/

header{
	width:100%;
	display: flex;
	height: 80px;
	align-items: center;
    background: #002867;
}

.header-inner{
    width: min(1200px,100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.5rem;

}

header h1{
	margin-right: 1em;
	transform: scale(0.8);
    flex-shrink: 0;
}

header p{
	margin-right: auto;
    color: #fff;
	font-size: 2rem;
	line-height: 1.6;
    flex-shrink: 0;
}

.menu-item1{
	display: inline-block;
	background: linear-gradient(to bottom, #fd8e30 50%, #eb6e09 50%);
	color :#fff;
	padding: 1em 3em;
	font-size: 16px;
	border-radius: 5vh;
	font-weight: 1000;
	text-decoration: none;
	white-space: nowrap;
    margin-right: 1.5em;
}

.menu-item2{
	display: inline-block;
	background: #fff;
	color :#002867;
	padding: 1em 2.2em;
	font-size: 16px;
	border-radius: 5vh;
	font-weight: 1000;
	text-decoration: none;
	white-space: nowrap;
}

.menu-item3{
	display: none;
}

/* =================================================
FV
==================================================*/


.FV {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
}

.fv-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fv-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  align-items: stretch;
}

.fv-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 80px 1.5rem;
  z-index: 2; position: relative;
}

.fv-text > h1{
    color: #002867;
	font-size: 3.8rem;
	font-weight: bold;
	line-height: 1.0;
  align-items: flex-start;
}

.fv-h1-s{
  font-size: 2.5rem;
  line-height: 1.15;
}

.fv-h1-c{
  color: #0552b9;
}

.fv-text > h2{
    color: #081732;
	font-size: 1.7rem;
	font-weight: bold;
	line-height: 1.5;
  margin-top: 15px;
}

.fv-text > p{
    color: #000;
	font-size: 1.1rem;
	font-weight: bold;
	line-height: 1.5;
  margin-top:10px ;
}

.fv-img {
  position: absolute; 
  top: 0;
  left: 50%;  
  width: 85%; 
  height: 100%;
  object-fit: cover;
  object-position: left center;
  margin: 0;

   -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%);
}

.fv-btn{
	display: inline-block;;
	background: linear-gradient(to bottom, #fd8e30 50%, #eb6e09 50%);
	color:#fff;
	padding: 0.8rem 5rem;
	border-radius: 15px;
	text-decoration: none;
	font-width: bold;
	font-size: 1.5rem;
	font-weight: 900;
	text-align: center;
	width: fit-content;
	box-sizing: border-box;
  margin-top: 30px;
}

.fv-img-sp {
    display: none;
}

.fv-back-sp{
  display: none;
}

.FV-sp {
    display: none;
}


    /* =================================================
バナー
==================================================*/

.pc-banner{
  display: block;
  max-width: 1200px;
  margin: 20px  auto;

}

.sp-banner{
  display: none;
}


/* =================================================
特徴
==================================================*/
.tokutyou-con {
  display: flex;
  flex-direction: row;
  gap: 16px;
  max-width: 1200px;
  margin: auto;
}

.tokutyou-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.tokutyou-kakaku {
  width: 102px;
  height: 102px;
  object-fit: contain;
  flex-shrink: 0;
}

.tokutyou-box1 {
	background: #eaf6ec; 
	border-radius: 4vh;
  border: 1.5px solid #89b88c;
  padding: 24px 28px;
}

.tokutyou-box2 { 
	background: #eaf6ec; 
	border-radius: 4vh;
  border: 1.5px solid #89b88c;
  padding: 24px 28px;
}

.tokutyou-box3 { 
	background: #eaf6ec;
	border-radius: 4vh; 
  border: 1.5px solid #89b88c;
  padding: 24px 28px;
}

.tokutyou > h1 {
    margin: 40px auto;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 24px;
    position: relative;
}

.tokutyou > h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;   /* ← 長さ（テキスト幅の半分） */
    height: 6px;
    background: #0552b9;
    border-radius: 2px;
}

.tokutyou-header > h2{
	font-size: 1.4rem;
  margin-left: -20px;
}

.tokutyou-box1 > p{
	font-size: 1.2rem;
	margin: 10px 10px;
	max-width: 590px;
}

.tokutyou-box2 > p{
	font-size: 1.2rem;
	margin: 10px 10px;
	max-width: 590px;
}

.tokutyou-box3 > p{
	font-size: 1.2rem;
	margin: 10px 10px;
	max-width: 590px;
}

/* =================================================
概要
==================================================*/

.gaiyou > h1 {
    margin: 40px auto;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 24px;
    position: relative;
}

.gaiyou > h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;   /* ← 長さ（テキスト幅の半分） */
    height: 6px;
    background: #0552b9;
    border-radius: 2px;
}

.gaiyou-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  line-height: 1.6;
  max-width: 1000px;
  margin: auto;
  border: 1px solid #d0d0d0;
}
.gaiyou-table tr {
  border-bottom: 1px solid #d0d0d0;
}
.gaiyou-table tr:first-child {
  border-top: 1px solid #d0d0d0;
}
.gaiyou-table th {
  background: #f6f9fe;
  font-weight: 600;
  text-align: left;
  padding: 10px 16px;
  width: 30%;
  white-space: nowrap;
  border-right: 1px solid #d0d0d0;
}
.gaiyou-table td {
  padding: 10px 16px;
  font-weight: 600;
}

.gaiyou-img{
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-right: 8px;
  object-fit: contain;
}

.gaiyou-table-sp{
  display: none;
}

/* =================================================
スケジュール
==================================================*/

.schedule > h1 {
    margin: 40px auto;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 24px;
    position: relative;
}

.schedule > h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;   /* ← 長さ（テキスト幅の半分） */
    height: 6px;
    background: #0552b9;
    border-radius: 2px;
}

.schedule-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
  max-width: 1000px;
  margin: auto;
  border: 1px solid #d0d0d0;
}
.schedule-table tr {
  border-bottom: 1px solid #d0d0d0;
}
.schedule-table tr:first-child {
  border-top: 1px solid #d0d0d0;
}
.schedule-table th {
  background: #f6f9fe;
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  width: 15%;
  white-space: nowrap;
  border-right: 1px solid #d0d0d0;
}
.schedule-table td {
  padding: 10px 14px;
  font-weight: 600;
  border-right: 1px solid #d0d0d0;
}

.schedule-table-sp{
  display: none;
}

.schedule p{
  text-align: center;
  margin: 20px auto;
}

/* =================================================
申し込みからの流れ
==================================================*/

.mousikomi > h1 {
    margin: 40px auto;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 24px;
    position: relative;
}

.mousikomi > h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;   /* ← 長さ（テキスト幅の半分） */
    height: 6px;
    background: #0552b9;
    border-radius: 2px;
}


.mousikomi-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  max-width: 1200px;
  margin: auto;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: center;
}

.mousikomi-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  width: 220px;
  flex-shrink: 1; 
  min-width: 0;
  padding: 14px 18px;
}

.mousikomi-yazirusi {
  width: 24px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
}

.mousikomi-box .step-num {
  width: 40px;
  height: 40px;
  max-width: 40px;
  min-width: 40px;
  background-color: #0552b9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin: 12px auto 12px;
  box-sizing: border-box;
}

.mousikomi-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 5px auto;
}

.box-text > h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0 4px;
}

.box-text p {
  font-size: 0.9rem;
  margin: 20px auto;
}

.mousikomi-box .mousikomi-p2{
  font-size: 0.9rem;
  margin: 80px auto 58px;

}

.mousikomi-box .mousikomi-p{
  font-size: 0.9rem;
  margin: 48px auto 58px;

}

.mousikomi-btn{
	display: block;
	background: linear-gradient(to bottom, #fd8e30 50%, #eb6e09 50%);
	color:#fff;
	padding: 0.8rem 2rem;
	border-radius: 15px;
	text-decoration: none;
	font-width: bold;
	font-size: 2rem;
	font-weight: 900;
	text-align: center;
	width: 500px;
  
  margin: 20px auto;
}

.mousikomi-step-wrapper{
  display: none;
}

/* =================================================
よくある質問
==================================================*/


.faq > h1 {
    margin: 40px auto;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 24px;
    position: relative;
}

.faq > h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;   /* ← 長さ（テキスト幅の半分） */
    height: 6px;
    background: #0552b9;
    border-radius: 2px;
}

.faq{
  max-width: 1000px;
  margin: 0 auto;
}

.faq-box dt >p{
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}


.faq-box dd {
  font-size: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

    /* =================================================
    ゼミバナー
==================================================*/

.zemi-banner{
  display: block;
  max-width: 1200px;
  margin: 20px  auto;

}

.zemi-banner-s{
  display: none;
}



/* =================================================
フッター
==================================================*/

footer{
  text-align: center;
  margin-top: 60px;
}

.footer-text{
  margin-bottom: 15px;
}

.footer-wrap{
  text-align: center;
}

/* =================================================
ここから下はスマホの表示
==================================================*/


@media screen and (max-width:767px){

  #wrap {
    position: relative;
	zoom: calc(100vw / 767px);
}

.br-pc{
  display: none;
}


  .br-sp{
    display: block;
  }

  header{
    height: 110px;
  }


  header h1{
    transform: scale(1.1);
    margin-right: 40px;
    margin-left: 15px;
  }

  header p {
    font-size: 2.5rem;
    margin-right: 30px;
  }

  .menu-item1{
	color :#fff;
	padding: 0.5em 2em;
	font-size: 1.5rem;
	border-radius: 50vh;
	font-weight: 500;

}


  .menu-item2 {
      display: none;
  }

  .menu-item3{
	display: inline-block;
	background: #fff;
	color :#002867;
	padding: 1.3em 1em;
  border-radius: 5vh;
	text-decoration: none;
	white-space: nowrap;
}

  /* =================================================
FV
==================================================*/
  .fv-inner {
      grid-template-columns: 1fr;
      width: 100%;
    }

    /* PC用の右側画像を非表示 */
    .fv-img {
        display: none;
    }

    .fv-back{
      display: none;
    }

    .fv-text > h1{
    	font-size: 3.8rem;
    	font-weight: bold;
    	line-height: 1.5;
      align-items: flex-start;
    }

    .fv-h1-s{
      font-size: 2.5rem;
      line-height: 1.7;
    }

    .fv-back-sp{
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    /* スマホ用画像を表示 */
    .fv-img-sp {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .fv-text {
        padding: 40px 1rem;
    }

    .FV-sp {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .FV-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        flex: 1;
        border: 2px solid #002867;
        border-radius: 8px;
        padding: 0.5rem;
        background:#fff;
    }

    .FV-box img {
        width: 220px;
        height: 220px;
        object-fit: contain;
    }

    .FV-box p {
        display: block !important; /* .fv-text p の display:none を上書き */
        text-align: center;
        color: #002867;
        font-weight: bold;
    }

    .fv-text h1{
      text-align: center;
      font-size: 4rem;
      font-weight: 700;
      text-shadow: 
        5px 5px 0 #fff,
        -5px 5px 0 #fff,
        5px -5px 0 #fff,
        -5px -5px 0 #fff;
        margin-bottom: -40px;
    }


    .fv-h1-c{
      margin-top: -25px;
      margin-bottom: -80px;
    }

    .fv-text h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 400;
  margin-top: -130px;
  text-shadow: 
    0px 0px 15px #fff,
    0px 0px 25px #fff,
    0px 0px 35px #fff,
    0px 0px 50px #fff,
    10px 10px 20px #fff,
    -10px 10px 20px #fff,
    10px -10px 20px #fff,
    -10px -10px 20px #fff,
    15px 15px 30px #fff,
    -15px 15px 30px #fff,
    15px -15px 30px #fff,
    -15px -15px 30px #fff;
}

    .fv-text p{
      display: none;
    }

    .fv-box1{
      font-size: 1.9rem;
    }

    .fv-box2 {
      font-size: 3rem;
      text-align: center;
      display: inline-block  !important; 
       line-height: 1;
    }

    .fv-box2-1 {
      font-size: 2rem;
      display: block;
      text-align: center;
    }

    .fv-box2-2 {
      font-size: 3.5rem;
      line-height:1;
      color: #005fdc;
      border-bottom: 9px solid #fed92f;
      padding-bottom: 6px;
      display: inline-block;
  }

  .fv-box2-3 {
      font-size: 2rem;
      line-height: 1.2;
  }

    .fv-box3{
      font-size: 1.5rem;
    }



    .fv-btn{
      font-size: 3rem;
	    padding: auto auto;
	    border-radius: 15px;
      width: 100%;
    }

  /* =================================================
FV
==================================================*/

.tokutyou > h1{
    font-size: 2rem;
    margin-top: 40px;
  }

  .tokutyou-con{
    flex-direction: column;
    margin: 40px 30px;
  }

  .tokutyou > h1{
    font-size: 2rem;
    margin-top: 40px;
  }

  .tokutyou-kakaku {
    width: 150px;
    height: 150px;
  }

  .tokutyou-header > h2{
    font-size: 2.8rem;
  }

  .tokutyou-box1,
  .tokutyou-box2,
  .tokutyou-box3 {
    padding: 30px 30px;
    margin: 20px 0;
  }

  .tokutyou-box1 > p,
  .tokutyou-box2 > p,
  .tokutyou-box3 > p{
    font-size: 1.8rem;
  }

      /* =================================================
バナー
==================================================*/

.pc-banner{
  display:none;
}

.sp-banner{
    display: block;
  max-width: 1200px;
  margin: 20px  auto;

}

  /* =================================================
試験概要
==================================================*/

.gaiyou > h1{
    font-size: 2rem;
    margin-top: 40px;
  }

  .gaiyou-table-sp{
    display: contents;
  }

  .gaiyou-table{
    display: none;
  }

  .gaiyou-con {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin: 20px 20px;
    border: 1.5px solid #d0d8e8;
    border-radius: 12px;
    padding: 12px 16px;
    border-radius: 4vh;
}

.gaiyou-img-sp {
    width: 130px;
    height: 130px;
    object-fit: contain;
    flex-shrink: 0; /* 画像が縮まないよう固定 */
}

.gaiyou-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gaiyou-text h2 {
    font-size: 2.5rem;
    margin: 0;
}

.gaiyou-text p {
    font-size: 1.8rem;
    margin: 0;
}

  /* =================================================
スケジュール
==================================================*/

.schedule > h1{
    font-size: 2rem;
    margin-top: 40px;
  }

.schedule-table-sp{
  display: block;
}

.schedule-table{
  display: none;
}

.schedule-table-sp {
  padding: 16px;
}

.schedule-table-sp dl {
  margin: 0;
  padding: 0;
}

.schedule-table-sp dt {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f4f8fe;
  color: #000;
  font-size: 2rem;
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  margin-top: 30px;
  border-left: 1px solid #e0ddd5;
  border-right: 1px solid #e0ddd5;
  border-top: 1px solid #e0ddd5;
}

.schedule-table-sp dt:first-child {
  margin-top: 0;
}

.schedule-table-sp dd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  font-size: 2rem;
  background: #fff;
  border-left: 1px solid #e0ddd5;
  border-right: 1px solid #e0ddd5;
  border-bottom: 1px solid #e0ddd5;
  border-top: 1px solid #e0ddd5;
}

.schedule-table-sp dd:last-of-type {
  border-radius: 0 0 12px 12px;
}

.schedule-table-img-dt{
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 12px 21px;
}

.schedule-table-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.dd-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dd-right {
  margin-left: auto;   /* 右端に押し出す */
  font-size: 2rem;
}

.dt-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dt-right {
  margin-left: auto;   /* 右端に押し出す */
  font-size: 2rem;
}

.schedule-table-sp > p{
  font-size: 1.5rem;
  text-align: center;
}

  /* =================================================
流れ
==================================================*/

.mousikomi > h1{
    font-size: 2rem;
    margin-top: 40px;
  }

.mousikomi-container {
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    padding: 0 30px;
  }

  .mousikomi-yazirusi {
    display: none;
  }

  /* ステップ番号 + 縦線のラッパー */
  .mousikomi-step-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
  }

  /* 青丸 */
  .mousikomi-step-wrapper .step-num-sp {
    width: 50px;
    height: 50px;
    min-width: 40px;
    background-color: #0552b9;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
    margin-right: 20px;
  }

  /* 縦線（青丸の下からボックス下端まで伸びる） */
  .mousikomi-step-wrapper .step-line {
    width: 5px;
    flex: 1;
    background: #b0c4e8;
    min-height: 24px;
    margin-right: 20px;
  }

  /* 最後のステップの縦線は非表示 */
  .mousikomi-step-wrapper:last-of-type .step-line {
    display: none;
  }

 .step-row {
    display: flex;
    gap: 16px;
    align-items: stretch; /* ← 縦線をボックスの高さ分まで伸ばす */
  }

  /* ボックス内の番号は非表示 */
  .mousikomi-box .step-num {
    display: none;
  }

  .mousikomi-box {
    flex: 1;
    flex-direction: row;
    text-align: left;
    margin-bottom: 20px;
    padding: 12px;
    width: auto;
  }

  .mousikomi-img {
    width: 150px;
    height: 150px;
    margin: 0 12px 0 0;
    flex-shrink: 0;
  }

  .box-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
  }

  .box-text > h2 {
    font-size: 1.5rem;
    margin: 0 0 6px;
  }

  .box-text p,
  .box-text .mousikomi-p2 ,
  .box-text .mousikomi-p {
    font-size: 1.5rem;
    margin: 0;
  }

    /* =================================================
よくある質問
==================================================*/

.faq > h1{
    font-size: 2rem;
    margin-top: 40px;
  }

.faq-box {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.faq-box dt >p{
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}


.faq-box dd {
  font-size: 1.3rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

      /* =================================================
ゼミバナー
==================================================*/

.zemi-banner{
  display:none;
}

.zemi-banner-s{
    display: block;
  max-width: 1200px;
  margin: 20px  auto;

}

}
