/*
Theme Name: my-custom-theme
Theme URI:
Author: artwork
Author URI:
Description: HTMLとWordPress混合で構成されたカスタムテーマ
Version: 1.0
*/
/* 共通リセット */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 全体の背景と文字色 */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #fafafa;
  color: #555555; /* 白文字 */
  font-family: sans-serif;
  margin: 0;
  padding-top: 80px; /* 固定ヘッダーの高さ分のパディング */
}
.logo img {
  width: 75px;
  height: 75px;
}
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  text-align: center;
  overflow: hidden;
}

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

.entry-button {
  position: absolute;
  width: 120px;
  height: 50px;
  left: 50%;
  top: 85%; /* 4/5 of the height - same as title */
  transform: translate(-50%, -50%);
  color: #2d2d2d;
  font-size: 30px;
  font-weight: 500;
  border-radius: 3%;
  background-color: rgb(210, 205, 196);
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.news-section h2 {
  padding: 10px 21px;
  padding-left: 15px;
  margin: 10px;
  border-left: 4px solid orange;
  margin-bottom: 10px;
}

.entry-button:hover {
  background-color: rgb(190, 185, 176);
  transform: translate(-50%, -50%) scale(1.05);
}

.title {
  position: absolute;
  left: 50%;
  top: 80%; /* 4/5 of the height */
  transform: translate(-50%, -50%);
  font-size: calc(12.437px + 2.817vw);
  font-weight: 500;
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000; /* 黒い縁取り */
  z-index: 2;
  margin: 0;
}
.page-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: orange;
  font-size: 5vw;
  text-align: center;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000; /* 黒い縁取り */
}

/* Header Styles */
.site-header {
  background-color: #fafafa; /* 薄い青背景 */
  color: black;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

/* Logo Section */
.logo-section {
  flex-shrink: 0;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-text img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-text:hover img {
  transform: scale(1.05);
}

.logo-main {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.logo-stylized {
  font-family: "Brush Script MT", cursive;
  font-size: 2.2em;
  color: #1e3a8a; /* 濃い青 */
  font-weight: normal;
  margin-right: 2px;
}

.logo-uppercase {
  font-family: Arial, sans-serif;
  font-size: 1.8em;
  font-weight: bold;
  color: #1e3a8a; /* 濃い青 */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-subtitle {
  font-family: Arial, sans-serif;
  font-size: 0.8em;
  color: #1e3a8a; /* 濃い青 */
  margin-top: 2px;
  font-weight: normal;
}

/* Navigation Section */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: black; /* 濃いグレー */
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 1em;
  font-weight: 300;
  transition: color 0.3s ease;
  text-transform: capitalize;
}
/* Social Section */
.social-section {
  flex-shrink: 0;
}

.instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5568; /* 濃いグレー */
  transition: color 0.3s ease;
}

.instagram-link:hover {
  color: #1e3a8a; /* 濃い青 */
}

.instagram-icon {
  width: 41px;
  height: 41px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #4a5568;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #c0c0c0;
  z-index: 1001;
  padding: 20px;
}

.mobile-menu.active {
  display: block;
}

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

.mobile-logo {
  display: flex;
  align-items: baseline;
}

.mobile-logo .logo-stylized {
  font-size: 2em;
  margin-right: 2px;
}

.mobile-logo .logo-uppercase {
  font-size: 1.6em;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2em;
  color: #4a5568;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.mobile-nav-list li {
  margin-bottom: 20px;
}

.mobile-nav-list a {
  color: #4a5568;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  text-decoration: none;
  font-size: 1.1em;
}

.mobile-social .instagram-icon {
  width: 20px;
  height: 20px;
}

/* Footer Styles */
.site-footer {
  background-color: #fafafa; /* 紺色 */
  color: black;
  padding: 21px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 35px;
  max-width: 1440px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}

/* Footer Logo Section */
.footer-logo-section {
  flex-shrink: 0;
}

.footer-logo-link {
  text-decoration: none;
  color: inherit;
}

.footer-logo-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-text img {
  max-width: 250px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  max-height: 120px;
}

.footer-logo-text:hover img {
  transform: scale(1.05);
}

/* Footer Company Info Section */
.footer-company-info {
  flex: 1;
  min-width: 250px;
}

.company-name {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 8px;
  color: #212121;
}

.company-address {
  font-size: 0.9em;
  color: #4b4b4b;
  line-height: 1.4;
  margin: 0;
}

/* Footer Social Section */
.footer-social-section {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap:19px;
}

.footer-instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d5d5d;
  transition: color 0.3s ease;
}

.footer-instagram-link:hover {
  color: #ff851b; /* オレンジ */
}

.footer-instagram-icon,
.footer-twitter-icon{
  width: 35px;
  height: 35px;
  color: #000000; /* Twitter blue color */
  transition: color 0.3s ease;
}

.footer-left {
  display: flex;
  align-items: center;
}
.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}
/* リンクの基本スタイル */
.site-nav a,
.footer-nav a {
  color: black;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: #ff851b; /* オレンジ */
}

/* 画像リンクセクション */
.three-columns,
.recruit-section {
  padding: 40px 0;
}

/* 画像リンクの共通設定 */
.three-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.three-columns a,
.recruit-section a {
  position: relative;
  display: block;
  overflow: hidden;
  width: 30%;
}

.three-columns img {
  width: 100%;
  height: auto;
  filter: brightness(60%); /* 初期状態で暗くする */
  transition: filter 0.3s ease;
  display: block;
}
.recruit-section img {
  max-width: 1440px;
  width: 70%;
  height: auto;
  filter: brightness(60%); /* 初期状態で暗くする */
  transition: filter 0.3s ease;
  display: block;
}
.three-columns a:hover img,
.recruit-section a:hover img {
  filter: brightness(100%); /* hoverで明るくする */
}

/* 画像上に文字を表示するためのオーバーレイ */
.three-columns a::after,
.recruit-section a::after {
  content: attr(data-label); /* カスタム属性で表示 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: orange;
  font-size: 24px;
  font-weight: bold;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000; /* 黒い縁取り */
  white-space: nowrap;
  pointer-events: none;
}

/* recruit画像中央配置 */
.recruit-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.recruit-section a {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- サービスページ共通 --- */
.service-page .hero img {
  width: 100%;
  height: 80%;
  display: block;
}

/* 見出しエリア（サービス内容｜作業の流れ） */
.headline-area {
  padding: 40px 20px;
  text-align: center;
}

.headline-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  position: relative;
}

.headline-center-line {
  width: 3px;
  height: 50px;
  background-color: #b2c6dd;
}

/* オレンジの見出し線 + タイトル */
.section-title,
.section-title-small {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 20px;
}

.orange-bar {
  width: 10px;
  height: 40px;
  background-color: orange;
}

.orange-bar-small {
  width: 6px;
  height: 30px;
  background-color: orange;
}

.section-title h2,
.section-title-small h3 {
  color: #000000;
  font-weight: bold;
  font-size: 29px;
}

/* 什器詳細コンテンツ */
.service-detail-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 20px 60px;
  align-items: center;
}

.text-content {
  flex: 1;
  min-width: 300px;
  color: #000000;
  font-size: calc(4.223px + 1.165vw);
  line-height: 1.6;
}

.text-content ul {
  margin-top: 20px;
  padding-left: 20px;
}

.text-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

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

.image-content img {
  width: 100%;
  height: auto;
  border: 2px solid #fff;
}
/* アンカーリンクの見た目 */
.headline-link {
  color: orange;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  transition: color 0.3s;
}

.headline-link:hover {
  color: #b2c6dd;
}

/* サービス内容・作業の流れ共通幅（レスポンシブ） */
.content-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 20px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .content-wrapper {
    width: 80%;
  }
}

/* セクション見出し */
.section-heading {
  text-align: center;
  color: orange;
  font-size: 28px;
  margin: 40px 0 20px;
  text-shadow: 1px 1px 2px black;
}

/* Swiper スライダー画像 */
.carousel {
  width: 500px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  z-index: 10;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  width: 500px;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  color: #fff;
}

.carousel-btn.prev {
  left: -45px;
}

.carousel-btn.next {
  right: -45px;
}

.carousel-indicators {
  text-align: center;
  margin-top: 10px;
}

.carousel-indicators .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  border: none;
  cursor: pointer;
}

.carousel-indicators .dot.active {
  background: #333;
}

/* カスタム矢印 */
.custom-arrow {
  color: black;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  user-select: none;
}

.swiper-button-prev.custom-arrow {
  left: -40px;
}

.swiper-button-next.custom-arrow {
  right: -40px;
}

/* 数字で見るアートワーク（3列×2段） */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 90%;
  margin: 30px auto;
}

.numbers-grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }
}
/* --- 会社概要全体 --- */
.company-info {
  width: 60%;
  margin: 60px auto 40px;
}

.company-info-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.company-info-heading .line {
  width: 6px;
  height: 30px;
  background-color: orange;
}

.company-info-heading h2 {
  font-size: 1.8rem;
}

/* --- 表のスタイル --- */

.section-title {
  font-size: 24px;
  padding-left: 10px;
  color: #000000;
}

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

.info-item {
  background-color: #dcdcdc;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.info-item h3 {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.info-item p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

/* --- Googleマップ --- */
.company-map {
  width: 80%;
  margin: 40px auto;
}

.company-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 768px) {
  .company-info,
  .company-map {
    width: 95% !important;
  }
}
.company-proposal {
  background-color: #e8f1fd;
  color: #000;
  width: 70%;
  margin: 40px auto;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
}

.company-proposal .proposal-text {
  flex: 1 1 50%;
}

.company-proposal .proposal-text h3 {
  color: #000;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.company-proposal .proposal-text p {
  line-height: 1.7;
}

.company-proposal .proposal-image {
  flex: 1 1 40%;
  text-align: center;
}

.company-proposal .proposal-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .company-proposal {
    flex-direction: column;
    width: 90%;
  }
  .company-proposal .proposal-text,
  .company-proposal .proposal-image {
    flex: 1 1 100%;
  }
}
/* ハンバーガーアイコン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 101;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background: #c0c0c0; /* 紺色 */
  padding: 60px 20px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: top 0.3s ease;
  z-index: 100;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu ul li {
  margin: 15px 0;
}
.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

/* 表示時 */
.mobile-menu.open {
  top: 0;
}

/* レスポンシブ切り替え */
@media screen and (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
/* ハンバーガーアイコンのアニメーション */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.hamburger span {
  transition: all 0.3s ease;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #c0c0c0;
  color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px 20px;
}

/* メニュー開いたとき */
.mobile-menu.open {
  display: flex;
}

/* × ボタンスタイル */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}
.news-list {
  display: flex; /* 子要素を横並びに */
  gap: 20px; /* アイテム間の間隔 */
}

.news-item {
  flex: 1; /* 均等に幅を割り当て */
  border: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
}

.news-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.news-title {
  font-size: 1.2em;
  margin-top: 10px;
  text-align: center;
}

/* 職種セクション */
.job-types-section {
  background-image: url("./images/service.jpg"); /* 背景画像のパス */
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  padding: 60px 20px;
  color: #333; /* Text color */
}

.job-types-title {
  text-align: center;
  font-size: 2.5em;
  font-weight: 500;
  margin-bottom: 21px;
  color: #000000;
}

.job-types-container {
  max-width: 1310px;
  margin: 0 auto;
}

img:hover {
  scale: 103%;
  transition-duration: 0.5s;
}

.job-type-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #e6f3ff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-type-content {
  flex: 1;
}

.job-type-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.job-type-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666;
}

.job-type-image {
  flex: 1;
  max-width: 400px;
}

.job-type-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .three-columns {
    display: block;
    justify-content: space-between;
    gap: 20px;
  }

  .three-columns a,
  .recruit-section a {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
  }

  .three-columns img {
    width: 100%;
    height: auto;
    filter: brightness(60%); /* 初期状態で暗くする */
    transition: filter 0.3s ease;
    display: block;
  }
  .recruit-section img {
    width: 100%;
    height: auto;
    filter: brightness(60%); /* 初期状態で暗くする */
    transition: filter 0.3s ease;
    display: block;
  }
  .three-columns a:hover img,
  .recruit-section a:hover img {
    filter: brightness(100%); /* hoverで明るくする */
  }

  .site-footer {
    background-color: #c0c0c0; /* 紺色 */
    color: #fff;
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
  }
  .footer-left {
    display: flex;
    align-items: center;
  }
  .footer-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  .headline-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
  }
  .section-title h2,
  .section-title-small h3 {
    color: #000000;
    font-weight: bold;
    font-size: 18px;
  }

  /* 職種セクション モバイル対応 */
  .job-types-section {
    padding: 40px 15px;
  }

  .job-type-item {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
  }

  .job-type-item.reverse {
    flex-direction: column;
  }

  .job-type-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .job-type-description {
    font-size: 0.9em;
  }

  .job-type-image {
    max-width: 100%;
  }

  /* ヘッダー モバイル対応 */
  .header-container {
    padding: 10px 20px;
  }

  .logo-text {
    max-width: 200px;
  }

  .logo-text img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
  }

  .logo-stylized {
    font-size: 1.8em;
  }

  .logo-uppercase {
    font-size: 1.4em;
  }

  .logo-subtitle {
    font-size: 0.7em;
  }

  .site-nav {
    display: none;
  }

  .social-section {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Adjust navigation font size for smaller screens */
  .nav-list a {
    font-size: 18px;
  }

  body {
    padding-top: 60px;
  }

  /* Hero responsive styles for mobile */
  .hero {
    height: 60vh;
  }

  .title {
    top: 80%;
  }

  /* Footer responsive styles for mobile */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
  }

  .footer-company-info {
    min-width: auto;
    order: 2;
  }

  .company-name {
    font-size: 1.1em;
  }

  .company-address {
    font-size: 0.85em;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 15px;
    order: 3;
  }

  .footer-nav-list a {
    font-size: 16px;
  }

  .footer-social-section {
    order: 1;
  }

  .footer-instagram-icon {
    width: 30px;
    height: 30px;
  }

  /* About Us responsive styles for mobile */
  .about-section {
    padding: 40px 40px;
  }

  .about-title {
    font-size: 2em;
  }

  .about-image {
    max-width: 200%;
  }

  .about-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  /* Gallery responsive styles for mobile */
  .gallery-section {
    padding: 40px 0;
  }

  .gallery-title {
    font-size: 2em;
  }

  .gallery-link {
    margin-left: 0;
    text-align: center;
    display: block;
  }

  /* Gallery Grid Responsive */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
    padding: 20px 15px;
  }

  .gallery-item {
    aspect-ratio: 1;
  }

  .gallery-nav-arrow {
    width: 35px;
    height: 35px;
    left: 10px;
  }

  .gallery-nav-arrow::before {
    font-size: 20px;
  }
}

/* Tablet specific logo styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .logo-text {
    max-width: 250px;
  }

  .logo-text img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
  }

  .nav-list {
    gap: 25px;
  }

  .nav-list a {
    font-size: 20px;
  }

  .instagram-icon {
    width: 35px;
    height: 35px;
  }

  /* Footer responsive styles for tablet */
  .footer-container {
    gap: 25px;
    padding: 0 25px;
  }

  .footer-nav-list {
    gap: 25px;
  }

  .footer-nav-list a {
    font-size: 17px;
  }

  .footer-instagram-icon {
    width: 32px;
    height: 32px;
  }

  /* Hero responsive styles for tablet */
  .hero {
    height: 70vh;
  }

  .title {
    font-size: 48px;
  }

  .entry-button {
    width: 130px;
    height: 60px;
    font-size: 24px;
  }

  /* About Us responsive styles for tablet */
  .about-section {
    padding: 60px 0;
  }

  .about-title {
    font-size: 2.2em;
  }

  .about-image {
    max-width: 350px;
  }

  /* Gallery responsive styles for tablet */
  .gallery-section {
    padding: 60px 0;
  }

  .gallery-title {
    font-size: 2.2em;
  }

  /* Gallery Grid Tablet Responsive */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    padding: 30px 25px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .header-container {
    padding: 8px 15px;
  }

  .logo-text {
    max-width: 150px;
  }

  .logo-text img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
  }

  .instagram-icon {
    width: 30px;
    height: 30px;
  }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
  .header-container {
    padding: 5px 10px;
  }

  .logo-text {
    max-width: 120px;
  }

  .logo-text img {
    max-width: 100%;
    height: auto;
    max-height: 35px;
  }

  .instagram-icon {
    width: 25px;
    height: 25px;
  }

  /* Footer responsive styles for small mobile */
  .footer-container {
    gap: 15px;
    padding: 0 15px;
  }

  .company-name {
    font-size: 1em;
  }

  .company-address {
    font-size: 0.8em;
  }

  .footer-nav-list {
    gap: 12px;
  }

  .footer-nav-list a {
    font-size: 15px;
  }

  .footer-instagram-icon {
    width: 25px;
    height: 25px;
  }

  /* Gallery Grid Small Mobile Responsive */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(8, 1fr) !important;
    padding: 15px 10px;
  }

  .gallery-nav-arrow {
    width: 30px;
    height: 30px;
    left: 5px;
  }

  .gallery-nav-arrow::before {
    font-size: 18px;
  }

  /* Hero responsive styles for small mobile */
  .hero {
    height: 50vh;
  }

  .title {
    font-size: 28px;
  }

  .entry-button {
    width: 100px;
    height: 45px;
    font-size: 18px;
  }
}

/* Large desktop screens */
@media (min-width: 1441px) {
  .logo-text {
    max-width: 300px;
  }

  .logo-text img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
  }

  /* Footer responsive styles for large desktop */
  .footer-container {
    gap: 40px;
    padding: 0 40px;
  }

  .company-name {
    font-size: 1.3em;
  }

  .company-address {
    font-size: 1em;
  }

  .footer-nav-list {
    gap: 35px;
  }

  .footer-nav-list a {
    font-size: 20px;
  }

  .footer-instagram-icon {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 768px) {
  .carousel {
    width: 350px; /* スライダー全体の幅も固定 */
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* visibleから変更 */
    z-index: 10;
  }

  .carousel-track img {
    width: 350px; /* 画像幅を固定 */
    flex-shrink: 0;
  }
}

/* Full Width Photo Section - 問い合わせバナー */
.full-width-photo {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

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

.contact-banner-link:hover {
  text-decoration: none;
  color: inherit;
}

.full-width-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hover effect for better user interaction */
.full-width-photo:hover img {
  transform: scale(1.02);
}

/* Responsive breakpoints for full-width-photo */
@media (max-width: 1200px) {
  .full-width-photo img {
    min-height: 200px;
  }
}

@media (max-width: 950px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .full-width-photo {
    margin: 0;
    padding: 0;
  }

  .full-width-photo img {
    min-height: 150px;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .full-width-photo img {
    min-height: 120px;
  }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .full-width-photo img {
    min-height: 180px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
  }
}

/* Large desktop styles */
@media (min-width: 1201px) {
  .full-width-photo img {
    min-height: 250px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .full-width-photo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .full-width-photo {
    page-break-inside: avoid;
    break-inside: avoid;
  }

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

/* About Us Section */
.about-section {
  background-color: #fff;
  padding: 80px 0;
}

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

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.about-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

.about-image {
  flex: 1;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-button {
  display: inline-block;
  background-color: #0066cc;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  border: 2px solid #0066cc;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.about-button:hover {
  background-color: #0052a3;
  border-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

/* Gallery Section */
.gallery-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

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

.gallery-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #fff;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery Navigation Arrow */
.gallery-nav-arrow {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

.gallery-nav-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav-arrow::before {
  content: '‹';
  font-size: 24px;
  font-weight: bold;
}
.gallery-item {
  aspect-ratio: 1;

  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-link {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1em;
  transition: color 0.3s ease;
  margin-left: 20px;
}

.gallery-link:hover {
  color: #0066cc;
}

.blog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-section h2 {
  font-size: 28px;
  color: #333;
}

.blog-grid {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 30px;
}

.blog-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-thumbnail {
  height: 200px;
  overflow: hidden;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail img {
  transform: scale(1.05);
}

.blog-date {
  display: block;
  padding: 10px 15px 0;
  color: #666;
  font-size: 14px;
  text-align: left;
}

.blog-title {
  padding: 10px 15px 20px;
  margin: 0;
  font-size: 18px;
  text-align: left;
  color: #333;
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

.read-more {
  margin-top: 41px;
}

.read-more a {
  display: flex;
  justify-self: right;
  padding: 10px 25px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.read-more a:hover {
  background: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-grid {
    flex-direction: column;
  }

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

/* Information Section Styles */
.information {
  padding: 60px 20px;
  margin: 40px 0;
}

.information-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.information-content {
  background-color: #fff;
  padding: 60px;
  border-radius: 8px;
  max-width: 1200px;
  width: 100%;
  position: relative;
}

.information-title {
  font-size: 48px;
  color: #0066cc;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: serif;
}

.information-subtitle {
  font-size: 24px;
  color: #333;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.information-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0066cc;
}

.information-list {
  margin-bottom: 40px;
}

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

.information-item-link:hover {
  transform: translateX(10px);
  background-color: #f8f8f8;
}

.information-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.information-item:last-child {
  border-bottom: none;
}

.category-label {
  background-color: #555;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
  margin-right: 20px;
  min-width: 90px;
  text-align: center;
}

.post-date {
  color: #333;
  font-size: 16px;
  margin-right: 15px;
  font-family: monospace;
}

.post-description {
  color: #333;
  font-size: 16px;
  flex-grow: 1;
}

.read-more-link {
  text-align: right;
}

.read-more-link a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.read-more-link a:hover {
  color: #0066cc;
}

.arrow {
  margin-left: 8px;
  font-weight: bold;
}

/* Responsive adjustments for information section */
@media (max-width: 768px) {
  .information {
    padding: 40px 15px;
  }
  
  .information-content {
    padding: 30px 20px;
  }
  
  .information-title {
    font-size: 32px;
  }
  
  .information-subtitle {
    font-size: 18px;
  }
  
  .information-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .category-label {
    margin-right: 0;
  }
  
  .post-date,
  .post-description {
    font-size: 14px;
  }
}