@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

/* ホーム ここから */

body {
    background-color: #fff;
    color: #333;
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgb(255, 255, 255, .5);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100px;
    transition: 1s ease;
}

@media screen and (max-width:640px) {
    header {
        height: auto;
    }
}

header.hidden {
    transform: translateY(-200px);
    /* ヘッダの高さだけ上に移動 */
}

/* ハンバーガーメニュー ここから */
.c-hamburger {
    position: relative;
    width: inherit;
    height: inherit;
    margin: 0;
}

.c-hamburger span {
    display: block;
    position: relative;
    left: 40%;
    width: 45px;
    height: 2px;
    transform: translateX(-50%);
    background-color: #333;
    transition: all 1s;
}

.c-hamburger span:nth-of-type(1) {
    top: -4px;
}

.c-hamburger span:nth-of-type(2) {
    top: 1px;
}

.c-hamburger span:nth-of-type(3) {
    top: 6px;
}

.c-hamburger .c-hamburger_text {
    display: block;
    top: 12px;
    background: transparent;
    color: #333;
    font-size: 14px;
    line-height: 1;
}

.c-hamburger.is-active span:nth-of-type(1) {
    top: 0;
    transform: translateX(-50%) rotate(200deg);
}

.c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}

.c-hamburger.is-active span:nth-of-type(3) {
    top: -4px;
    transform: translateX(-50%) rotate(-200deg);
}

.p-header_nav {
    display: flex;
    z-index: 10;
    position: absolute;
    top: 0;
    right: -100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    background: transparent;
    font-weight: bold;
    opacity: 0;
    transition: .6s;
    padding-top: 100px;
    padding-bottom: 40px;
}

@media screen and (max-width:640px) {
    .p-header_nav {
        width: 100%;
        padding-top: 90px;
        padding-bottom: 20px
    }
}

.p-header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    padding: 13px 20px;
}

.p-header_hamburger {
    z-index: 100;
    position: absolute;
    top: 0;
    right: 0;
    width: 95px;
    height: 100%;
}

.p-header_nav.is-active {
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgb(76, 68, 77, .2);
    opacity: 1;
    transition: 1s;
}

.p-nav_list {
    display: block;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
}

.p-nav_item {
    position: relative;
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
}

.p-nav_link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
}

/* ハンバーガーメニュー ここまで */


.main_area {
    max-width: 1440px;
    margin: 0 auto;
}

.first_view {
    width: 100%;
    background-color: rgb(255, 255, 255, .4);
    padding: 80px;
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*要素の中心を基準に配置*/
}

.index_catch_copy1 {
    font-size: 40px;
    text-align: center;
}

.index_catch_copy2 {
    font-size: 30px;
    padding-top: 30px;
    text-align: center;
}

.index_sub_copy {
    font-family: "Noto Sans JP", sans-serif;
    padding: 50px 0;
    text-align: center;
}

/* ファーストビュースライドショー ※途中※ */

.img-frame {
    width: 100%;
    height: 800px;
    overflow: hidden;
    margin: 0 auto;
}

.img-01,
.img-02,
.img-03,
.img-04,
.img-05,
.img-06 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    background-size: cover;
    background-repeat: no-repeat;

    animation: slide-animation 24s infinite;
}

.img-01 {
    background-image: url(../images/01index/firstview1.jpg);
}

.img-02 {
    background-image: url(../images/01index/firstview2.jpg);
    animation-delay: -4s;
}

.img-03 {
    background-image: url(../images/01index/firstview3.jpg);
    animation-delay: -8s;
}

.img-04 {
    background-image: url(../images/01index/firstview4.jpg);
    animation-delay: -12s;
}

.img-05 {
    background-image: url(../images/01index/firstview5.jpg);
    animation-delay: -16s;
}
.img-06 {
    background-image: url(../images/01index/firstview6.jpg);
    animation-delay: -20s;
}

/* フェード＋ズームアニメーション */
@keyframes slide-animation {
  /* 0〜16.667%（約4秒）はフル表示 */
  0%, 16.667% {
    opacity: 1;
    transform: scale(1.0);
  }
  /* 16.667〜26.667%（約3秒）かけてフェードアウト＆ズーム */
  26.667% {
    opacity: 0;
    transform: scale(1.01);
  }
  /* それ以降は隠したまま */
  100% {
    opacity: 0;
    transform: scale(1.01);
  }
}

/* ファーストビュースライドショー */


/* 共通見出し */
.sub_heading_line {
    text-align: center;
}

.sub_heading {
    display: inline-block;
    font-size: 20px;
    border-top: 1px #333 solid;
    border-bottom: 1px #333 solid;
    padding: 20px 80px;
    margin-bottom: 100px;
}

/* 共通リンクボタン */
.link_button {
    text-align: center;
    margin-bottom: 150px;
}

.services_digest a,
.construction_work a,
.about_us a {
    display: inline-block;
    border: 1px solid #333;
    padding: 30px 100px;
    transition: .3s;
}

.services_digest a:hover,
.construction_work a:hover,
.about_us a:hover {
    font-weight: bold;
    background-color: rgb(76, 68, 77, .2);
}


/* サービス紹介 */
.services_digest {
    padding-top: 150px;
}

.container01 {
    background-image: url(../images/01index/service.jpg);
    background-repeat: no-repeat;
    width: 100%;
    /* min-width: 350px; */
    /* object-fit: cover; */
    background-size: cover;
    display: block;
    margin: 0 auto;
    margin-bottom: 100px;

}

.service1-3 {
    font-size: 20px;
    writing-mode: vertical-rl;
    margin: 0 auto;
}

.service1-3 h3 {
    font-weight: bold;
    padding: 50px 0;
}

.service1-3 p {
    line-height: 1.8;
    padding: 50px 30px 50px 100px;
}
.service1-3 p:last-child {
	padding-left: 0;
}


/* 施工事例 */
.mc {
    width: 500px;
    height: 500px;
    object-fit: contain;
    /* display: block; */
}

/* 本文ホバーで表示 */


.modelcases {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 100px;
}

@media screen and (max-width:1260px) {
    .modelcases {
        display: block;
    }
}

.modelcase {
    text-align: center;
    position: relative;
    display: block;
}
@media screen and (max-width:1260px) {
    .overlay {
        padding-bottom: 100px;
    }
}

.modelcases p {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
    margin: auto;
}

.model {
    font-weight: bold;
    padding: 50px;
}

.modelcase .caption {
    position: absolute;
    left: 50%;
    bottom: -5%;
    /* 画像下からのマージン */
    transform: translateX(-50%);
    /* left:50% と併用すると、キャプション幅に関係なく中央揃えに。 */
    background-color: rgb(51, 51, 51, .8);
    color: #fff;
    padding: 20px 30px;
    white-space: nowrap;
    /* テキスト折り返し防止 */
    text-align: center;
}

.caption:hover {
    opacity: 1;
    color: #000;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .5s;
}


.img-hover-text {
    position: relative;
    display: inline-block;
    /* インラインで並べたいとき */
    overflow: hidden;
    /* はみ出しを隠す */
}

/* オーバーレイ＋テキスト初期状態：非表示 */
.img-hover-text .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: inline-block;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay {
    padding: 50px;
}

/* ホバーで表示 */
.img-hover-text:hover .overlay {
    opacity: 1;
    color: #fff;
    background-color: rgb(51, 51, 51, .6);
    transition: .5s;
}


/* お客様の声 */
.costmers_voice{
    /* background-color: #FFFFF0; */
    background-image: url(../images/01index/costmers_voice_bg.jpg);
    padding: 80px 0;
    margin-bottom: 120px;
}

.costmers_voice h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 20px;
    text-align: center;
    letter-spacing: .1em;
}

.costmers_voice p {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.7;
    padding-bottom: 40px;
    text-align: center;
}

.contact {
    background-image: url(../images/01index/contact_bg.jpg);
    padding: 100px;
}

.contact p {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 30px;
}

/* CTAボタン(アニメーション/ホバーで停止) */
.cta {
    text-align: center;
    animation: CTAanimation 3s ease-out infinite;
    opacity: 1;
}

@keyframes CTAanimation {

    0%,
    40%,
    60%,
    80% {
        transform: scale(1.0);
    }

    50%,
    70% {
        transform: scale(0.95);
    }
}

.cta:hover {
    animation: none;
}

/* topButton固定 */
.topButton {
    position: fixed;
    right: 40px;
    bottom: 30px;
    z-index: 999;
    display: none;
    /*デフォルトで非表示にする*/
}

@media screen and (max-width:640px) {
    .topButton img {
        display: none;
    }
}

/* フッターエリア */
footer {
    background-color: rgb(76, 68, 77, .2);
    text-align: center;
    padding: 20px;
}

footer img {
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
}

footer p {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.5;
}

/* ホーム ここまで */


/* サービス紹介 ここから */

/* WASくらしリフォームのサービス */

.services {
    max-width: 600px;
    margin: 0 auto;
}

/* 各サービス */
.float_wrap {
    overflow: auto;
    /* clearfix */
    margin-bottom: 100px;
    /* セクション間隔 */
}

/* 画像＋キャプション */
.float_wrap figure {
    float: left;
    width: 50%;
    width: 300px;
    margin-right: 50px;
}

.float_wrap figure img {
    width: 100%;
    display: block;
}

.float_wrap figure figcaption {
    text-align: center;
    margin-top: 8px;
    font-family: "Noto Serif JP", serif;
}

/* テキスト */
.float_text {
    float: left;
    width: calc(50% - 60px);
    /* width: 200px; */
}

.float_text p {
    line-height: 1.9;
    text-align: justify;
}


/* リフォームの流れSTEP1~7 */
.reform_flow {
    margin-bottom: 150px;
}

.reform_flow ol {                 
    line-height: 1.5;
    padding: 30px 150px;
    text-align: left;
    display: inline-block;
}

.reform_flow li {
    color: #fff;
    padding-bottom: 10px;
}

.step_box {
    display: block;
    max-width: 1080px;
    margin: 0 auto;
    background-color: rgb(51, 51, 51, .5);
    margin-bottom: 50px;
    font-family: "Noto Sans JP";
}

/* よくある質問 アコーディオンメニュー */
.faq {
    margin-bottom: 150px;
}

.qa {
    max-width: 1080px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    margin: 0 auto;
}

.qa summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 30px 30px 30px 100px;
    color: #333333;
}

.qa summary::before,
.qa p::before {
    position: absolute;
    left: 30px;
}

.qa summary::before {
    content: "Q";
    font-weight: bold;
}

.qa summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa[open] summary::after {
    transform: rotate(225deg);
}

.qa p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 15px 100px 30px;
    color: #333;
    transition: transform 1s, opacity 1s;
}

.qa[open] p {
    transform: none;
    opacity: 1;
}

.qa p::before {
    line-height: 1.2;
    content: "A";
    font-weight: bold;
}

/* サービス紹介 ここまで */


/* 施工事例 ここから */

.case {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 100px;
}

.case_title {
    line-height: 1.8;
    letter-spacing: .5em;
    text-align: left;
    padding-bottom: 30px;
}

.case_images {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width:1080px) {
    .case {
        max-width: 540px;
        margin: 0 auto;
    }

    .case_title {
        letter-spacing: normal;
    }

    .case_images {
        display: block;
    }
}

/* 最初はafterを透明しスクロールでフェードイン */
.fade-in-text {
    opacity: 0;
    transition: opacity 2s ease-out, transform 2s ease-out;
}

.fade-in-text.visible {
    opacity: 1;
    transform: translateY(0);
}


figure {
    max-width: 540px;
    text-align: center;
    overflow: hidden;
}

figure img {
    object-fit: contain;
}

.c2 {
    margin-bottom: 20px;
}


/* ホバーでズームイン */
figure img:hover {
    transform: scale(1.1);
    transition: .6s ease;
}

figcaption {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    padding-top: 20px;
}

@media screen and (max-width:1080px) {
    figcaption {
        padding-bottom: 30px;
    }
}

.case_detail {
    text-align: center;
    line-height: 1.3;
    padding: 50px 0 100px;
}

.last_msg {
    text-align: center;
    background-image: url(../images/03construction_work/last_msg_bg.jpg);
    padding: 100px;

}

.last_msg p {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.8;
    padding-bottom: 30px;
}

@media screen and (max-width:1080px) {
    .last_msg p {
        font-size: 16px;
    }
}


/* 施工事例 ここまで */


/* わたしたちについて ここから */

/* ごあいさつ */
.greeting_detail {
    /* max-width: 1080px; */
    margin: 0 100px;
    margin-bottom: 150px;
}

.greeting_text {
    line-height: 1.9;
    text-align: left;
}

.greeting_name {
    text-align: right;
    margin-top: 0;
}

/* 会社概要 */
.company_detail table {
    margin: auto;
    margin-bottom: 150px;
}

.company_detail tbody {
    justify-content: center;
}

.company_detail th {
    font-weight: bold;
    padding: 15px 100px 15px 0;
}

.company_detail td {
    padding: 15px 0;
}

/* アクセス */
.access_detail,
.GoogleMap {
    display: flex;
}

@media screen and (max-width:640px) {

    .access_detail,
    .GoogleMap {
        display: block;
    }
}

.access_detail {
    max-width: 1050px;
    margin: 0 auto;
    align-items: center;
    margin-bottom: 150px;
    gap: 50px;
}

.GoogleMap-iframe {
    width: 100%;
    height: 100%;
}

.access_right {
    text-align: center;
}

@media screen and (max-width:640px) {
    .access_right {
        margin: 0 auto;
    }
}

.access_right h3 {
    font-weight: bold;
    padding: 30px 0;
}

.access_right p {
    line-height: 1.7;
}

/* スタッフ紹介 */
.staff {
    max-width: 1080px;
    margin: 0 auto;
    padding: 100px 0;
}

.staff__list {
    display: flex;
    justify-content: space-between;
}

.staff__item {
    display: flex;
    align-items: center;
}

.staff__item--reverse {
    flex-direction: row-reverse;
    padding-bottom: 50px;
}

.staff__avatar {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.staff__info1,
.staff__info2 {
    padding: 0 20px;
}

.staff__info1 {
    text-align: right;
}

.staff__info2 {
    text-align-last: left;
}

.staff__name {
    margin-bottom: 10px;
}

.staff__desc {
    line-height: 1.6;
    margin: 0;
}

/* わたしたちについて ここまで */


/* お問い合わせ ここから */

.titles {
    text-align: center;
    margin-bottom: 150px;
}


/* 2-4p共通スタイルコピー ここから */
.common_catch_copy1 {
    font-size: 36px;
    margin-top: 200px;
    padding: 20px;
}

.common_sub_copy1 {
    font-size: 20px;
    line-height: 1.7;
}

.common_sub_copy2 {
    padding-top: 20px;
    font-size: 16px;
    line-height: 1.7;
}

/* フェードイン用アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 2s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2-4p共通スタイルコピー ここまで */

form {
    width: 500px;
    margin: 0 auto;
}

.asterisk{
    color: rgb(211, 34, 34);
}

input[type="name"],
input[type="email"],
input[type="tel"] {
    border: 1px solid #333;
    width: 500px;
    height: 30px;
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 10px;
}

select {
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
    /* リセットcssによって消えたselectタグの矢印を復活 */

    border: 1px solid #333;
    width: 500px;
    height: 30px;
    margin-top: 20px;
    margin-bottom: 50px;
}

textarea {
    border: #333 1px solid;
    width: 500px;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 100px;
    padding: 10px;
}

input[type="submit"] {
    text-align: center;
    width: 250px;
    height: 60px;
    border: 1px solid #333;
    margin-bottom: 50px;
}

input[type="submit"]:hover {
    background-color: #333;
    color: #fff;
    transition: .3s;
}

.submit_button {
    text-align: center;
}

.attension {
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    margin-bottom: 150px;
}

/* お問い合わせ ここまで */