﻿#top01,
#top02,
#top03,
#top04,
#top05,
#top06{
	width:100%;
	max-width: 560px;
	margin:0 auto;
}

/* ローディング */
#load{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility .4s ease;
}
#load img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 消すとき */
#load.hide{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 初回読み込みのちらっとコンテンツが見えるのを防ぐ */
body:not(.is-ready) .content-body{
  opacity: 0;
  visibility: hidden;
}
body.is-ready .content-body{
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility .4s ease;
}

/* MVスクロールアニメーション */
.container_05 {
  position: absolute;
  z-index: 100;
  left: 50%;
  bottom: 0;
  height: 300px;
}

.scrollbar-text_05 {
  display: inline-block;
  position: absolute;
  bottom: 0;
  padding: 10px 10px 110px;
  color: #fff;
  font-size: 14px;
  font-family: serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  left: 50%;
  transform: translateX(-50%);
}

.scrollbar_05 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1px;
}

.scrollbar_05::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100px;
  background: #fff;
  animation: liner 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes liner {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  30% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  70% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}


/* メインコンテンツ */
.main_wrap{
  background: #FFF;
  box-sizing: border-box;
  margin: 2em auto 0;
  width: 100%;
  max-width: 540px;
}

/*  ボタン */
.top01_btn a{
  border: 1px solid #000C2E;
  background: #000C2E;
  color: #FFF;
  padding: 1.5em 2em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out; 
}
.top01_btn a::after{
  content: "";
  background: url("../img/common/icon_more_arrow.svg") no-repeat;
  display: block;
  width: 25px;
  height: 6px;
}
.top01_btn a:hover{
  background: #FFF;
  color: #000C2E;
}
.top01_btn a:hover::after{
  background: url("../img/common/icon_more_arrow_kon.svg") no-repeat;
}

.top02_btn{
  width: 60%;
  margin: 0 auto;
}
.top02_btn a{
  border: 1px solid #B59200;
  background: #B59200;
  color: #FFF;
  padding: 1em 1.5em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out; 
}
.top02_btn a::after{
  content: "";
  background: url("../img/common/icon_more_arrow.svg") no-repeat;
  display: block;
  width: 25px;
  height: 6px;
}
.top02_btn a:hover{
  background: none;
  border-color: #FFF;
}
.top02_btn a:hover::after{
  background: url("../img/common/icon_more_arrow.svg") no-repeat;
}

/* position */
.po_stic_top0{
  position: sticky;
  top: 0;
  z-index: 1;
}
.po_rela_z2{
  position: relative;
  top: 0;
  z-index: 2;
}

/* コンテンツ配置 */
.disp_flex{
  display: flex;
  gap: 1em;
}
.disp_flex_ac{
  display: flex;
  align-items: center;
  gap: 1em;
}
.disp_flex_jusb{
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.disp_flex_ac_jusb{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

/* 画像配置 */
.cont_inner_img_cen{
  background: #FFF;
  padding: 3em 7.5%;
}
.cont_inner_img_ri{
  background: #FFF;
  padding: 4em 0 4em 25%;
}


/* イントロ */
.top_intr{
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.top_intr_inner{
  background: rgba(255,255,255,0.5);
  box-sizing: border-box;
  padding: 4em 7.5% 2em;
  position: relative;
  z-index: 2;
}

/* 見出し */
.top_tit_img{
  width: calc(100% - 7.5%);
  margin-left: auto;
}

/* 共通ブロック */
.cont_bg{
  background:  linear-gradient(#FFF 7em, #F7F7F7 7em);
  padding-bottom: 3em;
  margin-top: -1px;
}
.cont_inner{
  padding: 0 7.5%;
}

/* 間取り相談 */
.top01_02.cont_bg{
  background-image: linear-gradient(transparent 0, #FFF 6em, #F7F7F7 13em);
  padding: 10em 0 2em;
  margin-top: -6em;
}

/* 資金運用相談 */
.top01_03.cont_bg{
  background: #F7F7F7;
  padding-top: 20vw;
  margin-top: -20vw;
}

/* 特徴 */
.top01_01label{
  display: flex;
  align-items: center;
}
.top01_01label::before{
  content:"";
  display: block;
  width: 7em;
  border-top: 1px solid #8C93AA;
  margin-top: -0.15em;
  margin-right: 0.75em;
}

/* 業務案内 */
.top_busi{
  background: #FFF;
}
.top_busi_list{
  margin: 2em auto;
  width: 86%;
}
.top_busi_list>ul{
  display: flex;
  flex-wrap: wrap;
  gap: 1em 0;
}
.top_busi_list li{
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);    /* 合成レイヤー化しやすくする */
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
/* 背景（画像） */
.top_busi_list li::after{
  content:"";
  position: absolute;
  inset: 0;
  background: var(--bg) #fff no-repeat center / cover;
  transform: scale(1);
  transition: transform .35s ease;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1); /* Zを入れてGPUに寄せる */
  z-index: 0;
}
.top_busi_list li::before{
  content:"";
  background: linear-gradient(
    90deg,
    rgba(0,12,46,.65) 0%,
    rgba(0,12,46,.50) 55%,
    rgba(0,12,46,0) 100%
  );
  position: absolute;
  inset: 0;
  outline: 1px solid rgba(255,255,255,0.55);
  outline-offset: -10px;
  z-index: 1;
}
.top_busi_txt{
  box-sizing: border-box;
  padding: 0 7% 1em 10%;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.top_busi_list li:nth-child(1){ --bg: url("../img/top/top_04.jpg"); }
.top_busi_list li:nth-child(2){ --bg: url("../img/top/top_16.jpg"); }
.top_busi_list li:nth-child(3){ --bg: url("../img/top/top_12.jpg"); }
.top_busi_list li:nth-child(4){ --bg: url("../img/top/top_17.jpg"); }

.top_busi_list li:hover{
  cursor: pointer;
}
.top_busi_list li:hover::after{
  transform: scale(1.04);
}

.top_busi_num{
  font-size: 260%;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.top_busi_inner{
 width: 90%;
 max-width: 300px;
 margin: 0 auto 0 1em;
}
:root{
  --top_more_btn_size: 40px;
}
.top_more_btn{
  background:url("../img/common/icon_more_arrow_FFF.svg") no-repeat center / 20px #B59200;
  border-radius: 50px;
  width: var(--top_more_btn_size);
  height: var(--top_more_btn_size);
  position: absolute;
  right: 1em;
  bottom: -1em;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out; 
}
.top_busi_list li:hover .top_more_btn{
  transform: translateX(7px);
}

/* 会社案内 */
.top_comp{
  padding: 2em 7.5%;
  overflow: hidden;
}
.top_comp_title{
  position: relative;
  z-index: 4;
}
.top_comp_bg{
  margin: -2.5em 0;
  position: relative;
  z-index: 1;
}
.top_comp_cacth{
  position: absolute;
  top: 10em;
  right: 2em;
  z-index: 2;
  width: 50%;
}
.top_comp_img{
  width: 40%;
  margin-left: auto;
  position: relative;
}
.top_comp_img::after{
  content:"";
  display: block;
  width: 60vw;
  height: 30vh;
  background: #F7F7F7;
  position: absolute;
  top: -1em;
  right: 2em;
  z-index: -1;
}

.top_comp_txt02{
  width: 52%;
}
.top_comp_img02{
  width: 48%;
  margin-left: -10%;
  position: relative;
}
.top_comp_img02::after{
  content:"";
  display: block;
  width: 26vw;
  height: 40vh;
  background: #F6F2E8;
  position: absolute;
  bottom: -8em;
  z-index: -1;
}
.top_comp_list li{
  padding: 0.25em 0;
}
/* マップ表示 */
.map_block {
    display: block;
    position:relative;
    padding-bottom: 100%; /* 330/547*100　*/
    height: 0;
    overflow: hidden;
}
.map_block iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 事例 */
.top_case_bg{
  background: rgba(0,12,46,0.35);
}
.top_case_bg img{
  position: relative;
  z-index: -1;
}
.top_case{
  position: relative;
  top: 0;
  z-index: 1;
  margin-top: -650px;
}
.top_case_list{
  padding-bottom: 6em;
  margin: -10em auto 0;
}
.top_case_list li{
  margin: 2em auto;
  width: 90%;
  max-width: 432px;
  overflow: hidden;
}

.top_case_list li:nth-child(2) .top_case_info{
  padding-left: 35%;
}
.top_case_info{
  padding-bottom: 6em;
}
.top_case_info dl{
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}
.top_case_info dt{
  border-radius: 50px;
  border: 1px solid #000C2E;
  padding: 0.75em 1em;
  flex-shrink: 0;
  line-height: 1;
  width: 5em;
  text-align: center;
  font-size: 0.85em;
}

.top_case_tit{
  padding-bottom: 22em;
  text-shadow: 0 0 10px #000C2E;
}

/* 共通 */
.top_case_cont a{
  display: block;
  box-sizing: border-box;
  padding: 2em 2.5em;
  margin: 0 auto;
  text-decoration: none;
  transition: background-color .2s ease-in-out;
  
  background-color: #fff;
  background-image: var(--bg-img);
  background-repeat: no-repeat;
  background-position: var(--bg-pos, bottom right);
  background-size: var(--bg-size, 50%);
}

.top_case_cont a:hover{
  background-color: #F6F2E8;
}

.top_case_list li:nth-child(1) .top_case_cont a{
  --bg-img: url("../img/top/top_14.png");
  --bg-pos: bottom right;
  --bg-size: 50%;
}

.top_case_list li:nth-child(2) .top_case_cont a{
  --bg-img: url("../img/top/top_15.png");
  --bg-pos: bottom -10px left;
  --bg-size: 46%;
}

.top_case_cont a:hover .top_case_label{
  background: #FFF;

}
.top_case_cont .top_more_btn{
  bottom: 2em;
}
.top_case_list li:nth-child(1) .top_more_btn{
  right: auto;
  left: 3em;
}
.top_case_cont a:hover .top_more_btn{
  transform: translateX(7px);
}

:root{
  --top-case-label-size: 80px;
}
.top_case_label{
  background: #F6F2E8;
  border-radius: 100px;
  color: #000C2E;
  width: var(--top-case-label-size);
  height: var(--top-case-label-size);
  text-align: center;
}
.top_case_label p{
    position: relative;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/*=================================================================================*/
/** メインコンテンツ440px以上　タブレット縦　サイズ画面  **/
@media screen and (min-width: 540px){
/* 背景 */
.img-frame{
   width: 100%;
   height: 100vh;
   overflow: hidden;
   position: fixed;
   top: 0;   
   z-index: -1;
}
.img-frame::before{
  content:"";
  display: block;
  background: rgba(0,12,46,0.35);
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: 1;
}
/* 共通 */
.img-01,.img-02,.img-03,.img-04,.img-05{
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  animation-duration: 40s;      /* 8s × 5枚 */
  animation-iteration-count: infinite;
  will-change: opacity, transform;
}

/* ズームアウト */
@keyframes slideZoomOut {
  0%   { opacity:0; transform:scale(1.08); }
  10%  { opacity:1; }
  45%  { opacity:1; transform:scale(1.00); }
  55%  { opacity:0; }
  100% { opacity:0; }
}

/* ズームイン */
@keyframes slideZoomIn {
  0%   { opacity:0; transform:scale(1.00); }
  10%  { opacity:1; }
  45%  { opacity:1; transform:scale(1.08); }
  55%  { opacity:0; }
  100% { opacity:0; }
}

.img-01{ background-image:url('../img/top/slide/slide01.jpg'); animation-name:slideZoomOut; animation-delay: 0s; }
.img-02{ background-image:url('../img/top/slide/slide02.jpg'); animation-name:slideZoomIn;  animation-delay: 8s; }
.img-03{ background-image:url('../img/top/slide/slide03.jpg'); animation-name:slideZoomOut; animation-delay:16s; }
.img-04{ background-image:url('../img/top/slide/slide04.jpg'); animation-name:slideZoomIn;  animation-delay:24s; }
.img-05{ background-image:url('../img/top/slide/slide05.jpg'); animation-name:slideZoomOut; animation-delay:32s; background-position:center bottom; }



/* メインコンテンツ */
:root{
  --top_more_btn_size: 60px;
}
.top_more_btn{
  background-size: auto;
  right: 2em;
  bottom: 1em;
}
.top_busi_txt{
  padding: 0 10% 1em;
}
.top_busi_num {
    font-size: 460%;
}

.top_comp_cacth{
  top: 12em;
}
.top_comp_cont{
  display: flex;
  justify-content: space-between;
  gap: 1em; 
}
.top_comp_txt{
  width: 60%;
}
.top_comp_img::after{
  display: none;
}
.top_comp_img02::after {
  width: 16vw;
  bottom: -4em;
  left: 3em;
}
.top_case{
  margin-top: -900px;
}



}

@media (min-width : 1200px) {
.pc_container{
  display: flex;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.pc_navi{
  position: fixed;
  top: 0;
  left: 0;
  width: calc((100% - 540px) / 2);
}
.pc_naviinner{
  background: linear-gradient(
    90deg,
    rgba(0,12,46,.88) 0%,
    rgba(0,12,46,.70) 48%,
    rgba(0,12,46,.24) 76%,
    rgba(0,12,46,0) 100%
  );
  padding: 5vw;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
}
.pc_naviinner a{
  color: #FFF;
  display: block;
  border-bottom: 1px dotted rgba(255,255,255,0.2);
  padding: 1.5em 2em;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.pc_naviinner a:hover{
  color: #B59200;
}
.pc_navi_logo{
  position: absolute;
  bottom: 5em;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 340px;
}
}