@charset "utf-8";
/* ========== genhan-top ========== */
.genhan-keyv {
    padding: 0;
    background: #fff;
    position: relative;
    /* height: 800px; */
}
.genhan-keyv__heading{
    position:absolute;
    z-index:2;
    top: 47%;
    left: 50%;
	transform: translate(-50%, -50%);
    width: 100%;
}
.genhan-keyv__heading .genhan-keyv__title {
    color: #fff;
    content-visibility: auto;
    font-size: 5rem;
    text-align: center;
    width: 100%;
    border: none;
    padding-bottom: 0;
    font-weight: 700;
    min-height: 75px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,.5),0 0 10px rgba(0,0,0,.5);
}
.genhan-subcopy{
	color: #fff;
    font-size: 2.8rem;
    line-height: clamp(32px,2.6vw,50px);
    text-align: center;
    font-weight: 700;
    width: 100%;
    display:block;
    margin-top: 30px;
}
.genhan__flex--img{
    position: relative;
    overflow: hidden;
    width: 100%;
}

.genhan__flex--img img {
    vertical-align: middle;
    width: 100%;
    height: 800px;
    max-width: 100%;
    object-fit: cover;
}
.genhan__flex--img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    max-height: 800px; 
    background: url("/wp/wp-content/themes/baibaisite/genhan/images/keyv_overlay.png") ;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.genhan-overview {
    max-width: 1220px;
    width: 100%;
    box-sizing: border-box;
    z-index: 9;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}
.overview-bukken_mei {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.6rem;
    padding-left: 15px;
    font-weight: 500;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px;
}
.genhan-overview-box{
    display: flex;
    width:100%;
    /* background:
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)),
    var(--acc1); */
    background-color: #e5dfd0;/* C21カラー（#beaf87）に白60％ */
    border-radius: 5px;
    padding: 40px 30px;
    box-sizing: border-box;
    gap: 25px;
    height: 100%;
    align-items: center;
}
.genhan-overview-box .overview-syubetsu {
    width: clamp(123px,9.45vw,180px);
    height: 35px;
    background: #023861;
    color: #fff;
    font-size: clamp(15px,0.94vw,18px);
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.genhan-overview-box .overview-kakaku {
    font-size: 46px;
    margin: 0;
    display: flex;
    align-items: first baseline;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    padding-bottom: 6px;
}
.genhan-overview-box .overview-kakaku .yen-man{
    font-size: 22px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}
.genhan-overview-box .overview-info {
  font-size: 1.6rem;
  margin: 0;
  display: flex;
  font-weight: 300;
  max-width: 810px;
  text-align: justify;
}
.genhan-keyv + .pankuzu {
    margin-bottom: 35px;
}
.genhan-keyv + .pankuzu.adjust {
    width: calc(100% - 100px);
    margin: auto;
    padding: 16px 0;
    max-width: 1200px;
}
/* ========== appeal-text ========== */
.appeal-text{
    text-align: center;  
    font-weight: 500;
    line-height: 1.8;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    max-width: 1220px !important;
    box-sizing: border-box;
}
.post-type-genhan .appeal-text p{
    font-size: 2rem;
    letter-spacing: normal;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0;
    color: #333;
}

/* ========== genhan-heading ========== */
.genhan-bg-field .image-wrap img {
    aspect-ratio: 16 / 6;
    cursor: pointer;
    display: block;
    object-fit: cover;
    object-position: center;
}
.myblock._genhan-heading {
    background-color: #e5dfd0;/* C21カラー（#beaf87）に白60％ */
    background-position: 50%;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 100px;
    max-width: none;
    min-height: 200px;
    word-break: auto-phrase;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}
.myblock._genhan-heading :is(h1,h2,h3,h4,h5,h6) {
    border: none;
    color: #414042;
    line-height: 1.26;
    margin: 0;
    padding: 0;
    font-size: 4rem;
}

.myblock._genhan-heading .-jtitle {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: .075em;
    min-height: 1em;
    text-align: center;
}

/* ========== .genhan-points ========== */
.genhan-points{
  counter-reset: point;
}
.post-type-genhan .genhan-points h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    margin: 0 auto 50px;
    border: none;
    color: #023861;
    padding-left: 10px;
    padding-right: 10px;
}
.genhan-point-item{
    counter-increment: point;
    display: flex;
    margin-bottom: clamp(68px, 5.25vw, 100px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}
.genhan-points .genhan-point-item:nth-of-type(odd){
    flex-direction: row;
    justify-content: left;
}
.genhan-points .genhan-point-item:nth-of-type(even){
    flex-direction: row-reverse;
    justify-content: right;
}

.genhan-points .genhan-point-item .point-image {
    width: 50%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    max-height: 400px;
}
.genhan-points .genhan-point-item .point-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.genhan-points .genhan-point-item .point-text {
    width: 50%;
    box-sizing: border-box;
    max-width: 740px;
    padding: clamp(31px,2.36vw,45px) clamp(34px,2.6vw,50px);
}
@media screen and (min-width:1200px) { 
    .genhan-points .genhan-point-item:nth-of-type(odd) .point-text {
        padding-right: 0;
    }
    .genhan-points .genhan-point-item:nth-of-type(even) .point-text {
        padding-left: 0;
    }
}

.genhan-point-item .point-text h3 {
    border: none;
    font-size: 2.8rem;
    font-weight: 700;
    margin: -10px auto 42px;
    padding:0;
    color: #333;
    line-height: 1.4;
    position: relative;
}
.genhan-point-item .point-text h3::after{
    position: absolute;
    bottom: -11px;
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: #333;
}
.genhan-point-item .point-text p{
  line-height: 2;
  font-size: 1.6rem;
  letter-spacing: normal;
  margin: 0 auto;
}

/* ========== genhan-gallery ========== */
.genhan-gallery .gallery-wrap {
    position: relative;
}
.genhan-gallery .gallery-title {
    border: none;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 4.4rem;
    color: #023861;
    margin-bottom: 0;
    padding-bottom: 14px;
    letter-spacing: 0.05em;
    line-height: 1;
}
.post-type-genhan .genhan-gallery .gallery-subtitle {
    margin-bottom: 45px;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: #beaf87;
    margin-top: 0;
    line-height: 1;
    letter-spacing: normal;
}

.gallery-main .swiper-slide {
    transform: scale(0.85); 
    transition: all 0.3s;
    aspect-ratio: 840 / 560;
    padding-bottom: 85px;
    position: relative;
}

.gallery-main .swiper-slide:not(.swiper-slide-active)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: auto;
    max-height: 800px;
    background: rgba(0, 0, 0, .3);
    transform: translateX(-50%);
    pointer-events: none;
    border-radius: 30px;
    aspect-ratio: 840 / 560;
}
.gallery-main .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-main .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.gallery-main .swiper-slide.swiper-slide-next .caption,
.gallery-main .swiper-slide.swiper-slide-prev .caption {
    display: none;
}
.gallery-main .swiper-slide.swiper-slide-active .caption {
    margin: 15px 0 0;
    font-size: 1.6rem;
    letter-spacing: normal;
}
.swiper-button-prev::before, .swiper-button-next::before{
    display: none;
}
/* swiper矢印 */
/* .gallery-main .swiper-button-next:after,
.gallery-main .swiper-button-prev:after{
    display: none;
}
.gallery-main .swiper-button-prev,
.gallery-main .swiper-button-next {
    width: 20px;
    height: 100%;
    padding: 0;
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    background: url(/wp/wp-content/themes/baibaisite/genhan/images/arrow.png) no-repeat center center;
    background-size: contain;
    border: 0;
}
.gallery-main .swiper-button-prev {
    left: calc(50% - clamp(321px,24.67vw,470px));
}
.gallery-main .swiper-button-next {
    right: calc(50% - clamp(321px,24.67vw,470px));
    transform: translateY(-50%) scale(-1,1);
} */
/* swiper矢印 */
.gallery-wrap .swiper-button-prev,
.gallery-wrap .swiper-button-next {
  width: 40px;
    height: 40px;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-size: 6px;
    border: 0;
    background-image: url("/wp/wp-content/themes/baibaisite/genhan/images/arrow.png");
    background-repeat: no-repeat;
    background-position: calc(50% + -1px) center;
    background-color: #e5dfd0;/* C21カラー（#beaf87）に白60％ */
    border-radius: 50%;
}

.gallery-wrap .swiper-button-prev {
    left: -70px; /* 好みで調整 */
}

.gallery-wrap .swiper-button-next {
    right: -70px; /* 好みで調整 */
    transform: translateY(-50%) scale(-1,1);
}


.genhan-gallery .gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}
.genhan-gallery.genhan-container{
    max-width: 840px;
}

.genhan-gallery {
  user-select: none;
}
.genhan-gallery img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
/* 矢印はクリックできるように戻す */
.genhan-gallery .swiper-button-prev,
.genhan-gallery .swiper-button-next {
  pointer-events: auto;
}
.genhan-gallery .swiper-button-prev::after,
.genhan-gallery .swiper-button-next::after{
    display: none;
}
.gallery-thumbs .swiper-wrapper {
  display: contents; 
}

.gallery-thumbs .swiper-slide {
  width: calc((100% - 80px) / 5); 
  cursor: pointer;
  opacity: 0.6;
  aspect-ratio: 3/2;
}
.gallery-thumbs .swiper-slide img {
  object-fit: cover;
  height: 100%;
  margin: auto;
}
.gallery-thumbs .swiper-slide.is-active,
.gallery-thumbs .swiper-slide:hover{
  opacity: 1;
}


/* ========== genhan-movie ========== */
.genhan-movie {
    border: 1px solid #e3e3e3;
    width: calc(100% - 20px);
    max-width: 1200px !important;
    margin: 100px auto;
    padding: 30px;
    box-sizing: border-box;
}
.genhan-movie h3{
    color: #414042;
    font-size: 2rem;
    line-height: 1;
    border: none;
    margin: 0 0 30px;
    padding: 0;
}
.genhan-movie iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.movie-preview {
  margin-bottom: 10px;
}


/* ========== genhan-plan ========== */
.genhan-plan {
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 1220px !important;
    justify-content: space-between;
    box-sizing: border-box;
    color: #333;
    padding-left: 10px;
    padding-right: 10px;
}
.genhan-plan.is-reverse{
    flex-direction:row-reverse;
}
.genhan-plan .plan-text h3 {
    font-size: 3.4rem;
    color: #333;
    border: none;
    padding: 0;
    line-height: 1;
}
.genhan-plan .plan-text h3 + .price{
    margin-top: 10px;
}
.genhan-plan .plan-image {
    width: 100%;
}
.genhan-plan .plan-image img {
    height: 100%;
    max-height: 900px;
    max-width: 650px;
    -o-object-fit: scale-down;
    object-fit: scale-down;
    -o-object-position: center;
    object-position: center;
    width: 100%;
}
.genhan-plan .plan-text {
    width: 100%;
    max-width: 480px;
    /* height: 400px; */
    background-color: #f3eee3;
    box-sizing: border-box;
    padding: 49px 0 44px;
    text-align: center;
    height: 100%;
    min-height: 197px;
}
.genhan-plan .price {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 6.8rem;
    font-weight: 700;
    line-height: 1;
}
.genhan-plan .price::after{
    content: "万円";
    margin-left: 4px;
    font-size:3.6rem;
    font-weight: 700;
}
.genhan-plan .price:empty::after {
  content: "";
}
.genhan-plan .price:not(:empty)::after {
  content: "万円";
}
.genhan-plan .plan-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1;
    margin: 33px auto 36px;
}
/* .genhan-plan .plan-text p::first-letter {
  font-size: 6rem;
} */
.genhan-plan .plan-text .area-row {
    display: flex;
    gap: 5px;
    align-items: baseline;
    justify-content: center;
    text-align: justify;
    margin-bottom: 10px;
}
.genhan-plan .plan-text .areas{
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}
.genhan-plan .plan-text .areas span.area-type::after {
    content: "／";
    padding-left: 5px;
}
.genhan-plan .plan-text .areas span.area-value{
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1;
}
.genhan-plan .plan-text .areas span.area-unit{
    font-size: 2.8rem;
    line-height: 1;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ========== genhan-environmet ========== */
.genhan-environment {
    background: #f3eee3;
    padding: 30px;
    width: calc(100% - 20px);
    margin: auto;
    box-sizing: border-box;
    max-width: 1200px !important;
}
.genhan-environment .environment-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 100px 30px;
    color: #333;
}

.genhan-environment .environment-item .env-image {
    aspect-ratio: 3 / 2;
    margin-bottom: 17px;
}
.genhan-environment .environment-item .env-image img {
    display: block;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}
.genhan-environment .environment-item .env-text h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #333;
    border: none;
    padding: 0;
}
.genhan-environment .environment-item .env-text p {
    font-size: 1.6rem;
    line-height: 1.75;
    margin: 0;
}

/* ========== genhan-vr ========== */
.genhan-vr{
    margin-bottom: 100px;
}
.genhan-vr h3 {
    width: 100%;
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    margin: 0 auto 50px;
    border: none;
    color: #414042;
    padding: 0;
}
.vr-iframe {
    width: 100%;
    height: 600px;
    max-width: 1200px;
    margin: auto;
}

/* ========== genhan-vr ========== */
.block-editor-block-list__block[data-type="baibaisite/toi-insert"] {
    width: 1200px;
    margin-bottom: 100px;
}