*{
    box-sizing: border-box;
  }


:root {

/* 赤 --------------*/
/*  --default-color: #B94B70;
  --secondary-color: #FFEEF2;
  --background-color:#fff6f8;
  --header-h1:#e65a7a;
  --header-p:#b94b6f;
  --font-blue:#1E3A5F;
  --text-color: #333;
  --faq-color:#1E3A5F;
*/

/* 青 --------------*/
  --default-color: #1E3A5F;
  --secondary-color: #fafdff;
  --navihover-color:#CAD0DC;
  --background-color:#f8f8fc;
  --header-h1:#1E3A5F;
  --header-p:#1E3A5FcC;
  --font-blue:#1E3A5F;
  --text-color: #333;
  --faq-color:#1E3A5F;
  --linear-color:linear-gradient(to right, #1E3A5F, #1E3A5F33);
  --grad-color:linear-gradient(#1E3A5F, #1E3A5F33);

/* フォント ----------------*/
  --noto-sans-family: "Noto Sans JP", sans-serif;
}


/* Base Reset */
html,body {
  margin: 0;
  font-family:var(--noto-sans-family);
  background-color:var(--background-color);
  color:var(--text-color);
  line-height: 1.8;
}

.inner {
  max-width: 960px;
  margin: 0 auto;
  padding:0 1rem;
  box-sizing: border-box;
  width: 100%;
}

/* Header
---------------------------------------------------- */
header {
  background:#FFF9;
  padding:15px 0;
  text-align: center;
  border-bottom: 2px solid var(--secondary-color);
}

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

header #logo{
  height:60px;
}

header #logo img{
    width:auto;
    height:100%;
}

header h1 {
  font-size: 2.6rem;
  color:var(--header-h1);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

header p {
  font-size: 1.2rem;
  color:var(--header-p);
}

header .phone-number {
    width:auto;
}

header .phone-number img{
  height:35px;
  width:auto;
  display: none;
}

header .phone-number .phone{
  display: block;
}


/* ################## 580未満 ####################*/

@media(max-width:579px){

  header .inner{
    padding:0 40px;
  }

  header .phone-number{
        padding-right:40px;    
  }

  header .phone-number .phone{
    display: none;
  }

  header .phone-number .sphone{
    display: block;
  }


}



nav #hamburger,nav #menu{
  display:none;
}

/* nav
---------------------------------------*/
/* ################## 780以上 ####################*/
@media(min-width:780px){

    nav {
      background:var(--default-color);
      height: 60px;
      font-size: 16px;
      border-top: 2px solid var(--default-color);
/*      border-bottom: 1px solid var(--default-color);*/
      box-sizing: border-box;
    }

    nav ul {
      display: flex;
      justify-content:stretch;
      align-items: center;
      height: 58px;
      list-style: none;
      margin: 0;
      padding: 0;
      width:100%;
      gap:3px;
    }

    nav ul li{
      width:100%;
    }

    nav ul li a {
      text-decoration: none;
      color: #FFF;
      font-weight: 600;
      padding: 0 1rem;
      line-height: 57px;
      display: block;
      text-align: center;
      border-radius: 7px 7px 0 0;
    }

    body.top nav ul li.top a{
      background-color:#CAD0DC;
      color:var(--default-color);
    }

    body.howto nav ul li.howto a,
    body.faq nav ul li.faq a,
    body.profile nav ul li.profile a,
    body.contact nav ul li.contact a{
      background-color:var(--secondary-color);
      color:var(--default-color);
    }

    nav ul li a:hover {
      background-color:var(--navihover-color);
      color:var(--default-color);
    }

}


/* ################## 780未満 ####################*/

@media(max-width:779px){

    nav{
        border-top: 3px solid var(--default-color);
        position:fixed;
        top:0;
       left:0;
       width:100%;
       z-index:10000;
      }

    nav .inner{
      position: relative;
      top:0;
      left:0;
      width:100%;
      padding:0;
      margin:0;
      z-index:10000;
    }

    nav #hamburger{
      position: fixed;
      top:0;
      right:10px;
      display:flex;
      align-items: center;
      justify-content: center;
      background:var(--default-color);
      box-sizing: border-box;
      width:50px;
      height:40px;
      cursor: pointer;
      border-radius: 0 0 5px 5px;
      z-index:10001;
    }

    nav ul{
      width:100%;
        background:var(--default-color);
        position: absolute;
        top:0;
        left:0;
        list-style: none;
        padding:0;
        margin:0;
        height:0;
        transition-duration: .5s;
      }

    nav ul li{
      display: block;
      padding:0;
      margin:0;
    }

    nav ul li a{
      text-decoration: none;
      display: block;
      color:#FFF;
      height:0px;
      line-height: 60px;
      overflow: hidden;
      transition-duration: .5s;
      padding:0 20px;
    }

    nav #menu:checked + ul{
            height:100vh;
    }


    nav #menu:checked + ul li a{
      height:60px;
      border-bottom:1px solid #FFF5;
    }


}


/* eyecatch
-------------------------------------------- */
#eyecatch{
  padding:50px 0;
  text-align: center;
  background:var(--secondary-color);
  border-bottom: 1px solid var(--default-color);
  background-image:url(/img/eyecatch2.png);
  background-size:40%;
  background-position: 0 -60px;
}

#eyecatch svg{
  text-anchor:middle;
  dominant-baseline:middle;
  fill: #fff;
  stroke: var(--default-color);
  stroke-width: 4px;
  paint-order: stroke;
  font-family: "Noto Sans JP";
  letter-spacing:0.1em;
  filter: drop-shadow(3px 3px 5px #0003);
  font-weight: 900;
  height:60px;
  width:100%;
  max-width:450px;
}


#eyecatch svg text{  
  font-size: clamp(20px, calc(100vw / 18), 32px);
}

/* ########### 780px 以下 ########### */

@media(max-width:780px){
    #eyecatch{
      padding:30px 0 20px;
    }
}

/* bread
-------------------------------------------- */
#bread ul{
  list-style: none;
  display: flex;  
  gap:5px;
  padding:5px;
  margin:0;
}

#bread ul li{
  font-size:14px;
  font-weight: 400;
}

#bread ul li:first-child:after{
  content:">";
  margin-left:5px;
}

#bread ul li a{
  color:#00f;
}


/* バナー
-------------------------------------------- */
#topbana{
  padding-top:10px;
  display: flex;
  justify-content: center;
}

#topbana a{
  background:#FFF;
  display: inline-block;
  text-decoration: none;
  margin:0 auto;
  border:1px solid #1e3a5f66;
  padding:15px 20px;
  text-align: center;
  font-size:12px;
  color:#1e3a5f;
}

#topbana a .button{
  background:#a67e34;
  font-size:15px;
  color:#FFF;
  border-radius: 20px;
  padding:10px 0;
  margin-top:10px;
}

#topbana a:hover .button{
  background:#1e3a5f;
}


/* Main Content
-------------------------------------------- */
main{
  padding:20px 0;
}

main .inner > p{
  text-align: center;
}

main h1,main h2{
  text-align: center;
}

main h1{
  margin:50px 0;
}

main h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color:  var(--default-color);
  padding: 0 0 1rem;
  margin: 10px 0 30px;
  position: relative;
}

main h2::after {
  content: '';
  position: absolute;
  left:calc(50% - 60px);
  bottom: 0;
/*  transform: translateX(-50%);*/
  width: 120px;
  height: 3px;
  background:var(--linear-color);
  border-radius: 2px;
}


body#top main h2{
  text-align: center;
}

/* ############## 780以下 ################ */
@media(max-width:780px){
  main{
    padding-top:20px;
  }

  main .section-title{
    margin-top:0px;
  }

}


/* cards
---------------------------------------*/

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:15px;
/*  background: var(--linear-color);*/
  padding:0;
  width:100%;
}

.card {
  background-color: #FFF;
  border-radius: 12px;
  width:calc(100% / 3 - 10px);
  padding:14px 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.2s;
  display: flex;
  gap:20px;
  outline:1px solid var(--default-color);
}

.card figure{
  position: relative;
  width: calc(50% - 0px);
  padding: 0;
  margin: 0;
  height: auto;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 8px; /* 任意だけど角丸にするなら */
}

.card figure figcaption{
  width:calc(100% - 20px);
  position: absolute;
  bottom:5px;
  left:10px;
  background:var(--default-color);
  color:#FFF;
  border-radius: 20px;
  outline: 2px solid #FFF;
  box-shadow: 2px 2px 3px #0005;
  font-size:20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:3px;
}

.card figure figcaption span{
  font-size:60%;
}

.card figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card .info{
    position:relative;
    width:50%;
    padding-bottom:80px;
    min-height:250px;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  font-size: 16px;
  color: var(--default-color);
  margin:5px 0 0;
}

.card h3 rt{
  font-size:40%;
}

.card h3 span{
  margin-left:0.2em;
  font-size:0.8em;
}

.card .skills {
  padding:0;
  font-size: 0.85rem;
  color: #666;
  margin:0;
  line-height:1.2;
  text-align: left;
}

.status {
  width:100%;
  height:40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:14px;
  font-weight:500;
  border-radius: 3px;
  text-shadow:-1px -1px 2px #0004;
  margin:0;
  border:2px solid #999;
  border-top:2px solid #EEE;
  border-left:2px solid #EEE;
}

.status:before{
  content:"読込";
  color:#00;
}


/*離席中*/
.status[data-status="0"]{
  background-color: #C0C0C0;
  color: #FFF;
}

.status[data-status="0"]:before{
  content:"離席中";
}

/*待機中*/
.status[data-status="1"]{
  background-color: #00BFFF;
  color: #FFF;
}

.status[data-status="1"]:before{
  content:"待機中";
}


/*対応中*/
.status[data-status="2"]{
  background-color: #FFA500;
  color: #FFF;
}

.status[data-status="2"]:before{
  content:"対応中";
}

.card .payment{
  position: absolute;
  bottom:50px;
  right:0;
  background:#F8F8FC;
  width:100%;
  margin:0;
  padding:10px 0;
  font-weight:bold;
  color:#B12600;
}

.card .payment span{
  font-size:0.7em;
  margin:0 5px 0 1px;
}

.card .profile-btn{
  position:absolute;
  bottom:0;
  right:0;
  display: inline-block;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  background:var(--secondary-color);
  background:#FFF;
  border:1px solid var(--default-color);
  color:  var(--default-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
}

.profile-btn:hover {
  background:var(--secondary-color);
}

#allcard{
  margin:40px;
}

#allcard a{
  display: block;
  background:#FFF;
  padding:20px 40px;
  border-radius: 7px;
  text-decoration: none;
  width:max-content;
  margin:0 auto;
  outline:1px solid var(--default-color);
  color: var(--default-color);
}


#reason {
  padding: 20px 40px;
  /*background: #fff;*/
  /*outline: 1px solid var(--default-color);*/
  /*border-radius: 10px;*/
  /*position: relative;*/
  overflow: hidden;
  background-image: url("/img/kazari-tl.png"), url("/img/kazari-tr.png"), url("/img/kazari-bl.png"), url("/img/kazari-br.png");
  background-repeat: no-repeat;
  background-position: top left, top right, bottom left, bottom right;
  background-size: 50px 50px; /* pngのサイズに合わせて調整 */
  postion:relative;
}

#reason .kazari{
  display:block;
  width:100px;
  height:100px;
  position:absolute;
  top:0;
  left:0;
}

#reason .kazari img{
  width:100%;
  height:100%;
}

#reason p{
  line-height: 1.75;
  font-size:18px;
  font-weight:normal;
  font-size:16px;
}

/* ################ 780px 以下 ###############*/

@media (max-width: 880px) {

  .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:15px;
    padding:0;
    width:100%;
  }

  .card{
    width:100%;
    max-width:420px;
    margin:0 auto;
  }


}



/* Footer
---------------------------------------------------- */
footer {
  padding-top:20px;
  padding: 1.5rem 1rem;
  text-align: center;
  background-color:var(--default-color);
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid var(--secondary-color);
}

footer #copyright{
  color:#FFF9;
  font-weight: 500;
  font-size:12px;
}


/* Flow Section & Footer Links
---------------------------------------------------- */
.flow, .footer-links {
  margin:0 0 20px;
  text-align: center;
}

.footer-links a {
  color: #FFF;
  margin: 0 1rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #FFF;
}

/* ################ 780px 以下 ###############*/

@media (max-width: 780px) {


.footer-links a {
  display: block;
  height:40px;
  line-height: 40px;
}


}
/* Responsive */
/*@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}*/