/*
Theme Name: Sato Koumuten
Theme URI: http://localhost:10003/
Author: Shoto
Description: 佐藤工務店公式サイト用WordPressテーマ
Version: 1.0
*/

@charset "UTF-8";
/* _variables.scss - カラー・フォント変数 */
.page-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }
}

.section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0px;
  text-align: center;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.hero-section {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 40px;
}
.hero-section .hero-upper {
  color: #fff;
  padding: 80px 60px 140px;
}
.hero-section .hero-content {
  position: absolute;
  top: 60px;
  left: 60px;
  max-width: 800px;
  text-align: left;
}
@media (max-width: 768px) {
  .hero-section .hero-content {
    top: 40px;
    left: 20px;
    padding-right: 20px;
  }
}

.diamond-label {
  display: inline-block;
  transform: rotate(45deg);
  border: 2px solid #44403c;
  background: none;
  width: 60px;
  height: 60px;
  position: relative;
  margin-bottom: 16px;
  transition: transform 0.4s ease, box-shadow 0.3s, background 0.3s;
}
.diamond-label:hover {
  transform: rotate(45deg) scale(1.1);
  background: #44403c;
  box-shadow: 0 0 12px rgba(68, 64, 60, 0.4);
}
.diamond-label span {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: rotate(-45deg) translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

html,
body {
  height: 100%;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* _common.scss - 汎用パーツ */
.section {
  padding: 60px 0;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.section.visible {
  opacity: 1;
  transform: scale(1);
}
@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}
@media (max-width: 767px) {
  .section {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }
}
.section .section-description {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #777;
  font-weight: 500;
}

/* =======================
  header_backup用
========================== */
/* =======================
  header用
========================== */
.wrapper {
  width: 100%;
  height: auto;
  display: block;
}

.hero-wrapper {
  width: 100%;
  margin-top: 10px;
}
@media (max-width: 1024px) {
  .hero-wrapper {
    margin-top: 100px;
  }
}

/* 共通ユーティリティ */
img {
  max-width: 100%;
  height: auto;
  width: auto;
}

/* =======================
  Header: 共通レイアウト
========================== */
.site-header {
  max-height: 100px;
  width: 100%;
  padding: 5px 40px;
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* =======================
  Header: ロゴ
========================== */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo img.logo {
  max-height: 90px;
}
.site-logo .logo-text-img img {
  max-height: 70px;
  margin-top: 35px;
}

/* =======================
  Header: ナビゲーション
========================== */
.site-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.site-nav ul li a:hover {
  color: #6c9778;
}
.site-nav ul li a:hover::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #6c9778;
}
.site-nav ul li a i {
  font-size: 1rem;
}

/* =======================
  ハンバーガーメニュー
========================== */
.hamburger-wrapper {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 60px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hamburger-wrapper.visible {
  opacity: 1;
  pointer-events: auto;
}
.hamburger-wrapper .hamburger-menu {
  width: 80px;
  height: 80px;
  background: #6c9778;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 300;
}
.hamburger-wrapper .hamburger-menu i {
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s ease;
}
.hamburger-wrapper .hamburger-menu i:nth-child(2) {
  display: none;
}
.hamburger-wrapper .menu-label {
  display: none;
  font-size: 0.75rem;
  color: #666;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* =======================
  ドロワーメニュー
========================== */
.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #44403c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  z-index: 150;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.6s ease-in-out;
}
.drawer-menu.open {
  clip-path: circle(150% at calc(100% - 40px) 40px);
}
.drawer-menu .drawer-content {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
  transition-delay: 0s;
}
.drawer-menu .drawer-content .drawer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.drawer-menu .drawer-content .drawer-top .drawer-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.drawer-menu .drawer-content .drawer-top .drawer-image .drawer-logo {
  width: 200px;
}
.drawer-menu .drawer-content .drawer-top .drawer-image .drawer-text {
  width: 250px;
}
.drawer-menu .drawer-content .drawer-top ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  text-align: left;
}
.drawer-menu .drawer-content .drawer-top ul li {
  margin: 16px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-menu .drawer-content .drawer-top ul li a,
.drawer-menu .drawer-content .drawer-top ul li i {
  color: #fff;
  text-decoration: none;
  margin-right: 20px;
}
.drawer-menu .drawer-content .drawer-buttons {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}
.drawer-menu .drawer-content .drawer-buttons a {
  background: #6c9778;
  color: #fff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 1.3rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-menu .drawer-content .drawer-buttons a i {
  font-size: 1.2rem;
}
.drawer-menu .drawer-content .drawer-contact {
  text-align: center;
}
.drawer-menu .drawer-content .drawer-contact .phone {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #6c9778;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 1.2rem;
  margin-top: 20px;
  color: #fff;
}
.drawer-menu .drawer-content .drawer-contact .phone i {
  margin-right: 10px;
}
.drawer-menu .drawer-content .drawer-contact .phone a {
  color: #fff;
  text-decoration: none;
}

/* =======================
  ドロワーコンテンツアニメーション
========================== */
.drawer-content {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
  transition-delay: 0s;
}

.drawer-menu.open .drawer-content {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.4s;
}

/* =======================
  Header レスポンシブ
========================== */
@media screen and (max-width: 1024px) {
  .site-header {
    width: 100%;
    padding: 10px 10px;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .site-logo img.logo {
    max-height: 80px;
  }
  .site-logo .logo-text-img img {
    max-height: 50px;
    margin-top: 30px;
  }
  .site-nav {
    display: none;
  }
  .hamburger-wrapper {
    display: flex;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    top: 20px;
    left: auto;
    right: 20px;
    width: 40px;
    min-height: 40px;
  }
  .hamburger-wrapper .hamburger-menu {
    width: 40px;
    height: 40px;
  }
  .hamburger-wrapper .hamburger-menu i {
    font-size: 1.5rem;
  }
  .hamburger-wrapper .menu-label {
    display: block;
  }
}
.site-footer {
  background: #44403c;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
}
.site-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 80px 8%;
  gap: 60px;
}
.site-footer .footer-inner .footer-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.site-footer .footer-inner .footer-visual img {
  max-width: 180px;
  height: auto;
}
.site-footer .footer-inner .footer-visual .logo-text-img img {
  max-width: 240px;
}
.site-footer .footer-inner .footer-visual .company-name {
  font-size: 1.2rem;
  font-weight: bold;
}
.site-footer .footer-inner .footer-info {
  flex: 1.5;
}
.site-footer .footer-inner .footer-info .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  list-style: none;
}
.site-footer .footer-inner .footer-info .footer-nav ul li a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}
.site-footer .footer-inner .footer-info .footer-nav ul li a:hover {
  color: rgb(137.8685258964, 172.1314741036, 147.4302788845);
}
.site-footer .footer-inner .footer-info .footer-nav ul li a:hover::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(137.8685258964, 172.1314741036, 147.4302788845);
}
@media (max-width: 1024px) {
  .site-footer .footer-inner .footer-info .footer-nav ul {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
}
.site-footer .footer-inner .footer-info .footer-meta {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.8;
}
.site-footer .footer-inner .footer-info .footer-meta p {
  margin: 8px 0;
}
.site-footer .footer-inner .footer-info .footer-meta a {
  color: #fff;
  text-decoration: underline;
}
.site-footer .footer-inner .footer-info .footer-meta .phone-btn {
  display: inline-block;
  margin-top: 12px;
  background: #6c9778;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.3s;
}
.site-footer .footer-inner .footer-info .footer-meta .phone-btn i {
  margin-right: 8px;
}
.site-footer .footer-inner .footer-info .footer-meta .phone-btn:hover {
  background: rgb(86.1832669323, 121.8167330677, 96.1274900398);
}
.site-footer .footer-inner .footer-info .map-container {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  height: 400px;
  max-width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 1024px) {
  .site-footer .footer-inner .footer-info .map-container {
    height: 300px;
    margin-top: 20px;
  }
}
@media (max-width: 1024px) {
  .site-footer .footer-inner .footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .site-footer .footer-inner .footer-info .footer-meta {
    text-align: center;
  }
}
@media (max-width: 1024px) {
  .site-footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
.site-footer .footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  background: rgb(54.453125, 51.25, 48.046875);
}

.btn {
  width: 300px;
  height: 60px;
  margin-top: 80px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: #6c9778;
  border: none;
  border-radius: 9999px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #44403c;
  z-index: 0;
  transition: left 0.4s ease;
}
.btn:hover::before {
  left: 0;
}
.btn .btn-text,
.btn i {
  position: relative;
  z-index: 2;
}
.btn i {
  transform: translateX(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.btn:hover i {
  transform: translateX(0);
  opacity: 1;
}
@media (max-width: 1024px) {
  .btn::before {
    display: none;
  }
  .btn i {
    transform: none !important;
    opacity: 1 !important;
  }
  .btn:active {
    transform: scale(0.97);
  }
}
@media (max-width: 768px) {
  .btn {
    width: 80%;
    font-size: 16px;
    height: auto;
    padding: 10px 20px;
    margin-top: 40px;
  }
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}
@media (max-width: 1024px) {
  .btn-wrapper {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .btn-wrapper {
    margin-top: 30px;
  }
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #6c9778;
  color: #fff;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top:hover {
  background: #555;
}

.loader-screen {
  background: #fff;
  position: fixed;
  width: 100vw;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 1s ease;
}
.loader-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.drone-icon {
  position: absolute;
  width: 400px;
  top: 10%;
  left: 40%;
  animation: floatDrone 3s ease-in-out infinite;
  transition: transform 2.4s ease-in-out;
  will-change: transform;
}
.drone-icon.fly-away {
  animation: flyAway 2s ease-in forwards;
}

.house-icon {
  position: absolute;
  width: 400px;
  max-width: 80vw;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 1.5s ease, opacity 1.5s ease;
}
.house-icon.fly-to-corner {
  animation: flyToCorner 1.5s ease forwards;
}
.house-icon.move-to-logo {
  opacity: 0;
}

.loading-percentage {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 1.5rem;
  color: #44403c;
  font-weight: bold;
}

.main-content {
  opacity: 0;
  transition: opacity 1s ease;
}
.main-content.visible {
  opacity: 1;
}
.main-content.hidden {
  pointer-events: none;
}

@media screen and (max-width: 1024px) {
  .loader-screen {
    height: 700px;
  }
  .drone-icon {
    top: 5%;
    left: 35%;
    width: 350px;
  }
  .house-icon {
    top: 35%;
    left: 50%;
    width: 500px;
  }
  .loading-percentage {
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
}
@media screen and (max-width: 768px) {
  .loader-screen {
    height: 100vh;
    min-height: 100svh;
  }
  .drone-icon {
    width: 200px;
    top: 10%;
    left: 40%;
    transform: translateX(-50%);
  }
  .house-icon {
    top: 35%;
    left: 50%;
    width: 200px;
    transform: translateX(-50%);
  }
  .loading-percentage {
    font-size: 1rem;
    right: 16px;
    top: 40%;
  }
}
.breadcrumb {
  padding-top: 50px;
  font-size: 0.85rem;
  background: #f9f9f9;
}
.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 7rem;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .breadcrumb ul {
    padding-left: 10px;
  }
}
.breadcrumb ul li {
  display: flex;
  align-items: center;
}
.breadcrumb ul li a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb ul li a:hover {
  color: #000;
  text-decoration: underline;
}
.breadcrumb ul li::after {
  content: ">";
  color: #999;
  margin: 0 0.5rem;
}
.breadcrumb ul li:last-child::after {
  content: "";
  margin: 0;
}
.breadcrumb ul li:last-child {
  color: #999;
}

/* ページネーション */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
  padding: 2rem 1rem;
}

.pagination {
  display: flex;
  align-items: center;
}

.pagination .page-numbers {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.pagination .page-numbers li {
  margin: 0;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #333;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination .page-numbers a:hover {
  background-color: #f5f5f5;
  border-color: #bbb;
  color: #000;
}

.pagination .page-numbers .current {
  background-color: #007cba;
  border-color: #007cba;
  color: white;
  cursor: default;
}

.pagination .page-numbers .dots {
  border: none;
  background: none;
  color: #999;
  cursor: default;
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next {
  font-size: 0.8rem;
  padding: 0 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .pagination-wrapper {
    margin: 2rem 0;
    padding: 1rem;
  }
  .pagination .page-numbers {
    gap: 0.25rem;
  }
  .pagination .page-numbers a,
  .pagination .page-numbers span {
    min-width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }
  .pagination .page-numbers .prev,
  .pagination .page-numbers .next {
    padding: 0 0.75rem;
  }
}
/* 小さな画面での調整 */
@media (max-width: 480px) {
  .pagination .page-numbers a,
  .pagination .page-numbers span {
    min-width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
  .pagination .page-numbers .prev,
  .pagination .page-numbers .next {
    font-size: 0.7rem;
    padding: 0 0.5rem;
  }
}
.attention-text {
  color: #d93025;
  font-weight: bold;
}

.hero-section {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 40px;
  background: linear-gradient(180deg, #6c9778 0%, #f5f5f5 100%);
}
@media (max-width: 1200px) {
  .hero-section {
    border-bottom-left-radius: 0px;
  }
}
.hero-section .hero-upper {
  color: #fff;
  padding: 80px 60px 140px;
}
.hero-section .hero-content {
  position: absolute;
  top: 130px;
  left: 100px;
  max-width: 800px;
  text-align: left;
}
@media (max-width: 1024px) {
  .hero-section .hero-content {
    top: 60px;
  }
}
@media (max-width: 768px) {
  .hero-section .hero-content {
    left: 55px;
  }
}
.hero-section .representative-message {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 155px;
}
@media (max-width: 1200px) {
  .hero-section .representative-message {
    display: block;
    justify-content: center;
    margin-top: 120px;
  }
}
@media (max-width: 1024px) {
  .hero-section .representative-message {
    margin-top: 60px;
  }
}
@media (max-width: 768px) {
  .hero-section .representative-message {
    margin-top: 15px;
  }
}
.hero-section .message-text {
  flex: 1;
  text-align: left;
  margin-left: 100px;
  margin-bottom: 30px;
  padding-top: 20px;
}
@media (max-width: 1200px) {
  .hero-section .message-text {
    padding: 0 20px;
    max-width: 80%;
  }
}
@media (max-width: 768px) {
  .hero-section .message-text {
    margin-left: 0;
    max-width: 100%;
    font-size: 0.9rem;
  }
}
.hero-section .message-text h2 {
  font-size: 1.8rem;
  color: #44403c;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .hero-section .message-text h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
}
.hero-section .message-text h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #44403c;
  margin: 8px 0;
}
.hero-section .message-text p {
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .hero-section .message-text p {
    font-size: 0.9rem;
  }
}
.hero-section .hero-photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
@media (max-width: 1200px) {
  .hero-section .hero-photos {
    margin-bottom: 60px;
  }
}
.hero-section .hero-photos .ceo-name {
  margin-top: 16px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  letter-spacing: 0.05em;
}
.hero-section .message-photos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.hero-section .message-photos img {
  width: 100%;
  margin: 0 20px;
  max-width: 200px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}
.hero-section .message-photos img:nth-child(1) {
  transform: translateY(10px) rotate(-3deg);
}
.hero-section .message-photos img:nth-child(2) {
  transform: translateY(-20px) rotate(2deg);
}
.hero-section .message-photos img:nth-child(3) {
  transform: translateY(5px) rotate(-1.5deg);
}
.hero-section .message-photos img:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 2;
}
@media (max-width: 768px) {
  .hero-section .message-photos {
    justify-content: center;
  }
  .hero-section .message-photos img {
    display: none;
  }
  .hero-section .message-photos img:nth-child(1) {
    display: block;
    transform: none;
    max-width: 240px;
  }
}
.hero-section .ceo-name {
  margin-top: 16px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  text-align: center;
}

.company-info,
.area-access-section,
.staff-section,
.cta-section {
  padding: 80px 12%;
  background: #f9f9f9;
}
@media (max-width: 1024px) {
  .company-info,
  .area-access-section,
  .staff-section,
  .cta-section {
    padding: 60px 20px;
  }
}
.company-info h2,
.area-access-section h2,
.staff-section h2,
.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  border-bottom: 2px solid #6c9778;
  padding-left: 15px;
  color: #333;
}
.company-info p,
.company-info li,
.company-info td,
.company-info th,
.area-access-section p,
.area-access-section li,
.area-access-section td,
.area-access-section th,
.staff-section p,
.staff-section li,
.staff-section td,
.staff-section th,
.cta-section p,
.cta-section li,
.cta-section td,
.cta-section th {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.company-table th,
.company-table td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  text-align: left;
}
.company-table th {
  background: #eee;
  font-weight: bold;
  white-space: nowrap;
}
.company-table td a {
  color: #6c9778;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .company-table {
    font-size: 0.85rem;
  }
  .company-table th,
  .company-table td {
    padding: 10px;
    display: block;
    width: 100%;
  }
  .company-table tr {
    display: block;
    margin-bottom: 16px;
    border-bottom: 1px solid #ccc;
  }
  .company-table th {
    background: #eee;
    font-weight: bold;
    padding-bottom: 4px;
    color: #444;
  }
  .company-table td {
    padding-top: 0;
    line-height: 1.6;
  }
  .company-table td a {
    word-break: break-word;
  }
}
.section-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.sub-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #44403c;
  margin-bottom: 20px;
  border-left: 4px solid #44403c;
  padding-left: 12px;
}

.section-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.sub-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #44403c;
  margin-bottom: 20px;
  border-left: 4px solid #44403c;
  padding-left: 12px;
}

.access-container {
  display: flex;
  gap: 38px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .access-container {
    flex-direction: column;
  }
}
.access-container .access-box {
  flex: 1;
  max-width: 600px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
}
@media (max-width: 1024px) {
  .access-container .access-box {
    max-width: 100%;
  }
}
.access-container .access-box h4 {
  font-size: 1.3rem;
  margin-top: 20px;
  color: #333;
}
.access-container .access-box h5 {
  font-size: 1.1rem;
}
.access-container .access-box p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}
.access-container .access-box a {
  color: #6c9778;
  text-decoration: underline;
}
.access-container .map-wrapper {
  flex: 1;
  max-width: 600px;
}
.access-container .map-wrapper .map-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #ddd;
}

.staff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin-top: 30px;
}
@media (max-width: 1024px) {
  .staff-grid {
    flex-direction: column;
  }
}
.staff-grid .staff-card {
  flex: 1 1 280px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.staff-grid .staff-card .circle-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.staff-grid .staff-card .circle-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.staff-grid .staff-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #222;
}
.staff-grid .staff-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}
@media (max-width: 768px) {
  .staff-grid .staff-card p {
    font-size: 0.9rem;
  }
}

.cta-button-wrapper {
  text-align: center;
  margin-top: 30px;
}

.news-hero {
  background: linear-gradient(180deg, #6c9778 0%, #f5f5f5 100%);
  position: relative;
  padding: 100px 0;
  text-align: center;
}
@media (max-width: 1024px) {
  .news-hero {
    padding: 80px 20px;
  }
}
.news-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0px;
}
.news-hero .hero-content .diamond-label {
  display: inline-block;
  margin-bottom: 10px;
}
.news-hero .hero-content .diamond-label span {
  padding: 4px 12px;
  top: 65%;
  left: 30%;
}

.news-list {
  background: #f9f9f9;
  padding: 80px 15%;
}
.news-list .section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}
.news-list .news-items {
  list-style: none;
  padding: 0;
}
.news-list .news-items .news-item {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ddd;
}
.news-list .news-items .news-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  color: #333;
  position: relative;
  z-index: 1;
}
.news-list .news-items .news-item a .news-date {
  font-size: 0.9rem;
  color: #888;
}
.news-list .news-items .news-item a .news-title {
  flex: 1;
  margin-left: 16px;
  font-weight: 500;
}
.news-list .news-items .news-item a::after {
  content: "→";
  position: absolute;
  right: 20px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: #6c9778;
  z-index: 2;
}
.news-list .news-items .news-item a:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.news-list .news-items .news-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 0;
  transition: width 0.4s ease;
}
.news-list .news-items .news-item:hover::before {
  width: 100%;
}
@media (max-width: 768px) {
  .news-list {
    padding: 60px 20px;
  }
  .news-list .news-items .news-item::before {
    display: none;
  }
  .news-list .news-items .news-item a {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-list .news-items .news-item a::after {
    display: none;
  }
  .news-list .news-items .news-item a .news-title {
    margin-left: 0;
    margin-top: 6px;
  }
}

.news-detail {
  background-color: #f9f9f9;
}
.news-detail .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 20px;
}
.news-detail .news-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 60px;
}
.news-detail .news-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.news-detail .news-body {
  font-size: 1.1rem;
  line-height: 1.8;
}
.news-detail .news-body img {
  max-width: 100%;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.news-detail .news-body p + p {
  margin-top: 20px;
}
.news-detail .back-to-news {
  margin-top: 40px;
}
.news-detail .back-to-news a {
  text-decoration: underline;
  color: #6c9778;
  font-size: 0.95rem;
}
.news-detail .back-to-news a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* =========================== */
/* work-page-hero              */
/* =========================== */
.works-hero {
  background: linear-gradient(180deg, #44403c 0%, #f5f5f5 100%);
}

/* =========================== */
/* works-gallery セクション   */
/* =========================== */
.works-gallery {
  padding: 80px 12%;
  background: #f9f9f9;
}
@media (max-width: 1024px) {
  .works-gallery {
    padding: 60px 20px;
  }
}
.works-gallery h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  border-bottom: 2px solid #6c9778;
  padding-left: 15px;
  color: #333;
}
.works-gallery p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
}

/* =========================== */
/* 施工事例一覧：グリッド    */
/* =========================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
}
@media (max-width: 768px) {
  .works-grid {
    gap: 20px;
  }
}

/* 表示切替（PC / SP） */
.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}
/* =========================== */
/* フリップカード（PC用） */
/* =========================== */
.flip-card.pc-only {
  width: 100%;
  min-height: 540px;
  max-height: 340px;
  aspect-ratio: 3/4;
  perspective: 1000px;
  cursor: pointer;
}
.flip-card.pc-only .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-card.pc-only:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card.pc-only .flip-card-front,
.flip-card.pc-only .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 400px;
}
.flip-card.pc-only .flip-card-back {
  transform: rotateY(180deg);
}

/* =========================== */
/* スマホ用カード（SP Only） - 修正版 */
/* =========================== */
.flip-card.sp-only {
  position: relative;
  perspective: 1000px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 30px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: visible;
  cursor: pointer;
}
.flip-card.sp-only .flip-card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
}
.flip-card.sp-only.tapped .flip-card-inner {
  transform: rotateY(180deg) !important;
}
.flip-card.sp-only .flip-card-front,
.flip-card.sp-only .flip-card-back {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  backface-visibility: hidden !important;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.flip-card.sp-only .flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  backface-visibility: hidden;
  transform: rotateY(180deg);
}
.flip-card.sp-only .work-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.flip-card.sp-only .work-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.flip-card.sp-only .work-body {
  padding: 1em;
  background: #fff;
  min-height: 120px;
  flex-grow: 1;
}
.flip-card.sp-only .work-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5em;
  color: #333;
  font-weight: bold;
  line-height: 1.4;
}
.flip-card.sp-only .work-body .work-location {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 8px;
}
.flip-card.sp-only .work-body .work-tag {
  display: inline-block;
  background: #5d3b27;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 0.5em;
  margin-top: 0.25em;
}
.flip-card.sp-only .detail-btn {
  display: block;
  width: calc(100% - 2em);
  margin: auto auto 1.5em;
  padding: 12px 0;
  text-align: center;
  background-color: #6c9778;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  position: relative;
  margin-top: auto;
}
.flip-card.sp-only .detail-btn:hover {
  background-color: rgb(86.1832669323, 121.8167330677, 96.1274900398);
  transform: translateY(-2px);
}

/* =========================== */
/* カード共通要素 */
/* =========================== */
.work-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.work-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.work-body {
  padding: 20px;
  flex-grow: 1;
}
.work-body h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.4;
}
.work-body .work-location {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 8px;
}
.work-body .work-tag {
  display: inline-block;
  background: #5d3b27;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 6px;
  margin-top: 4px;
}

.flip-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #333;
  font-weight: bold;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  text-transform: uppercase;
}
.flip-badge.before {
  background: #c14949;
  color: #fff;
}
.flip-badge.after {
  background: #2d8659;
  color: #fff;
}

.status-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.status-label.before {
  background: #c14949;
  color: #fff;
}
.status-label.after {
  background: #2d8659;
  color: #fff;
}

/* =========================== */
/* works-detail-page           */
/* =========================== */
.works-detail {
  background: #f9f9f9;
  padding: 100px 5%;
}
.works-detail .detail-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 60px;
  color: #333;
}
.works-detail .detail-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}
.works-detail .photo-comparison {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}
.works-detail .photo-comparison .photo {
  position: relative;
  flex: 1;
}
.works-detail .photo-comparison .photo .label {
  position: absolute;
  top: 8px;
  left: 12px;
  background: #5d3b27;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}
.works-detail .photo-comparison .photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .works-detail .photo-comparison {
    flex-direction: column;
  }
  .works-detail .photo-comparison .photo img {
    margin-bottom: 20px;
  }
}
.works-detail .work-meta {
  text-align: center;
  margin-bottom: 30px;
}
.works-detail .work-meta .tag {
  background: #5d3b27;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}
.works-detail .work-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}
.works-detail .work-description h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 10px;
}
.works-detail .back-to-list {
  text-align: center;
}
.works-detail .back-to-list a {
  color: #6c9778;
  text-decoration: underline;
  font-weight: bold;
}

/* ===============================
Heroセクション（動画背景）
=============================== */
/* 📽 動画コンテナ */
.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.hero-video video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .hero-video {
    height: auto;
    aspect-ratio: 16/9;
    border-bottom-left-radius: 0;
  }
}

/* 🌫 オーバーレイレイヤー */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin-top: 60px;
  z-index: 2;
}

/* 📝 テキスト表示コンテンツ */
.hero-content {
  position: absolute;
  bottom: 50px;
  right: 40px;
  color: #fff;
  text-align: left;
  z-index: 3;
}
.hero-content h1,
.hero-content p {
  opacity: 0;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out forwards;
}
.hero-content h1 {
  font-size: 3rem;
  animation-delay: 0.2s;
}
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.2rem;
  }
}
.hero-content p {
  font-size: 1.5rem;
  margin-top: 12px;
  animation-delay: 0.5s;
}
@media (max-width: 1024px) {
  .hero-content p {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .hero-content p {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .hero-content {
    bottom: 10px;
    right: 10px;
  }
}

/* ✨ フェードアップアニメーション */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  align-items: flex-start;
}
@media (max-width: 1024px) {
  .about-grid {
    padding: 0 20px;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
    align-items: center;
    align-content: center;
    gap: 40px;
  }
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}
.about-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.message-text {
  flex: 2;
  max-width: 610px;
  padding-top: 120px;
  font-size: 20px;
  color: #333;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.1rem;
}
.message-text p {
  text-align: left;
}
.message-text .pc-only {
  display: inline;
}
@media (max-width: 1024px) {
  .message-text .pc-only {
    display: none;
  }
}
@media (max-width: 768px) {
  .message-text .pc-only {
    display: none;
  }
}
.message-text .btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .message-text {
    padding-top: 60px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .message-text {
    padding-top: 40px;
    font-size: 18px;
  }
  .message-text .btn-wrapper {
    justify-content: center;
  }
}

.horizontal-flow {
  background: #f5f8f5;
  text-align: center;
  overflow: visible;
  position: relative;
  z-index: 1;
  padding: 120px 20px 160px;
}
@media (max-width: 768px) {
  .horizontal-flow {
    justify-content: flex-start;
    padding: 60px 10px 80px;
  }
}
.horizontal-flow .flow-title {
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 40px;
  padding: 0 10px 20px;
  margin: 0 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.steps::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .steps {
    justify-content: flex-start;
    scroll-padding-left: 20px;
  }
}

.step-box {
  position: relative;
  width: 250px;
  min-height: 300px;
  padding-top: 30px;
  scroll-snap-align: start;
}
.step-box::after {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -20px;
  top: 40%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #5d93a3;
  animation: arrowBlink 1.4s infinite ease-in-out;
}
.step-box:last-child::after {
  display: none;
}
@media (max-width: 1024px) {
  .step-box::after {
    top: 33%;
  }
}
@media (max-width: 768px) {
  .step-box {
    min-width: 240px;
    max-width: 260px;
    flex: 0 0 auto;
  }
}

.step-inner {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  clip-path: polygon(40px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 40px);
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}
.step-inner img {
  width: 80%;
  max-height: 120px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 12px;
}
.step-text h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}
.step-text p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 1024px) {
  .step-text p {
    font-size: 0.6rem;
  }
}

.step-box:hover .step-inner {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: 10px;
  left: -10px;
  width: 36px;
  height: 36px;
  background: #6c9778;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swipe-guide {
  display: none;
}
@media (max-width: 768px) {
  .swipe-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    animation: fadeIn 1s ease-in-out;
  }
  .swipe-guide img {
    width: 40px;
    animation: handMove 1.8s ease-in-out infinite;
  }
  .swipe-guide p {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
  }
}

@keyframes arrowBlink {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(-50%) translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) translateX(6px);
  }
}
@keyframes downBlink {
  0%, 100% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
}
@keyframes handMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(15px);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.works-carousel {
  padding: 80px 0;
  background: #f9f9f9;
}
.works-carousel h2 {
  margin-bottom: 0;
}
.works-carousel .works-marquee {
  font-family: "Fredoka", sans-serif;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  margin-bottom: 30px;
}
.works-carousel .works-marquee span {
  display: inline-block;
  padding-left: 100%;
  font-size: 10rem;
  letter-spacing: 0.4rem;
  animation: slide-left 10s linear infinite;
  color: #fff;
  font-weight: 600;
}
@media (max-width: 768px) {
  .works-carousel .works-marquee span {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  .works-carousel .works-marquee span {
    font-size: 4rem;
  }
}

.works-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Swiperコンテナ */
.swiper {
  width: 100%;
  height: auto;
  padding: 40px 0 80px 0;
}

.swiper-wrapper {
  align-items: stretch;
}

/* スライドカード - 高さ統一のためflex追加 */
.swiper-slide {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: auto;
  display: flex;
  flex-direction: column;
}

.swiper-slide:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* カードリンク - 全高を利用 */
.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s ease;
}

.card-link:hover {
  transform: translateY(-2px);
}

/* カード画像 - 正方形最適化 */
.card-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  border-radius: 20px 20px 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

/* ズーム効果 */
.card-link:hover .card-image img {
  transform: scale(1.05);
}

.card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  transition: opacity 0.3s ease;
}

.card-link:hover .card-image::after {
  opacity: 0.8;
}

/* カードコンテンツ - 均等配置 */
.card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* カードタイトル - 文字数制限対応 */
.card-title {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8rem;
}

/* カード説明 - 統一された高さ */
.card-description {
  list-style: none;
  min-height: 96px;
  margin: 0;
  padding: 0;
}

.card-description li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #666;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #6c9778;
  font-weight: bold;
}

.card-description li:last-child {
  margin-bottom: 0;
}

/* カテゴリバッジ */
.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #6c9778;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.card-link:hover .category-badge {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Swiper ナビゲーション */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* Swiper ページネーション */
.swiper-pagination {
  bottom: 20px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #44403c;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #6c9778;
  transform: scale(1.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .swiper {
    padding: 20px 10px 40px 10px;
  }
  .construction-cases {
    padding: 60px 20px;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .card-content {
    padding: 25px;
    min-height: auto;
  }
  .card-title {
    font-size: 1.2rem;
    min-height: 2.4rem;
  }
  .card-description {
    min-height: 80px;
  }
  .card-image {
    aspect-ratio: 1;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}
@media (max-width: 480px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
  .card-content {
    padding: 20px;
  }
  .card-title {
    font-size: 1.1rem;
    min-height: 2.2rem;
  }
  .card-description {
    min-height: 70px;
    font-size: 0.9rem;
  }
  .card-image {
    aspect-ratio: 1;
  }
  .category-badge {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}
.news-blog {
  background: #f9f9f9;
  padding: 80px 0;
}
.news-blog .news-marquee {
  font-family: "Fredoka", sans-serif;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  margin-bottom: 30px;
}
.news-blog .news-marquee span {
  display: inline-block;
  padding-left: 100%;
  font-size: 10rem;
  letter-spacing: 0.4rem;
  animation: slide-left 10s linear infinite;
  color: #fff;
  font-weight: 600;
}
.news-blog .news-list {
  list-style: none;
  padding: 60px 20px;
  max-width: 960px;
  margin: 0 auto;
}
.news-blog .news-list li {
  border-top: 1px solid #ccc;
}
.news-blog .news-list li:last-child {
  border-bottom: 1px solid #ccc;
}
.news-blog .news-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 20px 10px;
  color: #222;
  transition: background 0.2s ease;
}
.news-blog .news-list li a:hover, .news-blog .news-list li a:focus {
  background: #f5f5f5;
}
.news-blog .news-list li a .news-date {
  display: flex;
  flex-direction: column;
  min-width: 80px;
  font-weight: bold;
  text-align: center;
}
.news-blog .news-list li a .news-date .year {
  font-size: 0.8rem;
  color: #999;
}
.news-blog .news-list li a .news-date .day {
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
}
.news-blog .news-list li a .news-content {
  flex: 1;
  margin-left: 20px;
  font-size: 1rem;
}
.news-blog .news-list li a .news-arrow {
  font-size: 1.5rem;
  color: #888;
}

.btn-wrapper {
  text-align: center;
}

@media (max-width: 768px) {
  .news-blog .news-list {
    padding: 60px 10px;
  }
  .news-blog .news-list a {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-blog .news-list a .news-content {
    margin-left: 0;
    margin-top: 10px;
  }
  .news-blog .news-list a .news-arrow {
    margin-top: 10px;
    align-self: flex-end;
  }
  .news-blog .news-marquee span {
    font-size: 4rem;
  }
}
.faq {
  background: #f5f8f5;
  padding: 80px 20px;
}
.faq .faq-marquee {
  font-family: "Fredoka", sans-serif;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  margin-bottom: 30px;
}
.faq .faq-marquee span {
  display: inline-block;
  padding-left: 100%;
  font-size: 10rem;
  letter-spacing: 0.4rem;
  animation: slide-left 10s linear infinite;
  color: #fff;
  font-weight: 600;
}
.faq .faq-list {
  max-width: 960px;
  margin: 0 auto;
}
.faq .faq-item {
  border-top: 1px solid #ccc;
}
.faq .faq-item:last-child {
  border-bottom: 1px solid #ccc;
}
.faq .faq-item .faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.faq .faq-item .faq-question:hover {
  background-color: #f5f5f5;
}
.faq .faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #f9f9f9;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 1rem;
}
.faq .faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .faq {
    padding: 60px 15px;
  }
  .faq .faq-marquee span {
    font-size: 4rem;
  }
  .faq .faq-item .faq-question {
    font-size: 1rem;
    padding: 16px;
  }
  .faq .faq-item .faq-answer {
    font-size: 0.95rem;
    padding: 0 16px;
  }
  .faq .faq-item.active .faq-answer {
    padding: 16px;
  }
}
@media screen and (max-width: 480px) {
  .faq .faq-item .faq-question {
    font-size: 0.95rem;
    padding: 14px;
  }
  .faq .faq-item .faq-answer {
    font-size: 0.9rem;
    padding: 0 14px;
  }
  .faq .faq-item.active .faq-answer {
    padding: 14px;
  }
}

.attention-text {
  color: #d93025;
  font-weight: bold;
}

@keyframes floatDrone {
  0%, 100% {
    transform: translateX(-30px);
  }
  50% {
    transform: translateX(30px);
  }
}
@keyframes flyAway {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: translate(100px, -100px) scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: translate(300px, -300px) scale(1.3);
    opacity: 0;
  }
}
@keyframes flyToCorner {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-450px, -200px) scale(0.2);
    opacity: 0;
  }
}
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}/*# sourceMappingURL=style.css.map */
