/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif!important;
  color: #fff;
  margin-top: 66px;
}

/* ヘッダー */
header {
  background-color: #006233;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 10px 20px;
}


.logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 30px;
  font-weight: bold;
}

.logo-img {
  height: 50px; /* サイズは適宜調整 */
  width: auto;
}

/* 背景色をカスタムカラーに上書き */
.custom-header {
  background-color: #006233;
}

/* 会社名スタイル */
.company-name {
  color: white;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 1.5rem;;
  font-weight: bold;
  white-space: normal; /* 折り返しOK */
  display: inline-block; /* 必要なら */
}

.c-header {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 0rem 0rem; /* カスタマイズしてください */
  width: 100%;
}

.c-header__logo {
  color: #fff; /* カスタマイズしてください */
  min-width: 80px; /* カスタマイズしてください */
  text-decoration: none;
}

.c-header__list {
  box-sizing: border-box;
  display: flex;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
}

.c-header__list-item {
  list-style: none;
  text-decoration: none;
}

.c-header__list-link {
  color: #fff; /* カスタマイズしてください */
  display: block;
  margin-right: 20px; /* カスタマイズしてください */
  text-decoration: none;
  padding: 10px 0px; /* カスタマイズしてください */
}

.c-header__list-link:hover {
  filter: opacity(0.6); /* カスタマイズしてください */
}


@media screen and (max-width: 830px) {
  .c-hamburger-menu__list {
    background-color: rgba(0, 0, 0, 0.8); /* カスタマイズしてください */
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 2rem; /* カスタマイズしてください */
    position: absolute;
    transform: translateX(-100%);
    transition: 0.3s; /* カスタマイズしてください */
    top: 100%;
    width: 100%;
    z-index: 1;
  }

  #hamburger:checked ~ .c-hamburger-menu__list {
    transform: translateX(0%);
    transition: 0.3s;
  }
}

.c-hamburger-menu__input {
  display: none;
}

.c-hamburger-menu__bg {
  background-color: #000; /* カスタマイズしてください */
  cursor: pointer;
  display: none;
  min-height: 100vh;
  left: 0;
  opacity: 0.4; /* カスタマイズしてください */
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

#hamburger:checked ~ .c-hamburger-menu__bg {
  display: block;
}

.c-hamburger-menu__button {
  display: none;
}

@media screen and (max-width: 830px) {
  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px; /* カスタマイズしてください */
    height: 32px; /* カスタマイズしてください */
    justify-content: center;
    width: 32px; /* カスタマイズしてください */
    position: absolute;
    right: 15px;
  }
}

.c-hamburger-menu__button-mark {
  background-color: #fff; /* カスタマイズしてください */
  display: block;
  height: 1px; /* カスタマイズしてください */
  transition: 0.3s; /* カスタマイズしてください */
  width: 20px; /* カスタマイズしてください */
}

@media screen and (max-width: 830px) {
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(2px, 1px) rotate(45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
}

/* メインビジュアル */
.hero {
  position: relative;
  background-image: url("images/top.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.pan-from-left {
  opacity: 0;
  transform: translateX(-100%);
  animation: panRight 1.5s ease-out forwards;
}

/* アニメーション定義 */
@keyframes panRight {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* オーバーレイとテキスト */
.overlay {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* 共通のテキストボックススタイル */
.text-box {
  border: 0.5px solid gray;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 100%;
}

/* テキストボックス（大） */
.text-box.large-text {
  font-size: 2rem;
  line-height: 2.5rem;
}

/* テキストボックス（小） */
.text-box.small-text {
  font-size: 0.9rem;
  padding-top: 15px;
  padding-bottom: 15px;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.8;
  margin: 0px;
  letter-spacing: 0.1em;
}

.hero p {
  margin-bottom: 5px;
  line-height: 1.6;
}

.c-btn{
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  width: 130px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  border: 1px solid #fff;
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  transition: .3s;
  text-decoration: none;
}
.c-btn::before {
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  right: -60px;
  z-index: -1;
  border-right: 60px solid transparent;
  border-bottom: 60px solid #fff;
  transform: translateX(-100%);
  transition: transform ease .3s;
  box-sizing: content-box;
}
.c-btn:hover {
  color: #000;
}
.c-btn:hover::before {
  transform: translateX(0);
}

.section-title {
  color: #000;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.business-card {
  background-color: #006233;
  color: #fff;
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  height: 100%;
}

.business-card img {
  width: 100%;
  height: auto;
}

@media (min-width: 310px) {
  .business-card img{
	   height:60vw;
  }
  .card-box .title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  .card-box .desc {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (min-width: 576px) {
  .business-card img{
	   height:330px;
  }
  .card-box .title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) {
  .business-card img{
	   height:150px;
  }
  .card-box .title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 992px) {
  .business-card img{
	   height:250px;
  }
  .card-box .title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  .card-box .desc {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

.card-box{
  padding: 18px;
  white-space: nowrap;
}



/* パンアニメーション初期状態 */
.pan-on-scroll {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

/* 表示されたとき */
.pan-active {
  opacity: 1;
  transform: translateX(0);
}

.slide-on-scroll {
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.6s ease;
}

.slide-on-scroll.slide-active {
  opacity: 1;
  transform: translateY(0);
}



.satisfaction {
  background-color: #006233;
  padding: 0; /* ←余白が原因なら一時的に外す */
}

.satisfaction-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 100px) {
  .satisfaction-left img {
    width: 100%;
    height:60vw;
    object-fit: cover;
    z-index: 3;
  }
  .satisfaction-items {
    margin-bottom: 10vw;
  }
}

@media (min-width: 768px) {
  .satisfaction-content {
    flex-direction: row;
    min-height: 100vh; /* ←画面全体の高さを緑背景として使う */
  }

  .satisfaction-items {
    margin-top: 10vw;
  }

  .satisfaction-left,
  .satisfaction-right {
    flex: 1;
  }

  .satisfaction-left {
    display: flex;
    margin-right: 20px;
  }

  .satisfaction-left img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 3;
  }
}
@media (min-width: 992px) {
  .satisfaction-content {
    min-height: 100vh; /* ←画面全体の高さを緑背景として使う */
  }
  .satisfaction-left {
    min-height: 100vh;
  }
}


.satisfaction-right h2 {
  font-size: 2.3rem;
  line-height: 1.6;
  margin-top: 25px;
  white-space: nowrap;
}
.indent {
  display: inline-block;
  text-indent: 75px;
}

.satisfaction-right .description {
  line-height: 2;
  padding: 10px 30px;
}

.learn-more {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.icon-links {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  justify-content: center;
}

.icon-item {
  text-align: center;
}

.icon-circle i {
  font-size: 3.3rem;
}

.icon-item a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.satisfaction-p {
  font-size: 1.2rem;
  text-decoration:underline;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.7rem;      /* 丸のサイズ */
  height: 4.7rem;
  border: 1px solid #fff;  /* 白い線で丸を描く */
  border-radius: 50%;      /* 丸にする */
  background-color: transparent; /* 中を透明に */
  color: #fff;       /* アイコンの色（必要に応じて） */
  font-size: 4rem;   /* アイコンサイズ */
  margin-bottom: 10px;
}



.wrapper {
  background-color: #006233;
}

.content {
  display: flex;
  flex-wrap: wrap;
  background-color: #006233;
}

.text-column {
  flex: 1 1 50%;
  padding: 0 3rem;
}

.text-column h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 1.5rem;
}

.building-explain {
  font-size: 1rem;
  line-height: 2;
  text-decoration:underline;
}

.image-column {
  flex: 1 1 50%;
  display: flex;
  align-items: stretch;
}

.white-band {
  background-color: #fff;
  height: 18px;
  width: 100%;
}

.building-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 300px) {
  .image-column img {
    width: 100%;
    height:60vw;
    object-fit: cover;
  }
}

@media (min-width: 768px) {
  .building-content {
    flex-direction: row;
    min-height: 100vh; /* ←画面全体の高さを緑背景として使う */
  }
  .image-column img {
    width: 100%;
    object-fit: cover;
    min-height: 100%;
  }
}

@media (max-width: 767px) {
  .building-content {
    flex-direction: column;
  }

  .image-column {
    order: 1;
  }

  .text-column {
    order: 2;
  }
}

.partner-title{
  margin-left: 30px;
}



.achievements {
  background-image: url("images/achievements.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  z-index: -2;
}

/* オーバーレイ全体 */
.achievement-overlay {
  width: 100%;
  padding: 60px 15px;
  box-sizing: border-box;
}

/* タイトル */
.achievement-title {
  font-size: 2.5rem;
  color: white;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  z-index: 1;
}

.achievement-title::after {
  content: "";
  position: absolute;
  left: 1vw;
  bottom: 0;
  min-height: 75%;
  width: 97vw;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
  transform: translateX(calc(-1 * var(--container-padding, 15px)));
}

.row.stat-row {
  padding-top: 20px;
  padding-bottom: 20px;
  row-gap: 30px;
}

/* 情報ボックス */
.stat-box {
  background-color: rgba(0, 0, 0, 0.6);
  border: 0.5px solid #fff;
  padding: 30px 20px;
  text-align: center;
}

.stat-main {
  font-size: 2.5rem;
  margin: 0;
}

.stat-sub {
  font-size: 1.2rem;
  margin-top: 10px;
}



.property-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.property-title {
  color: #000;
  font-size: 32px;
  border-bottom: 0.5px solid #000;
  display: inline-block;
}

@media (max-width: 768px) {
  .property-title {
    margin-top: 70px;
  }
}

.property-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.property {
  width: 100%;
  max-width: 600px;
  text-align: center;
  flex: 1 1 45%;
}
@media (max-width: 768px) {
  .property {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

.property-image {
  width: 100%;
  aspect-ratio: 4 / 3; 
  z-index: 1;
}

.property-name {
  background-color: #006233;
  color: white;
  padding: 10px;
  font-size: 24px;
}

.property2-box {
  position: relative;
  text-align: center;
}

.property2-box img {
  width: 100%;
  aspect-ratio: 3 / 2; 
  display: block;
  object-fit: cover;
}

.caption {
  background-color: #006233;
  color: white;
  padding: 10px 0;
  font-size: 1.2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .property2-container {
    margin-top: 20px;
  }
}


.contact {
  align-items: center;
  margin: 10px 0;
}

.contact p {
  display: contents;
}


.contact-form {
  height: 40px;
}

.contact-icon {
  font-size:50px;
}

.contact-submit {
  text-align: center;
  margin-bottom: 10px;
}

.form-check-input{
  background-color: #006233;
  border: none;
}

.wpcf7-response-output{
  border-color: #fff!important;
  border: 0.5px solid #fff!important;
  background-color: rgba(0, 0, 0, 0.6);
}

.wpcf7-not-valid-tip{
  color: #fff!important;
}



.footer {
  background-color: #006233;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #fff;
  border-top: 1px solid #fff;
  padding-top: 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin: 4px 0;
}

.right-icons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.right-icons span {
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid #fff;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  margin-left: 10px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}

.fade-in {
  opacity: 0;
  pointer-events: none; /* マウスイベントも無効に */
  transition: opacity 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  pointer-events: auto;
}

.underline-animate {
  position: relative;
}

.underline-animate::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.5px;
  width: 0;
  background-color: #000;
  transition: width 0.8s ease-out;
}

.underline-animate.visible::after {
  width: 100%;
}

.white-underline-animate {
  position: relative;
}

.white-underline-animate::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.5px;
  width: 0;
  background-color: #fff;
  transition: width 0.8s ease-out;
}

.white-underline-animate.visible::after {
  width: 100%;
}

.section-1 {
  background-image: url("images/about1.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

.section-2 {
  background-image: url("images/about2.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

/* 縦横ライン（直角） */
.line-corner {
  position: absolute;
  top: 95px;
  left: 20px;
  z-index: 1;
  display: none;
}

.line-vertical {
  width: 1px;
  height: 300vh;
  background-color: #fff;
}

@media screen and (min-width:1200px) {
  .line-vertical {
    height: 200vh;
  }
}


.line-horizontal {
  width: 100vw;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.circle-1 {
  width: 50px;
  height: 50px;
  border: 6px solid #ff884d;
  border-radius: 50%;
  background-color: #000;
  position: absolute;
  top: 70px;
  right: 100px; 
  z-index: 2;
  display: none;
}

.circle-2 {
  width: 30px;
  height: 30px;
  border: 3px solid #ff884d;
  border-radius: 50%;
  background-color: #000;
  position: absolute;
  top: calc(120vh + 265px);
  left: 6px; 
  z-index: 2;
  display: none;
}

/* モバイルでは非表示 */
@media (min-width: 1010px) {
  .line-corner {
    display: block;
  }
  .circle-1 {
    display: block;
  }
  .circle-2 {
    display: block;
  }
}
.summary-text{
  color: #afeeee;
}

.image-wrapper {
  background-color: rgba(256, 256, 256, 0.6);
  border: 0.5px solid gray;             /* ← 白の細いボーダー */
  display: inline-block;                /* 画像サイズにフィットさせる */
  padding: 0;
  max-height: min-content;
}

.about-text {
  margin-bottom: 40px;
}
.about-text p{
  margin-bottom: 0px;
}
.history-text p {
  margin-bottom: 0;
}

.headline-slide {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-size: 2em;
  font-weight: bold;
}

.bg-slide {
  position: absolute;
  top: 18px;
  left: 0;
  height: 70%;
  width: 0;
  background-color: #444;
  z-index: 1;
  transition: width 0.6s ease;
}

.about-title {
  position: relative;
  z-index: 2;
}

.history-title {
  position: relative;
  z-index: 2;
}

.history-title-wrapper {
  margin: 2rem 0;
  margin-left: 75%;
}

.history-title-slide {
  overflow: hidden;
}

/* 背景スライド帯（文字の背景だけを覆う） */
.history-bg-slide {
  position: absolute;
  top: 15px;
  left: 0;
  height: 70%;
  width: 0;
  background-color: rgba(0, 0, 0, 0.6); /* 黒＋透過 */
  z-index: 1;
  transition: width 0.6s ease;
}
/* アニメーション発火時に帯を展開 */
.history-title-wrapper.is-active .history-bg-slide {
  width: 100%;
}


@media screen and (max-width:418px) {
  .about-text {
    font-size: 18px;
  }
  .headline-slide {
    text-align: center;
  }
  .headline-slide.active-bg .bg-slide {
    width: 40%;
    margin-left: 30%;
  }
  /* アニメーション発火時に帯を展開 */
  .history-title-wrapper.is-active .history-bg-slide {
    width: 40%;
    margin-left: 30%;
  }
  .history-title {
    margin-left: 0;
  }
  .history-title-wrapper{
    margin:0;
    text-align: center;
  }
}

@media screen and (min-width:418px) and (max-width:768px) {
  .about-text {
    font-size: 20px;
  }
  .headline-slide {
    text-align: center;
  }
  .headline-slide.active-bg .bg-slide {
    width: 40%;
    margin-left: 30%;
  }
  .history-text{
    font-size: 20px;
  }
  .history-title {
    margin-left: 0;
  }
  .history-title-wrapper{
    margin:0;
    text-align: center;
  }
  .history-title-wrapper.is-active .history-bg-slide {
    width: 40%;
    margin-left: 30%;
  }
}

/*for tablet*/
@media screen and (min-width:768px) and (max-width:1024px) {
  .about-text{
    font-size: 25px;
  }
  .headline-slide.active-bg .bg-slide {
    width: 30%;
  }
  .history-text{
    font-size: 23px;
  }
  .history-title {
    margin-left: 50%;
  }
}

/*for PC*/
@media screen and (min-width:1024px) {
  .about-text {
    font-size: 27px;
  }
  /* スクロールでアクティブ化されたときに帯を展開 */
  .headline-slide.active-bg .bg-slide {
    width: 25%;
  }
  .history-text{
    font-size: 25px;
  }
  .history-title {
    margin-left: 60%;
  }
}

.link-buttons {
  display: flex;
  gap: 1rem; /* ボタン間の隙間 */
  justify-content: center; /* 中央寄せ（任意） */
}


.buildings-section {
  padding: 2rem;
  background-color: #000;
  min-height: 100vh;
  align-content: center;
}

.buildings-container {
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.buildings-image-slider {
  position: relative;
  aspect-ratio: 4 / 3; 
  overflow: hidden;
  flex-shrink: 0;
}

.buildings-image-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.buildings-image-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buildings-image-slider .slide.active {
  opacity: 1;
}

.buildings-info {
  max-width: 500px;
}

@media (max-width: 1104px) {
  .buildings-image-slider {
    order: 1; /* 上に表示 */
  }

  .buildings-info {
    order: 2; /* 下に表示 */
  }
}

.buildings-title {
  font-size: 2rem;
  margin: 0;
  color:#fff;
}


.buildings-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  line-height: 1.8;
  font-size: 1rem;
}


.vacancy-button::after {
  content: ">";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: normal;
}

.vacancy-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}



.courtdeltour-info {
  background-color: #111;
  color: white;
  padding: 2rem;
  font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
  text-align: center;
  min-height: 60vh;
  place-content: center;
}

.courtdeltour h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.courtdeltour-updated {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.courtdeltour-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5部屋 + 1隙間 + 5部屋 */
  gap: 6px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.courtdeltour-room {
  height: 70px;
  background: white;
  color: black;
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 4px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 767.98px) {
 .courtdeltour-room {
   font-size: 0.9rem;
 }
}
@media (max-width: 575.98px) {
 .courtdeltour-room {
   font-size: 0.6rem;
 }
}
@media (max-width: 384px) {
 .courtdeltour-room {
   font-size: 0.55rem;
 }
}

.courtdeltour-room.occupied {
  background-color: #fff;
  color: #000;
}

.courtdeltour-room.corporate {
  background-color: #ccc;
  font-weight: bold;
}

.courtdeltour-room.label {
  background: white;
  font-weight: bold;
  grid-column: 1 / span 1;
}

.courtdeltour-room.split {
  background: transparent;
  pointer-events: none;
}



.room-section{
  background: #111;
  padding-top: 20px;
}

.room-gallery {
  display: flex;
  gap: 40px;
  color: white;
  padding: 40px;
  align-items: flex-start;
}

.room-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.room-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid gray;
}

.room-thumbnails {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch; /* スマホで滑らかスクロール */
  scrollbar-width: none; /* Firefox */
  height: 80px;
}
.room-thumbnails::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.room-thumb {
  width: 80px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
  border-radius: 6px;
  flex-shrink: 0; /* ← これで横スクロール対応 */
}
.room-thumb.active {
  border: 2px solid #007bff;
}

.room-info {
  flex: 1;
  justify-items: center;
}

.room-title {
  font-weight: bold;
  text-align: center;
  align-content: center;
  height: 10vh;
  align-self: center;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif!important;
}

.room-features {
  list-style: disc;
  padding-left: 20px;
  font-size: 18px;
}

.building-position{
  background: #111;
}

.building-streetview {
  width: 100%;
  height: 80%;
  min-height: 350px;
  border: 0;
  padding: 0 5%;
}

.building-info {
  padding-top: 5%;
  padding-left: 5%;
  font-size: 1rem;
  line-height: 1.8;
  color: #fff;
}

.building-map {
  margin-top: 1rem;
  width: 100%;
  height: 40%;
  min-height: 450px;
  padding: 0 5%;
}

@media (min-width: 992px) {
  .building-position-left{
    padding-left: 6%;
    height: 35vw;
  }
  .building-position-right{
    padding-right: 6%;
    align-content: center;
  }
  .building-streetview {
    height: 100%;
    min-height: 500px;
    padding: 5% 0;
  }
  .building-map {
    min-height: 350px;
    padding: 0;
  }
}



.selectbox-5 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-5::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: transparent;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-5 select {
    min-width: 150px;
    border: none;
    border-bottom: 3px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}

.selectbox-5 select:focus {
    outline: none;
}
.selectbox-5 select option {
    color: #000000; /* 黒にする */
    background-color: #ffffff; /* 白背景にすると見やすい */
    text-align: center;
    font-size: large;
}

.items-center{
  place-items: center;
}

/*for SP*/
@media screen and (max-width:768px) {
    .font-size-S {
        font-size: 18px;
    }
    .font-size-M {
        font-size: 25px;
    }
    .font-size-L {
        font-size: 30px;
    }
}

/*for tablet*/
@media screen and (min-width:768px) and (max-width:1085px) {
    .font-size-S {
        font-size: 21px;
    }
    .font-size-M {
        font-size: 32px;
    }
    .font-size-L {
        font-size: 35px;
    }
}

/*for PC*/
@media screen and (min-width:1085px) {
    .font-size-S {
        font-size: 22px;
    }
    .font-size-M {
        font-size: 34px;
    }
    .font-size-L {
        font-size: 42px;
    }
}
.items-position-left {
  min-height: 40vh;
  place-content: center;
  display: grid;
}

.items-position-right {
  place-content: center;
  display: grid;
}

.calc-init {
  background-color: #000;
  color: #fff;
  position: relative;
}

@media (min-width: 992px) {
  .calc-init {
    min-height: 80vh;
  }
  .items-position-left {
    display: grid;
    justify-content: start;
    place-content: center;
    min-height: 70vh;
    z-index: 2;
  }
  .items-position-right {
    display: grid;
    justify-content: end;
    align-content: center;
    min-height: 70vh;
    z-index: 2;
  }
  .side-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
  }
  .left-bg {
    background-image: url('images/brown_table.jpg');
    background-position: left;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 35%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 35%, transparent 100%);
    left: 0;
  }
  .right-bg {
    background-image: url('images/brown_table.jpg');
    background-position: right;
    -webkit-mask-image: linear-gradient(to left, black 0%, black 85%, transparent 100%);
    mask-image: linear-gradient(to left, black 0%, black 85%, transparent 100%);
    right: 0;
    left: auto;
  }
}

hr {
  background-color: transparent !important;
  border: 1px solid #fff !important;
  height: 0 !important;
  opacity: .9 !important;
}

.espacio-grid,
.ichibankan-grid,
.nibankan-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.sanbankan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.bella-vista-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.banboo-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.first-city-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.income {
  background-color: #0080ff !important;
  color: #ffffff !important;
}

.concept-hero {
  background-image: url('images/concept.jpg');
  background-size: cover;
  background-position: center;
  height: 95vh;
  position: relative;
}

.concept-overlay {
  left: 0;
  top: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(to right, rgba(34,155,88,0.8), rgba(140,240,140,0));
  display: flex;
  align-items: center;
  padding-left: 5%;
  position: relative;
}

.concept-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: white;
  border-radius: 50%;
  top: 20%;
  left: 10%;
  opacity: 0.2;
  z-index: 1;
}

.concept-text {
  z-index: 2;
  color: #fff;
}

.concept-title {
  font-size: 3rem;
  color: #fff;
  line-height: 1.4;
}

.concept-subtitle {
  font-size: 2.3rem;
  margin-top: 1rem;
  color: #e0f0f0;
}

.concept-description {
  margin-top: 1rem;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.cleaner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 0;
}

.cleaner-image {
  width: 35vw;
  height: auto;
  aspect-ratio: 5/4;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  border: solid 2px white;
  margin: 6px;
}

.cleaner-image:last-child {
  border-radius: 8px;
  margin: 6px;
}

.cleaner-arrow-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cleaner-diamond {
  width: 8vw;
  height: 8vw;
  left: -3px;
  background-color: white;
  transform: rotate(45deg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cleaner-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  transform: rotate(-45deg);
  display: none;
}

.cleaner-arrow-right {
  border-width: 2vw 0 2vw 3vw;
  border-color: transparent transparent transparent green;
  display: block;
  margin: -1vw -1vw 0 0;
}

.cleaner-arrow-down {
  border-width: 4vw 3vw 0 3vw;
  border-color: green transparent transparent transparent;
  margin: 1vw -1vw 0 0;
}

@media (max-width: 1024px) {
  .cleaner-container {
    flex-direction: column;
  }
  .cleaner-arrow-right {
    display: none;
  }
  .cleaner-arrow-down {
    display: block;
  }
  .cleaner-image {
    border-radius: 8px;
    width: 72vw;
  }
  .cleaner-image + .cleaner-image {
    margin-top: 10px;
  }
  .cleaner-diamond {
    width: 12vw;
    height: 12vw;
  }
}

.cleaner-hero {
  background-color: #000;
  min-height: 80vh;
  align-content: center;
}

.cleaner-explain {
  position: relative;
}

.cleaner-explain p {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 12px;
}

.cleaning-hero {
  background-image: url('images/事業内容/cleaner.jpg');
  background-size: cover;
  background-position: center;
  height:100vh;
  position: relative;
}

.cleaning-overlay {
  left: 20%;
  top: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
  display: flex;
  padding-left: 5%;
  position: relative;
  justify-content: right;
}

@media screen and (max-width: 768px) {
  .cleaning-overlay {
    width: 100%;
    left: 0;
    justify-content: left;
    background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0));
  }
  .concept-overlay {
    width: 100%;
    left: 0;
  }
}

.cleaning-text {
  top: 10%;
  position: relative;
}

.green-hero {
  background-image: url('images/事業内容/green.jpg');
  background-size: cover;
  background-position: center;
  height: 95vh;
  position: relative;
}

.fix-hero {
  background-image: url('images/事業内容/fix.jpg');
  background-size: cover;
  background-position: center;
  height: 95vh;
  position: relative;
}

.d-btn {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  width: 130px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  border: 1px solid #000;
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  transition: .3s;
  text-decoration: none;
}

.d-btn::before {
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  right: -60px;
  z-index: -1;
  border-right: 60px solid transparent;
  border-bottom: 60px solid #000;
  transform: translateX(-100%);
  transition: transform ease .3s;
  box-sizing: content-box;
}

.d-btn:hover {
  color: #fff;
}

.d-btn:hover::before {
  transform: translateX(0);
}

.cleaning-top {
  background-image: url('images/事業内容/cleaning.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding-top: 100px; /* ← ヘッダーの高さ分 + 見やすさ調整 */
  padding-bottom: 60px; /* ← 下の要素と重ならないように */
  
  width: 100%;
  box-sizing: border-box;
  position: relative;

  /* 最小高さはビューポート、ただし内容に応じて伸びる */
  min-height: 100dvh;
  height: auto;
}

.cleaner-box {
  margin: 0 auto;
  padding: 40px;
  width: 90vw;
  max-width: 1024px;
  background-color: rgba(0, 0, 0, 0.6);
  border: solid 1px #fff;
  color: #fff;
  box-sizing: border-box;
  position: relative; /* 重なり制御用に明示 */
  z-index: 1;          /* 背景や他要素より上に表示 */
}

@media screen and (max-width: 768px) {
  .cleaner-box {
    width: 95vw;
    padding: 20px;
  }

  .cleaning-top {
    padding-top: 120px; /* スマホは余白広めに */
    padding-bottom: 80px;
  }
}


.clean-end {
  background-image: url('images/事業内容/clean-end.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.document-hero {
  align-content: center;
  min-height: 95vh;
  background-color: #000;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.9)),
    url('images/仲介.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.intermediary-box {
	text-align: center;
}

.intermediary-box label {
  font-size: 1.3rem;
  font-weight: 600;
  margin-right: 8px;
}

.intermediary-box select,
.intermediary-box input[type="password"],
.intermediary-box input[type="checkbox"] {
  font-size: 1.2rem;
  padding: 8px 12px;
  height: 40px;
  box-sizing: border-box;
}

.intermediary-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.intermediary-box button {
  font-size: 1.3rem;
  padding: 10px 20px;
  cursor: pointer;
}

.contact-hero {
  color: #fff;
}

.transparent-white-bg {
  background-color: rgba(255,255,255,0.6);
  border-radius: 8px;
  margin-top: 12px;
}

.green-top {
  background-image: url('images/除草作業/green.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  padding: 4rem 1rem;
  box-sizing: border-box;
  min-height: 100vh;
  height: auto;
  overflow: visible;
  z-index: 0;
}

.green-box {
  background-color: rgba(0,0,0,0.4);
  border: 1px solid #fff;
  padding: 2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  color: #fff;
  position: relative;
  z-index: 1;
}

.green-end {
  background-image: url('images/除草作業/green-end.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.communicate-hero {
  background-image: url('images/com-hero.jpg');
  min-height: 98vh;
  align-content: center;
}

.com-img {
  align-content: center;
  order: 1;
}

.com-img img {
  width: 100%;
}

.com-box {
  background-color: rgba(255,255,255,0.7);
  border: 1px solid #fff;
  padding: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
  color: #000;
  z-index: 1;
}

.com-explain {
  order: 2;
}

@media screen and (min-width: 768px) {
  .com-img {
    order: 2;
  }
  .com-explain {
    order: 1;
  }
}

.break-word {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.word-br {
  display: block;
}

@media screen and (min-width: 450px) {
  .word-br {
    display: none;
  }
}

.word-blank {
  display: none;
}

@media screen and (min-width: 450px) {
  .word-blank {
    display: inline;
  }
}