@charset "UTF-8";
/* CSS Document */

/**********************************************************
* ファーストビュー
**********************************************************/
.fv{
  position: relative; z-index: 5;
  display: flex; justify-content: center; align-items: center;
  width: 100%; height: 100vh;
  overflow: hidden;
}
.fv__img{
  position: relative;
  width: 100%; height: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.5)), url(../img/fv_img.png) center / cover no-repeat;
}
.fv__logo {
	position: absolute; inset: 0 auto auto 0;
	display: flex; justify-content: center; align-items: center;
	width: 100%; height: 100vh;
	will-change: transform;
}
.fv__logo img{
  width: clamp(300px,62vw,480px);
}
.fv__logo.black.is-flow {
	position: relative; inset: 0 auto auto 0;
	opacity: 0; visibility: hidden;
}
.fv__logo.black.is-visible {
	opacity: 1 !important; visibility: visible !important;
}
.fv__logo.black.is-hidden {
	opacity: 0; visibility: hidden;
}
/**********************************************************
* イントロ
**********************************************************/
.message{
  position: relative;
  text-align: center;
}
.message::after{
  content: url(../img/paper_ornaments_w.svg);
  position: absolute;
  inset: auto 0 0;
  display: block;
  width: 100%;
  line-height: 0.75;
}
.message__logoArea {
	display: flex; justify-content: center; align-items: center;
	height: 40rem;
}
.message__lead{
  width: min(100% - 6rem,500px);
	padding: 0 0 var(--clamp-20-10rem);
	margin: -3rem auto 0;
}
.message h2{
  font-size: 3.6rem; line-height: 1.4;
  margin-bottom: 4rem;
  word-break: keep-all;
}
.message p{
  font-size: 1.6rem; line-height: 2;
	margin-bottom: 2rem;
}
.message p:last-child{
  margin-bottom: 0;
}
@media (width < 768px) {
  .message__logoArea {
    height: 28rem;
  }
  .message__lead p{
    text-align: justify;
  }
}
/**********************************************************
* 共通タイトル
**********************************************************/
.contents__title{
  display: flex;
  flex-direction: column;
  gap: clamp(2rem,4.7vw,3.6rem);
  width: var(--contents-width);
  margin: 0 auto clamp(3rem,12vw,9rem);
}
.contents__title h3{
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0.15em;
}
.contents__title p{
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1;
}
.contents__lead{
  letter-spacing: 0.1em;
  width: var(--contents-width);
  margin: 0 auto 5rem;
}
/**********************************************************
* 太陽堂のサービス
**********************************************************/
.service{
  position: relative;
  background-color: #fff;
  padding: var(--clamp-10-7rem) 0;
}
.service__list{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: clamp(3rem,10.4vw,8rem);
  width: var(--contents-width);
  margin: 0 auto;
}
.service__items figure{
  overflow: clip;
  border-radius: 2rem;
  margin-bottom: 2.8rem;
}
.service__items h4{
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: clamp(1.6rem,2.86vw,2.2rem);
  span{
    font-size: 2rem;
    color: rgb(200, 0, 0);
    margin-left: 10px;
  }
}
/**********************************************************
* 店舗情報
**********************************************************/
.access{
  position: relative;
  z-index: 2;
  padding: var(--clamp-10-7rem) 0;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  width: var(--contents-width);
  margin: 0 auto;
}
.tab_label {
  position: relative;
  z-index: 1;
  color: #999999;
  font-size: 2.2rem;
  text-align: center;
  background-color: #dddddd;
  cursor: pointer;
  flex: 1;
  padding: 2rem 0;
}
input[name="tab_switch"] {
  display: none;
}
.tabs input:checked + .tab_label {
  color: var(--black);
  background-color: #ffffff;
}
#tab01:checked ~ #tab01_content,
#tab02:checked ~ #tab02_content {
  display: block;
}
.tab_content {
  position: relative;
  display: none;
  background-color: #ffffff;
  flex: 100%;
  overflow: hidden;
  padding: clamp(2rem,5.5556vw,5rem) 0 0;
}
.tab_content iframe{
  width: 100%;
  aspect-ratio: 2.25;
}
.access__title{
  display: block;
  width: calc(100% - clamp(4rem,11.111vw,10rem));
  font-size: 2.4rem;
  line-height: 1;
  margin: 0 auto clamp(2rem,5.5556vw,5rem);
}
.access__info{
  display: block;
  width: calc(100% - clamp(4rem,11.111vw,10rem));
  margin: 0 auto clamp(2rem,5.5556vw,5rem);
}
.access__info__detail{
  position: relative;
  display: flex;
  line-height: 1.5;
  border-bottom: solid 1px var(--black);
  padding-bottom: 2.4rem;
  margin-bottom: 3rem;
}
.access__info__detail::after{
  content: "";
  display: block;
  position: absolute;
  inset: auto auto -2px 0;
  width: 20%;
  height: 3px;
  background-color: var(--main-color);
}
.access__info__detail:last-child{
  margin-bottom: 0;
}
.access__info__detail dt{
  width: 20%;
}
.access__info__detail dd{
  width: 80%;
  text-align: left;
  word-break: keep-all;
}
@media (width < 460px) {
  .access__info__detail{
    flex-direction: column;
  }
  .access__info__detail dt{
    width: 100%;
    margin-bottom: 1rem;
  }
  .access__info__detail dd{
    width: 100%;
  }
}
@media (width < 768px) {
  .tab_content iframe{
    aspect-ratio: 1.5;
  }
}
/**********************************************************
* お困りごとは？
**********************************************************/
.symptoms{
  background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(../img/symptoms_back.png) no-repeat center/cover;
  padding: var(--clamp-10-7rem) 0;
}
.symptoms .contents__title,
.symptoms .contents__lead{
  color: #ffffff;
}
/*アコーディオン*/
.symptoms__list{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 1.5rem;
  width: var(--contents-width);
  margin: 0 auto;
}
.symptoms__items {
  position: relative;
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
  border-radius: 9999px;
  background-color: #ffffff;
  padding: 1.8rem;
}
.symptoms__items h4::before,
.symptoms__items h4::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  width: 14px;
  height: 1px;
  background-color: var(--black);
  transition: all 0.4s;
}
.symptoms__items h4::after {
  transform: rotate(90deg);
}
.symptoms__items h4.close::before {
  transform: rotate(45deg);
}
.symptoms__items h4.close::after {
  transform: rotate(135deg);
}
.symptoms__items ul {
  display: none;
  background-color: #ffffff;
  padding: 2.4rem 1.8rem;
}
.symptoms__items ul li {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.symptoms__items ul li::before {
  content: "●";
  display: inline-block;
  color: var(--main-color);
  transform: scale(0.8);
  margin-right: 3px;
}
.symptoms__items ul li:last-child {
  margin-bottom: 0;
}
/**********************************************************
* 太陽堂の考え方
**********************************************************/
.policy{
  position: relative;
  background-color: #fff;
  padding: var(--clamp-20-10rem) 0;
}
.policy::after{
  content: url(../img/paper_ornaments_m.svg);
  position: absolute;
  inset: auto 0 0;
  display: block;
  width: 100%;
  line-height: 0.75;
}
.policy::before{
  position: absolute;
  inset: 0 0 auto;
  content: "";
  display: block;
  width: 100%;
  height: clamp(6rem,12vw,9rem);
  background-image: url(../img/taiyodo_ornaments_back.svg);
  border-bottom: solid 3px var(--main-color);
}
.policy_contents {
  width: var(--contents-width);
  margin: 0 auto;
  ul{
    display: flex;
    flex-direction: column;
  }
  li {
    display: flex;
    flex-direction: row;
    gap: clamp(1.5rem,6.51vw,5rem);
    border-bottom: solid 1px var(--main-color);
    padding-bottom: clamp(5rem,9.11vw,7rem);
    margin-bottom: clamp(5rem,9.11vw,7rem);
    img{
      width: 27rem;
    }
  }
  li:nth-child(2n+1){
    flex-direction: row-reverse;
  }
  li:last-child{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .contents_text{
    width: min(100%,40rem);
    h4{
      font-size: 2.2rem;
      line-height: 1;
      margin-bottom: 2.2rem;
    }
    p{
      letter-spacing: 0.025em;
    }
  }
}
@media (width < 1060px) {
  .policy_contents {
    ul{
      align-items: center;
    }
    li {
      flex-direction: column;
      align-items: center;


    }
    li:nth-child(2n+1){
      flex-direction: column;
    }
    li:last-child{
      border-bottom: none;
      padding-bottom: 0;
      margin-bottom: 0;
    }
    .contents_text{

      h4{
        font-size: 2.2rem;
        line-height: 1;
        margin-bottom: 2.2rem;
      }
    }
  }
}