@charset "UTF-8";

html{
  scroll-margin-top: 90px;
}

body{
        font-family:'Noto Sans JP', 'ヒラギノ角ゴ ProN W6', 'Hiragino Kaku Gothic ProN', sans-serif; 
        margin:0;
        color:#4f6074;
        font-feature-settings: "palt";
        line-height: 1.8;
    }


a,a:hover,a:visited{
    color: inherit;
}    

/* ヘッダー */
    .header {
      height: 90px;
      width: 100%;
      z-index: 1000;
      position: sticky;
    top: 0;
      background-color: #a44f74;
    }

    .header_menu{
        display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 30px;
    
    }

    .mainimage{

         background-color: #a44f74;
        padding:5em 0;
    }

    .mainimage img{

          width:900px; 
 border-radius: 20px;
 margin: 0 auto;

    }


    h1{
            color: #FFF;
            font-weight: bold;
      font-size: x-large;
      margin: 13px;
    }

    .menu {
      display: flex;
      gap: 30px;
    }

    .menu a {
      text-decoration: none;
      color: #FFF;
      font-size: 14px;
      padding:1em 0;
      margin-right:2em;
    }

    /* メインコンテンツ */
    .content {
        padding:2em 0 4em 0;
    }

    .content:nth-child(2n+1){
        background-color: #FFF;
    }

    .content:nth-child(2n){
        background-color: #f8f8f8;
    }


    h2{
        color:#a44f74;
        text-align: center;
        font-size: x-large;
        margin-bottom:1.5em;
     }
    


    .content:nth-child(2n) h2{
        color: #113366;
       }

    h3{
      color: #113366;
      margin-bottom: 1.5em;
      text-align: center;
    }

    .note{
      margin-top: 1em;
      margin-bottom: 2em;
    }

   .note p{
          text-align: center;
          margin:0;
  }

    section{
        width:900px;
        margin: 0 auto;
        margin-top:-100px;
        padding-top:100px;
          overflow-x: hidden;
    }


    
    section div{
        display:block;
        margin:0 auto;
        
    }

    .content img {
      max-width: 100%;
      border-radius: 5px;
      margin: 1em auto;

    }

    .c_double{
        display: flex;
        justify-content: space-between;
           align-items: center;
           gap: 20px;
    }

    .c_double div{
        width: 50%;
        margin:5px;

 
    }

    .c_double:nth-child(2n) {
    flex-direction: row-reverse;
}

    .c_double p{
        text-align:justify;
        margin-right: 1em;
    }

    /* 申し込みボタン（追尾） */
    .fixed-btn {
      position: fixed;
      right: 0;
      top: 150px;
      transform: translateY(-50%);
      background-color: white;
      border: 1px solid #ccc;
      padding: 10px 5px;
      writing-mode: vertical-rl;
      text-align: center;
      font-weight: bold;
      text-decoration: none;
      border-top-left-radius: 6px;
      border-bottom-left-radius: 6px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      z-index: 999;
    }
    a.fixed-btn{
           color: #003366;
    }

    .fixed-btn:hover {
      background-color: #f0f0f0;
    }


/* 申し込みボタン（追尾なし） */
    .btn{
    display: block;    
    background-color: #113366;
    text-align: center;
   width:400px;
    margin: 0 auto;
    padding:10px 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    }

a.btn{  color: #fff;}



.content .icon,.icon {
  width: 30px;
  vertical-align: middle; /* これで文字とアイコンを中央揃え */
  margin-right: 8px;
}





    table{

        border-collapse: separate;
        border-spacing: 3px;
        margin:0 auto;
        width: 80%;
        margin-bottom:4em;
     
    }   
    td{
     
        text-align: left;
        padding-left:2em;
        background-color: #fff;
    }

    th{
        font-weight: normal;
        padding:1em;
        background-color: #fff;
    }


/*スケジュール*/


    .schedule {
  display: flex;
    flex-wrap: wrap;
    width: 720px;
    justify-content: space-between;
    margin-bottom: 4em;
 
}

.day-card {
    border: 1px solid #113366;
    border-radius: 8px;
    width: 330px;
    background-color: #fff;
    overflow: hidden;
    margin: 0 5px;
}

.day-header {
  background-color: #f9f9f9;
  padding: 10px ;

  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-header img{
    width:30px;
    margin-left:1em
}

.day-badge {
  background-color: #113366;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9em;
}

.day-date {
  font-size: 1em;

}

.day-card ul {
  list-style: none;
  padding: 10px;
  margin: 0;
}

.day-card li {
  display: flex;
  gap: 1em;
  padding: 10px 0;
}

.time {
  color: #a44f74;
  font-weight: bold;
  width: 50px;
  margin-left: 1em;
}

/*担当者からのメッセージ*/
.message-box {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* 左右の間隔 */
  margin-top: 2em;
}

.message-box img{
    max-height: 150px;
}

.message-text {
  flex: 1; 
border-left: 3px solid #113366; /* 下線 */
}

.message-text h3 {
 font-weight: 700;
  font-size: 18px;
  border-bottom: 2px solid #113366; /* 下線 */
  padding-bottom: 4px;
  margin-bottom: 12px;
  text-align: left;
  padding-left: 1em;
}

.message-text p {
  text-align: left;
  margin-left: 1em;
}

/*企業情報*/

.office{
    background-color: #fff;
    width: 900px;
    padding:0 0 1em 0;
    margin-top: 2em;
}
.office .name{
    text-align: left;
}

#companies .office div{
  margin:0;
}

.content .office img{
border-radius: 0;
}

.office_header{
   display: flex;
   border-bottom: 2px solid #f9f9f9;
   align-items: center;

}

.office_header .officelogo{
    max-width:250px;
    padding: 1em 1em 0 1em;
}

.officemsg,.office_header {
  padding:2em 3em 1em 3em;
align-items: center;
   gap: 1em;

}


.officemsg:nth-child(2n+1) {
    flex-direction: row-reverse;
    display: flex;
    justify-content: space-between;
}

.officemsg:nth-child(2n) {
    display: flex;
    justify-content: space-between;
}



.officemsg .office_img{
    width:45%;
}


.office_img img{
    width:100%;
}

.office_text{
    width:50%;

}


.office h4{
  font-size: large;
  text-align: left;
  margin: 0;
}

.office p {
  margin:0;
    text-align: justify;

}

/*よくある質問*/

.qa-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}


.qa-item {
  background-color: #fff;
  border-radius: 8px;
  margin-left: 1em;
  margin-right: 1em;
  padding: 1em;
  width:100%;
}





 .qa-line:last-child {
    margin-bottom: 0;
}


 .question {
  font-weight: 700;
  font-size: 16px;
  margin: 5px 0;
  padding-left:50px;
  position: relative;
}

 .answer {
  font-size: 14px;
  margin: 5px 0;
  position: relative;
  padding-left:50px;
}

.question:after, .answer:after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background-size: cover;
    margin-left: 5px;
}

.question:after{
      background-image: url(../image/kitaQ-UI_08.png);
}

.answer:after{
      background-image: url(../image/kitaQ-UI_09.png);
}


#faq .icon{
  margin:0;
}

footer{
    background-color: #a44f74;
    color:#fff;
    padding:2em;
}

footer div{
  display: block;
  width: 500px;
  margin: 0 auto;
  text-align: center;
}

h4{
      overflow: hidden;
    text-align: center;
}

h4 span {
    display: inline-block;
    padding: 0 1em;
    position: relative;
}
 
h4 span:before,
h4 span:after {
    border-top: 1px solid;
    content: "";
    position: absolute;
    top: 50%;
    width: 99em;
}
 
h4 span:before {
    right: 100%;
}
 
h4 span:after {
    left: 100%;
}


.pconly {
  display: block;
}

.sponly{
  display: none;
}

/* スマホ表示（768px以下） */
@media (max-width: 768px) {

section{
  width: auto;
  margin-right:1em;
    margin-left:1em;
}

.header{
  height:auto;
}

.header_menu{
  padding:0;
}

h1{
  margin:5px;
  text-align: center;
  font-size:20px;
  line-height: 1.5;

}


h2{
  margin-bottom:0;
  margin-top:0;
}

.content{
  font-size: 14px;
}

.mainimage img {
  
    border-radius: 0;
}

.content {
    padding: 2em 0;
}

.c_double{
  display: block;
}

.c_double div{
    width:100%;
}

.c_double p {
    width: 90%;
    margin: 1em auto;
}


table{
  width:100%;
  margin-top:1em;
  margin-bottom: 1em;
}

th{
  padding:0;
  width:5em;
}

td{
  padding: 1em;
}
.officemsg div{
  display: block;
}

.schedule{
  display: block;
    width:100%;
  margin-bottom:2em;
}

.day-card {
  width: 98%;
  margin: 1em auto;
  
}


.pconly {
  display: none;

}

.sponly{
  display: block;
}


  .logo{
    width:100%;
    text-align: center;
  }

#spnavi {
        position: static;
        width: 100%;
        /*
        transform: translateX(100vw);
        transition: all 0.3s linear;
        */
        display: none;

    }

  #spnavi.show{
    display: block;
    /*
    transform: translateX(0);
    */
  } 


  button.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
}
  
  #spnavi .menu {
    width: 50%;
    flex-direction: column;
    background: #a44f74da;
    padding: 10px;
    height: 100vh;
    position: fixed;
     right: 0;
     z-index: 200;
  }

  #spnavi .menu-toggle {
    display: block;
    width:20px;
  }


  .mainimage img{

          width:100%; 
    }

   .mainimage{
    padding:0 1em;
   }

.content img{
  max-width: 90%;
}


.c_double *{
  display: block;
  width:100%
}

   
   .office{
    width: 90%;
   }

   #companies .office * {
    display: block;
   }

.office_header{
  margin-bottom: 2em;
}
.officelogo img{
  max-width:100%;
}

    .office_header .officelogo {
    max-width: 70%;
    }

    .office .name {
    text-align: center;
}

.officemsg {
  padding:0;
}

#companies .office div{
  margin:0 auto;
}


.officemsg .office_img {
   width: 85%;
}

.office_img img{
  max-width:100%;
}

.office_text {
    width: 85%;
    text-align: justify;
}



img#fullimg {
    max-width: 100%;
    border-radius: 0;
}

#support2{
  position:relative;
}

#support2:after {
    content: "";
    display: block;
    position: absolute;
    top: 120px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-image: url(../image/kitaQ-UI_07.png);
    background-size: cover;
}


.note {
      margin-bottom: 1em;
}


   footer div{
    width: 100%;
   }


   .btn{
   max-width:280px;
    margin: 0 auto;
    padding:0px 5px;
    }

  .qa-item{
      width:95%;
      margin:1em auto;
    }

  .qa-line{
    margin-right: 1em;
    text-align: justify;
  }  

.question:after,.answer:after{
  margin-left:0;
}

.answer,.question{
  padding-left:40px;
}

.topbtn{
  background-color: #a44f74;
  padding: 1em 0 2em 0;
}

#topicon{
  background-color: #FFF;
  color:#113366;
  padding: 10px;
}

.btn .icon{
  width:20px;
}




}