#first-slide {
  position: relative;
  z-index: 1;
  height: 100vh !important; /* これも忘れずに、全画面表示したいなら */
  overflow: hidden; /* 必ず入れる（overlayがはみ出ないように） */
}
#first-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* ← ここがオーバーレイの色と透明度 */
  z-index: 2;
}/* ロゴ画像を最前面 & サイズ調整 */
#first-slide img {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  z-index: 3; /* vegasとoverlayの上に来る */
  width: 30%; /* 控えめなサイズ（お好みで調整可能） */
  height: auto;
}
@media screen and (max-width: 650px){
  #first-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* vegasとoverlayの上に来る */
    width: 50%; /* 控えめなサイズ（お好みで調整可能） */
    height: auto;
  }  
  h2 span{
    font-size:1.1em !important;
  }
  .service_con {
    width: 100% !important;
  }
  .service_panel{
    padding: 30px !important;
  }
  .service_con img{
    width: 80% !important;
  }
  .bebasto {
    padding: 16px !important;
  }
  h1.logo img{
    width: 70% !important;
    height: auto !important;
  }
  .navbar{
    position: fixed !important;
    top:0;
  }
}
.point {
  padding: 80px 20px;
  background-color: #f8f8f8; /* 背景色（薄いグレー） */
}

.service_panel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px; /* アイテム間の余白 */
  background-image: url('/wp-content/themes/original_child/img/top/slider_3.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px;
  position: relative;
}
.service_panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 半透明の黒でフィルター効果 */
  z-index: 0;
}

.service_panel > * {
  position: relative;
  z-index: 1;
}


.service_con {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: calc(25% - 80px); /* 5列表示 */
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service_con:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service_con img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.balloon2-top {
  font-size: 14px;
  color: #333;
  text-align: left;
  line-height: 1.6;
}
.service-title {

  width: 100%;
  background: rgba(0, 0, 0, 0.8); /* 黒の帯 */
  color: #fff; /* 白文字 */
  padding: 8px 0;
  font-size: 13px;
  font-weight: bold;
  
  z-index: 5;
  margin-bottom: 36px;
  text-align: center;
}
h2 span {
  color: #4d9bc1;
  font-size: 1.3em;
  font-weight: 900;
}

.foot_area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  background-image: url('/wp-content/themes/original_child/img/top/slider_3.jpg');
  background-size: 100% auto; /* 横幅100%・縦は自動 */
  background-repeat: no-repeat;
  background-position: center top;
  padding: 60px;
  position: relative;
  z-index: 0;
}
.foot_area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 半透明の黒でフィルター効果 */
  z-index: -1;
}
.bebasto{
  border: 1px solid #333;
  padding: 64px;
}
.card-price2 {
  color: #1387C5;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 600;
}
.flex-col1,.flex-col2{
width: calc(50% - 16px);
}
h3.style_a{
  font-size: 2.4em;
  font-weight: 600;
}
#slider_about img {
  width: 100%;
  height: auto;
  display: block;
}
/* デモカー */
.democar-card{
  display: flex;
 
  width: calc(50% - 64px);
}

.democar-card a {
  display: flex;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.democar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.democar-thumb {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.democar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.democar-card:hover .democar-thumb img {
  transform: scale(1.05);
}

.democar-thumb::before {
  content: "制作事例";
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 2px;
  border-radius: 20px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 1025px) {
    .democar-thumb {
        width: 45%;
    }

    .democar-content {
        width: 55%;
    }
    .democar-detail-content{
      width: 88.8% !important;
      margin: 0 auto;
    }
  
}
.democar-content {
  width: 60%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.democar-title {
  font-size: 26px;
  color: #222;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  font-family: 'Noto Serif JP', serif;
}

.democar-title small {
  display: block;
  font-size: 16px;
  color: #aaa;
  margin-top: 8px;
  letter-spacing: 2px;
  font-weight: normal;
}

.democar-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #87AFC7;
  margin-top: 16px;
}

.democar-excerpt {
  font-size: 17px;
  color: #666;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .democar-card {
      flex-direction: column;
      width: 100%;
      margin-top: 16px;
  }

  .democar-thumb,
  .democar-content {
      width: 100%;
  }

  .democar-content {
      padding: 40px 20px;
  }
  .democar-detail-body p{
    width: calc(48% - 8px) !important;
  }
}

/* デモカー */

/* デモカーシングル */


.democar-detail-thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.democar-detail-content {
  margin-top: 60px;
}

.democar-detail-title {
  font-size: 38px;
  font-weight: 700;
  color: #222;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 30px;
  position: relative;
}

.democar-detail-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #87AFC7;
  margin-top: 15px;
}

.democar-detail-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.democar-detail-body {
  font-size: 18px;
  color: #444;
  line-height: 2;
}

.democar-detail-back {
  margin-top: 80px;
  text-align: center;
}

.democar-detail-back a {
  display: inline-block;
  background-color: #87AFC7;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.democar-detail-back a:hover {
  background-color: #5b8ba0;
}
.democar-detail-body img {
  width: 88%;
  max-width: 400px;
  height: auto;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  cursor: zoom-in; /* クリック拡大のカーソル */
  transition: transform 0.3s ease;
}

.democar-detail-body img:hover {
  transform: scale(1.05);
}
.democar-detail-body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 18px;
  color: #444;
  line-height: 2;
}
.democar-detail-body p {
  width: calc(33% - 20px);
  min-width: 200px;
  height: auto;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.democar-detail-body img:hover {
  transform: scale(1.05);
}
@media screen and (max-width: 768px) {
  .democar-detail-body img {
      width: calc(50% - 10px);
  }
  .single-democar {
  padding: 0;
  }
  .mt300{
    margin-top: 100px !important;
  }
}

@media screen and (max-width: 480px) {
  .democar-detail-body img {
      width: 80%;
  }
}

.mt300{
  margin-top: 300px;
}
.mt150{
  margin-top: 150px;
}
.democar-list{
  display: flex;
  flex-wrap: wrap;
  
}
/* デモカーシングル */

.btn {
  display: inline-block;
  padding: 0.5em 1.5em;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  margin-top: 1em;
  text-transform: uppercase;
  font-weight: small;
}

.btn-primary {
  color: #fff;
  background: #16a083;
}

.btn-primary:hover {
  background: #117964;
  transition: background 0.3s ease-in-out;
}

/* ............/navbar/............ *

/* desktop mode............/// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  box-shadow: 0px 5px 10px 0px #aaa;
 
  width: 100%;
  background: #fff;
  color: #000;
  opacity: 0.85;
  
  z-index: 12;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height:100px;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  color: #117964;
  transition: color 0.3s ease-in-out;
}

.logo {
  order: 1;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

/* ............//// Showcase styling ////......... */

.showcase-area {
  height: 50vh;
  background: linear-gradient(
      rgba(240, 240, 240, 0.144),
      rgba(255, 255, 255, 0.336)
    ),
    url("https://i.postimg.cc/wT3TQS3V/header-image2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.showcase-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.6rem;
}

.main-title {
  text-transform: uppercase;
  margin-top: 1.5em;
}

/* ......//about us//...... */

#about {
  padding: 50px 0;
  background: #f5f5f7;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
}

#about h2 {
  font-size: 2.3rem;
}

#about p {
  font-size: 1.2rem;
  color: #555;
}

#about .small {
  font-size: 1.2rem;
  color: #666;
  font-weight: 600;
}

.about-img {
  flex: 1 1 400px;
  padding: 30px;
  transform: translateX(150%);
  animation: about-img-animation 1s ease-in-out forwards;
}

@keyframes about-img-animation {
  100% {
    transform: translate(0);
  }
}

.about-text {
  flex: 1 1 400px;
  padding: 30px;
  margin: auto;
  transform: translate(-150%);
  animation: about-text-animation 1s ease-in-out forwards;
}

@keyframes about-text-animation {
  100% {
    transform: translate(0);
  }
}

.about-img img {
  display: block;
  height: 400px;
  max-width: 100%;
  margin: auto;
  object-fit: cover;
  object-position: right;
}

/* ..........////Food category///........... */

#food {
  padding: 5rem 0 10rem 0;
}

#food h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #555;
}

.food-container {
  display: flex;
  justify-content: space-between;
}

.food-container img {
  display: block;
  width: 100%;
  margin: auto;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
}

.img-container {
  margin: 0 1rem;
  position: relative;
}

.img-content {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  text-align: center;
  transition: all 0.3s ease-in-out 0.1s;
}

.img-content h3 {
  color: #fff;
  font-size: 2.2rem;
}

.img-content a {
  font-size: 1.2rem;
}

.img-container::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.871);
  opacity: 0;
  z-index: 1;

  transform: scaleY(0);
  transform-origin: 100% 100%;
  transition: all 0.3s ease-in-out;
}

.img-container:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.img-container:hover .img-content {
  opacity: 1;
  top: 40%;
}

/* .........../Food Menu/............ */

.food-menu-heading {
  text-align: center;
  font-size: 3.4rem;
  font-weight: 400;
  color: #666;
}

.food-menu-container {
  display: flex;
  flex-wrap: wrap;
  padding: 50px 0px 30px 0px;
}

.food-menu-container img {
  display: block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.food-menu-item {
  display: flex;
  flex: 1 1 600px;
  justify-content: space-evenly;
  margin-bottom: 3rem;
}

.food-description {
  margin: auto 1.5rem;
}

.font-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #444;
}

.food-description p {
  font-size: 1.4rem;
  color: #555;
  font-weight: 500;
}

.food-description .food-price {
  color: #117964;
  font-weight: 700;
}

/* ........./ Testimonial /.......... */

#testimonials {
  padding: 5rem 0;
  background: rgba(243, 243, 243);
}

.testimonial-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #555;
}

.testimonial-container {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  padding: 1rem;
}

.testimonial-box .checked {
  color: #ff9529;
}

.testimonial-box .testimonial-text {
  margin: 1rem 0;
  color: #444;
}

.testimonial-box {
  text-align: center;
  padding: 1rem;
}

.customer-photo img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: auto;
}

/* ........ Contact Us........... */

#contact {
  padding: 5rem 0;
  background: rgb(226, 226, 226);
}

.contact-container {
  display: flex;
  background: #fff;
}

.contact-img {
  width: 50%;
}

.contact-img img {
  display: block;
  height: 400px;
  width: 100%;
  object-position: center;
  object-fit: cover;
}

.form-container {
  padding: 1rem;
  width: 50%;
  margin: auto;
}

.form-container input {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 1rem 0;
  box-shadow: none;
  outline: none;
  margin-bottom: 1rem;
  color: #444;
  font-weight: 500;
}

.form-container textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  color: #444;
  outline: none;
  padding: 1rem 0;
  resize: none;
}

.form-container h2 {
  font-size: 2.7rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 1rem;
  margin-top: -1.2rem;
}

.form-container a {
  font-size: 1.3rem;
}

#footer h2 {
  text-align: center;
  font-size: 1.8rem;
  padding: 2.6rem;
  font-weight: 500;
  color: #fff;
  background: rgb(65, 65, 65);
}

/* ......../ media query /.......... */

@media (max-width: 768px) {
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  /* ......./ food /......... */

  .food-container {
    flex-direction: column;
    align-items: stretch;
  }

  .food-type:not(:last-child) {
    margin-bottom: 3rem;
  }

  .food-type {
    box-shadow: 5px 5px 10px 0 #aaa;
  }

  .img-container {
    margin: 0;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 65%;
  }

  .navbar .menu-items li{
      font-size: 1.6rem;
  }

  .testimonial-container {
    flex-direction: column;
    text-align: center;
  }

  .food-menu-container img {
    margin: auto;
  }

  .food-menu-item {
    flex-direction: column;
    text-align: center;
  }

  .form-container {
    width: 90%;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  .contact-img {
    width: 90%;
    margin: 3rem auto;
  }

  .logo {
    position: absolute;
    top: 06px;
    right: 15px;
    font-size: 3rem;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 500;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem;
  }

  .img-container .btn {
    font-size: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }
}
h1{
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
}
h1.logo img{
  max-height: 50px;
  height: 50px;
    width: 100%;
}
.contact-warning {
  background-color: #fff3cd; /* 薄い黄色 */
  color: #856404;            /* 警告に適した茶色 */
  border: 1px solid #ffeeba;
  padding: 1em;
  margin-bottom: 1.5em;
  border-radius: 4px;
  font-size: 0.95em;
  font-weight: bold;
}