@charset "utf-8";
header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 99;
  margin: 0;
  height: 100px;
  background-color: rgba(255, 255, 255, 1);
}
header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  height: 100px;
}
.header-logo img {
  vertical-align: middle;
}
.header-logo span {
  color: #333;
  vertical-align: middle;
}
.btn {
  display: flex;
}
.btn-1 a,
.btn-2 a {
  padding: 0.5em 1em;
  margin: 0 10px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50vh;
}
.btn-1 a {
  color: #e95455;
  border: 2px solid #e95455;
}
.btn-2 a {
  color: #fff;
  background: #e95455;
  padding: 9px 17px;
}
.btn-1 a:hover {
  color: #fff;
  background: #e95455;
}
.btn-2 a:hover {
  color: #e95455;
  background: #fff;
  border: 2px solid #e95455;
  padding: 7px 15px;
}
@media screen and (max-width: 1024px) {
  .header-logo img {
    width: 80px;
  }
  .header-logo span {
    font-size: 2.8rem;
  }
}
@media screen and (max-width: 800px) {
  header {
    height: 70px;
  }
  header .inner {
    padding: 3px 0;
    height: 70px;
  }
  .header-logo img {
    width: 50px;
  }
  .header-logo span {
    font-size: 2rem;
  }
  .btn-1 a,
  .btn-2 a {
    width: 90%;
    padding: 0.5em 1em;
    margin: 0 10px;
    font-size: 13px;
  }
}
@media screen and (max-width: 378px) {
  header .inner {
    width: 95%;
    padding: 6px 0;
  }
  .btn-1 a {
    font-size: 11.5px;
  }
  .logo {
    width: 70%;
  }
}
/********************* top-img ****************************/
#top-img {
  background: url("../images/top-img.jpg") no-repeat 0 0;
  background-size: cover;
  height: 100vh;
  margin-top: -100px;
  position: relative;
}
#top-img h2 {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: setofont-sp, sans-serif;
  font-size: 3rem;
  font-weight: 300;
  line-height: 2;
  text-align: left;
}
#top-img h2 span {
  font-size: 6rem;
  font-weight: 600;
}
@media screen and (max-width: 1024px) {
  #top-img h2 {
    left: 50%;
    width: 80%;
    font-size: clamp(1.125rem, 0.5139rem + 3.0556vw, 2.5rem);
  }
  #top-img h2 span {
    font-size: clamp(1.875rem, 0.4861rem + 6.9444vw, 5rem);
  }
}
/*******メニューをページ下部に固定********/
@media screen and (min-width: 640px) {
  #sp-fixed-menu {
    display: none;
  }
}
@media screen and (max-width: 639px) {
  header .btn-1,
  header .btn-2 {
    display: none;
  }
  #sp-fixed-menu {
    position: fixed;
    width: 100%;
    bottom: 0px;
    font-size: 0;
    opacity: 0.9;
    z-index: 99;
  }
  /*メニューを横並びにする*/
  #sp-fixed-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  #sp-fixed-menu li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 50px;
    padding: 0;
    margin: 0;
    font-size: 14px;
    border-right: 1px solid #fff;
    background: #e95455;
  }
  #sp-fixed-menu li:last-child {
    border-right: none;
  }
  #sp-fixed-menu img {
    vertical-align: middle;
    width: 40px;
    margin-right: 10px;
  }
}
@media screen and (max-width: 370px) {
  #sp-fixed-menu li {
    font-size: 12px;
  }
}
/********************* about ****************************/
.description-container {
  display: flex;
  align-items: center;
  margin: 90px 0;
  column-gap: 50px;
  row-gap: 20px;
}
.description-container img {
  width: 40%;
}
#about h2 {
  font-size: clamp(1.8rem, 1.622rem + 0.556vw, 2.2rem);
  margin-bottom: 20px;
}
#about h2 span {
  font-size: clamp(2.6rem, 2.333rem + 0.833vw, 3.2rem);
  color: #e95455;
  background-image: radial-gradient(circle at center, #e95455 20%, transparent 20%); /* 点の色とサイズ調整 */
  background-position: top right; /* 点の位置 */
  background-repeat: repeat-x; /* 横方向に繰り返し */
  background-size: 1em 0.3em; /* 点の間隔とサイズ調整 */
  padding-top: 0.4em; /* 縦方向の位置調整 */
}
#about p {
  padding: 0 40px;
  line-height: 2;
  text-align: left;
}
@media screen and (max-width: 960px) {
  .description-container {
    flex-direction: column-reverse;
    margin: 60px 0;
  }
  .description-container img {
    width: 70%;
  }
  #about p {
    padding: 0;
  }
}
/********************* merit ****************************/
#merit {
  background-color: #faf9f9;
  padding-bottom: 80px;
}
#merit .inner {
  padding-top: 100px;
}
#merit h2::before {
  line-height: 0.4;
}
.three {
  font-size: clamp(4rem, 3.111rem + 2.778vw, 6rem);
  color: #e95455;
}
.point-wrap {
  display: flex;
  flex-direction: column;
  width: 43%;
  margin: 0 auto;
  align-content: center;
  justify-content: center;
  align-items: center;
  row-gap: 20px;
  padding: 0 20px;
}
.point-wrap span:last-child {
  font-size: clamp(4.6rem, 3.978rem + 1.944vw, 6rem);
  margin: 30px 20px 20px 20px;
}
.point-1,
.point-2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 60px auto;
  text-align: left;
}
.point-2 {
  flex-flow: row-reverse;
}
.point-2 .sub-wrap {
  flex-flow: row-reverse;
}
#merit p {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.merit-text {
  line-height: 2;
}
.blur {
  animation-name: blurAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}
.blurTrigger {
  opacity: 0;
}
.sub-wrap {
  display: flex;
  align-items: center;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.sub-text {
  display: block;
  font-size: clamp(1.4rem, 0.822rem + 1.806vw, 2.7rem);
  font-family: setofont-sp, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.sub-text::before {
  content: "";
  display: inline-block;
  width: 3em;
  height: 3em;
  background: url("../images/subtext-before.png") no-repeat;
  background-size: contain;
  margin-right: 0.5em;
  vertical-align: middle;
}
.sub-text::after {
  content: "";
  display: inline-block;
  width: 3em;
  height: 3em;
  background: url("../images/sub-text-after.png") no-repeat;
  background-size: contain;
  margin-left: 0.5em;
  vertical-align: middle;
}
@media screen and (max-width: 960px) {
  #merit {
    padding-bottom: 40px;
  }
  #merit .inner {
    padding-top: 60px;
  }
  .point-wrap {
    margin: 20px auto;
    padding: 0;
    width: 100%;
  }
  .point-1,
  .point-2 {
    flex-wrap: wrap;
    margin: 40px auto;
  }
}
@media screen and (max-width: 736px) {
  #merit .inner {
    padding: 40px 0 80px;
  }
  #merit h2 {
    padding: 0 0 20px;
  }
  .point-1,
  .point-2 {
    margin: 10px auto;
  }
  .sub-text {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 480px) {
  #merit .inner {
    padding-bottom: 0;
  }
  .sub-text {
    margin-bottom: 10px;
  }
  .sub-text::before {
    width: 3rem;
    height: 3rem;
  }
  .sub-text::after {
    width: 3rem;
    height: 3rem;
  }
  .point-wrap span:first-child {
    font-size: 1.6rem;
    margin: 0 20px;
  }
  .point-wrap span:last-child {
    margin: 20px 20px 0;
  }
}
/********************* fukidashi ****************************/
.balloon1,
.balloon2 {
  position: relative;
  width: 200px;
  height: 110px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0;
  background-color: #ffe478;
  display: flex;
  justify-content: center;
  align-items: center;
}
.balloon1::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(-130deg);
  left: 10px;
  bottom: -5px;
  border-left: 14px solid #ffe478;
  border-bottom: 24px solid #ffe478;
  border-right: 32px solid transparent;
  border-top: 23px solid transparent;
}
.balloon1::after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(-65deg);
  left: 0;
  bottom: -17px;
  border-left: 20px solid #faf9f9;
  border-bottom: 20px solid #faf9f9;
  border-right: 20px solid transparent;
  border-top: 20px solid transparent;
}
.balloon2::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(20deg);
  right: 10px;
  bottom: 0px;
  border-left: 20px solid #ffe478;
  border-bottom: 20px solid #ffe478;
  border-right: 20px solid transparent;
  border-top: 20px solid transparent;
}
.balloon2::after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(40deg);
  right: -12px;
  bottom: -4px;
  border-right: 20px solid #faf9f9;
  border-bottom: 20px solid #faf9f9;
  border-left: 20px solid transparent;
  border-top: 20px solid transparent;
}
/* @media screen and (max-width: 480px) {
  .balloon1,
  .balloon2 {
    width: 110px;
    height: 110px;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 26px 0;
  }
  .balloon1::before {
    left: 0px;
    bottom: 0px;
    border-left: 15px solid #ffe478;
    border-bottom: 15px solid #ffe478;
    border-right: 15px solid transparent;
    border-top: 15px solid transparent;
  }
  .balloon1::after {
    left: -13px;
    bottom: -4px;
    border-left: 15px solid #faf9f9;
    border-bottom: 15px solid #faf9f9;
    border-right: 15px solid transparent;
    border-top: 15px solid transparent;
  }
  .balloon2::before {
    right: 4px;
    bottom: 0px;
    border-left: 15px solid #ffe478;
    border-bottom: 15px solid #ffe478;
    border-right: 15px solid transparent;
    border-top: 15px solid transparent;
  }
  .balloon2::after {
    right: -12px;
    bottom: -2px;
    border-right: 15px solid #faf9f9;
    border-bottom: 15px solid #faf9f9;
    border-left: 15px solid transparent;
    border-top: 15px solid transparent;
  }
} */
/*********************   item  ****************************/
.item {
  padding: 80px 0 120px;
}
.item-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  text-align: left;
}
.item-name {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
}
.item-detail {
  display: flex;
  margin-top: 16px;
  border-bottom: #999 solid 1px;
}
.item dt {
  font-weight: 600;
  white-space: nowrap;
}
.item dd {
  margin-bottom: 16px;
  margin-left: 30px;
}
.item dl {
  margin: 0 6%;
  padding: 30px 0;
}
.sample-text a {
  display: block;
  text-align: center;
  color: #e95455;
  font-weight: 600;
  margin-top: 20px;
}
@media screen and (max-width: 960px) {
  .item {
    padding: 60px 0;
  }
}
@media screen and (max-width: 480px) {
  .item dl {
    margin: 0;
  }
}
/********************* contact ****************************/
.contact {
  padding: 80px 0 120px;
  background: url("../images/cv-img.jpg") no-repeat center center;
  background-size: cover;
  color: #fff;
}
.contact h3 {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 30px;
  z-index: 2;
}
.contact ul {
  display: grid;
  grid-template-rows: 120px 100px;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0 20%;
}
.contact ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 100%;
  border-radius: 10px;
  font-size: 2.2rem;
  font-weight: 600;
  background: #e95455;
  background-position: 1% 50%;
  background-size: 200% auto;
  /*アニメーションの指定*/
  transition: all 0.3s ease-out;
}
.contact ul li a:hover {
  background-position: 99% 50%;
}
.contact_1 {
  grid-column: 1/2;
  grid-row: 1/2;
}
.contact_2 {
  grid-column: 2/3;
  grid-row: 1/2;
}
.contact_3 {
  grid-column: 1/3;
  grid-row: 2/3;
  flex-wrap: wrap;
}
.contact_3 a {
  flex-direction: row !important;
  padding: 20px 10px !important;
}
.contact img {
  margin: 0 5px 5px;
}
.contact_3 strong {
  font-size: 2.6rem;
  letter-spacing: 0.3rem;
}
.tel-wrap {
  display: flex;
  flex-direction: column;
}
.contact span {
  font-size: 1.2rem;
  font-weight: 400;
}
@media screen and (max-width: 960px) {
  .contact_1 strong,
  .contact_2 strong {
    font-size: clamp(1.25rem, 0.9722rem + 1.3889vw, 1.875rem);
  }
  .contact ul {
    margin: 0 10%;
  }
}
@media screen and (max-width: 736px) {
  .contact ul li span {
    font-size: 1.2rem;
  }
  strong {
    font-size: 2rem;
  }
  .contact h3 {
    font-size: 2.4rem;
  }
}
@media screen and (max-width: 640px) {
  .contact_3 strong {
    font-size: clamp(1.5rem, 1.0556rem + 2.2222vw, 2.5rem);
  }
  .contact ul li span {
    font-size: 1rem;
  }
  .contact p {
    font-size: 2rem;
  }
  .contact ul {
    gap: 0 10px;
  }
  .contact ul li img {
    width: 36px;
    margin-bottom: 0;
  }
  .contact_3 {
    height: 80px;
  }
}
@media screen and (max-width: 480px) {
  .contact {
    padding: 40px 0 60px;
  }
  .contact ul {
    margin: 0;
  }

  .contact h3 {
    font-size: 2.2rem;
  }
}
/********************* flow ****************************/
#flow {
  padding: 100px 0 40px;
}
#flow h2 {
  position: relative;
}
.bubble,
.bubble-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 180px;
  background: #ffe478;
  padding: 30px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
.bubble::after {
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border-color: rgba(0, 153, 255, 0);
  border-top-width: 19px;
  border-bottom-width: 19px;
  border-left-width: 23px;
  border-right-width: 23px;
  margin-left: -23px;
  border-top-color: #ffe478;
  top: 100%;
  left: 50%;
}
.bubble::after:last-child {
  display: none;
}
#flow ol {
  margin-top: 60px;
}
#flow ol li {
  display: flex;
  align-items: center;
  margin: 0 0 60px;
}
#flow dl {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  margin-left: 50px;
  text-align: left;
  font-size: 2.2rem;
  font-weight: bold;
  width: 70%;
}
#flow dd {
  font-size: 1.6rem;
  font-weight: normal;
  margin-top: 20px;
  line-height: 2;
}
@media screen and (max-width: 960px) {
  #flow dt {
    font-size: clamp(1.25rem, 0.9722rem + 1.3889vw, 1.875rem);
  }
  #flow dd {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 640px) {
  #flow {
    padding: 60px 0 40px;
  }
  #flow ol {
    margin-top: 0;
  }
  #flow ol li {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }
  #flow dl {
    margin: 40px 0 20px;
    width: 90%;
  }
}
/********************* faq ****************************/
#faq {
  padding: 50px 0 100px;
}
.acd-check {
  /*check boxの非表示*/
  display: none;
}
.acd-label {
  display: block;
  font-size: 1.6rem;
  text-align: left;
  border-bottom: 1px solid #000;
  position: relative;
  margin: 0 23px;
  padding: 10px 40px 10px 35px;
}
.acd-label::before {
  content: "Q.";
  color: #e95455;
  font-size: 2.4rem;
  margin-right: 10px;
}
.label-wrap {
  margin-top: 60px;
}
.acd-content span {
  font-size: 2.4rem;
  margin-right: 10px;
}
.hp-link {
  color: #e95455;
  border-bottom: solid 1px #e95455;
}
.acd-content p {
  width: 90%;
}
.acd-label:after {
  /*check boxのスタイル*/
  content: "";
  display: block;
  position: absolute;
  right: 3%;
  top: 20px;
  background-color: #e95455;
  width: 20px;
  height: 14px;
  clip-path: polygon(0 0, 100% 0%, 50% 100%); /*左上の点,左下の点,右の頂点*/
}
.acd-content {
  /*チェックが入っていない状態*/
  display: flex;
  border-bottom: 1px solid #333;
  text-align: left;
  height: 0;
  opacity: 0;
  transition: 0.5s;
  visibility: hidden;
  margin: 0 23px;
  padding: 20px 30px 20px 35px;
}
.acd-check:checked + .acd-label:after {
  content: "";
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%); /*左上の点,左下の点,右の頂点*/
}
.acd-check:checked + .acd-label + .acd-content {
  /*チェックが入った状態*/
  height: auto;
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 960px) {
  #faq {
    padding: 50px 0 100px;
  }
}
@media screen and (max-width: 700px) {
  #faq .inner {
    width: 92%;
  }
  .acd-label {
    text-indent: -35px;
  }
}
@media screen and (max-width: 560px) {
  .acd-label {
    text-indent: -35px;
    font-size: 1.4rem;
  }
  .acd-content {
    padding: 20px 0;
    font-size: 1.4rem;
  }
  .label-wrap {
    margin-top: 0;
  }
}
@media screen and (max-width: 640px) {
  #faq {
    padding: 0 0 40px;
  }
  .acd-label,
  .acd-content {
    margin: 0;
  }
}
/********************* access ****************************/
#access {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 30%; /* 比率を4:3に固定 */
}
#access iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
@media screen and (max-width: 960px) {
  #access {
    height: 400px;
  }
}
/********************* footer ****************************/
footer {
  background: #f8f4f2;
  color: #333;
  padding: 60px 0 0;
}
footer p {
  margin: 6px;
  line-height: 1.7;
}
footer p:last-child {
  font-size: 1.4rem;
  margin-top: 0;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  vertical-align: middle;
}
.footer-logo-name {
  font-size: 2.6rem;
  vertical-align: middle;
  color: #333;
}
.top-page_link {
  text-align: right;
  margin-right: 5%;
}
@media screen and (max-width: 640px) {
  .top-page_link img {
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 520px) {
  footer p {
    font-size: 1.6rem;
  }
  .footer-logo-name {
    font-size: 2rem;
  }
  .top-page_link img {
    width: 30px;
  }
}
@media screen and (max-width: 480px) {
  .footer-slash {
    display: none;
  }
}
@media screen and (max-width: 390px) {
  footer {
    padding-top: 50px;
  }
  .footer-logo {
    width: 100px;
    margin: 0 auto 30px;
  }
  footer p {
    font-size: 1.3rem;
  }
  .footer-logo-name {
    font-size: 1.8rem;
  }
}
