@charset "utf-8" ;

.wrapper {
    max-width: 1366px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Noto Sans JP','Noto Serif JP',sans-serif;
    color: #333333;
    letter-spacing: 0.1em;
}
.innerWrap {
    width: 1020px;
    padding-top: 160px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
}
header {
    width: 100%;
    margin: 0 auto;
}
.headerArea h1 img {
    width: 400px;
    height: 32.85px;
}
.headerArea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
}
nav ul {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}
nav ul a {
    white-space: nowrap;
}
nav ul li a:hover {
    color: #007aff;
    font-weight: bold;
    text-decoration: underline solid #007aff 1px;
}
.navArea {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.0;
    text-decoration: none;
}
.menuIcon {
    display: none;
}
.hero {
    width: 100%;
    margin: 0 auto;
}
.hero img {
    width: 1366px;
    height: 545px;
    object-fit: cover;
    object-position: 50% 52%;
}
.navArea, .title, .subTitle, h4, .iconQ, .iconA, .confirmBtn, footer {
    font-family: 'Noto Serif JP',sans-serif;
}
.navArea, .title .family {
    letter-spacing: 0;
}
.title {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.0;
    text-align: center;
    text-transform: uppercase;
}
.subTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8.5px;
    font-size: 16px;
    font-weight: regular;
    color: #223E69;
    margin: 16px 0 48px;
}
.subTitle::before,
.subTitle::after {
    content:"";
    width: 60.5px;
    height: 1px;
    background-color: #223E69;
}
.flowSec .subTitle {
    color: #B71B26;
}
.flowSec .subTitle::before,
.flowSec .subTitle::after {
    content:"";
    width: 60.5px;
    height: 1px;
    background-color: #B71B26;
}
.inquiry .subTitle {
    color: #333333;
}
.inquiry .subTitle::before,
.inquiry .subTitle::after {
    content:"";
    width: 60.5px;
    height: 1px;
    background-color: #333333;
}
/* コンセプトエリア */
.family {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    max-width: 680px;
    padding: 24px 0;
    margin: 0 auto;
}
.familyText {
    font-size: 16px;
    font-weight: 400;
    line-height: 2.0;
    text-align: left;
}
/* サービスエリア */
.serviceList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
}
figure img {
    width: 300px;
    height: 211px;
}
h4 {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin: 15px 0;
}
.serviceText {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
}
figcaption {
    width: 300px;
}
.moreBtn {
    font-size: 16px;
    font-weight: 400;
    display: flex;
    justify-content: flex-end;
}
.moreBtn:hover {
    color: #007aff;
    text-decoration: underline solid #007aff 1px;
}
/* フローエリア */
.flowSec {
    width: 1366px;
    margin: 0 auto;
    background-color: rgba(34, 62, 105, 0.05);
    margin-top: 160px;
    padding: 48px 0;
    text-align: center;
    align-items: center;
}
.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.flowItem {
    width: 60px;
    height: 280px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 30px;
    text-align: center;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
}
/* QAエリア */
.qaSec .innerWrap {
    width: 1020px;
    height: auto;
    margin: 0 auto;
}
.qaItemone {
    margin-bottom: 48px;
}
.iconQ,
.iconA {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 4px 18px 9px;
    color: #ffffff;
    font-size: 34px;
    font-weight: bold;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 52px;
    line-height: 1.0;
    letter-spacing: 0em;
}
.iconQ {
    background-color: #333333;
}
.iconA {
    background-color: #B71B26;
}
.qaItemone dt,
.qaItemone dd,
.qaItemtwo dt,
.qaItemtwo dd {
    display: flex;
    align-items: first baseline;
    gap: 8px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 16px;
}
.answerText {
    text-align: left;
}   
/* コンタクトエリア */
.contactSec {
    width: 1366px;
    background-color: rgba(34, 62, 105, 0.15);
    padding: 48px 0;
    margin: 160px 0 159px 0;
}
.formArea {
    width: 1020px;
    margin: 0 auto;
    display: grid;
    row-gap: 24px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 48px 24px 48px 16px;
}
.radioGroup {
    display: flex;
    gap: 40px;
}
.radioGroup input[type="radio"] {
    width: 24px;
    height: 24px;
}
.radioGroup label {
    display: flex;
    align-items: center;
    font-size: 20px;
    gap: 4px;
}
.formRow .radioGroup label, 
.formRow .postRow label {
    font-weight: 400; 
}
.isRequired .formRequired::before {
    content: "必須";
}
.noRequiredlabel .formRequired::after {
    content: "必須";
    visibility: hidden;
    padding-right: 18px;
}
.formRequired::before {
    background-color: #B71B26;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.0;
    padding: 3px 12px 5px;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    max-width: 58px;  
    max-height: 24px;  
    white-space: nowrap
}
.addressGroup {
    display: grid;
    row-gap: 12px;
}
.inputSm {
    width: 332px;
    padding: 14px 0;
    max-height: 52px;
}
.inputXs {
    width: 222px;
    padding: 14px 0;
    max-height: 52px;
}
.postRow {
    display: flex;
    align-items: center;
    max-height: 52px;
    gap: 8px;
}
.inputLg {
    width: 664px;
    padding: 14px 0;
    max-height: 52px;
}
.formRow {
    display: grid;
    grid-template-columns: 32.5% 67.5%;
    margin-bottom: 0;
    column-gap: 12px;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.0;
    row-gap: 12px; 
}
.formLabel {
    text-align: right;
}
.formRow label {
    text-align: right;
    font-weight: bold;
}
.formRow.isTextarea {
    align-items: start;
}
.formTextarea {
    width: 664px;
    height: 208px;
}
input[type="text"],
input[type="email"],
textarea {
    text-align: left;
    padding: 14px 12px;
    background-color: #ffffff;
    border: solid 1px #cccccc;
    box-sizing: border-box;
}
input:hover,
textarea:hover {
  border: 2px solid #007aff;
}
/* 送信ボタン */
.confirmBtn {
    display: flex;
    margin: 48px auto 0;
    padding: 24px 43.5px 21px 43px;
    background-color: #333333;
    color: #ffffff;
    width: 300px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    justify-content: center;
}
.confirmBtn:hover {
    background-color: #007aff;
    filter: brightness(80%);
} 
/* ぺ－ジトップへ戻るボタン */ 
.pageToparea {
    display: flex;
    justify-content: flex-end;
    width: 1366px;
    padding-right: 24px;
}
.pageToparea img {
    width: 60px;
    height: 60px;
    transition: filter 0.3s;
    cursor: pointer;
}
.pageToparea img:hover {
    filter: invert(1);
}
/* フッターエリア */
footer {
    background-color: #333333;
    color: #ffffff;
    width: 1366px;
    height: 62px;
    margin: 0 auto;
    font-size: 14px; 
    font-weight: 500;
    text-align: center;
    padding: 24px;
}
footer p small {
    font-size: 14px;
    font-weight: 500;
}


/* ↓↓↓↓ メディアクエリ (ｓｐ表示) ↓↓↓↓ */

@media screen and (max-width: 768px) {
    .headerArea, 
    nav ul,
    .serviceList, 
    .flowItem,
    .flow,
    .headerArea,
    .serviceList,
    .flowItem,
    .flow  {
        display: block;
    }
    .wrapper,
    header,
    .hero,
    .innerWrap,
    figcaption,
    .flowSec,
    .qaSec,
    .contactSec,
    .formArea,
    .pageToparea,
    footer {
        width: 100%;
        max-width: none;
    }
    .headerArea h1 img,
    .hero img,
    figure img {
        width: 100%;
    }
    .wrapper {
        max-width: none;
        width: 100%;
        margin: 0;
        font-size: 14px;
    }
    .innerWrap {
        margin-top: 80px;
        padding: 0 12px;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
        z-index:1000;
        background-color: #ffffff;
    }
    /* ハンバーガーメニュー */
    .menuWrapper .menuIcon {
        width: 31px;
        height: 20px;
        position: fixed;
        top: 8px;
        right: 16px;
        cursor: pointer;
        z-index: 1000;
        display: block;
    }
    .menuIcon span {
        display: block;
        height: 2px;
        margin: 8px 0;
        background: #B71B26;
        border-radius: 2px;
        transition: 0.4s;
    }
    /* ハンバーガーがXに変形 */
    #menu-toggle:checked + .menuIcon span:nth-child(1) {
        transform: translateY(10px) rotate(36.51deg);
    }
    #menu-toggle:checked + .menuIcon span:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked + .menuIcon span:nth-child(3) {
        transform: translateY(-10px) rotate(-36.51deg);
    }
    /* オーバーレイ背景 */
    .overLay {
        position: fixed;
        inset: 0;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(2px);
        max-height: 532px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
        z-index: 900;
    }
    #menu-toggle:checked ~ .overLay {
        opacity: 1;
        pointer-events: auto;
    }
    /* メニュー本体（全面表示） */
    .menu {
        position: fixed;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 80px;
        background: transparent;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 950;
        white-space: nowrap
    }
    #menu-toggle:checked ~ .menu {
        opacity: 1;
        pointer-events: auto;
    }
    .menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .menu li {
        margin-top: 12px;
    }
    .menu a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
    }
    .menu a:hover {
        color: #007bff;
    }
    /* ヘッダー */
    .headerArea {
        padding: 16px 12px;
    }
    .headerArea h1 img {
        width: 240px;
        height: 19.71px;
   }
   .hero img {
        object-fit: cover;
        object-position: 53% 100%;
   }
   .title {
        font-size: 28px;
   }
   .subTitle {
        font-size: 12px;
        margin: 8px 0 24px;
   }
   /* コンセプトエリア */
   .family {
        font-size: 20px;
   }
   /* サービスエリア */
   .serviceItembath,
   .serviceItemliving {
        margin-bottom: 48px;
   }
   h4 {
        font-size: 20px;
        margin: 8px 0;
   }
   figure img {
        width: 351px;
        height: 246px;
        object-fit: cover;
   }
  .serviceText {
       font-size: 14px;
       margin-bottom: 8px;
  }
  .moreBtn {
       font-size: 14px;
  }
   /* フローエリア */
   .flowSec {
       margin-top: 80px;
       padding: 16px 0;
  }
   .flow {
       max-width: 300px;
       display: flex;
       flex-direction: column;
       align-content: center;
       margin: 0 auto;
       gap: 0;
   }
   .flowItem {
       font-size: 16px;
       width: 100%;
       max-width: 300px;
       height: 32px;
       padding: 8px 0;
       writing-mode: horizontal-tb;
       text-align: center;
       white-space: nowrap
   }
   .flowArrow img {
       width: 16px;
       height: 32px;
       transform: rotate(90deg);
   }
   /* QAエリア */
    .qaItemone dt,
    .qaItemone dd,
    .qaItemtwo dt,
    .qaItemtwo dd {
       font-size: 16px;
       margin-bottom: 16px;
       text-align: left;
    }
   .iconQ,
   .iconA {
       width: 36px;
       height: 36px;
       font-size: 20px;
       padding: 5px 6px 11px 5px;
   }
   .answerText {
       margin-bottom: 0;
   }
   /* コンタクトエリア */
   .contactSec {
       padding: 16px 12px;
       margin-top: 80px;
   }
   .formArea {
       background-color: transparent;
       margin: 0;
       padding: 0;
   }
   .radioGroup input[type="radio"] {
       width: 16px;
       height: 16px;
   }
   .formRow label {
       font-size: 16px;
   }
   .formRequired::before {
       font-size: 10px;
       padding: 4px 9px 4px;
       max-width: 40px;  
       max-height: 18px;  
       white-space: nowrap
   }
   .formRow {
       grid-template-columns: 1fr;
       row-gap: 8px;
       justify-items: center;
       text-align: center;
    }
    .formLabel {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        text-align: center;
    }
    .inquiryTyperow .radioGroup {
        gap: 16px;
    }
    .addressGroup {
        row-gap: 4px;
    }
    .addressGroup .formRow {
        row-gap: 0;
        margin-bottom: 0;
    }
    .addressGroup .noLabel .formLabel {
        display: none;
    }
    /* 入力欄 */
    .formRow input,
    .formRow textarea,
    .formRow .radioGroup,
    .formRow .postRow {
       width: 100%;
       max-width: 351px;
       justify-self: center;
   } 
   .radioGroup {
       justify-content: center;
   }
   .formRow .inputSm,
   .formRow .inputLg {
       max-width: 351px;
       height: 30px;
       width: 100%;
   }
   .formRow .inputXs {
       max-width: 125px;
       height: 30px;
   }
   .formRow .formTextarea {
       max-width: 351px;
       max-height: 120px;
       width: 100%;
   }
   input[type="text"],
   input[type="email"],
   textarea {
       padding-left: 10px;
  }
   .confirmBtn {
       width: 200px;
       height: 48px;
       font-size: 16px;
       padding: 16px;
       margin: 0 auto;
   }

   /* ページトップへ */
   .pageToparea {
       position: fixed;
       right: 12px;
    /* footer高さ(45px) */
       bottom: calc( 45px + env(safe-area-inset-bottom));
       z-index: 1100;
       display: flex;
       justify-content: flex-end;
   }
   .pageToparea img {
       width: 46px;
       height: 46px;
   }
   /* フッターエリア */
    footer {
       max-height: 45px;
       margin: 0 auto;
       padding: 16px 65px 16px 66px;
   }
   footer p small {
       font-size: 12px;
       white-space: nowrap
   }

}













