@charset 'UTF-8';
/*
Theme Name: a.moi
Description: あ・もいのWordPressのテーマです
Author: yamashita
Version: 1.0.0
*/

* {
  margin: 0;
  padding: 0;
}
body {
    max-width: 1200px;
    box-sizing: border-box;
    color:#2D2300 ;
    margin: 0 auto;
}
.sp_only {
  display: none;
}
.pc_only {
  display: block;
}
main {
	margin-top: 0 !important;
}
.pan_list {
    list-style: none;
    padding-left: 30px;
    max-width: 1100px;
    margin: 70px auto 10px;
}
h1.h1_title img {
  width: 90px;
  height: 90px;
 }
.amoi_titletext {
  font-size: 28px;
  font-weight: bold;
}
.amoi_hi_title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.h2_title {
  display: block;
  position: relative;
  color: #fba717;
  font-size: 30px;
  text-align: center;
  margin: 30px auto;
}
.h2_title:before {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #fba717;
}
.h1_title {
  content: "";
  background-image: url("images/logomark.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 90px;
  height: 90px;
 }
.amoi_titletext {
  font-size: 28px;
  font-weight: bold;
}

.amoi_hi_title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}
main {
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 70px;
}
section {
  margin-bottom: 80px;
}
.frow_img img {
  width: 100%;
}
.frow-item {
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  margin-bottom: 20px;
  background-color: #FBF6EB;
  border-radius: 20px;
}
.frow-item p {
  font-size: 20px;
  padding-top: 8px;
}
p.border {
    border-bottom: 3px dotted #FBA717;
    padding-bottom: 8px;
}
span.frow-item-number {
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
}
.doun {
    text-align: center;
}
.doun img {
  width: 34px;
  height: auto;
}
.usage_free_inner {
    text-align: center;
}
h3.usage_h3 {
    border-bottom: 3px dotted #FBA717;
    width: 70%;
    margin: 0 auto;
    padding-bottom: 5px;
}
.usage_fee_p {
  font-weight: bold;
  font-size: 16px;
  width: 80%;
  margin: 40px auto 60px;
  padding: 40px;
  background-color: #FBF6EB;
  border-radius: 20px;
}
/* タブ */
.tab {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  max-width: 98%;
  margin: 50px auto;
}

.tab > label {
  flex: 1 1;
  order: -1;
  opacity: .5;
  min-width: 70px;
  padding: .6em 1em;
  border-radius: 5px 5px 0 0;
  background-color: #fba717;
  color: #fff;
  font-size: 1em;
  text-align: center;
  cursor: pointer;
  height: 45px;
}

.tab > label:hover {
  opacity: .8;
}

.tab input {
  display: none;
}
span.input {
  font-weight: bold;
  font-size: 20px;
}
.tab > div {
  display: none;
  width: 100%;
  padding: 1.5em 1em;
  background-color: #fff;
}

.tab label:has(:checked) {
  opacity: 1;
}

.tab label:has(:checked) + div {
  display: block;
}
.tab label:nth-child(1) {
  height: 45px;
  line-height: 45px;
}

.tab label:nth-child(2):has(:checked) + div {
  order: 2;
}
.tab label:nth-child(3):has(:checked) + div {
  order: 3;
}
/* タブここまで */
.kaigo_text {
  padding-bottom: 1.5em;
}
p.tab_p {
  font-size: 20px;
  margin-bottom: 5px;
}
/* table */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #2D2300;
}
th, td {
  border: solid 1px; 
  padding: 8px;
  text-align: left;
}
.aling {
  text-align: center;
}

p.tab_kaigop {
  font-size: 16px;
  text-align: right;
  padding-bottom: 1.5em;
}
p.disease_title {
    display: inline-block;
    font-size: 24px;
    margin-bottom: 12px;
}
.underline {
  border-bottom: double 3px #2D2300;
  margin-bottom: 20px;
}
span.font-size {
  font-size: 16px;
}
table.health {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
p.point {
  font-size: 22px;
  margin: 20px 0;
}
p.public_expense_title {
  font-size: 22px;
  font-weight: bold;
  color: #fba717;
  margin-bottom: 10px;
}
ul.public_expense_list li {
  font-size: 18px;
}
.private_nursing {
    width: 98%;
    margin: 0 auto;
}
p.private_p {
  font-size: 18px;
  margin: 60px 20px 40px 20px;
}
p.P_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
table.private_fee_table {
    width: 50%;
    margin: 0 0 20px;
}
table.private_fee_table td {
    width: 50%;
    border: solid 1px;
    padding: 8px;
    text-align: center;
}
p.private_point {
    font-size: 20px;
    margin-bottom: 16px;
}
p.premium {
    font-size: 20px;
}
table.premium_table, table.cancel_table {
  margin-bottom: 40px;
}
table.premium_table th, table.cancel_table th,table.cancel_table th,table.cancel_table td {
  width: 50%;
}
table.premium_table th, table.premium_table td, table.cancel_table th, table.cancel_table td {
  text-align: center;
}
.other {
    margin-bottom: 30px;
}
p.private_flow_text {
  font-size: 18px;
  margin: 0 20px;
}
section#faq {
  width: 90%;
  margin: 0 auto;
}
.faq_inner {
  font-size: 18px;
}
.faq_item {
  margin-bottom: 24px;
}
.faq_title {
  margin: 14px;
}
.faq_title {
    margin: 14px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
span.faq_no {
    background-color: #FCE1B2;
    padding: 10px;
    border-radius: 50%;
    margin-right: 5px;
}
.faq_answer {
    background-color: #F5F5F5;
    padding: 12px;
    border-radius: 20px;
    margin-left: 48px;
}

@media (min-width: 768px) {
  a[href^="tel:"] {
      pointer-events: none;
      cursor: default;
  }
  }

  @media only screen and (max-width: 768px) {

    .sp_only {
      display: block;
    }
    .pc_only {
      display: none;
    }
    .h1_title img {
      width: 70px;
      height: 70px;
    }
    .amoi_titletext {
      font-size: 22px;
      font-weight: bold;
    }
    .h2_title {
      font-size: 26px;
    }
    .frow-item p {
      font-size: 16px;
    }
    .usage_fee_p {
      font-size: 14px;
    }
    .tab > label {
      height: 54px;
    }
    span.input{
      font-size: 12px;
    }
    .label_p {
      font-size: 10px;
    }
    .tab label:nth-child(1) {
    height: 54px;
    line-height: 54px;
    }
    .tab > div {
      width: 98%;
      padding: 1em .5em;
    }
    p.tab_p {
    font-size: 18px;
    }
    th, td {
      padding: 6px;
    }
    p.tab_kaigop {
      font-size: 12px;
    }
    p.disease_title {
      font-size: 20px;
    }
    p.tab_p {
      font-size: 16px;
    }
    p.point {
      font-size: 20px;
    }
    p.public_expense_title {
      font-size: 18px;
    }
    ul.public_expense_list li {
      font-size: 16px;
    }
    table.private_fee_table {
      width: 100%;
    }
    p.private_point {
      font-size: 16px;
    }
    p.premium {
      font-size: 16px;
    }
    p.private_p {
      margin: 50px 20px 40px 20px;
    }
    p.private_flow_text {
      font-size: 16px;
    }
    .faq_inner {
      font-size: 16px;
    }

    /* .footer_mrnu {
    display: block;
    margin: 0 auto;
    width: 80%;
  }
  .menu_single {
    margin-bottom: 5px;
  }
  .footer_mrnu li+li {
    border-left: none;
  }
  .footer_copy {
    font-size: 10px;
  } */

  .nav {
      position: fixed;
      right: -320px; /* 右から出てくる */
      top: 0;
      width: 300px; /* スマホに収まるサイズ */
      height: 100vh;
      padding-top: 60px;
      background-color: #fff;
      transition: all .6s;
      z-index: 200;
      overflow-y: auto; /* メニューが多くなったらスクロールできるように */
    }
    .hamburger {
      position: absolute;
      right: 15px;
      top: 8px;
      width: 40px; /* クリックしやすい幅 */
      height: 40px; /* クリックしやすい高さ */
      cursor: pointer;
      z-index: 300;
    }
    .nav_list {
      display: block;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .nav_item {
      text-align: center;
      padding: 0 14px;
    }
    .nav_item a {
      display: block;
      padding: 8px 0;
      border-bottom: 1px solid #eee;
      text-decoration: none;
      color: #333;
    }
    nav > ul > li > a > span > img {
      top: 0;
    }
    img.icon-home, img.icon-service, img.icon-flow, img.icon-campany, img.icon-nurse, img.icon-resume, img.icon-mail {
      left: 40px;
    }
    .nav_item a:hover {
      background-color: #eee;
    }
    .hamburger_border {
      position: absolute;
      left: 11px;
      width: 18px;
      height: 2px;
      background-color: #333;
      transition: all .6s;
    }
    .hamburger_border_top {
      top: 14px;
    }
    .hamburger_border_center {
      top: 20px;
    }
    .hamburger_border_bottom {
      top: 26px;
    }
    .black_bg {
      position: fixed;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      z-index: 100;
      background-color: #333;
      opacity: 0;
      visibility: hidden;
      transition: all .6s;
      cursor: pointer;
    }
  
    /* 表示された時用のCSS */
    .nav-open .nav {
      right: 0;
    }
    .nav-open .black_bg {
      opacity: .8;
      visibility: visible;
    }
    .nav-open .hamburger_border_top {
      transform: rotate(45deg);
      top: 20px;
    }
    .nav-open .hamburger_border_center {
      width: 0;
      left: 50%;
    }
    .nav-open .hamburger_border_bottom {
      transform: rotate(-45deg);
      top: 20px;
    }
  }/* sp */
  
