.message, .about, .check, .number {
  padding: 0 45px !important;
}

.photo {
  padding: 0 15px !important;
}



.number .numberContents img {
 
width: 48%;
}



.check {
    width: initial;
}

h2{
    font-size: 1.2em;
    margin-bottom: initial;
    color: #222;
}

.check .checkTitle::before, .check .checkTitle::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #0076ff;;
    margin:initial ;
}

.check .checkContents {
    margin: 0 auto;
    padding: initial;
}

.check .checkList {
    margin: 0 auto;
    width: initial;
}

.check .list {
    padding: 5px 0 5px 30px;
    position: relative;
    display: inline-block;
    font-size: 18px;
}

.check .list::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    left: 0px;
    top: 3px;
    bottom: 0;
    margin: auto;
    border: 2px solid #0076ff;
}

.senpai h3 {
    padding: 0 30px;
}

.senpai h3 span {
  font-size: 16px
  font-weight: normal
  line-height: 1.2 !important;
}

.senpaiText h3 {
    font-size: 16px;
}

.photo .photoLib {
   display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
   display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; /* カラム間・行間の余白調整 */
}

.frontMovie h3 {
    text-align: center;
    line-height: 1.8;
    font-size: 20px;
    font-weight: normal;
}

.message h2 {
    margin: 2em auto 1em;
}

.check .checkTitle {
    margin: 3.2em auto 0.8em;
}

.number .numberTitle {
  margin: 2em auto 1.5em;
}

.photo h2{
margin: 3.5em auto 1.5em;
}

.voiceContents h2 {
    font-size: 1.4em;
padding-top: 20px;
}

.contactTitle {
    padding: 45px 45px 0 !important;
}

.contact-form {
    padding: 45px !important;
}

.required {
    font-size: 0.8em;
    padding: 0.1em 0.3em;
    border-radius: 5px;
}

.recruitContents {
    padding: 45px 45px 0 !important;
}

.recruitContents .recruitRead h3 {
    font-size: 18px;
}

.senpai h3 span{
text-align:left;
}

.voiceContents .senpaiAbout p{
  text-align: justify;
}

.next {
    margin: 2em auto;
}

.next h3::after {
    width: 30px;
    height: 30px;
    margin: 5px auto 0;
}

.frontAccess {
  margin-top: 0;
}

.hover-img {
  position: relative;
  display: inline-block;
  width: 100%; /* 適宜調整 */
}

.hover-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.hover-img .hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.hover-img:hover .hover {
  opacity: 1;
}

.hover-img:hover .normal {
  opacity: 0;
}

.hover-img {
    padding-bottom: 50px;
}

.slideContents .slick-dots button::before {
    font-size: 36px;
}

iframe {
    width: 340px;
}
@media (max-width: 780px) {
    .mainContents {
        padding: 0;
    
    }
    .frontAccess {
        margin-top: -0.5em;
    }
    .header{
        display: none;
    }
    .senpai h3 span{
        padding:0;
        font-size: 16px;
        }
        .senpai h3 {
            padding: 0 10px;
            font-size: 19px;
        }
}

.mainContents {
  min-height: calc(100vh - 300px); /* 300pxなどはヘッダー・フッターを合わせた高さ */
  overflow: hidden;
}

footer {
  margin-top: 0;
  clear: both;
}

a:-webkit-any-link {
    text-decoration: none;
}

.footerBtn {
  margin-top: 20px; /* お好みの数値に調整 */
  padding-top: 0;
}

.senpaitext{
text-align: left;
padding: 0 30px;
}

.senpaisub{
    padding: 0 0 15px 30px;
    text-align: left; 
}

.senpai h3 {
    padding: 0;
}

.voiceContents .senpaiMain {
    padding: 0 45px;
   width: initial;
}

.voiceContents .senpaiAbout {
    padding: 0 45px;
   width: initial;
}

.footerTxt {
    text-align: center;
    color: #00358c;
    font-size: 14px;
}

@media (max-width: 780px) {
    .container {
        width: auto;
        height: 100%;
        padding: 0 4px;
        padding-bottom: 114px;
        display: block;
        margin: 0 15px 0 15px;
    }
}

@media (max-width: 780px) {
    .senpai h3 {
        padding: 0;
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .senpai h3 {
        margin: 0;
    }
}


body{
background-position: top;
background-color: #F8FBFF;
}

/* スマホ用 */

.footerMenu__sideBtn img {
    width: 50px;
}

.recruitContents h2 {
    width: initial;
}


@media (max-width: 800px) {
    .qa-container {
        padding: initial; 
        width: initial;
    }
}

.question .label {
    font-size: 1.1em;
}

.contactTitle h2{
   font-size: 1.2em;
    width: initial;
    font-weight: 600;
}

.check .checkContents h3 {
    font-size: 16px;
}

.footerMenu__centerGroup img {
    width: 60px;
}

@media (max-width: 780px) {
    .qa-container {
        width: initial;
        padding: 0;
    }
}

.fullscreen-menu li {
    margin: 5px 0;
}

/* 共通SP用レイアウト・クロスフェード */
.senpaiImg_2.sp {
  position: relative;
  width: 300px;
  height: 329px;
  overflow: hidden;
}

.senpaiSp,
.senpaiSp_2.image {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/* JavaScriptでactiveクラスが付与されたらフェードイン */
.senpaiSp.active,
.senpaiSp_2.image.active {
  opacity: 1;
  z-index: 2;
}

/* 最初の画像（senpaiSp）は初期状態から表示 */
.senpaiSp {
  opacity: 1;
}

.form-group label {
  font-weight: normal;
}

.menuVideoBtn {
    padding: 12px 50px;
}

.photoLib {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important; /* 3列 */
  gap: 5px !important; /* 画像の間の余白 */
}

.photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.recruitContents table tr td:first-child{
  background-color: #F8FBFF;
}

.recruitChild h3 {
    color: #fff;
    background-color: #0076ff;
}


/* 矢印＋ドットを1行で中央 */
.dots-with-arrows{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

/* Slickの絶対配置を解除してフレックスに参加させる */
.dots-with-arrows .slick-dots{
  position: static !important; 
  display:flex;
  gap:8px;
  width:auto;
  margin:0;
  padding:0 0 10px;
  list-style:none;
  text-align: initial;
  transform:none !important;     /* テーマで transform 指定があれば無効化 */
}

/* slick-theme.css の疑似要素ドットを消す（自作ドットだけ表示） */
.dots-with-arrows .slick-dots li button:before{
  content:'';                     /* ← デフォの「•」を消す */
}

/* ドット見た目 */
.dots-with-arrows .slick-dots li{ width:auto; height:auto; }
.dots-with-arrows .slick-dots li button{
  width:12px; height:12px;
  border-radius:50%;
  background:#fff;
  border:0; padding:0; font-size:0;
  cursor:pointer;
}
.dots-with-arrows .slick-dots li.slick-active button{ background:#0076ff; }

/* 矢印ボタン */
.dot-prev,.dot-next{
  background:none; border:0;
  font-size:20px; line-height:1;
  padding:0 6px; cursor:pointer; color:#fff;
}


.senpai {
  padding: 1em 1em 3em;
}


element.style {
    /* padding: 0 0 3em; */
}
.voiceSlide {
    padding: 0 0 3em;
}
