@charset "UTF-8";


body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "游ゴシック体", "Yu Gothic", YuGothic,
    "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  background-color: #ededed;
  box-shadow: 0px 5px 22px 0px rgb(0 0 0 / 25%);
}

section,
div,
h1,
h2 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ol,
ul {
  list-style: none;
}

img {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 0;
  vertical-align: bottom;
  object-fit: contain;
}

header {
  display: flex;
  font-size: 0;
  background-color: #fff;
  padding: 2% 2%;
  justify-content: space-between;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
}

.logo {
  width: 31%;
  margin: auto 1%;
}

.df .hbtan {
  width: 43%;
  /* box-shadow: 0px 2px 5px -1px #889ac8; */
  border-radius: 3px;
}

.df {
    display: flex;
    justify-content: space-between;
    width: 63%;
    gap: 3px;
    align-items: center;
}

.df.header2, {
  justify-content: space-between;
  width: 49%;
}

a.htel {
  width: 38%;
  margin: auto 0;
}

section.mv {
  position: relative;
}

.mv_cta {
  position: absolute;
  bottom: 4%;
  padding: 0 5%;
}

/* スライダー */
div div .slick-current {
    transform: scale(1);
    transition-duration: 1s;
}
.slick-slide {
    transform: scale(0.9);
}
.slick-initialized .slick-slide {
    display: block;
    padding: 0.1% 0% 0.1%;
}
.voice {
  background-image: url(../img/voice_bg.jpg);
  background-size: cover;
  background-position: top;
  padding: 8% 0% 6%;
}
.voice_container {
  /* width: 80%; */
}
div .slick-next {
  right: 7px;
}

div .slick-prev:before,
div .slick-next:before {
  font-size: 45px;
  color: rgba(255, 255, 255, 0);
  opacity: 1;
}
.result div .slick-prev:before,
.result div .slick-next:before {
  font-size: 30px;
}

div .slick-prev {
  left: 0%;
    z-index: 1;
}
/* スライダー1 */

.container button {
  z-index: 20;
}

.slider02 .slick-dots li button:before {
  color: #fff !important;
  opacity: 1;
  font-size: 15px !important;
}

.container .slider02 .slick-dots li button:before {
  color: #b5b5b5 !important;
  opacity: 1;
  font-size: 15px !important;
}

.slick-prev:before {
  background: url(../img/arrow_L.png);
  background-size: contain !important;
  background-repeat: no-repeat;
  position: absolute;
}
.slick-list.draggable {
    z-index: 0;
}
.slick-next:before {
  background: url(../img/arrow_R.png);
  background-size: contain !important;
  background-repeat: no-repeat;
    right: 5%;
    position: absolute;
  z-index: 9;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #172e59 !important;
}

.container .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #172e59 !important;
}


p.date_area {
  font-weight: bold;
  font-size: 17px;
  margin: 2% 0 1% 2%;
}

/* アコーディオン*/
.faq_00 {
  width: 90%;
  margin: 0 auto;
}

.faq_t {
  width: 30%;
  text-align: center;
  margin: 0 auto;
  font-size: 0px;
}

.faq_c_q {
  display: flex;
  align-items: center;
  background: #d4e0f8;
  padding: 2% 3% 1%;
  position: relative;
  border-radius: 4px;
}

.faq_c_q::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 24px;
  height: 3px;
  transform: rotate(90deg);
  background: #024899;
  transition: all 0.3s ease-in-out;
}

.faq_c_q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 24px;
  height: 3px;
  background: #024899;
  transition: all 0.2s ease-in-out;
}

.accordion-container .faq_c_q.open::before {
  transform: rotate(180deg);
}

.accordion-container .faq_c_q.open::after {
  opacity: 0;
}

.faq_c_q img {
  width: 7%;
  height: 7%;
  margin: 1%;
}

.faq_c_a img {
  width: 7%;
  height: 7%;
  margin: 1%;
}

.faq_c_q p {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 1% 1% 3% 2%;
}

.faq_c_a {
  display: flex;
  align-items: center;
  background: #f7f7f7;
  padding: 0% 3% 2%;
  border-radius: 0px;
}

.faq_c_a p {
  color: #000;
  font-size: 17px;
  font-weight: 500;
  margin-left: 2%;
  line-height: 1.7;
}

.faq_c_01 {
  display: block;
  margin: 3% 0;
  overflow: hidden;
}

.qa {
  background-color: #fff;
  padding-bottom: 5%;
}

.accordion-container .acc-ttl.open::before {
  transform: rotate(180deg);
}

.accordion-container .acc-ttl.open::after {
  opacity: 0;
} 

/* 光るボタン */
.demo-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.demo-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url("../img/cta.png");
  mask-image: url("../img/cta.png");
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left top;
  mask-position: left top;
  pointer-events: none;
}

@keyframes shiny {
  0% {
    left: -10%;
  }
  50% {
    left: 110%;
  }
  100% {
    left: 110%;
  }
}
.shiny-btn {
  position: absolute;
  display: block;
  width: 100%;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
}

.demo-hikari {
  content: "";
  position: absolute;
  top: -10%;
  left: -20%;
  width: 40px;
  height: 100%;
  transform: scale(2) rotate(20deg);
  background-image: radial-gradient(
    circle,
    rgb(255, 255, 255) 0%,
    rgba(255, 255, 255, 0) 75%
  );
  animation-name: shiny;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes demo_kirari {
  100% {
    left: 100%;
  }
}

/* 追従 */
.floating-banner {
    position: fixed;
    z-index: 100;
    display: flex;
    background: rgb(255, 255, 255, 0.9);
    justify-content: space-between;
    max-width: 550px;
    bottom: 0;
    padding: 9px 1%;
    gap: 4px;
    width: 100vw;
    left: 0;
    right: 0;
    margin: auto;
}

.floating-banner a {
  padding: 0 0.5%;
}

.floating {
  transition: opacity 0.3s, visibility 0.3s; /* visibility にもアニメーションを適用 */
  opacity: 0;
  visibility: hidden; /* 完全に見えなくする */
 z-index: 1000;
  position: fixed;
}
.floating.active {
  opacity: 1;
  visibility: visible; /* 表示状態に切り替え */
}

@media screen and (max-width: 767px) {
  div .faq_c_q p {
    font-size: 4vw;
    line-height: 1.5;
  }
  div .faq_c_a p {
    font-size: 4vw;
  }
  #contact .form_bg {
    top: 11%;
  }
}

.form_tbl th {
  display: block;
  width: 95%;
  color: #1b3071;
  font-size: 18px;
  margin: 8px 0px 0px;
  padding: 0px 5px 8px;
  font-weight: bold;
  text-align: left;
}

label span.must {
  color: #fff;
  background: #fb7e31;
  padding: 2px 4px 3px;
  font-size: 16px;
  margin-bottom: 3px;
  margin-right: 6px;
  border-radius: 3px;
}
span.optional {
  color: #fff;
  background: #333333;
  padding: 2px 4px 3px;
  font-size: 16px;
  margin-bottom: 3px;
  margin-right: 6px;
  border-radius: 3px;
}


.form_tbl {
  border: none;
  box-shadow: 0px 0px 20px -4px #889ac8;
}
.form_tbl td {
  display: block;
  width: 100%;
  max-width: 92vw;
  border: none !important;
  margin-bottom: 12px;
}

.form_tbl input#tel {
  text-indent: 5px;
  padding: 10px 0;
}
.form_tbl input,
textarea {
  font-size: px;
  border-radius: 5px;
  text-indent: 1em;
  padding: 10px 0;
  width: 100%;
  background-color: #d4e0f8;
  border: none;
  font-weight: bold;
}

.form_tbl {
  background: #fff;
  padding: 0% 5% 5% 5%;
  border-radius: 10px;
  width: 100%;
}



::placeholder {
  color: #7583ae;
}
/* 旧Edge対応 */
::-ms-input-placeholder {
  color: #7583ae;
}
/* IE対応 */
:-ms-input-placeholder {
  color: #7583ae;
}

input#submit_btn {
  background-color: #ff821d;
  color: #fff;
  border-radius: 100px;
  padding: 17px 0;
  margin-bottom: 8%;
}

.input_title {
  color: #fff;
  font-size: 16px;
  color: #000;
  line-height: 2;
  font-weight: bold;
  text-align: center;
  margin-top: 2%;
  padding-bottom: 0%;
}

h2 {
  text-align: center;
  line-height: 0.5;
  padding: 5% 0 1%;
}

div .form_c {
  width: 90%;
  margin: auto;
}

.submitbtn2 input[type="submit"] {
  width: auto !important;
  padding: 15px 30px 12px 12px;
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #2982dc;
  border: solid 1px #0f9ada;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: bold;
}

.submitbtn {
  text-align: center;
  margin-top: 20px;
}

.policy:link,
.policy:hover,
.policy:visited,
.policy:active {
  color: #999;
}

div #footer {
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
}

.finish_b {
  background: #fff;
  width: 90%;
  padding: 5%;
}

footer .tel {
  color: #fff;
}

/* ここから */

/* ハンバーガーメニューここから */
a {
font-family: sans-serif;
text-decoration: none;
}
.hamburger {
    display: block;
    height: 40px;
    margin-left: auto;
    position: relative;
    z-index: 10;
    width: 40px;
    border: none;
    background-color: #003888;
    border-radius: 6px;
}
.hamburger.-active .hamburger__line {
    background-color: transparent;
}
.hamburger.-active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
}
.hamburger.-active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
}

.hamburger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: #ffffff;
    transition: 0.4s;
}
.hamburger__line:before,
.hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    transition: inherit;
}
.hamburger__line:before {
    top: -6px;
}
.hamburger__line:after {
    top: 6px;
}
.hamburger__text {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.header {
  width: 300px;
}
.header__nav-area {
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 9;
    height: 100vh;
    width: 300px;
    visibility: hidden;
    padding-top: 60px;
    background-color: #fff;
    transition: 0.4s;
}
.header__nav-area.-active {
    left: 0;
  visibility: visible;
}
.global-navigation {
    padding-top: 40px;
    padding-right: 25px;
    padding-bottom: 120px;
    padding-left: 25px;
    transition: background-color 1ms ease;
}
.global-navigation__list > li {
    padding-bottom: 20px;
    border-bottom: 2px solid #e7e9ee;
}
.global-navigation__list > li + li {
  margin-top: 20px;
}
.global-navigation__link {
  display: flex;
    align-items: center;
    justify-content: space-between;
    color: #172e59;
    font-weight: 900;
    transition: color 0.4s;
    font-size: 0.875rem;
}
.global-navigation__link.-accordion {
    position: relative;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
}
.global-navigation__link.-accordion::after {
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    background-color: #ed3242;
    transform: translateY(-50%);
    transition: transform 0.4s;
}
.global-navigation__link.-accordion::before {
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    background-color: #ed3242;
    transform: translateY(-50%);
    
}
.global-navigation__link.-active::after {
  transform: translateY(-50%) rotate(-90deg);
}
.accordion {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
}
.accordion.-active {
    height: auto;
    padding-top: 30px;
    visibility: visible;
}
.accordion__list li {
    font-size: 0.75rem;
}
.accordion__list li + li {
     margin-top: 21px;
}
.accordion__link {
    color: #172e59;
}

/* ハンバーガーメニューここまで */


.cta {
    background-image: url(../img/cta_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 4% 1% 3%;
}

.cta div {
  width: 69%;
}

.ttl {
    width: 90%;
    margin: auto;
    padding-top: 9%;
}

.support {
    background-image: url(../img/support_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 2%;
}

.recruit {
    background-image: url(../img/recruit_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 6%;
}

.dormitory {
    background-image: url(../img/dormitory_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 7%;
    padding-top: 6%;
}

.flow {
    background-image: url(../img/flow_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 8%;
    padding-top: 6%;
}

#contact {
  position: relative;
  background: #fff;
    background-image: url(../img/contact_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 8%;
    padding-top: 6%;
}
.subttl {
    width: 60%;
    margin: 16% auto 3%;
}

.box {
  margin: 0 0 8px;   /* 下方向に適度な余白 */
  opacity: 0;         /* 初期値は透明にしておく */
  transition: .5s;    /* 動くスピードを0.5秒に指定 */
  position: relative; /* 相対位置の設定 */
  top: 30px;          /* 事前に下に50pxずらしておく */
}
.active {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}

.support_box {
    width: 90%;
    margin: 5% auto 0;
}

@media screen and (min-width: 769px) {
body .support {
    padding-bottom: 6%;
}
}

.dormitory_box {
    background: #ffffff;
    width: 90%;
    margin: auto;
    padding: 5%;
    border-radius: 7px;
}

.flow_box {
    width: 90%;
    margin: 5% auto 0;
}

a.floating_tel {
    width: 49%;
}

a.floating_line {
    width: 48%;
}

footer {
    background-color: #333333;
    color: #fff;
    padding: 5% 5% 25%;
}

.sub {
    margin: 4px 0 0;
}
.radiobutton {
    margin-right: 4px;
    display: inline-block;
    border: 2px solid #c5c5c5;
    border-radius: .25rem;
    padding: 10px 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
    width: 117px;
}
.radiobutton input {
    vertical-align: middle;
    background-color: #0000;
    border-style: none;
}

.radiobutton label {
    line-height: inherit;
    background-origin: border-box;
    border-style: solid;
    border-width: 0;
}
.wrap {
     overflow: hidden;
 }

 .cta_animate {
  animation: fuwafuwa 1s ease 0s infinite alternate;
  transform-origin:center;
  cursor: pointer;
  }
  @keyframes fuwafuwa {
  from {transform: scale(1.1,1.1);}
  to {transform: scale(1,1);}
  }

  .kiran {
    display: block;
    position: relative;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
  max-width:500px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
  transition: 300ms;
}
.kiran::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #b5e7ff;
    transition: 300ms;
    animation: shinyshiny 3.5s ease-in-out infinite;
}

.kiran:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}


/* メニューが開いている時の背景 */
body.menu-open {
  overflow: hidden; /* スクロール禁止 */
}

/* メニューが開いている時に背景を透過グレーに */
body.menu-open .menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* 初期状態は透明 */
  z-index: 998; /* メニューより前に表示 */
  display: block; /* 表示 */
  transition: background-color 0.5s ease; /* 0.5秒で背景色が変わる */
}

/* メニュー部分のスタイルを修正 */
body.menu-open .js-nav-area {
  z-index: 999; /* メニューをオーバーレイより上に表示 */
  background-color: white; /* メニューに背景色を適用 */
  position: fixed; /* 固定して表示 */
  top: 0;
  left: 0;
  width: 300px; /* メニューの幅に合わせて設定 */
  height: 100vh; /* メニューを縦いっぱいに表示 */
  padding: 10px; /* 必要に応じてパディングを追加 */
  transition: background-color 0.5s ease; 
}

/* メニューを開いている時、コンテンツ部分にグレーを適用 */
body.menu-open .content {
  opacity: 0.5; /* メニュー以外のコンテンツにグレーがかかる */
  pointer-events: none; /* メニュー以外のクリックを無効化 */
}

/* メニューが閉じた時のスタイル */
body {
  background-color: transparent;
  overflow: auto;
}

/* メニューが閉じたとき、背景が透過しないように */
body:not(.menu-open) .menu-overlay {
  display: none; /* メニューが閉じているときは非表示 */
  background-color: rgba(0, 0, 0, 0); /* 背景を透明に戻す */
}

.hp{
    color: #fff;
    text-decoration: underline;
}

/*プライバシーポリシー*/
.policy {
  width: 90%;
  margin: 30px auto;
  word-break: break-all;
}

.policy_df {
  justify-content: flex-end;
}
.radiobutton input{
  width: 20%;
}

.privacy p{
  font-size: 20px;
  font-weight: bold;
}
.privacy a{
  text-decoration: underline;
}
#submit_btn p{
  font-size: 20px;
}





@media screen and (max-width: 767px) {
  #contact .form_bg {
    padding: 7%;
    top: 11%;
    width: 100%;
  }
}
#contact {
  position: relative;
  background-image: url(../img/contact_bg.jpg);
  margin-top: -1px;

}
.form-ttl {
  font-size: 17px;
  margin: 8px 0px 0px;
  padding: 0px 5px 8px;
  font-weight: bold;
  text-align: left;
  width: 95%;
  color: #1b3071;
}
.form_tbl th {
  display: block;
  width: 95%;
  color: #1b3071;
  font-size: 18px;
  margin: 8px 0px 0px;
  padding: 0px 5px 8px;
  font-weight: bold;
  text-align: left;
}
.form_tbl td {
  display: block;
  width: 100%;
  max-width: 92vw;
  border: none !important;
  margin-bottom: 12px;
}
.form_tbl input#tel {
  text-indent: 5px;
  padding: 10px 0;
  width: 27%;
}
.form-input input,
textarea {
  font-size: 15px;
  border-radius: 5px;
  text-indent: 1em;
  padding: 10px 0;
  width: 100%;
  background-color: #d4e0f8;
  border: none;
  font-weight: bold;
}
.form-radio{
  font-size: 15px;
  border-radius: 8px;
  text-indent: 1em;
  padding: 8px 18px;
  border: 2px solid #979797;
  display: inline-block;
  margin-top: 6px;
  margin-right: 4px;
}
.form-pul{
  font-size: 15px;
  border-radius: 8px;
  padding: 8px 18px;
  border: 2px solid #979797;
  display: inline-block;
  margin-top: 6px;
  margin-right: 4px;
}
.form-pp{
  font-size: 15px;
  text-indent: 1em;
  display: inline-block;
  margin-top: 6px;
  margin-right: 4px;    
  margin-left: 4%;
}
.form-pp a{
text-decoration: underline;
}

.agree{
    font-size: 14px;
  display: inline;
}

.form_tbl {
  background: #fff;
  padding: 0% 5% 5% 5%;
  border-radius: 10px;
  width: 100%;
}
.form_bg {
  padding: 6%;
  margin-top: 14%;
}
div .form_c {
  width: 90%;
  margin: auto;
}
.form-box {
  margin-bottom: 8%;
}
form#form-input,form#form-radio {
  padding: 6%;
}
form#form-input,form#form-radio {
  border: none;
  border-radius: 7px;
  background-color: #fff;
  margin-top: 40px;
}
.c_bg {
  position: absolute;
  top: 4%;
  left: 6%;
  width: 89%;
}
span.must {
  color: #fff;
  background: #ff821d;
  padding: 2px 4px 3px;
  font-size: 16px;
  margin-bottom: 3px;
  margin-right: 6px;
  border-radius: 3px;
}
input[type=radio]{
    margin-left: -17px;
    margin-right: 11px;
}
.form_sub{
  margin-top: 2px;
  font-size: 15px;
}
.ppp{
  text-align: center;
  margin: 0;
  
}
button {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none
}
.s_btn{
  text-align: center;
  background-color: #ff821d;
    color: #fff;
    border-radius: 100px;
    padding: 17px 0;
    margin-bottom: 8%;
    font-weight: bold;
    font-size: 22px;
    position: relative;
    display: block;
    text-decoration: none;
}
.confirm::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 47px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #ff821d;
  border-right: 2px solid #ff821d;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.confirm::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 35px;
  width: 28px;
  height: 28px;
  margin: auto;
  border-radius: 20px;
  background-color: #fff;
}

.form_subttl{
  margin-top: 89px;
}

.error-wrap {
    color: #da0301;
    font-size: 14px;
    margin-bottom: 2%;
}
.error {
    color: #da0301;
    font-size: 14px;
    margin: 2% 0 -3%;
}

input[type="checkbox"] {
    width: 22px;
    height: 22px;
}
input[type="checkbox"] {
    transform: translateY(5px);
}

/*confirm*/

.contents-box {
  padding: 5%;
  background: #fffff2;
}
.contents-box a.back.hover {
  text-decoration: none;
}
.confirm-table {
  background: #fff;
  margin: 25px auto;
  padding: 3%;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0px 0px 20px -4px #ffcf87;
  text-align: center;
}
h1{
    color: #1b3071;
    margin-top: 30px;
    margin-bottom:20px;
    font-size: 28px;
}

.confirm-table td,
.confirm-table th {
  display: block;
}

.confirm-table tr {
  display: block;
    margin: 2% 0 5% 0;
}
.check-contents-box {
  background: #fffff2;
  text-align: center;
}
.submit-btn {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: 5% auto 0;
}
button.hover.goBack {
  width: auto !important;
  padding: 14px 18px;
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #585f63;
  border: solid 1px #000000;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: bold;
}
button.hover.sendFrom {
  width: auto !important;
  padding: 14px 18px;
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #03a9f4;
  border: solid 1px #0f9ada;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: bold;
}

/*thankd*/

.contents.thank-contents {
  background: #fff;
  text-align: center;
}

.oisogi{
    font-weight:bold;
	position: relative;
	width: 89%;
    margin: 0 auto;
    margin: 0 auto 30px auto;
}
.oisogi::before,
.oisogi::after {
        position: absolute;
    top: -3px;
    width: 10px;
    height: 100%;
    content: '';
    border-top: solid 3px;
    border-bottom: solid 3px;
}
.oisogi::before{
    border-left: solid 3px;
    left: 0;
}
.oisogi::after{
    border-right: solid 3px;
    right: 0;
}

.thanks_p{
font-size:16px;
margin:30px 0 50px 0;
line-height: 2;
}
.again{
    text-align:left;
    border:2px solid #ebd8aa;
    background-color:#fff;
    padding:8%;
    margin:30px 0;
}

.df_thanks{
    display: flex;
    width: 63%;
    gap: 19px;
    margin: 3% 0 0 18%;
    align-items: center;
    justify-content: center;
}
.confirm-text{
    margin-bottom:20px;
}
.sp_ds{
    display:none;
}
.policy-text {
    text-align: center;
}
@media screen and (max-width: 767px) {
    .sp_ds{
    display:block;
}
.df_thanks{
    display: flex;
    width: 100%;
    gap: 19px;
    margin: 0;
    align-items: center;
    justify-content: center;
}
}
.anno {
    font-size: 12px;
    text-align: right;
    margin-top: -3%;
}

/* ポップアップの背景 */
#popupOverlay {
  display: none; /* 最初は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* 半透明 */
  z-index: 9999;
}

/* ポップアップ本体 */
#popupContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 90%;
}

#popupContent img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
#popupContent p {
    margin: 0;
    text-align: left;
    font-size: 12px;
}

/* 閉じるボタン */
#closePopup {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

#closePopup:hover {
  background: #0056b3;
}
.popup {
    background: #fff696;
    padding-bottom: 10px;
}
.popup p{
    margin: auto;
    color: #000;
    font-size: 12px;
}

@media screen and (max-width: 768px) {
  #popupContent {
    width: 90vw;
    height: auto;
    max-height: 90vh;
  }
  #popupContent img {
    max-width: 100%;
    max-height: 80vh;
  }
  #popupContent p,
  .popup p {
    font-size: 10px;
　}
}

/* qa----------------------------------------------------------------------------------- */
.qa {
  background-color: #ffffff;
}

.qa-accordion {
  overflow: hidden;
        padding: 2% 5% 4% 5%;
}

@media screen and (min-width:768px){
  .qa-accordion {
        padding: 2% 5% 4% 5%;
  }
}

.qa-accordion .accordion-item {
  border-top: 1px solid #767676;
}

.qa-accordion .accordion-item:first-child {
  border-top: none;
}

.qa-accordion .accordion-header {
  padding: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.qa-accordion .accordion-header::after {
  content: '＋';
  margin-left: auto;
  transition: transform 0.3s;
  font-weight: bold;
  padding-left: 8px;
}

.qa-accordion .accordion-item.active .accordion-header::after {
  content: '－';
}

.qa-accordion .q-icon,
.qa-accordion .a-icon {
  width: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
  margin-top: 5px;
}

@media screen and (min-width:768px){
  .qa-accordion .q-icon,
  .qa-accordion .a-icon{
    width: 5%;
  }
}

.qa-accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  color: #444;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-weight: bold;
  font-size: 1rem;
}

.qa-accordion .accordion-item.active .accordion-content {
  max-height: 1000px; /* 安全のため大きめに */
  padding: 1rem;
}

.qa-accordion .answer-text {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.6;
}

/* table----------------------------------------------------------------------------------- */
.card {
  padding: 16px;
  box-sizing: border-box;
}


/* --- テーブル --- */
.pref-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
      background-color: #fff;
}

.pref-table th, .pref-table td {
  padding: 12px 10px;
  vertical-align: top;
      border-bottom: 1px solid #dbdbdb;
}

.pref-table td:first-child{
    background-color:#f5f5f5;
}

.pref-table thead th {
  background-color: #d5f1fb;
  font-weight: 700;
}

/* 交互行 */
.pref-table tbody tr:nth-child(even) {
}

.pref-table tbody tr {
  border-bottom: 1px solid #cccccc; /* 薄いグレー */
}

/* 最後の行は下線を消す（必要に応じて） */
.pref-table tbody tr:last-child {
  border-bottom: none;
}

.region {
  width: 28%;
  font-weight: 700;
    text-align: center;
}

/* 都道府県チップ */
.pref-list {
  width: 92%;
  display: flex;
  flex-wrap: wrap; /* 折り返し */
  gap: 6px;
      margin: 0 auto;
}

.pref-chip {
  background-color: #d5f1fb;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.area{
          background-image: url(../img/dormitory_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding:20px 0 20px 0;
  }
  
.area-c{
    width: 78%;
    margin: 0 auto;
    display: block;
    margin-top: 16px;
    margin-bottom: -10px;
}

.holiday-banner { display: none; }