:root {
  --primary-color: #34426a;
  --secondary-color: #e60012;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--white);
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu li {
  margin-left: 25px;
}

.nav-menu a {
  color: var(--dark-gray);
  padding: 5px 0;
  position: relative;
  font-size: 14px;
  display: inline-block;
  height: 100%;
}

.contact-link img {
  object-fit: contain;
  aspect-ratio: 25 / 7;
  height: 44px;
}

.nav-menu a:hover::after {
  opacity: 0.6;
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Mobile Menu Modal Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: var(--white);
  z-index: 2001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-modal {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-logo img {
  height: 30px;
}

.close-menu {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
}

.mobile-menu-items {
  padding: 20px;
  flex: 1;
}

.mobile-menu-items li {
  margin-bottom: 20px;
}

.mobile-menu-items a {
  color: var(--dark-gray);
  font-size: 1.1rem;
  display: block;
  padding: 5px 0;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.mobile-contact {
  margin-bottom: 20px;
  text-align: center;
}

.mobile-contact p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.mobile-phone {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-phone i {
  margin-right: 8px;
  color: #FF006F;
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.mobile-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: background-color 0.2s ease;
}

.mobile-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Hero Section */
.hero {
  background-image: url("../image/hero.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  position: relative;
}

.hero-content {
  color: var(--white);
  z-index: 199;
  max-width: 1080px;
  padding: 30px 20px;
  content: "";
  position: absolute;
  bottom: 0%;
  right: 10%;
  /* transform: translateX(-50%); */
  width: 300px;
  height: 220px;
  background-color: #FF006F;
}

.hero-content h1 {
  letter-spacing: 1.4px;
  font-size: 30px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-content p {
  font-size: 14px;
  margin-bottom: 0px;
}

/* About Raibridge Section */
.about {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
}

.about-contents {
  color: var(--white);
  z-index: 199;
  max-width: 1080px;
  padding: 50px 20px;
  content: "";
  position: absolute;
  top: 0%;
  right: 10%;
  width: 300px;
  height: 220px;
  background-color: var(--primary-color);
}

.about-contents h1 {
  font-size: 20px;
}

.about-contents p {
  font-size: 14px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-text {
  flex: 1;
  line-height: 2;
  min-width: 300px;
  max-width: 750px;
}

.about-text p {
  margin-bottom: 20px;
}

/* セクションタイトル */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 50px 0;
  font-weight: normal;
}


.about-title {
  text-align: left !important;
}

.about-title h2 {
  color: #000 !important;
}

.news-title {
  text-align: left;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 24px;
  color: #FF006F;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title p {
  color: #FF006F;
  font-size: 16px;
}

.about-title h2::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 26px;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background-color: #FF006F;
}


.price {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.btn {
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: #FF006F;
  /* 赤色の背景 */
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  /* 丸みを帯びた形状にする */
  font-weight: bold;
  position: relative;
  /* 位置指定の基準点 */
  width: 300px;
  height: 60px;
  line-height: 60px;
  justify-content: center;
  /* コンテンツを中央に配置 */
}

.btn-text {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  /* テキストを中央揃え */
}

.btn i {
  position: absolute;
  right: 30px;
  /* 右端からの距離 */
  font-size: 1.2rem;
  /* アイコンのサイズ */
}

.btn:hover {
  background-color: #c8000e;
  /* ホバー時の色 */
}

.buttom {
  margin: 30px 0;
}

.additional-services {
  padding: 60px 0px;
}

.service-container {
  text-align: left;
  padding: 0;
}

.service-boxes {
  display: flex;
  gap: 10px;
  margin-bottom: 50px;
  width: 100%;
  text-align: center;
}

.service-box {
  /* flex: 1; */
  background-color: #2b2d42;
  /* 濃い紺色 */
  color: white;
  padding: 20px 0px;
  border-radius: 4px;
  margin: 0 auto;
  width: 45%;
}

.service-box h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600px;
}

.service-box p {
  font-size: 14px;
  line-height: 1.6;
}

.bottom-note {
  text-align: center;
  padding-bottom: 15px;
  position: relative;
  border-bottom: 1px solid #34426a;
  display: inline-block;
}

.bottom-note p {
  font-size: 1.4rem;
  color: #2b2d42;
  display: inline-block;
  padding: 0 20px;
}

.bottom-note::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .service-boxes {
    flex-direction: column;
  }

  .service-box {
    margin-bottom: 20px;
    width: 100%;
  }

  .bottom-note p {
    font-size: 1.2rem;
  }
}

/* Services Section */
.services {
  padding: 60px 0;
  background-color: var(--white);
}

.services-flow {
  display: flex;
  gap: 20px;
}

.services-page-ttl {
  text-align: center;
  padding: 50px 24px;
  font-weight: bold;
}

.flow-step {
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 350px;
  position: relative;
  font-size: 14px;
}

.flow-step span {
  color: #FF006F;
  font-size: 30px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}


.flow-image {
  /* margin-bottom: 15px; */
  overflow: hidden;
  border-radius: 5px;
}

.flow-image img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
}

.flow-company-name {
  margin: 0;
}

.flow-company-ttl {
  font-size: 12px;
}


/* News Section */
.news {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.news-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.news-column {
  flex: 1;
  min-width: 300px;
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.news-card {
  width: 100%;
  display: flex;
}

.news-image {
  width: 150px;
  height: 150px;
  min-width: 150px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.news-content h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: normal;
}

.news-content p {
  font-size: 0.95rem;
  color: #666;
}

.news-link {
  display: flex;
}

@media (max-width: 576px) {
  .news-card {
    flex-direction: column;
  }

  .news-image {
    width: 100%;
    height: 200px;
  }

  .services-flow {
    flex-wrap: wrap;
  }
}

/***********************************
  three-box
************************************/

.three-box {
  background-color: #FF006F;
  gap: 30px;
  padding: 100px 0 100px;
}

.three-box-container {
  display: flex;
  justify-content: space-between;
}

.box {
  position: relative;
  width: 330px;
  height: 270px;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6);
  /* 白文字用の暗めの処理 */
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.overlay h2 {
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.overlay p {
  font-size: 16px;
}

/*  */

.news-content h3 {
  margin-bottom: 10px;
}

/***********************************
  LINE Section Styles
************************************/


.line-card {
  margin-bottom: 20px;
}

.line-image {
  overflow: hidden;
}

.line-image img {
  width: 100%;
  object-fit: contain;
}


/***********************************
  Store Introduction Section
************************************/

.store-intro {
  padding: 100px 0;
  background-color: var(--white);
}

.store-title h2 {
  margin-bottom: 50px;
}

.store-title h3 {
  font-weight: normal;
  font-size: 24px;
}

.store-title p {
  color: var(--dark-gray);
}

.store-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.store-info {
  flex: 1;
  min-width: 300px;
}

.store-details {
  margin-top: 20px;
}

.store-details li {
  margin-bottom: 10px;
}

.store-image {
  flex: 1;
  min-width: 300px;
}

.store-text {
  margin-top: 30px;
  text-align: center;
}


/***********************************
 Cleaning Request Section 
************************************/


.footer {
  background-color: #2d2f50;
  padding: 40px 60px;
}

.footer-container {
  display: flex;
  justify-content: center;
  background-color: #2d2f50;
  /* 背景色 */
  padding: 40px 0px;
  color: #fff;
  flex-wrap: wrap;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid #ffffff;
}

.footer-box {
  width: 23%;
  margin-right: 2%;
  min-width: 150px;
  box-sizing: border-box;
  border-right: 1px solid #ffffff;
}

.footer-box:nth-child(5) {
  border: none;
}

.footer-box h3 {
  font-size: 14px;
  color: #e6007e;
  /* ピンク色 */
  margin-bottom: 10px;
  font-weight: normal;

}

.footer-box h3 span {
  color: #ffffff;
  font-size: 12px;
}

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

.footer-box li {
  font-size: 13px;
  margin-bottom: 6px;
  color: #fff;
}

.footer-sns {
  padding: 30px 0;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.footer-sns-logo a img {
  width: 200px;
}

.footer-sns-link a img {
  width: 20px;
}

/* レスポンシブ対応（スマホ表示） */
@media screen and (max-width: 768px) {
  .footer {
    flex-direction: column;
    padding: 30px;
  }

  .footer-box {
    width: 100%;
    margin-bottom: 30px;
    border-right: none;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 20px;
  }
}


/* Media Queries */
@media (max-width: 992px) {

  .news-column {
    flex: 100%;
  }

  .nav-menu li {
    margin-left: 15px;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px;
  }

  .main-nav {
    position: relative;
  }

  .nav-menu {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%) rotate(90deg);
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 30px;
  }

  .hero {
    height: 400px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .contact-phone {
    font-size: 1.2rem;
  }

  .request-content h2 {
    font-size: 20px;
  }

  .request-buttons {
    flex-direction: column;
  }

  .request-text {
    width: 100%;
    margin-bottom: 30px;
  }

  .request-btn img {
    height: auto;
  }

  .footer-menu li {
    border-right: none;
  }
}

/* Footer Responsive Styles */
@media (max-width: 768px) {


  .hero-content {
    color: var(--white);
    z-index: 199;
    max-width: 1080px;
    padding: 10px 20px;
    content: "";
    position: absolute;
    bottom: 0%;
    right: 0%;
    width: 300px;
    height: 100px;
    background-color: #FF006F;
  }

  .hero-content h1 {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .hero-content p {
    font-size: 10px;
  }

  .about-raibridge {
    padding: 200px 0 80px;
  }

  .about-contents {
    color: var(--white);
    z-index: 199;
    max-width: 1080px;
    padding: 10px 20px;
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    width: 300px;
    height: 120px;
    background-color: var(--primary-color);
  }

  .about-contents h1 {
    font-size: 16px;
  }

  .about-contents p {
    font-size: 10px;
  }

  .hero {
    margin-top: 60px;
  }
}

/* 会社概要セクションのスタイル */
.company-info {
  padding: 100px 0;
  background-color: var(--white);
}

/* タイトルスタイル（赤色） */
.company-title h2 {
  color: #FF006F;
}

/* 会社情報テーブルスタイル */
.company-table {
  max-width: 900px;
  margin: 0 auto 50px;
}

.company-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}

.company-row:first-child {
  border-top: 1px solid #ddd;
}

.company-label {
  width: 30%;
  padding: 20px 30px;
  font-weight: 500;
  background-color: #fff;
}

.company-value {
  width: 70%;
  padding: 20px 30px;
}

/* マップコンテナ */
.company-map {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #ddd;
}

.company-map iframe {
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .company-row {
    flex-direction: column;
  }

  .company-label,
  .company-value {
    width: 100%;
    padding: 15px;
  }

  .company-label {
    background-color: #f9f9f9;
    border-bottom: none;
    padding-bottom: 5px;
  }

  .company-value {
    border-bottom: 1px solid #ddd;
    padding-top: 5px;
  }

  .company-row:last-child .company-value {
    border-bottom: none;
  }

  .company-row {
    border-bottom: none;
    margin-bottom: 10px;
  }

  .company-row:first-child {
    border-top: none;
  }

  .company-table {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
  }
}

/* 下層ページのメインビジュアル */
.page-header {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 80px;
  /* ヘッダー分のマージンが必要な場合は調整 */
}

.page-header-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  /* 上下中央揃え */
}

.page-header-image.company {
  background-image: url("../image/page-header-company.jpg");
  /* 窓掃除の作業員画像のパスを指定 */
}

.page-header-image.faq {
  background-image: url("../image/page-header-faq.jpg");
  /* 窓掃除の作業員画像のパスを指定 */
}

.page-header-image.corporation {
  background-image: url("../image/page-header-corporation.jpg");
  /* 窓掃除の作業員画像のパスを
  指定 */
}

.page-header-image.menu {
  background-image: url("../image/page-header-menu.jpg");
  /* 窓掃除の作業員画像のパスを指定 */
}

.page-header-image.about {
  background-image: url("../image/page-header-about.jpg");
  /* 窓掃除の作業員画像のパスを指定 */
}

.page-header-image.news {
  background-image: url("../image/page-header-news.jpg");
  /* 窓掃除の作業員画像のパスを指定 */
}

.page-header-image.service {
  background-image: url("../image/service-bg.jpg");
  /* 窓掃除の作業員画像のパスを指定 */
}

.page-title-overlay {
  position: absolute;
  right: 20%;
  top: -2%;
  /* 左端から20%の位置 */
  padding: 0px 10px;
  display: inline-block;
}

.page-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  /* 縦書き：右から左へ */
  text-orientation: mixed;
  /* 日本語を正しく縦に表示 */
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 1);

}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .page-header {
    height: 300px;
    margin-top: 60px;
  }

  .page-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    height: 250px;
  }
}

.faq-page {
  padding: 100px 0;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

/* 左側：アコーディオンセクション */
.faq-section {
  flex: 1;
  min-width: 300px;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho,
    serif;
}

.category-title-left {
  font-size: 1.5rem;
  margin-bottom: 50px;
  font-weight: normal;
}

/* アコーディオンスタイル */
.accordion {
  width: 100%;
}

.accordion-item {
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 100px;
}

.accordion-checkbox {
  display: none;
  /* チェックボックスを非表示 */
}

.accordion-header {
  background-color: #f5f5f5;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: #eee;
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

/* 下向き矢印のアイコン */
.accordion-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}

/* チェック時は上向き矢印に変更 */
.accordion-checkbox:checked+.accordion-header .accordion-icon::before {
  transform: translateY(-50%) rotate(-135deg);
}

.accordion-content {
  background-color: #fff;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

/* チェック時にコンテンツ表示 */
.accordion-checkbox:checked+.accordion-header+.accordion-content {
  max-height: 500px;
  /* 十分大きい値を設定 */
  padding: 15px 20px;
}

/* 右側：カテゴリーセクション */
.category-section {
  width: 300px;
}

.category-header-right {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.category-title-right {
  font-size: 1.2rem;
  color: #e60012;
  /* 赤色 */
  margin-bottom: 5px;
  font-weight: normal;
}

.category-subtitle {
  font-size: 0.9rem;
  color: #e60012;
  /* 赤色 */
  margin-bottom: 20px;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  display: block;
  padding: 5px 5px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.category-list a:hover {
  color: #e60012;
  /* 赤色 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .faq-container {
    flex-direction: column-reverse;
    /* モバイルではカテゴリーを上に */
    gap: 30px;
  }

  .category-section {
    width: 100%;
  }
}


/* マンションセクション */
.mansion-section {
  margin-top: 100px;
  margin-bottom: 60px;
}

.mansion-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 4px;
  overflow: hidden;
}

.mansion-image img {
  width: 100%;
  height: auto;
  display: block;
}

.property-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 4px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 悩みとサービスのコンテナ */
.service-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
  justify-content: center;
}

/* 悩みセクション */
.trouble-section {
  flex: 1;
  min-width: 300px;
}

.trouble-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.trouble-list {
  list-style: none;
}

.trouble-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 14px;
}

.trouble-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: #0096c8;
  /* 青色の矢印 */
  font-weight: bold;
}

/* サービスセクション */
.service-section {
  flex: 1;
  min-width: 300px;
}

.service-description {
  margin-bottom: 15px;
}

.service-description:first-child {
  font-weight: bold;
}

/* 取引先セクション */
.clients-section {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 50px;
}

.clients-title {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: normal;
}

.clients-list {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.property-types-section {
  padding: 0 0 100px;
  background-color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .service-container {
    flex-direction: column;
    gap: 30px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .mansion-image img {
    height: 200px;
    object-fit: cover;
  }

  .property-image img {
    height: 200px;
    object-fit: cover;
  }
}

/* 会社紹介セクションのスタイル */
.company-introduction {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.company-container {
  display: flex;
  max-width: 800px;
}

.intro-ttl {
  width: 100px;
  writing-mode: vertical-rl;
  /* 縦書き：右から左へ */
  text-orientation: mixed;
  /* 日本語を正しく縦に表示 */
  margin-top: -300px;
}

.intro-ttl p {
  background-color: #fff;
  padding: 10px;
  margin-right: 10px;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 6px;
}

.intro-content {
  max-width: 600px;
  margin: 0 auto;
  line-height: 2;
}

.intro-paragraph {
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  margin-bottom: 30px;
  color: #333;
}

.intro-paragraph:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

  .company-container {
    flex-direction: column;
  }

  .intro-ttl {
    margin: 0;
    width: 100%;
    writing-mode: unset;
    text-orientation: unset;
    margin-bottom: 30px;
  }

  .intro-ttl p {
    margin-right: 0;
    padding: 0;
    font-size: 20px;
    letter-spacing: 3px;
  }

  .company-introduction {
    padding: 60px 0;
  }

  .intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    padding: 0 15px;
  }
}

/* single.php用のスタイル修正 */
.single-post {
  padding: 100px 0;
  max-width: 800px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 30px;
}

.post-meta {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.post-date {
  font-size: 14px;
  color: #666;
}

.post-categories {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category-link {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  background-color: #f0f0f0;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.category-link:hover {
  background-color: #e0e0e0;
}

h1.post-title {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 20px;
}

.post-content {
  line-height: 1.8;
  margin-bottom: 40px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.post-content h2 {
  font-size: 24px;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.post-content h3 {
  font-size: 20px;
  margin: 30px 0 15px;
}

.post-content ul,
.post-content ol {
  margin: 0 0 20px 20px;
}

.post-content li {
  margin-bottom: 8px;
}


/***********************************
 Cleaning Request Section 
************************************/


.price-section {
  padding: 60px 20px;
}

.price-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.price-warning {
  text-align: center;
  color: #ff007f;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.price-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: #333;
  margin-bottom: 20px;
  gap: 20px;
  text-align: center;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin-bottom: 30px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6f6f6;
  padding: 30px 20px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  transition: background 0.3s;
}

.price-item:hover {
  background: #e0e0e0;
}

.price-item span {
  font-size: 20px;
}

@media (max-width: 768px) {
  .price-title {
    font-size: 20px;
  }

  .price-warning {
    font-size: 14px;
  }

  .price-item {
    font-size: 16px;
    padding: 20px 16px;
  }

  .price-item span {
    font-size: 18px;
  }

  .price-notes {
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .pc-only {
    display: none;
  }
}


.price-list {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}

.price-block {
  margin-bottom: 100px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 80px;
}

.block-header {
  background: #ff007f;
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 4px;
}

.block-header h3 {
  margin: 0;
  font-size: 20px;
}

.block-header p {
  margin: 8px 0 0;
  font-size: 14px;
}

.price-img {
  width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 4px;
}

.description {
  font-size: 15px;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  border: 1px solid #ccc;
  text-align: center;
  padding: 12px;
  font-size: 14px;
}

thead {
  background: #f0f0f0;
}

.note {
  font-size: 12px;
  line-height: 1.7;
  color: #555;
  padding-left: 20px;
}

.cutting-list {
  font-size: 14px;
  margin-top: 10px;
}

@media (max-width: 768px) {

  .section-title {
    font-size: 20px;
  }

  .block-header h3 {
    font-size: 18px;
  }

  .block-header p {
    font-size: 13px;
  }

  .description {
    font-size: 14px;
  }

  th,
  td {
    font-size: 13px;
    padding: 10px;
  }
}


/***********************************
 features
************************************/

.features {
  background-color: #f2f2f2;
  padding: 100px 24px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  /* gap: 30px; */
  justify-content: space-between;
}

.feature-card {
  width: calc(50% - 15px);
  margin-bottom: 50px;
}

.feature-card h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-img {
  height: 280px;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 25px 0;
}

.feature-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.feature-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.feature-content .buttom {
  text-align: center;
}


/***********************************
 phrase
************************************/

.phrase-ttl {
  text-align: center;
  font-size: 36px;
  padding: 50px 0;
  font-weight: bold;
  background-color: #f2f2f2;
  letter-spacing: 8px;
  position: relative;
}

.phrase-ttl::after {
  display: block;
  content: '';
  max-width: 610px;
  width: 100%;
  height: 3px;
  background-color: #000000;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.phrase-ttl span {
  position: relative;
}

.phrase-ttl span::after {
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50px;
  background-color: #000000;
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}


@media (max-width: 768px) {
  .phrase-ttl {
    font-size: 16px;
  }

  .phrase-ttl::after {
    height: 1px;
  }

  .phrase-ttl span::after {
    width: 4px;
    height: 4px;
  }
}


/***********************************
cutting-section
************************************/

/* 全体レイアウト */
.cutting-section {
  padding: 100px 0;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.cutting-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cutting-title {
  text-align: center;
  margin-bottom: 20px;
}

/* メイン画像：3:2アスペクト比 */
.main-image {
  width: 75%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  height: 400px;
}

.main-image .img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.main-image .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サイド画像：縦並び、1枚ごとに高さを固定 */
.side-images {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.side-images label {
  width: 100%;
  aspect-ratio: 2 / 1;
  /* = メインの1/4 */
  overflow: hidden;
  cursor: pointer;
}

.side-images label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ラジオボタンは非表示 */
input[type="radio"] {
  display: none;
}

/* 各セクションの画像切替表示 */
input#cut-img1-1:checked~.main-image .img11,
input#cut-img1-2:checked~.main-image .img12,
input#cut-img1-3:checked~.main-image .img13,
input#cut-img1-4:checked~.main-image .img14 {
  display: block;
}

input#cut-img2-1:checked~.main-image .img21,
input#cut-img2-2:checked~.main-image .img22,
input#cut-img2-3:checked~.main-image .img23,
input#cut-img2-4:checked~.main-image .img24 {
  display: block;
}

input#cut-img3-1:checked~.main-image .img31,
input#cut-img3-2:checked~.main-image .img32,
input#cut-img3-3:checked~.main-image .img33,
input#cut-img3-4:checked~.main-image .img34 {
  display: block;
}

input#cut-img4-1:checked~.main-image .img41,
input#cut-img4-2:checked~.main-image .img42,
input#cut-img4-3:checked~.main-image .img43,
input#cut-img4-4:checked~.main-image .img44 {
  display: block;
}

input#cut-img5-1:checked~.main-image .img51,
input#cut-img5-2:checked~.main-image .img52,
input#cut-img5-3:checked~.main-image .img53,
input#cut-img5-4:checked~.main-image .img54 {
  display: block;
}

input#cut-img6-1:checked~.main-image .img61,
input#cut-img6-2:checked~.main-image .img62,
input#cut-img6-3:checked~.main-image .img63,
input#cut-img6-4:checked~.main-image .img64 {
  display: block;
}

input#cut-img7-1:checked~.main-image .img71,
input#cut-img7-2:checked~.main-image .img72,
input#cut-img7-3:checked~.main-image .img73,
input#cut-img7-4:checked~.main-image .img74 {
  display: block;
}

/* -------------------
   レスポンシブ対応
-------------------- */
@media (max-width: 768px) {

  .cutting-section {
    padding: 50px 0;
  }

  .cutting-content {
    flex-direction: column;
  }

  .main-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: 10px;
    height: 200px;
  }

  .side-images {
    flex-direction: row;
    width: 100%;
    gap: 5px;
  }

  .side-images label {
    flex: 1;
    aspect-ratio: 3 / 2;
  }
}