@charset "utf-8";

/*====== スタッフ紹介 ========*/
#staff img {
  width: 100%;
}
#staff .staff-box {
  padding: 20px;
  background-color: #fffff7;
  margin-bottom: 30px;
}
#staff .staff-box .box {
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
#staff .staff-box .box .left {
  width: 38%;
  height: 100%;
  margin-bottom: 20px;
}
#staff .staff-box .box table {
  margin: 0 0 10px;
  width: 57%;
}
#staff .staff-box .box table th {
  color: #ff754d;
  font-weight: bold;
  width: 20%;
  padding: 10px 0;
  vertical-align: middle;
  border-bottom: 1px #ff754d dashed;
}
#staff .staff-box .box table td {
  padding: 10px 2%;
  line-height: 1.8em;
  vertical-align: middle;
  border-bottom: 1px #ff754d dashed;
}
#staff .staff-box .box table td a {
  color: blue;
}
#staff .staff-box .box table td span {
  font-size: 1.5em;
  font-weight: bold;
}
#staff .staff-box .text {
  line-height: 1.7;
}
#staff .staff-box .text span {
  font-weight: bold;
  color: #ff754d;
  display: block;
  text-align: left;
  margin-bottom: 5px;
  border-bottom: 1px #ff754d dashed;
}
#staff .lisence-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4%;
}
#staff .lisence-container .lisence-box:first-child {
  flex: 0 0 70%;
}
#staff .lisence-container .lisence-box {
  flex: 0 0 48%;
  margin-bottom: 15px;
}
#staff .lisence-container .lisence-box .text {
  margin-top: 10px;
}
#staff .lisence-container .lisence-box .text p {
  font-size: 0.8em;
  text-align: center;
  line-height: 1.7;
}

/*====== よくある質問 ========*/
#faq .faq-list {
  background: #fff;
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
#faq .hx {
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  transition: color 0.3s;
}
#faq .hx:hover {
  color: #4a90e2;
}
#faq .hx::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4a90e2;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  transition: all 0.3s ease;
}
#faq .faq-list.active .sub-hx::after {
  content: "−";
  background: #ff6b6b;
}
#faq dl {
  display: none;
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

#faq .faq-list.active dl {
  display: block;
}
#faq dt {
  font-weight: bold;
  margin-bottom: 8px;
  position: relative;
  padding-left: 28px;
}
#faq dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  background: #4a90e2;
  color: #fff;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
}
#faq dd {
  padding-left: 28px;
  color: #555;
  line-height: 1.7;
  position: relative;
}
#faq dd::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  background: #ff6b6b;
  color: #fff;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
}

/*=========== main-box ===========*/
.main-box {
  margin-bottom: 15px;
}
.main-box h2 {
  margin-bottom: 25px;
}
.main-box .box .catch {
  padding: 15px 2% 15px;
  line-height: 1.4;
  margin-bottom: 25px;
  background: url(../img/common/bg-memo01.jpg) repeat top left;
  border: 3px solid #6dbb45;
  border-radius: 5px;
  margin-bottom: 25px;
}
.main-box .box ul li {
  background: url(../img/common/icon-check.png) no-repeat top left;
  font-size: 17px;
  padding: 0 0 5px 35px;
  border-bottom: 1px dotted #333333;
  margin-bottom: 12px;
}

/*=========== .first ===========*/
.first img {
  width: 100%;
}
.first #about {
  padding: 0 0 80px;
}
.first #about h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
}
.first #about h2 span {
  display: block;
  font-size: 18px;
}
.first #about .box01 {
  background: url(../img/pages/first-img01.png) no-repeat top right;
  background-size: 50%;
  padding-top: 15px;
  text-shadow: 0 0 8px #fff;
  padding-bottom: 28px;
}
.first #about .box01 .txt {
  width: 50%;
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: bold;
}
.first #about .box02 {
  background: url(../img/pages/first-img02.png) no-repeat top left;
  background-size: 50%;
  padding-top: 15px;
  text-shadow: 0 0 8px #fff;
}
.first #about .box02 .txt {
  width: 50%;
  line-height: 1.8;
  margin-bottom: 25px;
  margin-left: auto;
  font-weight: bold;
}
.first #about .sbox {
  margin-bottom: 25px;
}
.first #about .sbox h3 {
  line-height: 1.4;
  font-size: 17px;
  border-top: 1px solid #c03a6c;
  border-bottom: 1px solid #c03a6c;
  padding: 10px 0;
  font-weight: bold;
  background-color: #ffffff63;
  margin-bottom: 10px;
  text-align: center;
}
.first #about .sbox .text {
  font-weight: bold;
  margin-bottom: 20px;
}
.first #about .sbox .text span {
  display: block;
  color: #ff0000;
}
.first #flow {
  padding: 0 0 80px;
}
.first #flow ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.first #flow ul li {
  width: calc((100% - 40px) / 3);
}
.first #aisatu img {
	width: 100%;
}
.first #aisatu .aisatu-box .box {
  margin-bottom: 20px;
}
.first #aisatu .aisatu-box .box .img {
  width: 25%;
  float: left;
}
.first #aisatu .aisatu-box .box .text-box {
  width: 68%;
  float: right;
}

/*===============================================
    ■画面の横幅が801px以降
===============================================*/
@media screen and (min-width: 801px) {
}

/*===============================================
    ■smart 画面の横幅が800pxまで
===============================================*/
@media screen and (max-width: 800px) {
/*====== スタッフ紹介 ========*/
  #staff {
    padding: 50px 0;
  }
  #staff .staff-box .box .left {
    width: 60%;
    margin: 0 auto 10px;
  }
  #staff .staff-box .box table {
    margin: 0 0 10px;
    width: 100%;
  }
/*=========== main-box ===========*/
  .main-box {
    padding: 50px 0 0;
  }
/*=========== .first ===========*/
  .first #about {
    padding: 0 0 50px;
  }
  .first #about .box01 {
    background-size: 100%;
  }
  .first #about .box01 .txt {
    width: 100%;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: bold;
    padding-top: 120px;
  }
  .first #about .box02 {
    background-size: 100%;
  }
  .first #about .box02 .txt {
    width: 100%;
    padding-top: 120px;
  }
  .first #flow {
    padding: 0 0 50px;
  }
  .first #flow ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .first #flow ul li {
    width: calc((100% - 10px) / 2);
  }
  .first #aisatu .aisatu-box .box .img {
    width: 60%;
    margin: 0 auto 10px;
    float: none;
  }
  .first #aisatu .aisatu-box .box .text-box {
    width: 100%;
  }
}