body {
    opacity: 0; /* 最初は非表示 */
    overflow-x: hidden; /* 横スクロール防止 */
}
body.loaded {
    opacity: 1; /* 読み込み完了後に表示 */
    transition: opacity 0.3s ease-in;
}

.pc {
    display: block;
}
.sp {
    display: none;
}
html {
  scroll-behavior: smooth;
}

/* コンテンツの幅 */
.content_width {
    max-width: 1070px;
    width: 100%;
    margin: 0 auto;
}

/* ヘッダー */
header {
    height: 64px;
    background: #C5BAB2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 39px 0 32px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
.aica_logo_hd {
    margin-right: 53.8px;
}
.aica_logo_hd:hover {
    opacity: 0.7;
}
.aica_logo_hd img {
    width: 67.2px!important;
    min-width: 52px;
    padding-top: 8px;
    box-sizing: border-box;
}
.magfino_icon:hover {
    opacity: 0.7;
}
.magfino_icon img {
    width: 219px!important;
    min-width: 172px;
}
.hd_link_box {
    max-width: 272px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin:  0 25px 0 auto;
}
.hd_link {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 500;
    color: #707070;
    padding-top: 6px;
    box-sizing: border-box;
}
.hd_link:hover {
    color: white;
}
.hd_btn_box {
    max-width: 270px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.hd_btn {
    max-width: 127px;
    width: 100%;
    height: 32px;
    background: rgba(0, 0, 0, 0.25);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}
.hd_btn:hover {
    max-width: 125px;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0);
    border: 1px solid white;
}

/* アンカーリンク */
[id] {
  scroll-margin-top: 65px;
}

/* メインタイトル */
.main_title {
    max-width: 717px;
    width: 100%;
    margin: 152px auto 87px;
}

/* トップコンテンツ */
.top_area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 90px;
}
.top_text {
    max-width: 387px;
}
.top_area .title img {
    width: 100%;
    margin-top: 32px;
}
.top_text .text {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 2.11;
    margin-top: 35px;
}
.top_movie video {
    max-width: 618px;
    width: 100%;
}

/* マグフィーノの特長 */
.features_title_box {
    padding: 11px 0;
    margin-bottom: 32px;
}
.features_title {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 38px;
    text-align: center;
    letter-spacing: 0.12rem;
    margin-bottom: 4px;
}
.features_title_underline {
    max-width: 200px;
    width: 100%;
    height: 8px;
    background: rgba(197, 186, 178, 1);
    mix-blend-mode: multiply;
    margin: 0 auto;
}
.magfino_features {
    background: url('../img/magfino_features.jpg') no-repeat center center/cover;
    padding: 51px 0 71px;
}
.features_area {
    display: flex;
    justify-content: space-between;
}
.features_box {
    max-width: 336px;
    width: 100%;
    height: 390px;
    background-color: white;
    padding-top: 42px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.4s cubic-bezier(0.4,0,0.2,1), transform 1.8s cubic-bezier(0.4,0,0.2,1);
}
.features_box:nth-child(1) {
    transition-delay: 0s;
}
.features_box:nth-child(2) {
    transition-delay: 0.4s;
}
.features_box:nth-child(3) {
    transition-delay: 0.8s;
}
.features_box.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.features_box .features_sp,
.features_box .text01,
.features_box .text02,
.features_box .text03,
.features_box .dot_box,
.features_box .dot_box_text03 {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
.features_box.is-visible .features_sp,
.features_box.is-visible .text01,
.features_box.is-visible .text02,
.features_box.is-visible .text03,
.features_box.is-visible .dot_box,
.features_box.is-visible .dot_box_text03 {
    opacity: 1;
    transform: translateY(0);
}
.features_box:nth-child(1).is-visible .features_sp {
    transition-delay: 0.4s;
}
.features_box:nth-child(1).is-visible .text01 {
    transition-delay: 0.6s;
}
.features_box:nth-child(2).is-visible .features_sp {
    transition-delay: 1s;
}
.features_box:nth-child(2).is-visible .text02 {
    transition-delay: 1.2s;
}
.features_box:nth-child(3).is-visible .features_sp {
    transition-delay: 1.6s;
}
.features_box:nth-child(3).is-visible .text03 {
    transition-delay: 1.8s;
}
.features_box:nth-child(3).is-visible .dot_box,
.features_box:nth-child(3).is-visible .dot_box_text03 {
    transition-delay: 2s;
}
.features_box img {
    height: 48px;
}
.features_box .title {
    color: #30202C;
    font-size: clamp(1.2rem, 4vw, 2.4rem);
    font-weight: 500;
    line-height: 38px;
    text-align: center;
    margin: 28px 0 27px;
    letter-spacing: 0.12rem;
}
.features_box .text01,
.features_box .text02,
.features_box .text03 {
    margin: 0 auto;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.08rem;
}
.features_box .text01 {
    max-width: 201px;
    text-align: center;
}
.features_box .text02 {
    max-width: 287px;
    text-align: center;
}
.features_box .text03 {
    max-width: 255px;
    text-align: center;
}
.dot_box {
    max-width: 222px;
    width: 100%;
    border: 1px solid #707070;
    padding: 10px 0;
    border-image: repeating-linear-gradient(135deg, #707070 0 3px, transparent 3px 6px, #707070 6px 9px, transparent 9px 12px) 6;
    margin: 16px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dot_box_text01 {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 26px;
}
.dot_box_text02 {
    font-size: 1rem;
    font-weight: 400;
    vertical-align: 1px;
}
.dot_box_text03 {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 26px;
    max-width: 224px;
    width: 100%;
    margin: 2px auto 0;
}

/* マグフィーノ使用シーン紹介 */
.magfino_scenes {
    background: url('../img/magfino_scenes.jpg') no-repeat center center/cover;
    padding: 52px 0 86px;
}
.magfino_scenes .title {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 38px;
    text-align: center;
    letter-spacing: 0.12rem;
    margin-bottom: 4px;
}
.scenes_title_underline {
    max-width: 200px;
    width: 100%;
    height: 8px;
    background: rgba(51, 92, 117, 0.6);
    mix-blend-mode: multiply;
    margin: 0 auto 72px;
}

.scenes_bigbox {
    margin-bottom: 52px;
}
.scenes_area {
    display: flex;
    justify-content: space-between;
}
.works_images {
    height: 360px;
}
.works_images.is-visible {
    position: relative;
    overflow: visible;
}
.works_images2 {
    height: 384px;
}
.works_images2.is-visible {
    position: relative;
    overflow: visible;
}
.works_images .main_img,
.works_images2 .main_img {
    height: 100%;
    width: auto;
    box-shadow: 2px 4px 4px 0 rgba(0,0,0,0.25);
}

/* マグフィーノ使用シーン紹介 マグネット位置 */
/* 洗面所 */
.mag_washroom {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 138px;
    width: 100%;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 2.1s cubic-bezier(0.4,0,0.2,1) 0.1s;
}
.mag_washroom.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* 玄関 */
.mag_entrance {
    position: absolute;
    bottom: -50px;
    left: 0;
    max-width: 138px;
    width: 100%;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 2.1s cubic-bezier(0.4,0,0.2,1) 0.1s;
}
.mag_entrance.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* リビング */
.mag_living {
    position: absolute;
    top: -40px;
    left: 70px;
    max-width: 133px;
    width: 100%;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 2.1s cubic-bezier(0.4,0,0.2,1) 0.1s;
}
.mag_living.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* 病院 */
.mag_hospital {
    position: absolute;
    bottom: -55px;
    right: 15px;
    max-width: 138px;
    width: 100%;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 2.1s cubic-bezier(0.4,0,0.2,1) 0.1s;
}
.mag_hospital.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* 保育施設 */
.mag_childcare {
    position: absolute;
    top: -50px;
    /* right: 0; */
    left: 0;
    max-width: 147px;
    width: 100%;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 2.1s cubic-bezier(0.4,0,0.2,1) 0.1s;
}
.mag_childcare.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* オフィス */
.mag_office {
    position: absolute;
    top: 15px;
    left: 5px;
    max-width: 135px;
    width: 100%;
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 2.1s cubic-bezier(0.4,0,0.2,1) 0.1s;
}
.mag_office.is-visible {
    opacity: 1;
    transform: translateX(0);
}
/* 工場 */
.mag_factory {
    position: absolute;
    bottom: 10px;
    left: 15px;
    max-width: 135px;
    width: 100%;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.8s cubic-bezier(0.4,0,0.2,1) 0.1s, transform 2.1s cubic-bezier(0.4,0,0.2,1) 0.1s;
}
.mag_factory.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* マグフィーノ使用シーン紹介 テキスト */
.scenes_box01 {
    margin-bottom: 80px;
}
.scenes_box02 {
    margin-bottom: 48px;
}
.scenes_box03 {
    margin-bottom: 0;
}
.scenes_text {
    color: #302D2C;
    font-size: clamp(1.0rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    letter-spacing: 0.1rem;
    margin-top: 16px;
}
.home span {
    border-bottom: 3px solid rgba(51, 92, 117, 0.6);
}
.contract span {
    border-bottom: 3px solid rgba(143, 127, 113, 0.8);
}

/* 施工方法 */
.construction_method_scenes {
    text-align: center;
    margin-bottom: 89px;
}
.method_title {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 38px;
    letter-spacing: 0.12rem;
    margin-top: 64px;
    margin-bottom: 4px;
}
.method_title_underline {
    max-width: 200px;
    width: 100%;
    height: 8px;
    background: rgba(51, 92, 117, 0.6);
    mix-blend-mode: multiply;
    margin: 0 auto 30px;
}
.method_movie {
    max-width: 640px;
    margin: 0 auto;
}
.method_movie iframe {
    width: 100%;
    aspect-ratio: 16/9;
}
.method_text {
    color: #302D2C;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.08rem;
    margin: 22px 0;
}
.method_btn {
    color: white;
    width: 336px;
    height: 64px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: 0.1rem;
    background: #335C75;
    border-radius: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.method_btn img {
    width: 20px;
}
.method_btn:hover {
    opacity: 0.7;
}

/* ラインナップ */
.lineup_scenes {
    margin-bottom: 68px;
}
.lineup_maintitle {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 38px;
    letter-spacing: 0.12rem;
    margin-top: 64px;
    margin-bottom: 4px;
    text-align: center;
}
.lineup_maintitle_underline {
    max-width: 200px;
    width: 100%;
    height: 8px;
    background: rgba(51, 92, 117, 0.6);
    mix-blend-mode: multiply;
    margin: 0 auto 24px;
}
.lineup_title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.075rem;
    margin-bottom: 8px;
}
.lineup_title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #707070;
    margin-left: 12px; /* タイトルと線の間隔 */
}
.lineup_area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 34px;
}
.lineup_concrete {
    max-width: 704px;
    width: 100%;
}
.lineup_concrete_area {
    display: flex;
    justify-content: space-between;
}
.lineup_img {
    max-width: 336px;
    width: 100%;
    margin-bottom: 7px;
    transition: filter 0.3s;
}
.lineup_img:hover {
    filter: brightness(0.8);
    cursor: pointer;
}
.lineup_name {
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: 0.13rem;
}
.lineup_subtext {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.055rem;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
}
.lineup_subtext .mark_img {
    width: 14px;
}
.lineup_text {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0.065rem;
}
.lineup_note {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.05rem;
}

/* 設計規格・構成 */
/* 設計規格 */
.spec_structure_scenes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 37px;
}
.spec_area {
    max-width: 527px;
    width: 100%;
}
.spec_title {
    color: #335C75;
    font-size: 2rem;
    font-weight: bold;
    line-height: 38px;
    letter-spacing: 0.1rem;
    margin-bottom: 4px;
    text-align: center;
}
.spec_area table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 13px;
    table-layout: fixed;
}
.spec_area tr {
    background: rgba(217, 217, 217, 0.5);
    height: 48px;
}
.spec_area th {
    width: 28%;
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    font-weight: 500;
    text-align: left;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 12px;
    position: relative;
}
.spec_area th::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 6px;
    height: 24px;
    width: 0;
    border-right: 1px solid #000;
    transform: translateY(-50%);
}
.spec_area td {
    font-size: clamp(1rem, 1.6vw, 1.6rem);
    font-weight: 400;
    width: 72%;
    padding-left: 18px;
    box-sizing: border-box;
}
.spec_note {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.05rem;
    margin-top: -5px;
}
.spec_note2 {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.05rem;
    /* max-width: 345px; */
    text-indent: 0;
    padding-left: 1.5em;
    text-indent: -1.5em;
}
/* 構成 */
.structure_area {
    max-width: 476px;
    width: 100%;
}
.structure_title {
    color: #335C75;
    font-size: 2rem;
    font-weight: bold;
    line-height: 38px;
    letter-spacing: 0.1rem;
    margin-bottom: 4px;
    text-align: center;
}
.structure_area img {
    width: 100%;
    margin-top: 46px;
}
    
/* Q & A */
.content_title {
    font-size: 4.4rem;
    font-weight: 500;
    color: #335C75;
    text-align: center;
    letter-spacing: 0.44rem;
    margin-top: 37px;
}
.content_title span {
    font-size: 3.2rem;
    font-weight: 400;
}
.space_48 {
    margin-top: 48px;
}
.QA_scenes .subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 17px;
    color: #335C75;
}
.acBox {
    max-width: 1080px;
    text-align: left;
    margin: 30px auto 40px;
}
.accordion-item {
    background-color: white;
    border-radius: 30px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px 0 rgba(112,112,112,0.7);
}
.accordion-title {
    display: flex;   
    padding: 0 40px;
    box-sizing: border-box;
    align-items: center;
}
.accordion-title .question {
    font-family: "Noto Sans JP";
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 38px;
    margin-right: 30px;
}
.accordion-title .text {
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 38px;
    margin-top: 3px;
}
.accordion-content__inner {
    display: flex;
    align-items: center;
    padding: 25px 0 25px 26px;
    box-sizing: border-box;
}
.accordion-content__inner .question {
    font-size: 2.6rem;
    font-weight: 500;
    margin-right: 20px;
    color: white;
    background: #707070;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.accordion-content__inner .text {
    max-width: 888px;
    font-size: clamp(1.0rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 32px;
    color: #707070;
}

/* ヘッダー部分 */
.accordion-header {
    position: relative;
    padding: 20px 40px 20px 0;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s, color 0.3s;
}
@media (hover: hover) {
    .accordion-header:hover {
        color: white;
        background-color: #335c70;
        box-shadow: 0 2px 6px 0 rgba(112,112,112,0.7);
    }
}
.is-active .accordion-header {
  background-color: #335c70;
  color: white;
  box-shadow: 0 2px 6px 0 rgba(112,112,112,0.7);
}

.accordion-title {
    font-weight: bold;
}

/* 開閉アイコン */
.accordion-icon {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    display: inline-block;
    transition: transform 0.3s;
}

/* コンテンツ部分 */
.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height .3s;
}

/* フッター */
footer {
    background: #C5BAB2;
    height: 304px;
    padding: 58px 0 40px;
    box-sizing: border-box;
    text-align: center;
    margin-top: 72px;
}
.aica_logo_ft {
    display: block;
    max-width: 100.8px;
    width: 100%;
    margin: 0 auto 58px;
}
.aica_logo_ft img {
    width: 100%!important;
}
.icon_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 250px;
    width: 100%;
    height: 28px;
    margin: 0 auto 21px;
}
.insta_icon {
    width: 24px;
}
.facebook_icon {
    width: 28px;
}
.x_icon {
    width: 23px;
}
.youtube_icon {
    width: 29px;
}
.tecture_icon {
    width: 24px;
}
.ft_link_box {
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.ft_link {
    font-size: 1.3rem;
    font-weight: 400;
    color: white;
    line-height: 28px;
    letter-spacing: 0.065rem;
}
.line {
    width: 1px;
    height: 16px;
    background: white;
    margin: 0 19px;
}
.ft_text {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    line-height: 28px;
    letter-spacing: 0.055rem;
}
.insta_icon:hover,
.facebook_icon:hover,
.x_icon:hover,
.youtube_icon:hover,
.tecture_icon:hover,
.ft_link:hover {
    opacity: 0.7;
}

/* モーダルメニュー PC非表示 */
@media (min-width: 769px) {
  .modal-menu {
    display: none !important;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
    .pc {
        display: none!important;
    }
    .sp {
        display: block!important;
    }

    /* コンテンツの幅 */
    .content_width {
        max-width: initial;
        width: 87.5%;
    }

    /* ヘッダー */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        height: 48px;
        padding: 0 16px;
        box-sizing: border-box;
    }
    .aica_logo_hd {
        margin-right: 15px;
    }
    .aica_logo_hd img {
        width: 42px!important;
        min-width: initial;
        padding-top: 5px;
    }
    .magfino_icon img {
        width: 144px!important;
        min-width: initial;
    }
    header .sp .hd_btn {
        width: 84px;
        height: 24px;
        font-size: 0.8rem;
        position: fixed;
        top: 14px;
        right: 52px;
        z-index: 50;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.25);
        color: white;
        font-weight: 500;
        border-radius: 15px;
    }
    /* アンカーリンク */
    [id] {
        scroll-margin-top: 48px;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        display: none;
        width: 40px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 50;
    }
    .hamburger span {
        display: block;
        width: 24px;
        height: 1px;
        margin: 8px 0;
        background: #756658;
        border-radius: 2px;
        transition: all 0.3s;
    }
    .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    }
    .hamburger.sp {
        display: flex;
        position: fixed;
        top: 7px;
        right: 0;
    }
    .modal-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(112, 112, 112, 0.9);
        z-index: 40;
        align-items: center;
        flex-direction: column;
        animation: fadeIn 0.3s;
    }
    .modal-menu.active {
        display: flex;
    }
    .modal-nav {
        background: rgba(197, 186, 178, 0.75);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        width: 100%;
        height: 448px;
        padding-top: 45px;
    }
    .modal-link_box {
        text-align: center;
    }
    .modal-link {
        font-size: 1.4rem;
        color: #FFFFFF;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
    }
    .modal-link_underline {
        width: 112px;
        height: 1px;
        background: #FFFFFF;
        margin-top: 6px;
    }
    .modal-link2 {
        width: 127px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        color: #FFFFFF;
        text-decoration: none;
        font-weight: 500;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 15px;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* メインタイトル */
    .main_title {
        max-width: 320px;
        width: 100%;
        margin: 92px auto 36px;
    }

    /* トップコンテンツ */
    .top_area {
        flex-direction: column-reverse;
        align-items: center;
        margin-bottom: 30px;
    }
    .top_text,
    .top_movie {
        width: 100%;
        max-width: 100%;
    }
    .top_movie img {
        max-width: initial;
        width: 100%;
    }
    .top_text {
        max-width: 320px;
        margin-bottom: 0;
    }
    .top_area .title img {
        max-width: 264px;
        width: 100%;
        margin-top: 33px;
    }
    .top_text .text {
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 26px;
        margin-top: 20px;
    }    

    /* マグフィーノの特長 */
    .magfino_features {
        background: url('../img/magfino_features_sp.jpg') no-repeat center center/cover;
        padding: 32px 0 44px;
        /* margin-bottom: 16px; */
    }
    .features_title_box {
        padding: 5px 0 14px;  
    }
    .features_title {
        font-size: 1.6rem;
        line-height: 38px;
        letter-spacing: 0.08rem;
        margin-bottom: 0;
    }
    .features_title_underline {
        max-width: 150px;
        height: 6px;
        margin: 0 auto;
    }
    .features_area {
        display: block;
    }
    .features_box {
        max-width: 320px;
        width: 100%;
        height: initial;
        padding: 25px 15px 22px 22px;
        box-sizing: border-box;
        margin: 16px auto 0;
    }
    .features_box_last {
        padding: 25px 20px 20px 22px;
    }
    .features_sp {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }
    .features_box img {
        width: auto;
        height: 24px;
        margin-right: 16px;
    }
    .features_box .title {
        font-size: 2rem;
        margin: 0;
        letter-spacing: 0.1rem;
    }
    .features_box .text01,
    .features_box .text02,
    .features_box .text03 {
        max-width: initial;
        margin: initial;
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: 0;
        text-align: initial;
        padding-left: 34px;
    }
    .pd_space img {
        padding-right: 6px;
    }
    .dot_box {
        max-width: 240px;
        width: 100%;
        margin: 16px auto 0;
    }
    .dot_box_text01 {
        font-size: 1.4rem;
        font-weight: 500;
    }
    .dot_box_text02 {
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 26px;
    }
    .dot_box_text03 {
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 26px;
        text-align: initial;
        margin: 0 auto;
        max-width: 240px;
        width: 100%;
    }

    /* マグフィーノ使用シーン紹介 */
    .magfino_scenes {
        padding: 51px 0 39px;
    }
    .magfino_scenes .title {
        font-size: 1.6rem;
        letter-spacing: 0.08rem;
        margin-bottom: 0;
    }
    .scenes_title_underline {
        max-width: 150px;
        height: 6px;
        margin: 0 auto 57px;
    }
    .scenes_area {
        display: initial;
        text-align: center;
    }
    .works_images {
        max-width: 100%;
        width: 100%;
        height: auto;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }
    .works_images.is-visible {
        overflow: visible;
    }
    .works_images_sub {
        display: flex;
        justify-content: space-between;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    .works_images_sub .works_images {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    .space_19 {
        width: 19px;
    }
    .works_images2 {
        max-width: 100%;
        width: 100%;
        height: auto;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }
    .works_images2.is-visible {
        overflow: visible;
    }
    .works_images .main_img,
    .works_images2 .main_img {
        width: 100%;
        height: auto;
        margin-bottom: 16px;
    }
    .space_8 {
        margin-bottom: 8px!important;
    }

    /* マグフィーノ使用シーン紹介 マグネット位置 */
    /* 洗面所 */
    .mag_washroom {
        position: absolute;
        top: -40px;
        left: 10px;
        max-width: 80px;
        width: 100%;
        opacity: 0;
        transform: translateX(-30px);
        z-index: 2;
    }
    .mag_washroom.is-visible {
        opacity: 1;
        transform: translateX(0);
    }
    /* 玄関 */
    .mag_entrance {
        position: absolute;
        top: -35px;
        bottom: initial;
        right: 10px;
        left: initial;
        max-width: 79.3px;
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        z-index: 2;
    }
    .mag_entrance.is-visible {
        opacity: 1;
        transform: translateX(0);
    }
    /* リビング */
    .mag_living {
        position: absolute;
        top: -35px;
        left: 23px;
        max-width: 79.5px;
        width: 100%;
        opacity: 0;
        transform: translateX(-30px);
        z-index: 2;
    }
    .mag_living.is-visible {
        opacity: 1;
        transform: translateX(0);
    }
    /* 病院 */
    .mag_hospital {
        position: absolute;
        top: -22px;
        bottom: initial;
        right: 12px;
        max-width: 79.5px;
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        z-index: 2;
    }
    .mag_hospital.is-visible {
        opacity: 1;
        transform: translateX(0);
    }
    /* 保育施設 */
    .mag_childcare {
        position: absolute;
        top: -35px;
        right: initial;
        left: 0;
        max-width: 93.1px;
        width: 100%;
        opacity: 0;
        transform: translateX(-30px);
        z-index: 2;
    }
    .mag_childcare.is-visible {
        opacity: 1;
        transform: translateX(0);
    }
    /* オフィス */
    .mag_office {
        position: absolute;
        top: -15px;
        right: 5px;
        left: initial;
        max-width: 80px;
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        z-index: 2;
    }
    .mag_office.is-visible {
        opacity: 1;
        transform: translateX(0);
    }
    /* 工場 */
    .mag_factory {
        position: absolute;
        bottom: -17px;
        left: 12px;
        max-width: 80px;
        width: 100%;
        opacity: 0;
        transform: translateX(-30px);
        z-index: 2;
    }
    .mag_factory.is-visible {
        opacity: 1;
        transform: translateX(0);
    }

    /* マグフィーノ使用シーン紹介 テキスト */
    .scenes_bigbox {
        margin-bottom: 50px;
    }
    .scenes_box01 {
        margin-bottom: 45px;
    }
    .scenes_box02 {
        margin-bottom: 38px;
    }
    .scenes_box03 {
        margin-bottom: 0;
    }
    .space_55 {
        margin-bottom: 55px;
    }
    .space_20 {
        margin-bottom: 20px;
    }
    .space_45 {
        margin-bottom: 45px;
    }
    .space_42 {
        margin-bottom: 42px;
    }
    .space_35 {
        margin-bottom: 35px;
    }
    .scenes_text {
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: 0.075rem;
        margin-top: 0;
    }
    .home span {
        border-bottom: 3px solid rgba(51, 92, 117, 0.6);
    }
    .contract span {
        border-bottom: 3px solid rgba(143, 127, 113, 0.8);
    }

    /* 施工方法 */
    .construction_method_scenes {
        margin-bottom: initial;
    }
    .method_title {
        font-size: 1.6rem;
        line-height: 36px;
        letter-spacing: 0.08rem;
        margin-top: 59px;
        margin-bottom: 0;
    }
    .method_title_underline {
        max-width: 150px;
        height: 6px;
        margin: 0 auto 32px;
    }
    .method_movie {
        max-width: 87.5%;
        margin: 0 auto;
    }
    .method_movie img {
        width: 100%;
    }
    .method_text {
        color: #302D2C;
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: 0.075rem;
        margin: 40px 0 32px;
    }
    .method_btn {
        width: 238px;
        height: 48px;
        font-size: 1.6rem;
        letter-spacing: 0.08rem;
    }
    .method_btn img {
        width: 16.7px;
        padding-top: 2px;
    }

    /* ラインナップ */
    .lineup_scenes {
        margin-bottom: 48px;
    }
    .lineup_maintitle {
        font-size: 1.6rem;
        line-height: 36px;
        letter-spacing: 0.08rem;
        margin-top: 64px;
        margin-bottom: 0;
    }
    .lineup_maintitle_underline {
        max-width: 150px;
        height: 6px;
        margin: 0 auto 32px;
    }
    .lineup_area {
        max-width: 100%;
        width: 100%;
        display: block;
        justify-content: space-between;
        margin: 0 auto 31px;
    }
    .lineup_title {
        font-size: 1.3rem;
        letter-spacing: 0.065rem;
        margin: 0 auto 8px;
    }
    .lineup_title::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #707070;
        margin-left: 12px; /* タイトルと線の間隔 */
    }
    .lineup_concrete {
        max-width: 100%;
        width: 100%;
    }
    .lineup_concrete_area {
        display: block;
    }
    .lineup_img {
        max-width: initial;
        width: 100%;
        margin-bottom: 0;
    }
    .lineup_namebox {
        display: flex;
        justify-content: space-between;
    }
    .lineup_name {
        font-size: 2.4rem;
        font-weight: 500;
        line-height: 38px;
        letter-spacing: 0.12rem;
    }
    .lineup_subtext {
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: 0.055rem;
        margin-bottom: 0;
        display: inline-flex;
        align-items: center;
    }
    .lineup_text {
        font-size: 1.3rem;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.065rem;
    }
    .lineup_note {
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0;
        padding-left: 1.5em;
        text-indent: -1.5em;
    }
    .space_31 {
        margin-bottom: 31px;
    }
    .space_40 {
        margin-bottom: 40px;
    }

    /* 設計規格・構成 */
    /* 設計規格 */
    .spec_structure_scenes {
        display: block;
        margin-bottom: 56px;
    }
    .spec_area {
        max-width: 527px;
        width: 100%;
        margin: 0 auto 64px;
    }
    .spec_title {
        color: #335C75;
        font-size: 1.6rem;
        font-weight: bold;
        line-height: 38px;
        letter-spacing: 0.08rem;
        margin-bottom: 4px;
        text-align: center;
    }
    .spec_area table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 8px;
        table-layout: fixed;
        margin-bottom: 16px;
    }
    .spec_area tr {
        background: rgba(217, 217, 217, 0.5);
        height: 48px;
    }
    .spec_area th {
        width: 21.5%;
        font-size: 1.1rem;
        font-weight: 500;
        line-height: 38px;
        letter-spacing: 0.055rem;
        text-align: left;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        position: relative;
    }
    .spec_area th::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 6px;
        height: 24px;
        width: 0;
        border-right: 1px solid #000;
        transform: translateY(-50%);
    }
    .spec_area td {
        width: 78.5%;
        font-size: 1.3rem;
        font-weight: 400;
        line-height: 18px;
        letter-spacing: 0.065rem;
        padding-left: 4px;
        box-sizing: border-box;
    }
    .spec_note {
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.055rem;
        margin-top: -5px;
    }
    .spec_note2 {
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.055rem;
        max-width: 345px;
        text-indent: 0;
        padding-left: 1.5em;
        text-indent: -1.5em;
    }
    /* 構成 */
    .structure_area {
        max-width: initial;
        width: 100%;
    }
    .structure_title {
        margin-bottom: 0;
    }
    .structure_area img {
        width: 100%;
        margin-top: 0;
    }
        
    /* Q & A */
    .content_title {
        font-size: 4rem;
        font-weight: 500;
        color: #335C75;
        text-align: center;
        letter-spacing: 0.4rem;
        margin: 0 auto 15px;
    }
    .content_title span {
        font-size: 2.8rem;
        font-weight: 500;
    }
    .space_48 {
        margin-top: 29px;
    }
    .QA_scenes .subtitle {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 17px;
        color: #335C75;
    }
    .acBox {
        max-width: 1080px;
        text-align: left;
        margin: 30px auto 40px;
    }
    .accordion-item {
        background-color: white;
        border-radius: 30px;
        border-bottom: 1px solid #e8e8e8;
        margin-bottom: 24px;
        box-shadow: 0 2px 6px 0 rgba(112,112,112,0.7);
    }
    .accordion-title {
        display: flex;   
        padding: 0;
        box-sizing: border-box;
        align-items: center;
    }
    .accordion-title .question {
        font-size: 2rem;
        margin-right: 20px;
    }
    .accordion-title .text {
        font-size: 1.4rem;
        line-height: 21px;
        margin-top: 0;
    }
    .accordion-content__inner {
        display: flex;
        align-items: initial;
        padding: 19px 12px 21px 12px;
        box-sizing: border-box;
    }
    .accordion-content__inner .question {
        font-size: 2rem;
        font-weight: 500;
        margin-right: 12px;
        color: white;
        background: #707070;
        border-radius: 50%;
        min-width: 32px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 3px 0;
        box-sizing: border-box;
    }
    .accordion-content__inner .text {
        max-width: initial;
        font-size: 1.3rem;
        font-weight: 400;
        line-height: 22px;
        color: #707070;
    }

    /* アコーディオン　ヘッダー部分 */
    .accordion-header {
        position: relative;
        padding: 12px 20px;
        box-sizing: border-box;
        cursor: pointer;
        border-radius: 30px;
        transition: background-color 0.3s, color 0.3s;
    }
    .is-active .accordion-header {
        background-color: #335c70;
        color: white;
        box-shadow: 0 2px 6px 0 rgba(112,112,112,0.7);
    }

    .accordion-title {
        font-weight: bold;
    }

    /* 開閉アイコン */
    .accordion-icon {
        width: 16px;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        display: inline-block;
        transition: transform 0.3s;
    }

    /* コンテンツ部分 */
    .accordion-content {
        height: 0;
        overflow: hidden;
        transition: height .3s;
    }

    /* フッター */
    footer {
        background: #C5BAB2;
        height: 304px;
        padding: 61px 0 23px;
        box-sizing: border-box;
        text-align: center;
        margin-top: 64px;
    }
    .aica_logo_ft {
        display: block;
        max-width: 80px;
        width: 100%;
        margin: 0 auto 48px;
    }
    .aica_logo_ft img {
        width: 100%!important;
    }
    .icon_box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 202px;
        width: 100%;
        height: 28px;
        margin: 0 auto 30px;
    }
    .insta_icon {
        width: 20px;
    }
    .facebook_icon {
        width: 20px;
    }
    .x_icon {
        width: 20px;
    }
    .youtube_icon {
        width: 23px;
    }
    .tecture_icon {
        width: 20.3px;
    }
    .ft_link_box {
        display: flex;
        color: white;
        align-items: center;
        justify-content: center;
        margin-bottom: 2px;
    }
    .ft_link {
        font-size: 1rem;
        font-weight: 400;
        color: white;
        line-height: 28px;
        letter-spacing: initial;
    }
    .line {
        width: 1px;
        height: 16px;
        background: white;
        margin: 0 10px;
    }
    .ft_text {
        font-size: 0.9rem;
        font-weight: 500;
        color: white;
        line-height: 28px;
        letter-spacing: 0.045rem;
        margin-top: 16px;
    }
}