@charset "UTF-8";

/*reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: bottom;
    font-family:"ヒラギノ角ゴ Pro W1", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-text-size-adjust: 100%;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

body{
    margin: 0;
}
/*reset*/


/*共通*/
p {
    line-height: 1.6;
    word-wrap: break-word;
    font-family: 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', sans-serif , 'ヒラギノ角ゴ Pro W3';
}
.contents{
    margin: 0 auto;
    padding: 0;
    color: #333;
    background: #fff;
}
.contents-box{
	max-width: 750px;
	margin: 0 auto;
	box-sizing:border-box;
}

a:link, a:visited, a:hover, a:active {
    color: #fff;
    text-decoration: none;
}
a:hover {
    opacity: 0.7;
}

.pc_ds{
    display: none;
}
.sp_ds{
    display: block;
}
/*▼PC版できるまでの一時的▼*/
.pc_ds2{
    display: block;
}
.sp_ds2{
    display: none;
}
@media (max-width: 767px) { 
.pc_ds2{
    display: none;
}
.sp_ds2{
    display: block;
}
}
/*▲PC版できるまでの一時的▲*/

img{
    max-width: 100%;
    height: 100%;
}

/*テキスト*/
.tyuu{
    font-size: 12px;
    text-align: right;
    margin: 0 10px 0 0;
}
.ta_r{
    text-align: right;
    width: 100%;
}

/*----------sp------------*/
@media (max-width: 767px) { 
/*共通*/
.contents{
    width: 100%;
}
.sp_ds{
    display: block;
}
.pc_ds{
    display: none;
}
.contents_wrapper {
    width: 100%;
}

/*テキスト*/
.tyuu{
    font-size: 10px;
}
}

/*　ページ内　*/
#fv h1 ,#fv h2{
    margin: 0 auto;
padding: 0;
}
.mv{
    
}

/*cta*/
.cta_area{
    position: relative;
    margin: 8% 3%;
}
.cta_bta_area{
    width: 96%;
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.tel_btn{
    margin-bottom: 10px;
}
.web_btn{
    
}

/* 光 */
.shine{
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.shine::before{
    content: '';
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shine 3s ease-in-out infinite;
    position: absolute;
    top: -180px;
    left: 0;
    opacity: 0;
    transform: rotate(45deg);
}

/* 光の動き */
@keyframes shine{
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/*service*/
.service_area{
    background-color: #fffed7;
}
/*タブ切り替えの記述*/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin:20px 0;
  padding: 0 3%;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 3px;
  background: #0095b2;
  display: block;
  order: -1;
}
.tab-label {
  color: White;
  background: LightGray;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
  font-size: 20px;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.tab-switch:checked+.tab-label {
  background: #0095b2;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 20px;
  opacity: 1;
  transition: .5s opacity;
  background-color: #fff;
display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}
.tab-switch {
  display: none;
}
.tab-content p{
    font-weight: bold;
    font-size: 20px;
    width: calc(100% / 3);
}

.tab-content-strong p {
    font-weight: bold;
    font-size: 35px; /* 少し大きめ */
    width: 100%;
    color: #ff3b30; /* 赤字 */
}



@media screen and (max-width: 699px){
  .tab-label {
      padding: 10px .5em;
      width: calc(100% / 4);
      font-size: 18px;
  }

  .tab-switch:checked+.tab-label+.tab-content {
  }

  /* ★SPも3列表示にする */
  .tab-content p {
      width: calc(100% / 3);
      font-size: 11px;
  }

  /* 「など」だけは1行全部使って右寄せ */
  .tab-content p.ta_r {
      width: 100%;
      text-align: right;
  }

  /* 赤太字の一文も1行全部使う */
  .tab-content-strong p {
      width: 100%;
      font-size: 17px;
      font-weight: 600;
  }
}

/*タブ切り替えの記述ここまで*/


/*plan*/
.plan_area{
background-image: url(../img/plan_bk.jpg);
background-repeat:repeat;
background-size:cover;
display: grid;
padding: 2% 0 16%;
}
.plan_tit{
        text-align: center;
    margin: 7% auto 5%;
    padding: 3%;
}
.plan_box{
padding: 3% 3% 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
img.plan01_sail{
    margin-left: -14px;
    max-width: 104%;
}
.plan_box .plan_img{
    width: calc(98% / 2);
    margin-bottom: 5px;
}
.plan_img2{
    padding: 0 3%;
    margin-bottom: 15px;
}
.plan_contents{
    margin: 5% auto 0;
    padding: 3%;
}

@media (max-width: 767px) { 
.plan_box .plan_img{
    width: calc(98% / 2);
    margin-bottom: 5px;
}
img.plan01_sail{
    margin-left: -7px;
    max-width: 104%;
}
}

/*価格、カード*/
.card_contents{
    margin: 5% auto 10%;
    text-align: center;
    padding: 0 3%;
}
.card_contents div{
    margin: 0 auto 5%;
}

/*理由*/
.reason_area{
    margin: 5% auto 10%;
    text-align: center;
    padding: 0 3%;
}
.reason_area .reason_txt01{
    margin: 5% auto 5%;
}
.reason_area .reason_txt02 , .reason_area .reason_txt03 , .reason_area .reason_txt04{
    margin: 0 auto 5%;
}

/*施工実績*/
.achievements{
    margin: 5% auto 15%;
    text-align: center;
    padding: 0 3%;
}
.achievements_img{
    margin: 2% 0;
}
/*アコーディオン*/
/* 全体 */
/* チェックボックスを非表示 */
.toggle-achievements {
  display: none;
}

/* 開閉ボタン */
.achievements_btn {
  display: inline-block;
    width: 530px;
    height: 100px;
    background: url(../img/achievements_btn.png) no-repeat center / contain;
    cursor: pointer;
    margin: 20px auto 0;
    transition: background-image 0.3s ease;
    max-width: 80%;
    max-height: 100px;
}

/* チェック時にボタン画像を変更 */
.toggle-achievements:checked ~ .achievements_btn {
  background-image: url("../img/achievements_btn02.png");
}

/* 折りたたみ部（非表示時） */
.achievements_box.more {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease;
}

/* 開いたときの状態 */
.toggle-achievements:checked ~ .achievements_box.more {
  max-height: 100%; /* 必要に応じて調整 */
  opacity: 1;
}

/*表*/
.graph_area{
    background-color: #e1f3f6;
    padding: 10% 3% 10%;
    display: grid;
}
.graph_tit{
    text-align: center;
    margin: 0 auto 5%;
}
.graph_area p.sk{
    text-align: center;
    margin: 2% 3%;
}
@media (max-width: 767px) { 
.graph_area{
    padding: 15% 3% 10%;
}
    .graph_img{
        overflow-x: scroll;
        white-space: nowrap;
        overflow-y: hidden;
    }
    .graph_img img{
        width: 560px;
        max-width: 700px;
    }
.graph_img::-webkit-scrollbar {
height: 5px;
}
.graph_img::-webkit-scrollbar-thumb {
background: #b4b4b4;
border-radius: 5px;
}
.graph_img::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 5px;
}
}

/*フォーム*/
.form_tbl table {
    width: 92%;
    margin: 0 auto;
}
.form_tit{
    margin-bottom: 5%;
}
.form_tbl tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 5%;
}
.form_tbl td p{
    font-size: 14px;
    color: #8b8b8b;
}
.form_tbl th {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.form_tbl th label {
    color: #2abfd1;
    font-weight: bold;
    font-size: 20px;
}
span.must {
    background-color: #ff7600;
    color: #fff;
    padding: 3px 8px;
    line-height: 1;
    font-weight: bold;
    font-size: 15px;
    margin-left: 15px;
}
.form_tbl td {
width: 100%;
}
.form_tbl td input , .form_tbl td select{
    border: 1px solid #b5b5b5;
    width: 96%;
    padding: 15px 5px;
}
.form_tbl td textarea{
    border: 1px solid #b5b5b5;
    width: 96%;
    padding: 5px;
}
p.submitbtn {
    text-align: center;
}
input.chbtn {
    width: 90%;
}

/*確認画面*/
.contact .form_tbl th {
    color: #2abfd1;
    font-weight: bold;
    font-size: 20px;
}
.contact .form_tbl p.submitbtn {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin-top: 10%;
}
.contact .form_tbl .submitbtn input {
    width: calc(96% / 2);
}
@media (max-width: 767px) { 
.contact .form_tbl p.submitbtn {
    flex-direction: column;
}
.contact .form_tbl .submitbtn input {
    width: 96%;
    margin-bottom: 3%;
} 
}
/*完了画面*/
.contact.finish {
    text-align: center;
}
.backbtn a:link, .backbtn a:visited, .backbtn a:hover, .backbtn a:active{
    color: #000;
}

footer {
    background-color: #2abfd1;
    text-align: center;
    color: #fff;
    font-weight: bold;
    margin-top: 15%;
    padding: 10% 3%;
}
.lin {
    background-color: #00a9c1;
    padding: 1%;
}

/*タイトル*/
.contents h1{
    text-align: center;
    margin: 10% auto;
    font-size: 30px;
    font-weight: bold;
    color: #2abfd1;
}

/*プライバシーポリシー*/
.contents.privacy .contents-box{
    max-width: 900px;
}
.contents.privacy p{
    line-height: 1.7;
    padding: 2%;
}
.contents.privacy p span{
    font-weight: bold;
}

/*追従*/
.fr_cta_area {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index:9999;
    background-color: #ffffffb5;
    padding: 10px 0;
    transition: opacity 0.3s ease;
  opacity: 0; /* 最初は透明 */
}
.fr_cta_area p{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.fr_cta_bta_area{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    padding: 5px 0 10px;
}
.fr_tel_btn , .fr_web_btn{
    width: calc(96% / 2);
}