/*
Theme Name: Interactor Theme2025
Author: のんたん
Author URI: http://non5butz.web.fc2.com/
Description: コーポレートサイト「Interactor」のオリジナルテーマ
Version: 1.0
*/

:root {
  --primary-color: #18519e;
  --secondary-color1: #f29c79;
  --secondary-color2: #ffe26a;
  --gradient-start: #facc15; /* ボタンのグラデーション開始 */
  --gradient-end: #f59e0b; /* ボタンのグラデーション終了 */
  --text-dark: #222529;
  --text-sub: #656f7d;
  --bg-light: #f7f8f9; /* white */
  --bg-dark-blue: #073763; /* フッターなどの濃い青 */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background-color: #f7f8f9;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  padding-bottom: 80px;
}

.section-title {
  text-align: center;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 67px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  background: var(--gradation-3, linear-gradient(94deg, #18519e 0%, #0e2b51 60%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: block;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 32px;
}

.privacy-title, .contact-title, .blog-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: var(--gradation-3, linear-gradient(94deg, #18519e 0%, #0e2b51 97.06%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  margin-top: 80px;
}

.privacy-heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 0;
}

/* --- Button Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  width: 320px;
  height: 80px;
  padding: 0 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  background: linear-gradient(94deg, #ffe26a 6.01%, #f29c79 38.51%, #f29c79 100%);
  color: var(--bg-light);
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.btn span {
  flex-grow: 1;
  white-space: nowrap;
  padding-left: 16px;
}

.btn img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.header {
  background-color: #f7f8f9;
  padding: 20px 40px;
  box-shadow: 0px 2px 8px rgba(24, 81, 158, 0.3);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.logo img {
  transition: opacity 0.3s ease;
}

#overlay-button {
  display: none; /* Hidden on PC */
}
#overlay-button span {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--bg-light);
  position: relative;
  display: block;
  transition: all 0.2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before,
#overlay-button span:after {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--bg-light);
  position: absolute;
  content: "";
  transition: all 0.2s ease-in-out;
}

#overlay-button:hover span:before,
#overlay-button:hover span:after {
  background: var(--bg-light);
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked ~ #overlay {
  visibility: visible;
}

input[type="checkbox"]:checked ~ #overlay-button {
  background-color: transparent;
}

/* Change the border color to 'primary-color' when opened */
input[type="checkbox"]:checked ~ #overlay-button span,
input[type="checkbox"]:checked ~ #overlay-button span:before,
input[type="checkbox"]:checked ~ #overlay-button span:after {
  background-color: var(--primary-color);
}

input[type="checkbox"]:checked ~ #overlay-button:hover span,
input[type="checkbox"]:checked ~ #overlay-button span {
  background: transparent;
}

input[type="checkbox"]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);
}
input[type="checkbox"]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}

#overlay {
	height: 100vh;
  width: 100vw;
  background: var(--bg-light);
  z-index: 2;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
}

#overlay ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 68vh;
  list-style-type: none;
}
#overlay ul li {
  padding: 1rem;
  padding-left: 2rem;
}
#overlay ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}
#overlay ul li a:hover {
  color: var(--secondary-color1);
}
#overlay ul li span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.global-nav {
  transition: transform 0.3s ease-in-out;
}

.global-nav ul {
  display: flex;
  gap: 32px;
}

.global-nav a {
  display: flex;
  width: auto;
  padding: 5px 10px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 18px;
  transition: color 0.3s ease;
  line-height: normal;
}

.global-nav span {
  font-weight: 400;
  color: var(--text-dark);
  font-size: 12px;
  text-align: center;
  line-height: normal;
  transition: color 0.3s ease;
}

.global-nav a:hover,
.global-nav a:hover span {
  color: var(--secondary-color1);
}

.hero {
  height: 60vh;
  min-height: 576px;
  background-image: url("./assets/image/img-first-view.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--bg-light);
  position: relative;
  padding: 0;
  margin-bottom: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.hero-container {
  padding-left: 10%;
  padding-right: 24px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.reveal-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5em;
  width: max-content;
  max-width: 100%;
}

.reveal-text {
  display: inline-block;
  visibility: hidden;
  color: var(--text-dark);
  background-color: var(--bg-light);
  padding: 0.5rem 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 3.84px;
  animation: revealText 0.01s forwards;
  text-align: left;
}

.reveal-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(-101%); /* 初期状態: 左側画面外 */
  z-index: 3; /* テキスト要素より手前 (テキストを隠すため) */
  animation: wipeBlock 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards; /* 0.8秒かけて実行 */
}

@keyframes wipeBlock {
  0% {
    transform: translateX(-101%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(101%);
  }
}

@keyframes revealText {
  0% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}

@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}

.reveal-wrapper:nth-child(1) .reveal-text {
  animation-delay: 0s;
}
.reveal-wrapper:nth-child(2) {
  margin-left: 40px;
}
.reveal-wrapper:nth-child(2)::after {
  animation-delay: 0.2s;
}
.reveal-wrapper:nth-child(2) .reveal-text {
  animation-delay: 0.2s;
}
.reveal-wrapper:nth-child(3) {
  margin-left: 235px;
}
.reveal-wrapper:nth-child(3)::after {
  animation-delay: 0.4s;
}
.reveal-wrapper:nth-child(3) .reveal-text {
  animation-delay: 0.4s;
}

/* About Us セクション */
.about {
  position: relative;
  background-color: var(--bg-light);
}
@media (min-width: 1101px) {
  .about-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    height: 700px;
  }

  .about-section {
    position: relative;
  }

  .about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 1270px;
    height: 700px;
    border-radius: 0px 20px 20px 0px;
    background: linear-gradient(180deg, #ffe26a 0%, #f29c79 20%, #18519e 100%),
      rgba(255, 255, 255, 0.7);
    background-blend-mode: overlay;
    z-index: 0;
  }

  .about-background .container {
    position: relative;
    z-index: 1; /* 背景の上に載せる */
  }
  .about-text {
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 2;
  }
  .about-text .section-title {
    text-align: left; /* PCでは左寄せ */
  }
  .about-text .section-title .subtitle {
    text-align: left; /* PCでは左寄せ */
  }
  .about-text p {
    width: 498px;
  }
  .about-text .catch {
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 60px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 14%; /* 4.48px */
    text-underline-offset: 25%; /* 8px */
    text-underline-position: from-font;
    white-space: nowrap;
  }
  .about-image {
    position: absolute;
    right: 0;
    top: 160px;
    right: -75px;
    max-width: 774px;
    z-index: 1;
  }

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

/* Works セクション */
.works-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  align-items: baseline;
  margin-bottom: 32px;
}
.works-text .section-title {
  text-align: left;
  display: flex;
}
.works-text .subtitle {
  color: var(--text-dark);
  margin-left: 16px;
  margin-bottom: 0;
}

.works-text-p {
  max-width: 550px;
  text-align: left;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 245px);
  gap: 40px;
  margin-top: 60px;
}
.work-item {
  text-align: center;
  background-color: transparent; /* No background for the item wrapper */
  border: none; /* No border for the item wrapper */
  box-shadow: none; /* No shadow for the item wrapper */
  border-radius: 0;
  overflow: visible;
  margin-bottom: 28px;
}
.item-a {
  padding-top: 24px;
}

.item-b {
  padding-top: 120px;
}

.item-c {
  padding-top: 45px;
}

.work-item img {
  width: 245px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto 0 auto; /* Center image, add space below */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-item img:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.work-item p {
  padding-top: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
}

/* Entry セクション */
.entry {
  background-color: var(--primary-color);
  color: var(--bg-light);
  text-align: center;
  position: relative;
  padding-top: 110px;
  overflow: hidden;
}

.entry-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  align-items: baseline;
  margin-bottom: 32px;
}

.entry-text .entry-title {
  text-align: left;
  color: var(--bg-light);
  font-family: Roboto;
  font-size: 67px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 80.4px */
  padding-top: 8px;
  margin-top: 16px;
  display: flex;
}

.entry-text .subtitle {
  color: var(--bg-light);
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-left: 16px;
  margin-bottom: 0;
}

.entry-items {
  display: flex;
  justify-content: center;
  gap: 36px; /* アイテム間のギャップ調整 */
  margin-top: 60px; /* タイトルからのマージン調整 */
  margin-bottom: 48px; /* ボタンとのマージン調整 */
  flex-wrap: wrap;
}
.entry-item {
  text-align: center;
  max-width: 180px; /* 少し大きく */
  margin-bottom: 20px;
}
.entry-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--bg-light);
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.entry-icon img {
  max-width: 150%;
}
.entry-item p {
  font-weight: 700;
  color: var(--bg-light);
  font-size: 14px;
}

.triangle {
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 28px solid var(--secondary-color2);
  margin: 0 8px;
  margin-top: 74px;
}
.triangle-1 {
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 28px solid var(--secondary-color2);
  margin: 0 8px;
  margin-top: 74px;
}
.triangle-row {
  display: none;
}

.shape-divider-top-1746250727 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.shape-divider-top-1746250727 svg {
  position: relative;
  display: block;
  width: 100%;
}
.shape-divider-top-1746250727 .shape-fill {
  fill: var(--bg-light);
}

/* For Client セクション */
.client.section {
  background-color: var(--bg-light);
  padding-top: 103px;
  padding-bottom: 64px;
}
.client .container {
  position: relative;
}
.client-content-wrapper {
  display: flex;
  align-items: start;
  gap: 30px;
  margin-bottom: 60px;
}
.client-text {
  flex: 1;
  display: flex; /* For title and subtitle alignment */
  align-items: baseline; /* Align title and subtitle along their baseline */
  flex-wrap: wrap;
}
.client-text .section-title {
  text-align: left;
  display: flex;
  margin-right: 16px;
  margin-bottom: 0;
}
.client-text .subtitle {
  color: var(--text-dark);
  margin-left: 0;
  margin-bottom: 0;
  text-align: left;
}

.client-text p {
  width: 100%;
  max-width: 550px;
  padding-top: 32px;
  margin-bottom: 0;
}

.client-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.client-image-wrapper img {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius:10px
}
.client .btn {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
  z-index: 2;
}

@media (min-width: 768px) {
  .client .btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  }
}

.yacht {
  display: flex;
  justify-content: end;
  margin-bottom: -80px;
}

/* Blog Section */
.blog {
	background-color: var(--bg-light);
/* 	padding-top: 80px; */
}

.blog .container>p{
	text-align:center;
}

/* 2-Column Layout */
.blog-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	margin-top: 40px;
}

/* Main Content */
.main-content {
	background: white;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.blog-title{
	text-align:center;
}

/* Blog Posts */
.blog-posts {
	display: grid;
	gap: 30px;
}

.blog-post {
	display: flex;
	gap: 20px;
	padding: 20px;
	border-bottom: 1px solid #e1e8ed;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.blog-post:last-child {
	border-bottom: none;
}

.post-thumbnail {
	flex-shrink: 0;
	width: 200px;
	height: 150px;
	margin-bottom:25px;
	border-radius: 8px;
	overflow: hidden;
}

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

.post-content {
	flex: 1;
	text-wrap-style: stable;
}

.post-content p{
	margin:15px 0;
}


/* 著者名デザイン */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  font-size: 0.92em;
  color: #757575;
  margin-bottom: 0.8em;
  align-items: center;
}
.post-author {
  display: flex;
  align-items: center;
}

.post-category {
	background: var(--primary-color);
	color: white;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
}

.post-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--text-dark);
	line-height: 1.3;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 3px solid var(--primary-color);
	word-break: auto-phrase;
}

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

.post-excerpt {
	color: var(--text-sub);
	font-size: 14px;
	line-height: 1.6;
}



/* --- 前後記事ナビゲーション：ミニマル＆見やすい ------- */
.post-navigation {
  margin: 2.5em 0 2em 0;
}
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1;
  border: 1px solid #e4e7ea;
  border-radius: 7px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  overflow: hidden;
}
.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
  border-color: #1a91da;
  box-shadow: 0 2px 8px rgba(26,145,218,0.09);
}
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: block;
  padding: 1em 1.3em;
  color: #1a91da;
  text-decoration: none;
  font-weight: 500;
  transition: color .18s;
}
.post-navigation .nav-previous:hover a,
.post-navigation .nav-next:hover a {
  color: #fff;
  background: #1a91da;
}
.post-navigation .nav-subtitle {
  font-size: 0.87em;
  opacity: 0.74;
  margin-bottom: 0.18em;
  display: block;
  letter-spacing: .03em;
}
.post-navigation .nav-title {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: .01em;
  word-break: break-all;
}

/* スマホ対応 */
@media (max-width: 690px) {
  .post-navigation .nav-links {
    flex-direction: column;
    gap: 0.7em;
  }
  .author-info {
    flex-direction: column;
    padding: 1em 0.8em;
    gap: 0.5em;
  }
}


/* Sidebar */
.sidebar {
	background: white;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	height: fit-content;
}

.sidebar-section {
	margin-bottom: 40px;
}

.sidebar-section:last-child {
	margin-bottom: 0;
}

.sidebar-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary-color);
}

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

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

.archive-list a {
	display: flex;
	justify-content: space-between;
	padding: 8px 12px;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.archive-list a:hover {
	background-color: var(--bg-light);
}

.archive-count {
	color: var(--text-sub);
	font-size: 14px;
}

.category-list a {
	color: var(--text-dark);
}

.category-list a:hover {
	color: var(--primary-color);
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3em;
  margin: 2.5em 0 1.5em 0;
  font-size: 1.1em;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5em 1.1em;
  margin: 0 0.12em;
  border-radius: 999px;
  background: #f4f8fb;
  color: #44a9ff;
  text-decoration: none;
  transition: all 0.18s;
  border: 1.5px solid #e4eaf0;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(68,169,255,0.05);
}

.pagination .current,
.pagination span.current {
  background: #44a9ff;
  color: #fff;
  font-weight: bold;
  border-color: #44a9ff;
  box-shadow: 0 2px 14px rgba(68,169,255,0.16);
}

.pagination a:hover {
  background: #44a9ff;
  color: #fff;
  border-color: #44a9ff;
  box-shadow: 0 2px 10px rgba(68,169,255,0.14);
}


/* Responsive Design */
@media (max-width: 768px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.header {
		padding: 12px 16px;
	}

	.global-nav ul {
		flex-direction: column;
		gap: 16px;
	}

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

	.blog-title {
		font-size: 24px;
		margin-top: 48px;
	}

	.blog-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.main-content,
	.sidebar {
		padding: 20px;
	}

	.blog-post {
		flex-direction: column;
		gap: 15px;
	}

	.post-thumbnail {
		width: 100%;
		height: 200px;
	}

	.post-title {
		font-size: 18px;
	}

	.footer-container {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.post-thumbnail {
		height: 150px;
	}

	.post-title {
		font-size: 16px;
	}
}

/* フッター */
.footer {
  background: var(--gradation-3, linear-gradient(94deg, #18519e 0%, #0e2b51 97.06%));
  color: var(--bg-light);
  padding-top: 48px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  /* flex-wrap: wrap; 折り返し */
}

.footer-logo {
  color: var(--bg-light);
  margin-bottom: 32px;
}

.footer-address {
  display: flex;
  width: 610px;
  flex-direction: column;
  align-items: flex-start;
}

.footer-address .address {
  color: var(--bg-light);
  margin-bottom: 48px;
}

.footer-address .name {
  color: var(--bg-light);
  margin-bottom: 16px;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.footer-address .tel {
  display: flex;
  flex-direction: row; /* 横並び */
}

.footer-address ul {
  display: flex;
  flex-direction: column; /* 縦並び */
}

.footer-address a:hover {
  color: var(--secondary-color2);
}

.footer-info {
  display: flex; /* Flexbox レイアウトを使用 */
  justify-content: space-between; /* 要素間に均等なスペースを配置 */
  gap: 32px;
  margin-bottom: 40px; /* コピーライトとの間隔 */
}

.footer-block {
  color: #fff;
}

.footer-block h3 {
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-block ul {
  padding: 0;
  margin: 0;
}

.footer-block .indent {
  margin-left: 2rem;
}

.footer-block li {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
}

.footer-block .disc {
  list-style: disc;
}

.footer-block ul li a.underline {
  text-decoration: underline;
}

.footer-block a {
  color: #fff;
  text-decoration: none;
}

.footer-block a:hover {
  color: var(--secondary-color2);
}

.footer-hr {
  gap: 85px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid var(--bg-light);
}

.footer-contact {
  background-color: var(--secondary-color);
  padding: 30px;
  text-align: center;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}

.footer-contact h3 {
  color: var(--bg-light);
  text-align: center;
  font-family: Roboto;
  font-size: 67px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.footer-contact p {
  color: var(--bg-light);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 40px;
}
.footer-contact .btn {
  display: inline-flex; /* flexコンテナにする */
  align-items: center; /* 垂直方向に中央揃え */
  justify-content: flex-end; /* 水平方向に中央揃え */
  gap: 2px;
  width: 320px;
  height: 80px;
  padding: 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  background: linear-gradient(94deg, #ffe26a 6.01%, #f29c79 38.51%, #f29c79 100%);
  color: var(--bg-light);
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.copyright {
  background-color: #0e2b51;
  text-align: center;
  color: var(--bg-light);
  padding: 32px 0;
  font-size: 14px;
}

/* --- Body Lock for Mobile Menu --- */
body .menu-open {
  overflow: hidden; /* Disable scrolling when menu is open */
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .hero {
    margin-bottom: 0px;
  }

  .about {
    position: relative;
    overflow: hidden;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    padding-top: 60px;
  }

  .about-image {
    position: static;
    max-width: 100%;
    width: 100%;
    transform: none;
    z-index: auto;
  }

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

  .about-text {
    position: static;
    width: 100%;
    text-align: left;
  }

  .about-text p {
    width: 100%;
  }
  .about-text .catch {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 14%; /* 3.36px */
    text-underline-offset: 25%; /* 6px */
    text-underline-position: from-font;
    padding-top: 2rem;
  }

  .about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(180deg, #ffe26a 0%, #f29c79 20%, #18519e 100%),
      rgba(255, 255, 255, 0.7);
    background-blend-mode: overlay;
  }

  .works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .item-a,
  .item-b,
  .item-c {
    padding-top: 0;
  }

  .client.section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .client-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 32px;
  }

  .client-text .section-title,
  .client-text .subtitle {
    margin-right: 0; /* Reset PC margin */
  }
  .client-text .section-title {
    font-size: 40px;
    padding-right: 16px;
  }
  .client-text .subtitle {
    margin-left: 0; /* Reset PC margin */
    font-size: 14px;
  }
  .client-text p {
    text-align: left; /* Center paragraph on tablet */
  }
  .client-image-wrapper {
    justify-content: center;
    width: 100%;
    max-width: 450px;
  }
  .client .btn {
    bottom: -35px;
  }

  /* Header for Mobile */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    box-shadow: none;
    z-index: 10;
  }
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .logo {
    position: static;
    transform: none;
    z-index: 1003;
  }
  .logo img {
    width: 130px;
  }

  #overlay-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    padding: 0;
    z-index: 1002;
    cursor: pointer;
    user-select: none;
    position: relative;
  }

  .global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-light);
    backdrop-filter: blur(5px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px; /* ヘッダーの高さ分を考慮 */
    z-index: 1001; /* ハンバーガーアイコンより下、他要素より上 */
  }
  .global-nav.active {
    transform: translateX(0);
  }
  .global-nav ul {
    flex-direction: column;
    gap: 32px;
    padding-left: 0;
    text-align: left;
  }
  .global-nav a {
    font-size: 24px;
    color: var(--text-dark);
    padding: 10px 20px;
    text-align: left;
  }
  .global-nav span {
    font-size: 12px;
    color: var(--text-dark);
  }
  .global-nav a:hover,
  .global-nav a:hover span {
    color: var(--secondary-color2);
  }

  /* Hero Section for Mobile */
  .hero {
    position: relative;
    min-height: 319px;
    height: 30vh;
    background-position: right;
    margin-bottom: 0;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: unset;
    height: 100%;
    z-index: 1;
  }

  .hero-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-content {
    align-items: flex-start;
    padding-top: 52px;
  }

  .reveal-text {
    color: var(--bg-light);
    background-color: rgba(24, 81, 158, 0.5);
    font-size: 1.75rem;
    padding: 0.5rem 1rem;
    letter-spacing: 2.24px;
  }
  .reveal-wrapper {
    margin-bottom: 0.6em;
    width: max-content;
  }

  /* PC用のインデントをリセット */
  .reveal-wrapper:nth-child(2),
  .reveal-wrapper:nth-child(3) {
    margin-left: 0;
  }

  /* About Us Section for Mobile */
  .about-container {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    padding-top: 0px;
    z-index: 1;
  }

  .about-image {
    margin-right: 0;
  }

  .about-text .section-title,
  .about-text .section-title .subtitle {
    text-align: left;
  }
  .about-text p {
    text-align: left;
    padding: 0;
    font-size: 1rem;
  }
  .about-text .catch {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 14%; /* 3.36px */
    text-underline-offset: 25%; /* 6px */
    text-underline-position: from-font;
    padding-top: 2rem;
  }

  /* Works Section for Mobile */
  .works {
    padding-bottom: 40px;
  }

  .works-text-p {
    text-align: left;
    padding: 0;
    font-size: 1rem;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 40px;
  }
  .work-item {
    padding-top: 0px;
  }
  .work-item p {
    font-size: 1.125rem;
    padding: 24px 12px 0 12px;
  }

  /* Entry Section for Mobile */
  .entry {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .entry p {
    text-align: left;
  }

  .entry .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .entry-text .entry-title {
    font-size: 40px;
  }
  .entry-text .subtitle {
    font-size: 14px;
  }
  .entry-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
    justify-items: center;
    padding-left: 16px;
    padding-right: 16px;
  }
  .entry-item p {
    text-align: center;
  }
  .entry-icon {
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
  }
  .entry-icon img {
    max-width: 150%;
  }

  .entry .btn {
    margin: 0 auto;
  }

  .triangle {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--secondary-color2);
    margin-top: 60px;
  }
  .triangle-1 {
    display: none;
  }
  .triangle-row {
    display: grid;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--secondary-color2);
    grid-column: 1 / -1;
    margin: 8px auto;
    margin-bottom: 32px;
  }

  /* For Client Section for Mobile */
  .client {
    text-align: center;
  }
  .client-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    text-align: center;
  }
  .client-text .section-title,
  .client-text .section-title .subtitle {
    text-align: center;
  }
  .client-text-p {
    padding-top: 24px;
    font-size: 1rem;
  }
  .client-text .btn {
    margin: 20px auto 0;
  }
  .client-image {
    max-width: 100%;
    margin-top: 10px;
  }

  .client-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .client-image-wrapper {
    order: 1;
    margin-bottom: 16px;
  }

  .client-text {
    order: 2;
    text-align: center;
  }

  .client .btn {
    order: 3;
    position: static;
    margin: 8px auto 0;
    transform: none;
  }

  .yacht {
    margin-bottom: -60px;
  }

  /* Footer for Mobile */
  .footer {
    padding-top: 60px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: left;
  }
  .footer-logo {
    margin: 0 auto 32px;
    width: 200px;
  }

  .footer-address {
    width: 100%;
  }

  .footer-address .name {
    margin-bottom: 16px;
    text-align: left;
    align-items: left;
  }
  .footer-address .address {
    text-align: left;
    margin-bottom: 32px;
  }
  .footer-address .tel {
    justify-content: center;
  }

  .footer-info {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
  .footer-block {
    text-align: left;
    width: 100%;
  }

  .footer-block:nth-child(1) {
    display: none;
  }

  .footer-block h3 {
    margin-bottom: 8px;
  }
  .footer-block ul {
    padding-left: 0;
  }

  .footer-block li {
    font-size: 0.9rem;
  }

  .footer-hr {
    display: none;
  }
  .footer-contact {
    max-width: 100%;
    padding: 0 24px;
    width: 100%;
    margin-top: 0;
  }
  .footer-contact h3 {
    font-size: 40px;
  }
  .footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .footer-contact .btn {
    width: 100%;
    max-width: 250px; /* Max width for buttons on mobile */
    height: 57px; /* Adjust height for mobile */
    font-size: 16px;
    padding: 0 16px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
  }
  .copyright {
    padding-bottom: 60px;
  }
}

/* Contact Section */
#contact input[type="checkbox"] {
    display: inline-block;
}
.contact.section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.contact-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  margin: 1rem auto;
  border-radius: 2px;
}

.contact p {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
}

/* Contact Form Styling */
.wpcf7 {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.wpcf7-form p {
  margin-bottom: 1.5rem;
  text-align: left;
}

.wpcf7-form label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Form Controls */
.wpcf7-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: #3498db;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.wpcf7-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.wpcf7-submit {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.wpcf7-submit:active {
  transform: translateY(0);
}

/* Loading Spinner */
.wpcf7-submit.has-spinner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
  opacity: 0;
}

.wpcf7-form.submitting .wpcf7-submit::after {
  opacity: 1;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Response Messages */
.wpcf7-response-output {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Validation Errors */
.wpcf7-not-valid {
  border-color: #e74c3c !important;
  background: #fdf2f2;
}

.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
}



/* Responsive Design */
@media (max-width: 768px) {
  .contact.section {
    padding: 60px 0;
  }
  
  .contact-title {
    font-size: 2rem;
  }
  
  .wpcf7 {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
}

@media (max-width: 480px) {
  .wpcf7 {
    padding: 1.5rem 1rem;
  }
  
  .contact-title {
    font-size: 1.8rem;
  }
  
  .wpcf7-submit {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* Focus Accessibility */
.wpcf7-form-control:focus-visible {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

/* Form Control Wrapper Styling */
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

/* Hide screen reader response when empty */
.screen-reader-response:empty {
  display: none;
}

/* Custom Checkbox Design */
#contact input[type="checkbox"] {
  /* 標準のチェックボックスを非表示 */
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
}

#contact .wpcf7-list-item {
  position: relative;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

/* カスタムボックス */
#contact .wpcf7-list-item label {
  position: relative;
  cursor: pointer;
  font-weight: normal;
  user-select: none;
  display: flex;
  align-items: center;
}

/* チェックボックスの箱 */
#contact .wpcf7-list-item label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #3498db;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  margin-right: 10px;
  transition: border-color 0.2s, background 0.2s;
}

/* チェックマーク */
#contact span.wpcf7-form-control {
	border:0; 
  border-radius: 0;
  background: none;
}
#contact input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 12px;
  height: 6px;
  border-left: 3px solid #3498db;
  border-bottom: 3px solid #3498db;
  transform: rotate(-45deg) translateY(-50%);
  transition: border-color 0.2s;
}



/* フォーカス時（アクセシビリティ） */
#contact input[type="checkbox"]:focus + .wpcf7-list-item-label::before {
  border-color: #217dbb;
  box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
}

/* ラベル文字のスタイル調整 */
#contact .wpcf7-list-item-label {
  font-size: 1rem;
  color: #2c3e50;
  display: inline-block;
  line-height: 1.4;
}

/* リンク色調整 */
#contact .wpcf7-list-item-label a {
  color: #3498db;
  text-decoration: underline;
  transition: color 0.2s;
}

#contact .wpcf7-list-item-label a:hover {
  color: #217dbb;
}

.single-thmb{
	width:100%;
	height:100%;
}

/* モバイル対応 */
@media (max-width: 480px) {
  #contact .wpcf7-list-item label::before {
    width: 18px;
    height: 18px;
  }
}


@media (max-width: 42.5rem) {
  .container {
    padding-left: 20px; /* スマホでの左右パディング */
    padding-right: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 40px;
  }
  .subtitle {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .privacy-title ,{
    font-size: 24px;
    margin-top: 48px;
  }
  .privacy-heading {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    max-width: 250px; /* Max width for buttons on mobile */
    height: 57px; /* Adjust height for mobile */
    font-size: 16px;
    padding: 0 16px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
  }
  .btn img {
    width: 25px; /* Adjust icon size for mobile */
    height: 25px;
  }
  .btn span {
    padding-left: 18px;
  }
}
.dog404{
	text-align:center!important;
}
.dog404img img{
	max-width:50vw;
	margin:0 auto;
}
