@charset "utf-8";
/*------------------------------------------------------------
	worksDetail
------------------------------------------------------------*/
#main .worksDetail .topBox {
    padding: 12px 19px 25px 21px;
    text-align: center;
}

#main .worksDetail .topBox img {
    margin-bottom: 9px;
}

#main .worksDetail .topBox .ttl {
    margin-bottom: 26px;
    text-align: center;
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: -2px;
}

#main .worksDetail .topBox .ttl span {
    margin-bottom: 1px;
    display: block;
    font-size: 1.5rem;
    color: #717071;
    font-weight: 400; 
    letter-spacing: 0;
}

#main .worksDetail .topBox p {
    font-size: 1.6rem;
    line-height: 1.38;
    text-align: left;
}

#main .worksDetail .bgBox {
    padding: 33px 19px 5px 21px;
    text-align: center;
    background-color: #EEEEEF;
}

#main .worksDetail .bgBox .imgBox {
    margin-bottom: 21px;
}

#main .worksDetail .bgBox img {
    margin-bottom: 12px;
	max-width: 100%;
	height: auto;
}

#main .worksDetail .bgBox .imgBox p {
    margin: 0 -10px 11px;
    padding: 15px 17px 21px;
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: left;
    background-color: #fff;
}

#main .worksDetail .bgBox .imgBox p.img {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    background-color: inherit;
	text-align: left;
}

#main .worksDetail .bgBox ul {
	overflow: hidden;
}

#main .worksDetail .bgBox ul li {
    width: 49%;
	float: left;
}

#main .worksDetail .bgBox ul li:nth-child(2n) {
	float: right;
}

#main .worksDetail .bgBox .line {
    margin: 33px -19px 18px -21px;
    height: 1px;
    background-color: #fff;
}

#main .worksDetail .bgBox .title {
    margin: 0 -6px 14px -9px;
    padding: 6px 8px 7px;
    font-size: 1.8rem;
    color: #fff;
    background-color: #E7709F;
    text-align: left;
    border-radius: 5px;
}

#main .worksDetail .bgBox .txt {
    margin: 0 0 30px -5px;
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.5;
}


/*----------------------
	コンタクトフォーム
----------------------*/
#main .worksDetail .comForm .tableBox table th, #main .worksDetail .comForm .tableBox table td {
    text-align: left !important;
}



/*------------------------------------------------------------
	works
------------------------------------------------------------*/
#main .works .headLine03 {
    margin-bottom: 0;
}

#main .works p.ecosumai{
    display: block;
    font-size: 1.9rem;
    color:#000 !important;
    margin: 10px 15px 6px;
    text-align: center;
    font-weight:bold;
    line-height: 1.5;
    padding-bottom: 5px;
}
#main .works p.ecosumai span{
    font-size: 2.1rem;
    color:#7BB54D !important;
    margin: 10px 15px 6px;
    text-align: center;
    font-weight:bold;
    line-height: 1.5;
    padding-bottom: 5px;
}

#main .works p.ecosumai span.more{
    display: block;
    width: 80%;
    font-size: 1.4rem;
    background:#7BB54D;
    color:#fff !important;
    font-weight:bold;
    border-radius: 4px;
    padding:2%;
    margin: 10px auto;
    text-align: center;
}

#main .works .headLine03 .workscount {
	font-size: 18px;
    font-weight: normal;
    padding-left: 15px;
}

#main .works .headLine03 img.tr{
	width: 31px;
	height: auto;
	vertical-align: middle;
	margin-left: 2em;
}


#main .works h3.head {
	font-size: 2.3rem;
	color:#7BB54D;
	margin: 10px 15px 6px;
	text-align: center;
	font-weight: 700;
	line-height: 1.0;
	padding-bottom:5px;
}


#main .works p.head {
	font-size: 0.9em;
	color:#7BB54D;
	margin: 0 15px 6px;
	text-align: left;
	line-height: 1.0;
	padding-bottom:5px;
}



#main .works .main-img {
	margin-bottom: 18px;
}

#main .works .photo_gallery_tlt{
    padding: 15px 1px 15px 12px;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.5px;
    background:#EE8EB2;
    color:#fff;
    margin-bottom: 10px;
}
#main .works .movie_gallery_tlt{
    padding: 15px 1px 15px 12px;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.5px;
    background-color: rgba(236, 135, 137, 1.00);
    color:#fff;
    margin-bottom: 10px;
}

#main .works .linkUl {
    padding: 10px 0 9px;
    background: rgba(245, 245, 244, 1.00);
    border: 1px #ccc solid;
    width: 92%;
    margin:10px auto;
    border-radius:5px;
}

#main .works .linkUl li {
    width: 50%;
    float: left;
    box-sizing: border-box;
    font-weight: bold;
}

#main .works .linkUl li a {
    padding: 10px 19px 16px;
    font-size: 1.7rem;
    color: #000;
    display: block;
    border-bottom: 1px solid #ccc;
    background: url("../images/works/icon02.png") no-repeat right 15px center;
    background-size: 7px auto;
}

#main .works .linkUl li:hover {
    opacity: 0.7;
}

#main .works .linkUl li:nth-child(2n+1) a {
    border-right: 1px solid #ccc;
}

#main .works .linkUl li:nth-last-child(-n + 2) a {
    border-bottom: none;
}

#main .works .linkUl01 {
    margin-bottom: 26px;
    padding: 10px 0 6px;
    background-color: #F9D5E3;
}

#main .works .linkUl01 li a {
    padding: 12px 19px;
    color: #fff;
    border-bottom: 1px solid #717071;
    background: url("../images/works/icon02.png") no-repeat right 15px center;
    background-size: 7px auto;
}

#main .works .linkUl01 li:nth-child(2n+1) a {
    border-right: 1px solid #717071;
}



#main .works .linkUl01 li:last-child a {
    border-bottom: none;
}

#main .works .bgBox {
    padding: 21px 10px 27px;
    background-color: #EEEEEF;
}

#main .works .bgBox li a {
    display: block;
    padding: 13px 10px 17px;
    background-color: #fff;
    text-align: center;
}

#main .works .bgBox li:not(:last-child) {
    margin-bottom: 13px;
}

#main .works .bgBox li img {
    margin-bottom: 9px;
}

#main .works .bgBox li p {
    margin-left: 10px;
    text-align: left;
    font-size: 1.5rem;
    color: #717071;
}

#main .works .bgBox li p span {
    margin-top: 5px;
    display: block;
    font-size: 1.9rem;
    letter-spacing: -2px;
    font-weight: 500;
    color: #231815;
}

#main .works .concept-block {
	margin: 30px 0;
	padding: 0 15px;
	line-height: 1.55;
}
#main .works .concept-block .ttl {
	text-align: center;
    font-size: 2rem;
    color: #EE8EB2;
    font-weight: 700;
    line-height: 1.27;
	margin-bottom: 22px;
}
#main .works .concept-block img {
	margin-top: 10px;
}

#main .works .concept-block .ttlmin {
	text-align: center;
    font-size: 1.9rem;
    color:#66A8D3;
    font-weight: 700;
    line-height: 1.27;
	margin-bottom: 1px;
}

#main .works .concept-block .ttlmin+img {
margin: 0px 0 10px;
}

#main .works .banner {
	margin: 29px -15px 0;
}

#main .works .banner img {
	width: 100%;
}



/*----------------------
	ルームツアーボタン
----------------------*/
#main .works .col2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 1% 3%;
    justify-content: space-between;
    width: 92%;
    margin:20px auto;
}
#main .works .col2 .movie_btn {
    border-radius: 5px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border: 1px #ccc solid;
    background: rgba(245, 245, 244, 1.00);
    aspect-ratio: 1.66666666666667 / 1;
    padding: 10px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    align-items: center;
    align-content: space-between;
    justify-content: space-evenly;
    justify-items: center;
}
#main .works .col2 .movie_btn p {
    font-size: 1.0rem;
    text-align: center;
    margin: 10px auto 4px;
}
#main .works .col2 .movie_btn h3 {
    font-size: 1.3rem;
    text-align: center;
}
#main .works .col2 .movie_btn h3 span {
    font-size: 0.8rem;
    text-align: center;
    line-height: 2.0;
}
/*----------------------
	矢印
----------------------*/
.ya {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ya .field {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height:30px;
}
.ya .field .scroll {
    position: relative;
    animation: down 1.5s infinite;
    -webkit-animation: down 1.5s infinite;
}
.ya .field .scroll::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 0px;
        width: 14px;
        height: 14px;
        border-left: 2px solid #333;
        border-bottom: 2px solid #333;
        transform: rotate(-45deg);
}
@keyframes down {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translateY(5px);
    }
    40% {
        transform: translate(0);
    }
}
@-webkit-keyframes down {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translateY(5px);
    }
    40% {
        transform: translate(0);
    }
}


/* 画像ギャラリー */

.worksGallery2{
  margin: 16px 0 18px;
}

/* タイトル（ギャラリーの上） */
.wg2-ttl{
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #323232;
}

/* メイン枠 */
.wg2-main{
  position: relative;       /* ←矢印の基準 */
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
}

/* 表示領域（縦横混在OK） */
.wg2-stage{
  position: relative;       /* ←フェード用 */
  height: min(62vh, 420px); /* スマホ用の見やすい高さ。好みでOK */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* メイン画像：切らない */
.wg2-image{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* ふわっと */
  opacity: 1;
  transform: scale(1);
  transition: opacity 420ms ease, transform 520ms ease;
}

/* フェードアウト時 */
.wg2-stage.is-fading .wg2-image{
  opacity: 0;
  transform: scale(0.995);
}

/* =========================
   左右ナビ（中央固定・動かない）
========================= */
.wg2-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);  /* ←中央固定 */
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: #333;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wg2-nav::before{
  content: attr(data-arrow);
  position: relative;
  top: -1px;
}



/* 左右位置 */
.wg2-prev{ left: 12px; }
.wg2-next{ right: 12px; }

/* ★ホバーで動かさない（transformしない） */
.wg2-nav:hover,
.wg2-nav:active{
  /* 色だけ変えたいならここで */
  background: rgba(255,255,255,1);
}

/* フォーカス枠が邪魔なら */
.wg2-nav:focus{
  outline: none;
}

/* =========================
   サムネ（横スクロール）
========================= */
.wg2-thumbs{
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.wg2-thumb{
  flex: 0 0 auto;
  width: 92px;
  height: 64px;
  padding: 0;

  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;

  background: #f3f3f3;
  cursor: pointer;
  opacity: 0.7;
}

.wg2-thumb.is-active{
  border-color: #6EB1C1;
  opacity: 1;
}

.wg2-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* サムネも切らない */
  display: block;
}

