/* *,
*:before,
*:after {
  outline: 1px solid red !important;
} */

body {
  font-family: 'Inter', sans-serif;
  color: #221815;
  background-color: #f9f9f9;
}

*,
::after,
::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: none;
  border-color: #e5e7eb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container2 {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  height: 90vh;
  background-color: #fff;
}

@media (max-width: 768px){
  .container2 {
  height: 40vh;
}
}


/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Wireframe styling */
body {
  background-color: #fff;
  color: #221815;
}

.header,
.footer,
/* section, */
.card,
.tab-button,
.tab-content,
.timeline-item,
.gallery-item,
.blog-item,
.product-item,
.related-site-item {
  border: 1px solid #ccc;
  background-color: #fff;
  box-shadow: none;
  border-radius: 0;
}

.header {
  border-bottom: 1px solid #ccc;
}

.footer {
  border-top: 1px solid #ccc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #221815;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Updated button styling */
button {
  background-color: #eee;
  color: #000;
  /* Black text */
  border: 1px solid #ccc;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  /* rounded-md */
  cursor: pointer;
}

/* button:hover {
  background-color: #ddd;
} */

.image-placeholder {
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.875rem;
  text-align: center;
  border: 1px dashed #ccc;
  min-height: 150px;
  /* Default height for images */
}

/* Adjusted hero image styling */
.hero-image {
  width: 100%;
  height: 90vh;
  /* Adjusted height */
  object-fit: cover;
  /* Ensures the image covers the area without distortion */
  margin-bottom: 2rem;
}

.gallery-image-placeholder,
.blog-image-placeholder,
.product-image-placeholder,
.related-site-image-placeholder {
  height: 200px;
  /* Specific height for gallery, blog, product, related site images */
}

/* Specific height for tab images */
.tab-image-placeholder {
  height: 250px;
  /* Slightly taller for tab content */
  margin-bottom: 1rem;
}

/* Specific height for option images */
.option-image-placeholder {
  height: 100px;
  /* Smaller for individual options */
  margin-bottom: 0.5rem;
}

th {
  font-weight: normal;
}

.specification-table th,
.specification-table td {
  border: 1px solid #ccc;
  padding: 0.5rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Ensure tab buttons have equal width */
.tab-button {
  flex: 1;
  /* Distribute space evenly */
  min-width: 80px;
  /* Minimum width for smaller screens */
  text-align: center;
  background-color: #FFF;
  /* Default inactive tab background color to light red */
}

/* Styling changes requested by user */
.hero h1 {
  color: red;
  /* Changed to red */
  font-family: 'Zen Maru Gothic', sans-serif;
  /* Changed font */
}

header nav ul li a:hover {
  color: red;
  /* Header links turn red on hover */
}

.tab-button.active {
  color: #fff;
  background-color: #e60019;
  /* Active tab background color to white */
}

.tab-button:hover {
  background-color: #eee;

  /* Active tab background color to white */
}

.point-highlight {
  color: #e60019;
  /* POINT! text color to red */
}

/* Table header background color */
.specification-table thead th,
.prices table thead th {
  background-color: #e60019;
  color: #fff;
  /* Light red background for table headers */
}

/* Hamburger menu specific styles */
.hamburger-menu {
  display: none;
  /* Hidden by default, shown on small screens */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 20;
  /* Ensure it's above other content */
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #221815;
  transition: all 0.3s ease-in-out;
}

.mobile-nav {
  display: none;
  /* Hidden by default */
  position: absolute;
  top: 100%;
  /* Position below the header */
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  padding: 1rem 0;
  z-index: 10;
}

.mobile-nav.active {
  display: flex;
  /* Show when active */
}

.mobile-nav li {
  text-align: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.se-box {
  padding: 0 5%;
  margin: 5% 0;
}

.text-senter {
  text-align: center;
}

.text-senter h1 {
  color: #e60019;
}

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

  .flex-col-md {
    flex-direction: column;
  }

  .grid-cols-2-md {
    grid-template-columns: 1fr;
  }

  .grid-cols-3-md {
    grid-template-columns: 1fr;
  }

  .grid-cols-4-md {
    grid-template-columns: 1fr;
  }

  .specification-table th,
  .specification-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .specification-table td:before {
    /* content: attr(data-label);
    font-weight: bold; */
    display: inline-block;
    /* width: 80px; */
    /* Adjust as needed */
  }

  .tab-button {
    flex-basis: auto;
    /* Allow buttons to wrap */
    width: auto;
  }

  /* Show hamburger and hide regular nav on small screens */
  header nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .header .container {
    justify-content: space-between;
  }
}



/* ↓↓↓↓↓↓↓↓↓↓CSSここから↓↓↓↓↓↓↓↓↓↓ */
.text-3xl {
  font-size: 2.2rem !important;
}

.bg-bk {
  background-color: #252525;
}

.bg-red {
  background-color: #e60019;
}

.text-white {
  color: #fff;
}

.font-mincho {
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

.font-Noto {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}


/* メインのセクション */
/* @media only screen and (min-width: 767px) {
  .mv-box {
    position: relative;
    margin: 0;
    padding: 80px 20px;
    background-image: url("/wp-content/themes/ozkaruta2025/image/001karuta_logo.png"),
      url("/wp-content/themes/ozkaruta2025/image/back01.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: 40px center, right center;
    background-size: auto 40%, auto 100%;
  }
} */


.icon-title::before {
  position: relative;
  top: 7px;
  content: "";
  display: inline-block;
  background: url("/wp-content/themes/ozkaruta2025/image/001karuta_logo.png") 100% 100% / cover;
  height: 40px;
  width: 40px;
  margin-right: 0.5em;
}

/* .icon-title::after {
  position: relative;
  top: 7px;
  content: "";
  display: inline-block;
  background: url("/wp-content/themes/ozkaruta2025/image/001karuta_logo.png") 100% 100% / cover;
  height: 40px;
  width: 40px;
  margin-left: 0.5em;
} */

.icon-title-white::before {
  position: relative;
  top: 11px;
  content: "";
  display: inline-block;
  background: url("/wp-content/themes/ozkaruta2025/image/002karuta_logo.png") 100% 100% / cover;
  height: 50px;
  width: 50px;
  margin-right: 0.51em;
}

/* .icon-title-white::after {
  position: relative;
  top: 11px;
  content: "";
  display: inline-block;
  background: url("/wp-content/themes/ozkaruta2025/image/002karuta_logo.png") 100% 100% / cover;
  height: 50px;
  width: 50px;
  margin-left: 0.5em;
} */

/* 表：料金表 */
.price-table {
  margin: auto;
  width: 80%;
  text-align: center;
}

@media (max-width: 768px) {
  .price-table {
  width: 100%;
}
}


/* ボタン-赤 */
.btn-red {
  width: 100%;
  margin: 0 auto;
}

.btn-red a {
  background: #e60019;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  margin-top: 1.5rem;
  max-width: 280px;
  padding: 10px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
}

.btn-red a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.btn-red a:hover {
  background: #fff;
  color: #e60019;
}

.btn-red a:hover:after {
  right: 1.4rem;
}

/* ボタン-グレー */
.btn-gray {
  width: 100%;
  margin: 0 auto;
}

.btn-gray a {
  background: #565656;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
  margin-top: 0.5rem;
  max-width: 280px;
  padding: 10px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  border: 1px solid #565656;
}

.btn-gray a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.btn-gray a:hover {
  background: #fff;
  color: #565656;
  border: 1px solid #565656;
}

.btn-gray a:hover:after {
  right: 1.4rem;
}

/* テンプレート-アイコン画像 */
.icon-image-box {
  margin: auto;
  margin-bottom: 1rem;
  width: 135px;
}

.hyakunin-image-box {
  height: 257px;
}

.hyakunin-image-box img {
  height: 100%;
  object-fit: cover;
}

/* グリッド */
.grid-image-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 1.5rem 0;
}

.grid-image-box img {
  display: block;
}

@media (max-width: 768px) {
  .grid-image-box {
    grid-template-columns: 1fr;
  }
}


/* 製作の流れ */
.flow-box {
  width: 70%;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .flow-box {
    width: 100%;
  }
}

.mb-10 {
  margin-bottom: 7em !important;
}


/* お役立ちコラム */
.text-brownred {
  color: #640202;
}


/* 表：特定商取引法に基づく表示 */
.legal-table {
  width: 70%;
  margin: auto;
  border-collapse: collapse;
  background: #fff;
  line-height: 1.7;
}

.legal-table th,
.legal-table td {
  padding: .9rem 1rem;
  vertical-align: top;
  border-top: 1px solid #e60019;
  border-bottom: 1px solid #e60019;
}

.legal-table th {
  width: 28%;
  background: #FDD;
}

/* .legal-table tr:first-child th,
    .legal-table tr:first-child td {
      border-top: none;
    }

    .legal-table tr:last-child th,
    .legal-table tr:last-child td {
      border-bottom: none;
    } */

/* お問い合わせ・サンプル請求 */
.contact-btn-box {
  display: flex;
  width: 50%;
  margin: auto;
}

@media (max-width: 768px) {
  .contact-btn-box {
    display: block;
    width: 280px;
  }
}


/* フッターメニュー */
.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer {
  color: #565656;
  padding: 2rem 2rem 0.5rem;
  font-size: 15px;
  background: #fff;
}

.footer__navi-heading {
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e60019;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__social a {
  display: inline-block;
  width: 24px;
  opacity: 0.7;
}

.footer__social a:not(:last-child) {
  margin-right: 16px;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .footer-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.voice img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.column img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


/* 個別投稿ページ */
.single p {
  line-height: 2;
}

.single img {
  margin: 2em 0;
}


/* メニュー-区切り線 */
.pc-nav li:not(li:first-child) {
  padding-left: 1em;
  border-left: 1px solid #e5e7eb;
}

/* ギャラリー投稿-タイトル装飾 */
.post-title-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-title-gallery::before,
.post-title-gallery::after {
  width: 3px;
  height: 22px;
  background-color: #b4b4b4;
  content: '';
}

.post-title-gallery::before {
  transform: rotate(-35deg);
  margin-right: 20px;
}

.post-title-gallery::after {
  transform: rotate(35deg);
  margin-left: 20px;
}



/* 投稿記事-ホバーアクション */
.post-hover-act:hover {
  transform: translateY(-5px);
  transition: transform 0.3s
}

/* トップ-スライド装飾 */
.logo_left {
  position: absolute;
  top: 70vh;
  width: 15vw;
  left: -1vw;
}

.logo_right {
  position: absolute;
  right: 0;
  top: -11vw;
  width: 12vw;
}

@media (max-width: 768px){
  .logo_left,.logo_right{
    display: none;
  }
}

#metaslider_187 li {
  margin: 0;
}