@charset "utf-8";


/* 背景動画
-----------------------------------------------------------------*/

.movie {
    position: relative;
    height: 100lvh; 
    width: 100%;
} 
.parallax-bg {
  position: fixed;
  z-index: -1;
  inset: 0; 
  /* top: 0;
  right:0;
  left:0;
  bottom:0; */
  overflow: hidden;
}
video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* アスペクト比を保ちつつ、隙間なく覆うためのモダンな指定 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* 古いブラウザや特殊な計算が必要な場合の保険（必要に応じて） */
    min-width: 100vw;
    min-height: 100lvh;
}

/*--------------------------------------------------------------------------
   下層ページ共通
---------------------------------------------------------------------------*/

.movie.layer{
    height: auto;
}

.layer_mv{
    padding: min(9.5%, 130px) 0 0;
    background-image: url(../../img/common/bg.jpg);
    background-repeat: repeat;
    background-size: 100%;
}
.layer_mv h1{
    color: var(--dark);
    font-size: 6.4rem;
    line-height: 1.6;
    font-weight: 400;
    padding-bottom: 3.2rem;
}
.layer_mv h1 small{
    font-size: 90%;
}
.layer_mv h1 span{
    display: block;
    color: var(--main);
    font-size: 1.8rem;
    line-height: 1;
}
.main_mv{
    max-width: 90%;
    border: 1px solid var(--main);
}

.contents_area {
    padding: 8% 0;
    background-image: url(../../img/common/bg.jpg);
    background-repeat: repeat;
    background-size: 100%;
}
.contents_area_main_img_wrap {
    margin-bottom: 8%;
    position: relative;
    border-top: 1px solid var(--main);
}
.contents_area_main_img {
    width: 86.1%;
    display: block;
    border: 1px solid var(--main);
    margin-top: -1px;
}
#renovation .contents_area_main_img {margin-left: auto;}
#qa .contents_area_main_img {margin-right: auto;}
.contents_area_sub_img {
    position: absolute;
    display: block;
    border: 1px solid var(--main);
}
#renovation .contents_area_sub_img {
    bottom: -60px;
    width: 14%;
    left: 2%;
}
#qa .contents_area_sub_img {
    bottom: -40px;
    width: 14%;
    right: 2%;
}


.content_ttl{
  color: var(--main);
  font-size: 2.4rem;
  line-height: 1.3;
  font-weight: 400;
}
.content_ttl span{
  display: block;
  font-size: 5rem;
}
.contents_area h4 {
    font-weight: 400;
    font-size: 3.2rem;
    line-height: 1.5;
    color: var(--dark);
    margin-top: 2.4rem;
    margin-bottom: 4.8rem;
}
.sub_content_txt_wrap dt{
  color: var(--dark);
  font-size: 3.2rem;
  line-height: 1.5;
  margin-bottom: 3.2rem;
}
.sub_content_txt_wrap dd{
  margin-bottom: 1.8rem;
  color: var(--dark);
}
.sub_content_txt_wrap dd + small{
  display: block;
  padding: 1.6rem 0 0;
  font-size: 1.4rem;
  color: var(--dark);
}


/* アコーディオン */

.accordion-006 {
    max-width: 100%;
    margin-bottom: 24px;
    background-color: var(--main);
}

.accordion-006 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 2.4rem;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    /* クリック無効化 */
    pointer-events: none;
}

.accordion-006 summary::-webkit-details-marker {
    display: none;
}

.accordion-006 summary::before,
.accordion-006 summary::after {
    width: 1.5px;
    height: .9em;
    background-color: var(--main);
    content: '';
    position: absolute;
    right: 31px;
    z-index: 2;
    /* フルオープン時用非表示 */
    display: none;
}

.accordion-006 summary::before {
    position: absolute;
    right: 32px;
    rotate: 90deg;
}

.accordion-006 summary::after {
    transition: rotate .5s;
}

.accordion-006[open] summary::after {
    rotate: 90deg;
}

.accordion-006 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 2.4rem;
    color: var(--light);
    font-size: 1.8rem;
    transition: none !important; /* JSと干渉させない */
    box-sizing: border-box; /* 高さにpaddingを含める（必須） */
    overflow: hidden; /* 追加：はみ出し防止 */
    display: block; /* アニメーション中はflexよりblockの方が安定します */
}
.accordion-006 p .answer{color: var(--dark);}
.accordion-006[open] p {
    transform: none;
    opacity: 1;
    background: var(--light);
    color: var(--main);
    display: flex; /* 終了後は元のレイアウトに戻す */
    height: auto;  /* 中身に応じて可変にする */
    gap: 0 1.2rem;
}

.accordion-006 summary .circle{
    position: absolute;
    right: 17px;
    top: 26px;
    background-color: var(--light);
    width: 30px;
    height: 30px;
    border-radius: 15px;
    /* フルオープン時用非表示 */
    display: none;
}


/* アンカーリンク */
.link{
    padding: 3% 0 0;
    background-image: url(../../img/common/bg.jpg);
    background-repeat: repeat;
    background-size: 100%;
}
.link ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 3%;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 3%;
}
.link li{
    flex: 1;
}
.link li a{
    display: flex;
    gap: 0 .8rem;

}
.link li a .arrow_icon{
    min-width: 30px;
}
.link li a .link_txt{
    font-size: 1.8rem;
    color: var(--main);
    line-height: 1.6;
}
.link li a .link_txt span{
    display: block;
    line-height: 1;
    font-size: 70%;
}


/* コンテンツ詳細 */
.about_contents{
    position: relative;
    margin-top: 8%;
}
.about_contents.con01::before{
    content: '';
    display: block;
    position: absolute;
    top: 0; right: 0;
    background-image: url(../../img/about/con_bg01.webp);
    background-size: contain;
    background-repeat: no-repeat;
    width: 26%; height: 100%;    
    mix-blend-mode: multiply;
    transform: translate3d(0, 0, 0); /* これを追加 */
    -webkit-transform: translate3d(0, 0, 0);
}
.about_contents.con02::before{
        content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: -81px;
    background-image: url(../../img/about/con_bg02.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    width: 47%;
    height: 100%;
    mix-blend-mode: multiply;
    transform: translate3d(0, 0, 0); /* これを追加 */
    -webkit-transform: translate3d(0, 0, 0);
}
.about_contents.con02,
.about_contents.con03{
    border-top: 1px solid var(--gray);
    padding-top: 8%;
}

.point{
    max-width: 800px;
    margin: 6% auto;
    border: 1px solid var(--main);
    position: relative;
    padding: 6% 5%;
}
.point_ttl{
    position: absolute;
    top: 0; left: 0;
    color: var(--light);
    background: var(--main);
    width: fit-content;
    line-height: 1;
    padding: .8rem 1.6rem;
    font-size: 1.8rem;
    text-align: center;
}
.point li{
    position: relative;
    font-size: 2.0rem;
    line-height: 1.6;
    display: flex;
    gap: 0 .8rem;
    align-items: center;
    border-bottom: 1px solid var(--gray);
    color: var(--dark);
    margin-top: .8rem;
}
.point li::before{
    content: '･';
    font-size: 200%;
    display: block;
    color: var(--main);
    line-height: 1;
}
.about_img{
    display: block;
    border: 1px solid var(--main);
    position: absolute;
}
.about_img.img01{
    right: 0;
    top: 20%;
    width: 20%;
}
.flow{
    margin-top: 3%;
}
.flow li{
    border: 1px solid var(--main);
    text-align: center;
    color: var(--dark);
    font-size: 2rem;
    padding: 1.6rem .8rem 1.5rem;
    max-width: 600px;
    position: relative;
    margin-bottom: 3%;
}
.flow li:not(:last-child)::before{
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid var(--main);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.reform_flex_wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8rem 2%;
    margin-top: 10%;
    margin-bottom: 6.4rem;
    position: relative;
}
.reform_flex_box{
    flex-basis: 31%;
    border: 1px solid var(--main);
    position: relative;
    display: flex;
    flex-direction: column;
}
.reform_flex_box .num{
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background: var(--main);
    text-align: center;
    color: var(--light);
    font-size: 2.8rem;
    line-height: 1;
    padding: 1.6rem 2.4rem;
}
.reform_flex_box dl {
    padding: 6.4rem 3.2rem 4rem;
}
.reform_flex_box dt {
    color: var(--main);
    font-size: 2.2rem;
    line-height: 1.5;
    margin-bottom: 2.4rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid var(--main);
}
.reform_flex_box dd {
    color: var(--dark);
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.renovation_flex {
    display: flex;
    justify-content: space-between;
    margin-top: 5%;
    margin-bottom: 5%;
}
.renovation_flex_box {
    flex-basis: 48%;
    border: 1px solid var(--main);
}
.renovation_flex_ttl {
    background: var(--main);
    padding: 2.4rem 2.4rem;
    color: var(--light);
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center;
    min-height: 93px;
}
.renovation_flex_ttl small{
    font-size: 70%;
    display: block;
}
.renovation_flex_ttl span.img {
    padding-right: .8rem;
}
.renovation_flex_area {
    padding: 4rem 3.2rem;
}
.renovation_flex_area dd {
    position: relative;
    font-size: 1.8rem;
    line-height: 1.8;
    display: flex;
    gap: 0 .8rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray);
    color: var(--dark);
    margin-top: 1.6rem;
    padding-bottom: 1.6rem;
}
.renovation_flex_area dd:last-child {
    border-bottom: none;
}
.renovation_flex_area dd::before {
    content: '･';
    font-size: 200%;
    display: block;
    color: var(--main);
    line-height: 0.8;
}
.renovation_flex_area dd.maincolor {
    color: var(--main);
    align-items: center;
}
.renovation_flex_area dd.maincolor::before {
    content: '';
    background-image: url(../../img/about/arrow.svg);
    display: block;
    width: 22px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
}
.renovation_cv{
    background: var(--main);
    position: relative;
    padding: 8% 0 12%;
    margin-top: 12%;
}
.renovation_cv::before {
    content: '';
    display: block;
    background-image: url(../../img/common/logo_reformcanvas_w.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 35%;
    height: 100%;
    opacity: .1;
}
.renovation_img {
    display: block;
    border: 1px solid var(--main);
    position: absolute;
}
.renovation_img.img01 {
    top: -60px;
    right: -4%;
    width: 16%;
}
.renovation_img.img02 {
    bottom: -50px;
    left: -4%;
    width: 18%;
}
.renovation_cv p {
    text-align: center;
    color: var(--light);
    font-size: 2.2rem;
    line-height: 1.8;
    position: relative;
}


@media (hover: hover) {
}

#qa .content_ttl{
    margin-bottom: 48px;
}


/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

#qa .content_ttl{
    margin-bottom: 32px;
}

/*--------------------------------------------------------------------------
   下層ページ共通
---------------------------------------------------------------------------*/

.layer_mv{
    padding: min(15%, 60px) 0 0;
}
.layer_mv h1{
    font-size: 3.2rem;
    padding-bottom: 2.4rem;
}
.layer_mv h1 span{
    font-size: 1.6rem;
    line-height: 1.6;
}
.main_mv{
    max-width: 96%;
}

.contents_area {
    padding: 12% 0;
    background-image: url(../../img/common/bg.jpg);
    background-repeat: repeat;
    background-size: 100%;
}
.contents_area_main_img_wrap {
    margin-bottom: 16%;
    position: relative;
    border-top: 1px solid var(--main);
}
.contents_area_main_img {
    width: 86.1%;
}
#renovation .contents_area_sub_img {
            bottom: -36px;
        width: 30%;
        left: 5%;
}
#qa .contents_area_sub_img {
   bottom: -61px;
        width: 30%;
        right: 5%;
}


.content_ttl{
  color: var(--main);
  font-size: 1.5rem;
}
.content_ttl span{
  font-size: 4rem;
}
.contents_area h4 {
    font-weight: 400;
        font-size: 2.2rem;
        line-height: 1.6;
        color: var(--dark);
        margin-top: 1.6rem;
        margin-bottom: 2.4rem;
}
.sub_content_txt_wrap dt{
  color: var(--dark);
  font-size: 2.4rem;
  line-height: 1.5;
  margin-bottom: 3.2rem;
}
.sub_content_txt_wrap dd{
  margin-bottom: 1.6rem;
    color: var(--dark);
}
.sub_content_txt_wrap dd + small{
  display: block;
  padding: 1.6rem 0 0;
  font-size: 1.4rem;
  color: var(--dark);
}


/* アコーディオン */

.accordion-006 {
    max-width: 100%;
    margin-bottom: 24px;
    background-color: var(--main);
}

.accordion-006 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 2.4rem;
    font-size: 1.6rem;
    line-height: 1.3;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}
.accordion-006 summary .qa_txt {
    /* フルオープン時100%に、＋マーク追加の場合は88%程度に */
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 0 .8rem;
}
.accordion-006 summary::-webkit-details-marker {
    display: none;
}

.accordion-006 summary::before,
.accordion-006 summary::after {
    width: 1.5px;
    height: .9em;
    background-color: var(--main);
    content: '';
    position: absolute;
    right: 31px;
    z-index: 2;
}

.accordion-006 summary::before {
    position: absolute;
    right: 32px;
    rotate: 90deg;
}

.accordion-006 summary::after {
    transition: rotate .3s;
}

.accordion-006[open] summary::after {
    rotate: 90deg;
}

.accordion-006 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 2.4rem;
    color: var(--light);
    font-size: 1.6rem;
    transition: transform .5s, opacity .5s;
}

.accordion-006[open] p {
    transform: none;
    opacity: 1;
    background: var(--light);
    color: var(--main);
    display: flex;
    gap: 0 1.2rem;
}

.accordion-006 summary .circle{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    right: 17px;
    background-color: var(--light);
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

/* アンカーリンク */
.link{
    padding: 8% 0 0;
}
.link ul{
    display: block;
    padding-bottom: 3%;
}
.link li{
    margin-bottom: 2.0rem;
}
.link li a{
    display: flex;
    gap: 0 .8rem;

}
.link li a .arrow_icon{
    min-width: 30px;
}
.link li a .link_txt{
    font-size: 1.6rem;
    color: var(--main);
    line-height: 1.6;
}
.link li a .link_txt span{
    display: block;
    line-height: 1;
    font-size: 70%;
}


/* コンテンツ詳細 */
.about_contents{
    position: relative;
    margin-top: 16%;
}
.about_contents.con01::before{
        top: -55px;
        right: -18px;
        width: 51%;
}
.about_contents.con02::before{
    display: none;
}
.about_contents.con02,
.about_contents.con03{
    border-top: 1px solid var(--gray);
    padding-top: 16%;
}

.point{
    max-width: 100%;
    margin: 12% auto;
    border: 1px solid var(--main);
    position: relative;
    padding: 4.8rem 2.4rem;
}
.point_ttl{
            position: absolute;
        top: 0;
        left: 0;
        background: var(--main);
        color: var(--light);
        min-width: 90px;
        text-align: center;
        font-size: 1.3rem;
        line-height: 1;
        padding: .8rem 1.6rem;
}
.point li{
    position: relative;
        font-size: 1.6rem;
        line-height: 1.8;
        display: flex;
        gap: 0 .3rem;
        align-items: flex-start;
        padding-bottom: 0.8rem;
}
.point li::before{
    content: '･';
    font-size: 200%;
    display: block;
    color: var(--main);
    line-height: .8;
}
.about_img{
    display: block;
    border: 1px solid var(--main);
    position: absolute;
}
.about_img.img01{
    right: 0;
    top: 20%;
    width: 20%;
}
.flow{
    margin-top: 6%;
}
.flow li{
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 10%;
}

.reform_flex_wrap{
    display: block;
    margin-top: 24%;
    margin-bottom: 2.4rem;
    align-items: flex-start;
}
.reform_flex_box{
    margin-bottom: 16%;
}
.reform_flex_box .num{
    position: absolute;
        top: -26px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        background: var(--main);
        text-align: center;
        color: var(--light);
        font-size: 3.2rem;
        line-height: 1;
        padding: .8rem 1.6rem;
}
.reform_flex_box dl {
            padding: 5.6rem 2.4rem 1.6rem;
}
.reform_flex_box dt {
    color: var(--main);
        font-size: 2.0rem;
    margin-bottom: 1.6rem;
    padding-bottom: 1.6rem;
}
.reform_flex_box dd {
        position: relative;
        color: var(--dark);
        font-size: 1.6rem;
        line-height: 1.8;
        margin-bottom: 0;
}

.renovation_flex {
    display: block;
    justify-content: space-between;
    margin-top: 16%;
    margin-bottom: 10%;
}
.renovation_flex_box {
    margin-bottom: 4rem;
}
.renovation_flex_ttl {
    font-size: 1.8rem;
    min-height: auto;
}
.renovation_flex_area {
    padding: 2.4rem 2.4rem;
}
.renovation_flex_area dd {
    position: relative;
    font-size: 1.6rem;
    line-height: 1.8;
    display: flex;
    gap: 0 .8rem;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray);
    color: var(--dark);
    margin-top: 1.6rem;
    padding-bottom: 1.6rem;
}
.renovation_flex_area dd:last-child {
    border-bottom: none;
}
.renovation_flex_area dd::before {
    content: '･';
    font-size: 200%;
    display: block;
    color: var(--main);
    line-height: 0.8;
}
.renovation_flex_area dd.maincolor {
    color: var(--main);
    align-items: flex-start;
}
.renovation_flex_area dd.maincolor::before {
    content: '';
    background-image: url(../../img/about/arrow.svg);
    display: block;
    width: 22px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 10px;
}
.renovation_cv{
    background: var(--main);
        position: relative;
        padding: 16% 3.2rem;
        margin-top: 34%;
        margin-bottom: 8%;
}
.renovation_cv::before {
    content: '';
    display: block;
    background-image: url(../../img/common/logo_reformcanvas_w.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 35%;
    height: 100%;
    opacity: .1;
}
.renovation_img {
    display: block;
    border: 1px solid var(--main);
    position: absolute;
}
.renovation_img.img01 {
    top: -78px;
        right: -2%;
        width: 33%;
}
.renovation_img.img02 {
            bottom: -78px;
        left: -2%;
        width: 33%;
}
.renovation_cv p {
    text-align: left;
        color: var(--light);
        font-size: 1.6rem;
        line-height: 1.8;
        position: relative;
}




}