/* Custom CSS for Takematsu Theme */

/* Font settings */
html {
  font-size: 100%;
}

body {
  font-family: 'Noto Serif JP', serif;
  color: var(--color-dark);
  background-color: #EAEFF5;
  line-height: 1.6;
  font-weight: 600;
  font-size: 1em;
}

p {
  line-height: 1.8;
}

a {
  color: var(--color-dark);
}

a:hover {
  color: var(--color-primary);
  transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

ul {
  margin: 0;
}

/* カラー変数 */
:root {
  --color-primary: #1B365D;
  --color-secondary: #C0C0C0;
  --color-dark: #2E2E2E;
  --color-light: #FFFFFF;
}

/* スクロールアニメーション用のスタイル */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Header styles */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 78px;
  padding-left: 32px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  position: relative;
  z-index: 1010;
  height: 100%;
  background-color: inherit;
}

.site-header.transparent {
  background-color: transparent;
  box-shadow: none;
}

.site-header.scrolled {
  background-color: var(--color-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}


.site-header .logo a {
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  font-size: 2.25em;
  /* 36px ÷ 16px = 2.25em */
}

.main-navigation a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: color 0.3s ease;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

.main-navigation ul {
  gap: 30px;
}

.main-navigation li {
  font-size: 0.875em;
  font-weight: 600;
}

.menu-en-text {
  display: block;
  color: #757575;
  font-size: 0.875em;
  /* 14px ÷ 16px = 0.875em */
  margin-top: 0.3em;
  font-weight: normal;
}

.site-header.transparent .main-navigation a {
  color: var(--color-light);
}

.site-header.transparent .menu-en-text {
  color: var(--color-light);
}

/* トップページ専用スタイル - ナビゲーションのテキストを黒に */
.site-header.transparent.is-front-page .main-navigation a {
  color: var(--color-dark);
}

.site-header.transparent.is-front-page .menu-en-text {
  color: #757575;
}

.site-header.scrolled .main-navigation a {
  color: var(--color-dark);
}

.site-header.scrolled .menu-en-text {
  color: #757575;
}

/* .site-header.transparent .main-navigation a:hover {
  color: rgba(255, 255, 255, 0.8);
} */

/* トップページのホバー時のスタイル */
.site-header.transparent.is-front-page .main-navigation a:hover {
  color: var(--color-primary);
}

.site-header.scrolled .main-navigation a:hover {
  color: var(--color-primary);
}

.contact-btn {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 0.5em 1.5em;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9375em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: 1px solid var(--color-primary);
  width: 180px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn i {
  margin-right: 8px;
}

.contact-btn-text {
  display: inline;
}

.contact-btn:hover {
  background-color: var(--color-dark);
  color: var(--color-light);
  border-color: var(--color-dark);
}

.menu-toggle {
  background-color: #757575;
  border: none;
  cursor: pointer;
  display: none;
  padding: 0;
  position: relative;
  z-index: 1010;
  width: 60px;
  height: 60px;
}

/* ハンバーガーアイコンのスタイル */
.hamburger-icon {
  width: 24px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-light);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger-bar:nth-child(1) {
  top: 0;
}

.hamburger-bar:nth-child(2) {
  top: 9px;
}

.hamburger-bar:nth-child(3) {
  top: 18px;
}

/* メニュー開放時のハンバーガーアイコン変化 */
.menu-open .hamburger-bar:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
  background-color: var(--color-light);
}

.menu-open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.menu-open .hamburger-bar:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
  background-color: var(--color-light);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  background-color: var(--color-light);
  overflow: hidden;
  background-image: url('/wp-content/uploads/2025/04/Group-8.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-container {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 60px;
  border-bottom: 1px solid var(--color-secondary);
}

.hero-content {
  flex: 1;
  max-width: 50%;
  color: var(--color-light);
  padding-left: 20vw;
}

.hero-image {
  flex: 1;
  height: 60%;
  max-height: 60vh;
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-title {
  font-size: clamp(2em, 4.444444vw, 4em);
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 30px;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 1.125em;
  /* 18px ÷ 16px = 1.125em */
  color: var(--color-primary);
  font-weight: bold;
}

/* スクロールダウンアニメーション */
.scroll-down {
  position: absolute;
  left: 40px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.scroll-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 16px;
  transform: rotate(0deg);
}

.scroll-line {
  width: 1px;
  height: 90px;
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-light);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

/* About Section */
.vision {
  padding-top: 160px;
  padding-bottom: 100px;
}


.section-subtitle {
  font-size: 3em;
  /* 48px */
  color: var(--color-primary);
}

.large-heading {
  position: relative;
  margin-bottom: 4em;
}

.about-heading {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.about-subheading {
  font-size: 1.125em;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5em;
}

.about-description {
  font-size: 1em;
  width: 58%;
  margin-left: auto;
  margin-right: 0;
}

.about-description p {
  margin-bottom: 1.5em;

}

/* Service Section */
.service-section {
  padding-top: 130px;
  position: relative;
}

.service-section-title {
  font-size: 1.125em;
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5em;
}

.service-section-subtitle {
  font-size: 6em;
  color: #fff;
  margin-bottom: 0.5em;
  display: block;
  letter-spacing: 0.05em;
  font-weight: 300;
  line-height: 1.2;
  padding-bottom: 30px;
  border-bottom: 1px solid #fff;
}

.service-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1060px;
  background: url(/wp-content/uploads/2025/04/a_modern_glass_building_interior_with_large_windows_reflecting_the_cityscape_outside_the_architectu_h1lgoyvj5h0szt9jrnig_0.jpg) no-repeat center / cover;
  z-index: -1;
  pointer-events: none;
}

.service-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1060px;
  background-color: rgba(27, 54, 93, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
  margin-top: 60px;
}

.service-card {
  border: 1px solid #ddd;
  background-color: var(--color-light);
}

.service-card-inner {
  padding: 32px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.service-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-description {
  margin-bottom: 1.5em;
  line-height: 1.8;
  text-align: center;
  font-size: 0.875em;
}

.service-list {
  margin-bottom: 32px;
  margin-top: 0;
  padding-left: 0;
  list-style: none;
  background-color: #f8f9fa;
  padding: 1.5em;
  flex-grow: 1;
}

.service-list li {
  margin-bottom: 0.4em;
  position: relative;
  padding-left: 1.2em;
  line-height: 1.6;
  font-size: 0.875em;
  color: var(--color-primary);
}

.service-list li:last-child {
  margin-bottom: 0;
}

.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.service-link {
  text-align: right;
  margin-top: auto;
}

.more-link {
  display: inline-block;
  position: relative;
  color: var(--color-dark);
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.875em;
}

.more-link .fa-arrow-right {
  margin-left: 8px;
  color: #fff;
  background-image: linear-gradient(to right, #1B365D, #3971C3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.more-link .fa-arrow-right::before {
  content: '\f061';
  /* FontAwesomeの矢印コード */
  position: relative;
  z-index: 2;
}

.more-link .fa-arrow-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, #3971C3, #1B365D);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.more-link:hover .fa-arrow-right::after {
  opacity: 1;
}

.more-link::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-dark);
  transition: width 0.3s ease;
}

.more-link:hover::before {
  width: calc(100% - 50px);
}

/* News Section */
.news-section {
  margin-top: 160px;
}

.news-section-inner {
  display: flex;
  gap: 30px;
}

.news-section-header {
  flex: 1;
}

.news-section-title {
  font-size: 1.125em;
  /* 18px */
  color: var(--color-primary);
}

.news-section-subtitle {
  font-size: 3em;
  font-weight: 400;
  color: var(--color-primary);
}

.news-list {
  width: 750px;
}

.news-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.news-item-link:hover {
  opacity: 1;
}

.news-item-link:hover .news-item {
  background-color: #fff;
}

.news-item {
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease;
}

.news-item-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0.75em;
}

.news-date {
  font-size: 0.875em;
  color: #838383;
}

.news-category {
  min-width: 8em;
}

.news-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 0.2em 1em;
  font-size: 0.8em;
  margin-right: 1em;
}

.news-title {
  font-size: 1em;
  font-weight: 600;
}

.news-title a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
  display: block;
}

.news-title a:hover {
  color: var(--color-primary);
}

.news-more {
  text-align: right;
  margin-top: 2em;
}

/* Contact Section */

/* Contact Section in Footer */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 90px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.contact-section-content {
  flex: 1;
}

.contact-section-title {
  font-size: 4em;
  /* 64px */
  font-weight: 600;
  color: var(--color-light);
}

.contact-section-text {
  font-size: 1em;
  line-height: 1.8;
  color: var(--color-light);
  margin-top: 12px;
}

.contact-section-btn-wrapper {
  flex: 0 0 auto;
}

.contact-section-btn {
  color: var(--color-light);
  background-color: transparent;
  border: 1px solid var(--color-light);
  padding: 1em 3em;
  font-size: 1em;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 330px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-section-btn:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
}

@media (max-width: 767px) {
  .contact-section {
    flex-direction: column;
    text-align: center;
    gap: 2em;
  }

  .contact-section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 599px) {
  .large-heading {
    margin-bottom: 2em;
  }
}

/* Footer styles */
.site-footer {
  background-image: url('/wp-content/uploads/2025/04/a_modern_upscale_city_street_with_tall_glass_and_brick_buildings_on_both_sides_large_green_trees_li_kjklafg73jb6vk925w3d_0.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 92px 0 3em;
  position: relative;
  margin-top: 160px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(14, 14, 14, 1) 0%,
      /* #0E0E0E at 0% position */
      rgba(38, 38, 38, 1) 53%,
      /* #262626 at 53% position */
      rgba(70, 70, 70, 1) 100%
      /* #464646 at 100% position */
    );
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  mix-blend-mode: hard-light;
  z-index: 0;
}

.site-footer .container,
.footer-content,
.footer-logo,
.footer-nav,
.footer-copyright {
  position: relative;
  z-index: 1;
  color: #FFF;
}

.footer-logo a,
.footer-menu-column a {
  color: #FFF;
}

.footer-menu-column a:hover {
  color: var(--color-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 90px;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.footer-logo {}

.footer-logo a {
  font-size: 2em;
  /* 32px */
  text-decoration: none;
  color: var(--color-light);
  display: inline-block;
  margin-bottom: 30px;
}

.company-name,
.company-address,
.company-tel,
.company-fax {
  font-size: 14.4px;
  margin-bottom: 0.3em;
  font-weight: normal;
}

.company-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.footer-menu {
  gap: 60px;
}

.footer-submenu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-menu-column a {
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-parent-link {
  font-size: 1.125em;
  /* 18px ÷ 16px = 1.125em */
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.footer-child-link {
  display: inline-block;
  font-size: 0.875em;
  /* 14px ÷ 16px = 0.875em */
  font-weight: normal;
  position: relative;
}

.footer-parent-link::after,
.footer-child-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-light);
  transition: width 0.3s ease;
}

.footer-parent-link:hover::after,
.footer-child-link:hover::after {
  width: 100%;
}

.footer-menu-column a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  text-align: right;
  font-size: 0.8em;
  color: var(--color-light);
}

/* Navigation */
.main-navigation {
  display: block;
}

@media (min-width: 768px) {
  .main-navigation {
    display: block;
  }
}

/* Mobile Navigation */
.mobile-menu {
  display: block;
  position: fixed;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 990;
  padding: 0;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu-content {
  padding: 2em;
  padding-top: calc(78px + 2em);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin-bottom: 1em;
}

.mobile-menu a {
  display: block;
  padding-bottom: 0.75em;
  font-size: 1.125em;
  font-weight: 500;
  border-bottom: 1px solid var(--color-secondary);
  color: var(--color-primary);
  text-decoration: none;
}

.menu-toggle {
  border: none;
  cursor: pointer;
  display: none;
}

@media (max-width: 767px) {
  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-container {
    flex-direction: column-reverse;
    padding-bottom: 34px;
    padding-right: 20px;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
    flex: none;
  }

  .scroll-down {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 2em;
  }

  .footer-menu-wrapper {
    flex-direction: column;
    gap: 2em;
  }

  .company-info-table th,
  .company-info-table td {
    display: block;
    width: 100%;
  }

  .reasons-grid {
    flex-direction: column;
  }

  .reason-left,
  .reason-right {
    width: 100%;
  }

  .reason-item {
    padding: 24px;
  }

  .process-container {
    flex-direction: column;
    gap: 30px;
  }

  .process-column-left,
  .process-column-right {
    width: 100%;
    max-width: 100%;
  }

  .process-images {
    position: relative;
    top: 0;
    height: 0;
    padding-bottom: 75%;
  }

  .examples-grid {
    flex-direction: column;
  }

  .contact-info-box {
    padding: 20px 15px;
  }

  .contact-phone-number {
    font-size: 1.5em;
  }

  .contact-radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .wpcf7-submit {
    width: 100%;
  }
}

/* カスタムコンテナ設定 */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px;
  padding-right: 50px;
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* サイトコンテンツ */
.site-content {
  /* min-height: 100vh; */
  position: relative;
}

/* ヘッダーのナビゲーション部分 */
.header-navigation-wrapper {
  display: flex;
  align-items: center;
  gap: 2em;
}

/* スクロールテキスト */
.scrolling-text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrolling-text {
  white-space: nowrap;
  font-size: 18.75em;
  color: #f9f9f9;
  font-weight: 300;
  text-transform: uppercase;
  display: inline-block;
  animation: scrollText 480s linear infinite;
  padding-left: 100%;
  width: max-content;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.common-bg-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: flex-start;
}

.common-bg-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(115, 115, 115, 1) 100%,
      rgba(217, 217, 217, 1) 0%);
  mix-blend-mode: overlay;
  z-index: 0;
}

.header-content {
  color: var(--color-light);
  z-index: 1;
  padding-bottom: 40px;
}

.page-subtitle {
  font-size: 1.125em;
  font-weight: 400;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
}

.arrow-down {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid white;
}

.icon-circle {
  background-color: var(--color-dark);
  transition: all 0.3s ease;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fa-chevron-down {
  font-size: 0.1em;
  color: var(--color-light);
}

.page-link_nav-wrapper {
  margin-top: 60px;
}

.page-link_nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-link_nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-title {
  font-size: 5em;
  /* 80px */
  line-height: 1.2em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 6px;
}


.section-block {
  position: relative;
  background: #fff;
  z-index: 0;
  width: calc(100% - 60px);
  max-width: calc(1100px + (100% - 1100px) / 2);
  margin-left: auto;
  margin-top: 60px;
  padding: 80px;
  padding-right: max(80px, (100% - 1100px) / 2);
}

.section-block::before {
  content: "";
  position: absolute;
  /* 擬似要素のスタイルをここに追加 */
}

.section-block::after {
  content: "";
  position: absolute;
  /* 別の擬似要素のスタイルをここに追加 */
}

.company-page-section-title-small {
  font-size: 1.125em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.company-page-section-title-small::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  margin-top: 6px;
}

.company-page-section-title {
  font-size: 2em;
  margin-top: 16px;
}

/* about */
.about-header {
  background-image: url('/wp-content/uploads/2025/04/a_dynamic_low-angle_close-up_shot_of_three_business_professionals_walking_with_confident_strides_th_vcxvgt8eamenvgbweonf_3.jpg');
  background-position: 20% 70%;
}

.company-page-section-flex {
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.company-page-section-content,
.company-page-section-access {
  width: 72%;
}

.paragraph {
  margin-bottom: 24px;
  font-weight: 600;
}

.expertise-header {
  margin-bottom: 4px;
}

.anchor {
  font-size: 6em;
  color: #F9F9F9;
  font-weight: 400;
  position: absolute;
  left: 0;
  z-index: -1;
}

/* company */
.company-header {
  background-image: url('/wp-content/uploads/2025/04/a_dramatic_low-angle_shot_of_modern_skyscrapers_towering_into_the_sky_reflecting_the_sunlight_the_b_xittq3id0bqziqo7m08q_0.jpg');
  background-position: 20% 10%;
}

/* sale */
.sale-header {
  background-image: url('/wp-content/uploads/2025/04/a_close-up_shot_of_a_business_meeting_between_two_professionals_discussing_financial_matters_one_pe_4gp6gqpgtbbhho3ke18z_3.jpg');
  background-position: 20% 70%;
}

/* 売却依頼ページのスタイル */

.service-detail-wrapper {
  margin-top: 100px;
}

.intro-title {
  font-size: 2.25em;
  margin-top: 20px;
  margin-bottom: 32px;
}

.intro-title-line {
  border-bottom: 1px solid #C0C0C0;
  padding-bottom: 40px;
}

.intro-text {
  margin-bottom: 24px;
}

.section-header {
  margin-bottom: 3em;
}

.service-detail-section-mg140 {
  margin-top: 100px;
}

.section-subtitle {
  font-size: 1.125em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.5em;
}

.section-title {
  font-size: 2.5em;
  color: var(--color-primary);
  font-weight: 700;
}

.reasons-grid {
  display: flex;
  gap: 56px;
  margin-top: 40px;
}

.reason-left {
  flex: 0 0 45%;
}

.reason-right {
  flex: 1;
}

.reason-image {
  width: 100%;
  height: 430px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.reason-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(27, 54, 93, 1) 0%,
      rgba(114, 128, 147, 1) 49%,
      rgba(204, 204, 204, 1) 100%);
  mix-blend-mode: overlay;
  z-index: 0;
}

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

.reason-text-main {
  font-size: 1em;
  line-height: 1.8;
  color: var(--color-dark);
}

.reason-item {
  background-color: #fff;
  padding: 32px;
  margin-bottom: 24px;
}

.reason-item:last-child {
  margin-bottom: 0;
}

.reason-content {
  flex: 1;
}

.reason-title {
  margin-bottom: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1em;
}

.reason-check {
  flex: 0 0 30px;
  height: 30px;
  background-image: linear-gradient(to right, #3971C3, #1B365D);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reason-check i {
  color: #fff;
  font-size: 12px;
}

.reason-text {
  font-size: 0.875em;
}

@media (max-width: 767px) {

  .company-page-section-access iframe,
  .company-page-section-access {
    width: 100%;
  }

  .reasons-grid {
    flex-direction: column;
  }

  .reason-left,
  .reason-right {
    width: 100%;
  }

  .reason-item {
    padding: 24px;
  }
}



/* purchase */
.purchase-header {
  background-image: url('/wp-content/uploads/2025/04/a_high-resolution_ultra-realistic_photograph_of_a_spacious_japanese-style_living_room_with_a_natura_llt7oy3s4faug7oe1jas_3.jpg');
  background-position: 20% 46%;
}

/* rent */
.rent-header {
  background-image: url('/wp-content/uploads/2025/04/a_high-resolution_ultra-realistic_photograph_of_a_modern_and_minimalist_living_room_with_warm_earth_0fbmjx5su72hdxvb40el_2.jpg');
  background-position: 20% 70%;
}

/* management */
.management-header {
  background-image: url('/wp-content/uploads/2025/04/a_professional_conversation_between_two_japanese_businessmen_seen_through_a_reflective_glass_window_x2x2fduebrbplxtqulto_1.jpg');
  background-position: 20% 32%;
}

/* contact */
.contact-header {
  background-image: url('/wp-content/uploads/2025/04/a_japanese_businessman_seen_from_behind_wearing_a_well-fitted_dark_pinstripe_suit_and_white_dress_s_65zycahfjqp5fnyo4f3p_0.jpg');
  background-position: 20% 32%;
}

/* privacypolicy */
.privacypolicy-header {
  background-image: url('/wp-content/uploads/2025/04/a_close-up_shot_of_a_business_professional_typing_on_a_laptop_in_an_office_setting_the_person_is_we_5x39903rc7tndtei6cdt_3.jpg');
  background-position: 20% 66%;
}

/* news */
.news-header {
  background-image: url('/wp-content/uploads/2025/07/Firefly_A-photorealistic-photo-of-a-quiet-modern-Japanese-residential-neighborhood-featurin-956014.jpg');
  background-position: 0% 83%;
}

/* 会社概要テーブル */
.company-info-table {
  width: 100%;
  border-collapse: collapse;
}



.company-info-table th,
.company-info-table td {
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: left;
}

.company-info-table th {
  border-bottom: 1px solid var(--color-primary);
  font-weight: 600;
}

.company-info-table td {
  border-bottom: 1px solid #DADADA;
  padding-left: 1.9em;
}

.company-info-table td {
  font-weight: normal;
}

@media (max-width: 767px) {

  .company-info-table th,
  .company-info-table td {
    display: block;
    width: 100%;
  }
}

/* 売却戦略セクション用のスタイル */
.process-container-wrapper {
  position: relative;
}

.image-overlay-text {
  position: absolute;
  bottom: 14px;
  left: 22px;
  font-size: 1.5em;
  color: var(--color-light);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.process-container {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.process-column-left {
  flex: 0 0 45%;
  position: relative;
  width: 45%;
  max-width: 485px;
}

.process-column-right {
  flex: 1;
}

.process-images {
  position: sticky;
  top: 120px;
  /* ヘッダーの高さに応じて調整 */
  height: 0;
  padding-bottom: 136.36%;
  /* 750 / 550 のアスペクト比 */
  width: 100%;
}

.process-images::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(27, 54, 93, 1) 0%,
      rgba(114, 128, 147, 1) 49%,
      rgba(204, 204, 204, 1) 100%);
  mix-blend-mode: overlay;
  z-index: 1;
}

.process-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.process-images img:first-child {
  opacity: 1;
  /* 最初の画像のみ表示 */
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.process-step {
  padding-bottom: 46px;
  border-bottom: 1px solid #DADADA;
  transition: all 0.3s ease;
  position: relative;
}

.step-header {
  margin-bottom: 20px;
}

.step-number {
  font-size: 0.875em;
  color: var(--color-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.step-number-large {
  font-size: 1.5em;
  font-weight: 700;
}

.step-title {
  font-size: 1.25em;
  color: var(--color-primary);
}

.step-content {
  font-size: 0.9375em;
  line-height: 1.8;
}

/* スクロールに応じて画像を表示するためのスタイル */
.process-step:nth-child(1):target~.process-column-left .js-process-pic:nth-child(1),
.process-step:nth-child(2):target~.process-column-left .js-process-pic:nth-child(2),
.process-step:nth-child(3):target~.process-column-left .js-process-pic:nth-child(3) {
  opacity: 1;
}

/* スマートフォン向けのレスポンシブスタイル */
@media (max-width: 767px) {
  .process-container {
    flex-direction: column;
    gap: 30px;
  }

  .process-column-left,
  .process-column-right {
    width: 100%;
    max-width: 100%;
  }

  .process-images {
    position: relative;
    top: 0;
    height: 0;
    padding-bottom: 75%;
    /* モバイル用のアスペクト比調整 */
  }

}

/* ケーススタディセクション */

.examples-grid {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.example-card {
  flex: 1;
  overflow: hidden;
}

.example-image {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.example-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(204, 204, 204, 1) 0%,
      rgba(37, 37, 37, 1) 100%);
  mix-blend-mode: overlay;
  z-index: 1;
}

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

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--color-light);
  padding: 10px 25px;
  z-index: 1;
}

.case-number {
  color: white;
  font-size: 2em;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}


.example-title {
  font-size: 1.125em;
  margin-top: 18px;
}

.example-details {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}

.example-details li {
  margin-bottom: 10px;
  font-size: 0.9375em;
  color: var(--color-dark);
  line-height: 1.6;
}

.example-details li:last-child {
  margin-bottom: 0;
}

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

/* お問い合わせフォームスタイル */
.contact-form-section {
  margin-top: 100px;
  background-color: #EAEFF5;
}

.contact-greeting {
  text-align: center;
  margin-bottom: 40px;
}

.contact-greeting p {
  margin-bottom: 6px;
  font-size: 1em;
  line-height: 1.6;
}

.contact-info-box {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 30px 20px;
  border: 1px solid var(--color-primary);
  text-align: center;
}

.contact-phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.contact-phone-text {
  font-size: 1em;
  margin-bottom: 0;
}

.contact-phone-number {
  font-size: 1.5em;
  /* 24px */
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 0;
}

.contact-phone-number i {
  transform: rotate(10deg);
}

.contact-hours {
  font-size: 0.875em;
  /* 14px */
}

.wpcf7-spinner {
  display: none;
}

/* Contact Form 7 スタイル */

.form-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.form-group-textarea {
  align-items: flex-start;
}

.wpcf7-form-control-wrap {
  flex: 1;
}

.wpcf7 {
  width: 100%;
}

.common-label {
  display: inline-block;
  width: 22%;
}

.wpcf7 label .required {
  color: #E54D42;
  margin-left: 3px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #E5E5E5;
  background-color: var(--color-light);
}

.wpcf7 textarea {
  height: 240px;
}

.contact-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.wpcf7-list-item {
  margin: 0 20px 0 0;
}

.wpcf7-radio input[type="radio"] {
  margin-right: 5px;
}

.wpcf7-acceptance {
  display: block;
  margin: 30px 0;
  margin-top: 40px;
  margin-bottom: 30px;
  text-align: center;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance a {
  color: var(--color-primary);
  text-decoration: underline;
}

.wpcf7-submit {
  background-color: var(--color-primary);
  color: var(--color-light);
  border: none;
  padding: 16px 0;
  width: 280px;
  font-size: 1em;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
  background-color: #2c4d7d;
}

@media (max-width: 767px) {

  .contact-info-box {
    padding: 20px 15px;
  }

  .contact-phone-number {
    font-size: 1.5em;
  }

  .contact-radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .wpcf7-submit {
    width: 100%;
  }
}

.privacy-policy-wrapper {
  margin-top: 100px;
}

.privacy-policy-section h2 {
  font-size: 1.25em;
  margin-bottom: 12px;
}

.privacy-policy-section {
  margin-top: 30px;
}


/* レスポンシブスタイル */
/* ============================================== */

/* デスクトップ向けスタイル */
@media screen and (min-width: 768px) {
  body {
    min-width: calc(1100px + 50px * 2);
  }

  .main-navigation {
    display: block;
  }
}

/* モバイル向けスタイル */
@media (max-width: 767px) {

  /* 基本レイアウト */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  body {
    min-width: auto;
  }

  /* ヘッダー関連 */
  .site-header {
    padding-left: 20px;
    height: 60px;
  }

  .header-navigation-wrapper {
    gap: 0;
  }

  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .contact-btn {
    width: 60px;
    height: 60px;
  }

  .contact-btn i {
    margin-right: 0;
  }

  .contact-btn-text {
    display: none;
  }

  .mobile-menu-content {
    padding-top: calc(100px + 2em);
  }

  /* ヒーローセクション */
  .hero-container {
    flex-direction: column-reverse;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 80px;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    z-index: 1;
    flex: none;
  }



  .hero-title {
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 1em;
  }

  .scroll-down {
    display: none;
  }

  /* ビジョンセクション */
  .vision {
    padding: 100px 0;
  }

  .about-description {
    width: 100%;
  }

  /* サービスセクション */
  .service-grid {
    grid-template-columns: 1fr;
  }

  /* お問い合わせセクション */
  .contact-section {
    flex-direction: column;
    text-align: center;
    gap: 2em;
  }

  .contact-section-title {
    font-size: 2.2em;
  }

  /* フッター */
  .footer-content {
    flex-direction: column;
    gap: 2em;
  }

  .footer-menu-wrapper {
    flex-direction: column;
    gap: 2em;
  }

  /* 会社概要テーブル */
  .company-info-table th,
  .company-info-table td {
    display: block;
    width: 100%;
  }

  .company-info-table td {
    padding-left: 0;
  }

  /* 売却依頼関連 */
  .reasons-grid {
    flex-direction: column;
  }

  .reason-left,
  .reason-right {
    width: 100%;
  }

  .reason-item {
    padding: 24px;
  }

  /* プロセス */
  .process-container {
    flex-direction: column;
    gap: 30px;
  }

  .process-column-left,
  .process-column-right {
    width: 100%;
    max-width: 100%;
  }

  .process-images {
    position: relative;
    top: 0;
    height: 0;
    padding-bottom: 75%;
  }

  /* ケーススタディ */
  .examples-grid {
    flex-direction: column;
  }

  /* お問い合わせフォーム */
  .contact-info-box {
    padding: 20px 15px;
  }

  .contact-phone-number {
    font-size: 1.5em;
  }

  .contact-radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .wpcf7-submit {
    width: 100%;
  }

  /* フォーム関連 */
  .wpcf7-form-control-wrap {
    width: 100%;
  }

  .common-label {
    width: 100%;
  }

  .form-group {
    flex-direction: column;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
  }

  .contact-phone-row {
    gap: 6px;
    flex-direction: column;
  }

  /* その他のモバイル調整 */
  .service-detail-section-mg140 {
    margin-top: 100px;
  }

  .process-step {
    padding-bottom: 24px;
  }

  .process-steps {
    gap: 24px;
  }

  .step-header {
    margin-bottom: 14px;
  }

  .process-column-left {
    display: none;
  }

  .anchor {
    font-size: 4em;
  }

  .section-block {
    padding: 40px 20px;
    width: calc(100% - 20px);
  }

  .company-page-section-content {
    width: 100%;
  }

  .section-header {
    text-align: left;
    margin-bottom: 1.25em;
  }

  .company-page-section-flex {
    flex-direction: column;
    align-items: baseline;
    gap: 0px;
  }

  .service-section-subtitle {
    font-size: 3em;
  }

  .site-footer {
    margin-top: 100px;
  }

  .news-section {
    margin-top: 100px;
  }

  .service-section {
    padding-top: 100px;
  }

  .news-list {
    width: 100%;
  }

  .news-section-inner {
    flex-direction: column;
    gap: 0;
  }

  .hero-image {
    width: 100%;
  }
}

/* 小型モバイル向けスタイル */
@media screen and (max-width: 599px) {
  .process-container {
    margin-top: 32px;
  }

  .intro-title {
    font-size: 1.5em;
    margin-top: 10px;
  }

  .intro-title-line {
    padding-bottom: 32px;
  }

  .page-subtitle {
    font-size: 1em;
  }

  .page-title {
    font-size: 3em;
  }

  .common-bg-header {
    height: 300px;
  }

  .footer-menu-column ul {
    flex-direction: column;
  }

  .footer-menu {
    gap: 10px;
  }

  .footer-menu-column {
    margin-bottom: 20px;
  }

  .contact-section-btn,
  .contact-section-btn-wrapper {
    width: 100%;
  }

  .hero-image {
    height: calc(100% - 390px);
    margin: 0;
  }

  .about-heading {
    font-size: 1.25em;
  }

  .service-title {
    font-size: 1.125em;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }
}

/* ロゴ画像のスタイル */
.logo img {
  height: 70px;
  width: auto;
  display: block;
}

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

/* home.php専用 投稿一覧デザイン */
.home-news-list {
  margin-top: 100px;
}

.home-news-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.home-news-item-link:hover {
  opacity: 1;
}

.home-news-item-link:hover .home-news-item {
  background-color: #fff;
}

.home-news-item {
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease;
}

.home-news-item-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0.75em;
}

.home-news-date {
  font-size: 0.875em;
  color: #838383;
}

.home-news-category {
  min-width: 8em;
}

.home-news-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 0.2em 1em;
  font-size: 0.8em;
  margin-right: 1em;
}

.home-news-title {
  font-size: 1em;
  font-weight: 600;
}

.home-news-title a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
  display: block;
}

.home-news-title a:hover {
  color: var(--color-primary);
}

@media (max-width: 767px) {
  .home-news-list {
    width: 100%;
    margin-top: 60px;
  }
}

/* =============================
   single.php 投稿ページ用スタイル
   ============================= */
.single-post-container {
  width: 100%;
  margin: 0 auto;
  padding: 48px 16px;
  background: #EAEFF5;
}

.single-post-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 32px;
  margin-top: 100px;

}

.single-post-article {
  width: 100%;
}

.single-post-header {
  border-bottom: 1px solid #1B365D;
  margin-bottom: 32px;
  padding-bottom: 16px;
}

.single-post-content p {
  margin-bottom: 1.5em;
}

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

.single-post-category {
  display: inline-block;
  background: #e0e7ff;
  color: #1e40af;
  font-size: 12px;
  padding: 2px 12px;
  border-radius: 9999px;
  text-decoration: none;
  margin-right: 4px;
  transition: background 0.2s;
}


.single-post-date {
  color: #6b7280;
  font-size: 12px;
  margin-left: 8px;
}

.single-post-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1B365D;
  margin: 0;
}

.single-post-content {
  margin-top: 32px;
  color: #2E2E2E;
  font-size: 1.05em;
  line-height: 1.9;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

@media (max-width: 767px) {
  .single-post-inner {
    padding: 24px 8px;
  }

  .single-post-title {
    font-size: 1.3rem;
  }

  .single-post-content {
    font-size: 1em;
  }
}

/* 404ページ専用 */
.notfound-404 {
  padding-top: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notfound-inner {
  text-align: center;


}

.notfound-code {
  font-size: 5em;
  font-weight: bold;
  color: var(--color-primary, #1B365D);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.notfound-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--color-primary, #1B365D);
  margin-bottom: 18px;
}

.notfound-message {
  color: #555;
  font-size: 1em;
  margin-bottom: 32px;
  line-height: 1.7;
}

.notfound-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.notfound-btn {
  display: inline-block;
  background: var(--color-primary, #1B365D);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 8px;
}

.notfound-btn:hover {
  background: #fff;
}

.notfound-btn-secondary {
  background: #fff;
  color: #1B365D;
}

.notfound-btn-secondary:hover {
  background: #1B365D;
  color: #fff;
}

@media (max-width: 600px) {
  .notfound-inner {
    padding: 24px 8px 20px 8px;
  }

  .notfound-code {
    font-size: 3em;
  }

  .notfound-title {
    font-size: 1.1em;
  }
}