/*
Theme Name: SOU Theme
Theme URI: https://example.com
Author: SOU llc.
Author URI: https://example.com
Description: Custom theme for SOU llc.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sou-theme
*/

/* ==========================================================================
 基本設定
 ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* すべてのリンクのデフォルトスタイルをリセット */
a {
  color: inherit!important;
  text-decoration: none !important;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: serif;
  color: #333;
  line-height: 1.8;
}

/* ==========================================================================
 ヘッダー
 ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 2rem;
  letter-spacing: 3px;
  font-weight: 300;
}

.logo a {
  color: #333;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.3s;
}

nav a:hover {
  color: #999;
}

/* ==========================================================================
 ハンバーガーメニュー
 ========================================================================== */

.openbtn {
  display: none;
  position: fixed;
  top: 20px;
  right: 80px;
  z-index: 9999;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 1.5px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
  background-color: #333;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
  background-color: #333;
}

#g-nav {
  display: none;
}

#g-nav.panelactive {
  display: block;
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

.circle-bg {
  position: fixed;
  z-index: 998;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f5f5f5;
  transform: scale(0);
  left: -50px;
  bottom: -50px;
  transition: all 0.6s;
}

.circle-bg.circleactive {
  transform: scale(50);
}

#g-nav-list {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
  display: block;
}

#g-nav ul {
  opacity: 0;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
}

#g-nav.panelactive ul {
  opacity: 1;
}

#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
  text-align: center;
  margin: 20px 0;
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
}

/* ==========================================================================
 リンクメニュー（ドットメニュー）
 ========================================================================== */

.linksbtn {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  width: 50px;
  height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.linksbtn span {
  width: 3px;
  height: 3px;
  background-color: #666;
  border-radius: 50%;
  display: block;
  transition: all 0.4s;
}

.linksbtn.active span {
  background-color: #333;
}

#links-nav {
  display: none;
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

#links-nav.panelactive {
  display: block;
}

.circle-bg-center {
  position: fixed;
  z-index: 997;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #7a8a8c;
  transform: scale(0);
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
  transition: all 0.6s;
}

.circle-bg-center.circleactive {
  transform: scale(50);
}

#links-nav-list {
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#links-nav.panelactive #links-nav-list {
  opacity: 1;
  pointer-events: auto;
}

.links-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 80%;
  max-width: 600px;
}

.links-section {
  margin-bottom: 50px;
}

.links-section h3 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.links-section ul {
  list-style: none;
  padding-left: 20px;
}

.links-section li {
  margin: 15px 0;
}

.links-section a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: opacity 0.3s;
  display: block;
}

.links-section a:hover {
  opacity: 0.7;
}

/* ==========================================================================
 トップページ - ヒーローセクション
 ========================================================================== */

.hero {
  margin-top: 70px;
  height: 600px;
  /* background: url("./img/download.jpg"); 削除 */
  background-size: cover;
  background-position: center;
  position: relative;
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* スクロールフェードインアニメーション */
.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================================================
 トップページ - 会社セクション
 ========================================================================== */

.company-section {
  padding: 100px 150px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.company-content {
  max-width: 600px;
}

.section-title {
  font-size: 32px;
  letter-spacing: 4px;
  margin-bottom: 40px;
  font-weight: 300;
}

.company-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 2;
}

.company-description {
  font-size: 13px;
  color: #999;
  line-height: 2;
  margin-top: 30px;
}

.company-link {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.company-link:hover {
  opacity: 0.7;
}

/* ==========================================================================
 トップページ - 投稿セクション
 ========================================================================== */

.post-section {
  padding: 80px 150px;
  background: #f5f5f5;
}

.post-title {
  font-size: 28px;
  letter-spacing: 3px;
  margin-bottom: 60px;
  font-weight: 300;
}

.post-grid {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 40px;
  align-items: stretch;
}

.post-left-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
}

.post-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}

.post-item {
  display: flex;
  gap: 20px;
}

.post-image {
  width: 120px;
  height: 120px;
  background: url("./img/download.jpg");
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
}

.post-image.dark {
  background: url("./img/download.jpg");
  background-size: cover;
  background-position: center;
}

.post-image.darker {
  background: url("./img/download.jpg");
  background-size: cover;
  background-position: center;
}

.post-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 300;
}

.post-info p {
  font-size: 11px;
  color: #999;
  line-height: 1.6;
}

.home-post p{
  font-size: 11px!important;
  line-height: 1.6!important;
}
.wp-singular .post-info p {
  font-size: 14px;
  color: #999;
  line-height: 2;
}

.post-description {
  font-size: 14px;
  line-height: 2;
  color: #666;
  margin-bottom: 40px;
  max-width: 300px; /* PC時の最大幅 */
}

.post-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.3s;
}

.post-item-link:hover {
  opacity: 0.8;
}

/* スマホ時はmax-widthを解除 */
@media (max-width: 768px) {
  .post-description {
    max-width: 100%;
  }
}

.post-right {
  display: flex;
  gap: 30px;
  align-items: stretch;
  height: 100%;
}

.post-right-image {
  width: 400px;
  height: 515px;
  background: url("./img/download.jpg");
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
}

.post-right-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-right-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 300;
}

.post-right-info .description {
  font-size: 13px;
  margin-bottom: 30px;
  line-height: 2;
  color: #666;
}

.post-right-info .meta {
  font-size: 12px;
  line-height: 2;
  color: #999;
}

.post-right-info .tags {
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 12px;
  color: #999;
}

.view-all-btn {
  display: inline-block;
  padding: 15px 80px;
  border: 1px solid #666;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  text-align: center;
  width: fit-content;
}

.view-all-btn:hover {
  background: #666;
  color: #fff;
}

.read-post-btn {
  display: inline-block;
  padding: 15px 80px;
  border: 1px solid #666;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  margin-top: auto;
  text-align: center;
  width: fit-content;
  align-self: flex-start;
}

.read-post-btn:hover {
  background: #666;
  color: #fff;
}

/* ==========================================================================
 トップページ - スタジオセクション
 ========================================================================== */

.studio-section {
  height: 600px;
  /* background: linear-gradient(...), url("./img/download.jpg"); 削除 */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 150px;
  color: #fff;
  position: relative;
}

.studio-content {
  max-width: 600px;
}

.studio-title {
  font-size: 32px;
  letter-spacing: 4px;
  margin-bottom: 40px;
  font-weight: 300;
}

.studio-text {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 20px;
}

.studio-description {
  font-size: 13px;
  line-height: 2;
  margin-top: 30px;
}

.studio-btn-container {
  position: absolute;
  bottom: 60px;
  right: 150px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.instagram-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visit-studio-btn {
  padding: 15px 60px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  white-space: nowrap;
}

.visit-studio-btn:hover {
  background: #fff;
  color: #333;
}

/* ==========================================================================
 トップページ - サービス/ショップセクション
 ========================================================================== */

.service-section {
  padding: 100px 150px;
  background: #fff;
}

.service-title {
  font-size: 32px;
  letter-spacing: 4px;
  margin-bottom: 40px;
  font-weight: 300;
}

.service-description {
  font-size: 14px;
  color: #666;
  line-height: 2;
  margin-bottom: 20px;
}

.service-text {
  font-size: 13px;
  color: #999;
  line-height: 2;
  margin-bottom: 60px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.product-card {
  background: #fff;
  border: none;
  padding: 0;
  position: relative;
}

.product-image {
  width: 100%;
  padding-bottom: 100%;
  background: url("./img/download.jpg");
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.heart-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #ccc;
  cursor: pointer;
}

.shop-btn-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
}

.visit-shop-btn {
  padding: 15px 60px;
  border: 1px solid #666;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  white-space: nowrap;
}

.visit-shop-btn:hover {
  background: #666;
  color: #fff;
}

/* ==========================================================================
 トップページ - footerheroセクション
 ========================================================================== */

.footer-hero-section {
  width: 100%;
  height: 400px;
  /* background: url("./img/download.jpg"); 削除 */
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
 投稿一覧ページ
 ========================================================================== */

.page-header {
  margin-top: 70px;
  padding: 80px 150px 40px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  font-size: 32px;
  letter-spacing: 4px;
  font-weight: 300;
  color: #333;
}

.instagram-link {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.instagram-link:hover img {
  opacity: 1;
}

.archive-section {
  padding: 40px 150px 100px;
  background: #fff;
}

.archive-section .post-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

.post-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: block;
}

.post-thumbnail {
  width: 100%;
  padding-bottom: 100%;
  background: url("./img/download.jpg");
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

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

/* マウスオーバーアニメーション */
.archive-section .post-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: block;
  transition: transform 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.archive-section .post-card:hover {
  transform: scale(1.05);
}

.archive-section .post-thumbnail {
  width: 100%;
  padding-bottom: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 0.3s ease;
}

.archive-section .post-card:hover .post-thumbnail {
  opacity: 0.8;
}

/* 出現アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.archive-section .post-card:nth-child(1) {
  animation-delay: 0.05s;
}
.archive-section .post-card:nth-child(2) {
  animation-delay: 0.1s;
}
.archive-section .post-card:nth-child(3) {
  animation-delay: 0.15s;
}
.archive-section .post-card:nth-child(4) {
  animation-delay: 0.2s;
}
.archive-section .post-card:nth-child(5) {
  animation-delay: 0.25s;
}
.archive-section .post-card:nth-child(6) {
  animation-delay: 0.3s;
}
.archive-section .post-card:nth-child(7) {
  animation-delay: 0.35s;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  padding: 20px 0;
}

.pagination a,
.pagination span {
  padding: 10px 15px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #666;
  transition: all 0.3s;
  font-size: 14px;
}

.pagination a:hover {
  background: #666;
  color: #fff;
  border-color: #666;
}

.pagination .current {
  background: #333;
  color: #fff;
  border-color: #333;
}
/* ==========================================================================
 投稿詳細ページ
 ========================================================================== */

.post-content {
  padding: 60px 150px 100px;
  background: #fff;
}

.post-main {
  display: flex;
  gap: 60px;
  align-items: stretch;
  margin-bottom: 100px;
  min-height: 500px; /* 最小高さを確保 */
}

.post-main .post-image {
  width: 400px;
  height: 500px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.post-main .post-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-main .post-title {
  font-size: 24px;
  letter-spacing: 3px;
  font-weight: 300;
  margin-bottom: 30px;
  color: #333;
}

.post-description {
  font-size: 14px;
  line-height: 2;
  color: #666;
  margin-bottom: auto;
}

.post-meta {
  font-size: 13px;
  line-height: 2;
  color: #999;
  margin-bottom: 10px;
}

.post-tags {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

.read-instagram-btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid #666;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  text-align: center;
  width: 100%;
  max-width: 300px;
  margin-top: 0;
}

.read-instagram-btn:hover {
  background: #666;
  color: #fff;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.gallery-item {
  width: 100%;
  padding-bottom: 100%;
  background: url("./img/download.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  transition: opacity 0.3s ease;
}

.gallery-item:hover {
  opacity: 0.7; /* 追加 */
}

/* Instagram埋め込みのスタイル調整 */
.post-main .post-image {
  width: 400px;
  height: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.post-main .post-image blockquote,
.post-main .post-image iframe {
  max-width: 100% !important;
  margin: 0 !important;
}

.post-main .post-image .instagram-media {
  min-width: 326px !important;
  max-width: 540px !important;
}
/* ==========================================================================
 プライバシーポリシーページ
 ========================================================================== */

.privacy-content {
  padding: 60px 150px 100px;
  background: #fff;
}

.privacy-intro {
  font-size: 14px;
  line-height: 2.2;
  color: #666;
  margin-bottom: 80px;
  text-align: center;
}

.privacy-section {
  margin-bottom: 80px;
}

.section-heading {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.privacy-text {
  font-size: 14px;
  line-height: 2.2;
  color: #666;
  text-align: center;
}

.contact-info {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #eee;
  text-align: center;
}

.contact-heading {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
}

.contact-details {
  font-size: 14px;
  line-height: 2.2;
  color: #666;
}

/* ==========================================================================
 パンくずリスト
 ========================================================================== */

.breadcrumb {
  padding: 20px 150px;
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #999;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #666;
}

/* ==========================================================================
 フッター
 ========================================================================== */

footer {
  background: #7a8a8c;
  color: #fff;
  padding: 80px 150px 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-left h2 {
  font-size: 28px;
  letter-spacing: 3px;
  margin-bottom: 40px;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-left .instagram {
  font-size: 20px;
}

.company-info {
  font-size: 13px;
  line-height: 2;
  margin-bottom: 60px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.contact-form h3 {
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 25px;
  font-weight: 300;
}

.wpcf7 .submit-btn {
  width: 100% !important;
}
.submit-wrapper {
  flex: 7;
  display: flex;
  align-items: stretch;
  width: 100%;
}
.form-group {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0 5px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  font-family: serif;
  letter-spacing: 1px;
}

.form-group.textarea-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.form-group.textarea-group textarea {
  padding-top: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-family: serif;
  letter-spacing: 1px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
  align-self: flex-start;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #fff;
  background: transparent;
  position: relative;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
}

.checkbox-group label {
  line-height: 1.6;
  flex: 1;
}

.form-bottom {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.checkbox-wrapper {
  flex: 3;
  display: flex;
  flex-direction: column;
}

.submit-btn {
  width: 100%;
  padding: 2rem;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #fff;
  color: #7a8a8c;
}

/* Contact Form 7 スタイル調整 */
.wpcf7 form {
  border: none !important;
  margin: 0;
  padding: 0;
}

.wpcf7-form {
  border: none !important;
}
.hidden-fields-container {
  display: none;
}
.wpcf7 .form-group input,
.wpcf7 .form-group textarea {
  width: 100%;
  padding: 12px 0 5px 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  font-family: serif;
  letter-spacing: 1px;
}

.wpcf7 .form-group input::placeholder,
.wpcf7 .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-family: serif;
  letter-spacing: 1px;
}

.wpcf7 .form-group input:focus,
.wpcf7 .form-group textarea:focus {
  outline: none;
}

.wpcf7 .checkbox-group input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  margin-right: 10px;
  cursor: pointer;
  align-self: flex-start;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #fff;
  background: transparent;
  position: relative;
}

.wpcf7 .checkbox-group input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 14px;
}

.wpcf7 .checkbox-group label {
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  flex: 1;
}

/* Contact Form 7 エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 11px;
  margin-top: 5px;
}

.wpcf7-response-output {
  margin: 20px 0 0 0;
  padding: 10px;
  border: none;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background: rgba(76, 175, 80, 0.3);
}

.wpcf7-validation-errors {
  background: rgba(244, 67, 54, 0.3);
}
/* Contact Form 7のpタグを無効化 */
.wpcf7 form p {
  margin: 0;
  padding: 0;
}

.wpcf7 .submit-wrapper p {
  width: 100%;
  margin: 0;
}

.wpcf7 .submit-wrapper .wpcf7-submit {
  width: 100% !important;
}

/* submitボタンの幅を強制 */
.submit-wrapper input[type="submit"],
.submit-wrapper .wpcf7-submit,
.submit-wrapper .submit-btn {
  width: 100% !important;
  display: block;
}

/* Contact Form 7のpタグによる回り込みを防ぐ */
.checkbox-group p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  width: 100%;
}

.checkbox-group .wpcf7-form-control-wrap {
  flex-shrink: 0;
  display: inline-flex;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #fff;
  background: transparent;
  position: relative;
}

.checkbox-group label {
  line-height: 1.6;
  color: #fff;
  flex: 1;
  margin: 0;
}
.wpcf7 .screen-reader-response ul {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* ==========================================================================
 ローディング
 ========================================================================== */
/* ローディングアニメーション */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.page-loader.fade-out {
  opacity: 0;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #7a8a8c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ==========================================================================
 レスポンシブデザイン
 ========================================================================== */

@media (max-width: 1400px) {
  .archive-section .post-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1300px) {
  .post-section {
    padding: 60px 20px;
  }

  .post-section .post-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-right {
    order: 1;
    gap: 20px;
  }

  .post-right-image {
    width: 45%;
    min-width: 200px;
    height: 350px;
  }

  .post-right-info {
    flex: 1;
    min-width: 0;
  }

  .post-left-wrapper {
    order: 2;
  }
}

@media (max-width: 1200px) {
  .page-header,
  .archive-section,
  .breadcrumb {
    padding-left: 80px;
    padding-right: 80px;
  }

  .archive-section .post-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1024px) {
  header {
    padding: 20px 40px;
  }

  nav {
    display: none;
  }

  .openbtn {
    display: block;
    right: 50px;
  }

  .linksbtn {
    right: 10px;
  }

  .company-section {
    padding: 80px 40px;
  }

  .post-section {
    padding: 60px 40px;
  }

  .studio-section {
    padding: 60px 40px;
  }

  .studio-btn-container {
    right: 40px;
  }

  .service-section {
    padding: 80px 40px;
  }

  .page-header,
  .post-content,
  .privacy-content,
  .breadcrumb {
    padding-left: 40px;
    padding-right: 40px;
  }

  .post-main {
    flex-direction: column;
    gap: 40px;
  }

  .post-main .post-image {
    width: 100% !important; /* インラインスタイルを上書き */
    max-width: 100%;
    height: auto !important; /* 高さも自動調整 */
  }

  .post-main .post-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .post-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .archive-section .post-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  footer {
    padding: 60px 40px 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .form-bottom {
    flex-direction: column;
  }

  .submit-wrapper {
    width: 100%;
  }
}
/*---------------------------*/
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .linksbtn span {
    width: 2px;
    height: 2px;
  }

  .hero {
    height: 300px;
  }

  .company-section {
    flex-direction: column;
    padding: 60px 20px;
    align-items: flex-start;
  }

  .company-link {
    margin-top: 30px;
  }

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

  .post-section .post-grid {
    grid-template-columns: 1fr;
  }

  .post-right {
    flex-direction: column;
    order: 1;
    margin-bottom: 40px;
  }

  .post-right-image {
    width: 100%;
    height: 300px;
  }

  .post-left-wrapper {
    order: 2;
  }

  .view-all-btn {
    padding: 15px 80px;
    align-self: center;
  }

  .studio-section {
    height: auto;
    padding: 60px 20px;
  }

  .studio-btn-container {
    position: static;
    margin-top: 40px;
    justify-content: center;
  }

  .visit-studio-btn {
    padding: 15px 40px;
  }

  .post-right-info .read-post-btn {
    align-self: center;
  }

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

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .shop-btn-container {
    justify-content: center;
  }

  .visit-shop-btn {
    padding: 15px 40px;
  }

  .footer-hero-section {
    height: 250px;
  }

  .page-header {
    padding: 60px 20px 30px;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .page-title {
    font-size: 24px;
  }

  .archive-section {
    padding: 30px 20px 80px;
  }

  .archive-section .post-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .post-content {
    padding: 40px 20px 80px;
  }

  .post-main {
    margin-bottom: 60px;
  }

  .post-main .post-image {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
  }

  .post-main .post-image img {
    width: 100%;
    height: auto;
  }

  .post-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .privacy-content {
    padding: 40px 20px 80px;
  }

  .privacy-intro,
  .privacy-text {
    font-size: 13px;
  }

  .privacy-section {
    margin-bottom: 60px;
  }

  .breadcrumb {
    padding: 20px 20px;
  }

  footer {
    padding: 60px 20px 40px;
  }
}

@media (max-width: 480px) {
  .archive-section .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ==========================================================================
 オフライン通知
 ========================================================================== */

.offline-notice {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  animation: slideDown 0.3s ease;
}

.offline-notice-content {
  background: #ff6b6b;
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-family: serif;
}

.offline-icon {
  font-size: 20px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .offline-notice {
    top: 60px;
    left: 10px;
    right: 10px;
    transform: none;
  }
  
  .offline-notice-content {
    padding: 12px 20px;
    font-size: 13px;
  }
}
