/*
Theme Name: Rocket
Theme URI: https://yveil.com/
Author: Yveil
Description: the theme for Rocket official website.
Version: 1.0
*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500;
  color: #333;
}
body {
  /* background-image: url('./images/bg.png'); */
  background-size: 125px 175px;
  background-repeat: repeat;
  background-position: 0 0;
}


#main {

}



.contact-form label {
  margin-bottom: 5px;
  font-weight: 700;
}
.contact-form input,.contact-form textarea,.contact-form select {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  font-weight: 500;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  color: #000;
  max-width: 100%;
}
.contact-form input[type="submit"] {
  display: block;
  margin: 20px auto;
  width: 50%;
  position: relative;
  cursor: pointer;
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  font-weight: 700;
  padding: 0.3rem 1rem;
  transition: 0.3s;
}
.contact-form input[type="submit"]:hover{
  background-color: #fff;
  color: #000;
}

.svg-icon svg path {
  fill: white;
}

.swiper-container {
  /* width: 100%; */
  padding-top: 0;
  padding-bottom: 50px;
  position: relative; /* 子要素のabsolute配置に必要 */
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  height: auto;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 16 / 9; */
}
.swiper-pagination {
  z-index: 5;
}
.swiper-pagination-bullet {
  background-color: #000;
  width: 10px;
  height: 10px;
}
/* 矢印ボタンのスタイル */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%; /* スライダーの縦中央に配置 */
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-button-next:after, .swiper-button-prev:after {
  color: #fff;
}

.swiper-button-prev {
  left: 10px; /* 画面左に配置 */
}

.swiper-button-next {
  right: 10px; /* 画面右に配置 */
}

/* モバイル対応の調整 */
@media (max-width: 1024px) {
  .swiper-slide {
      width: 80%; /* モバイルではスライドの幅を調整 */
  }

  .swiper-button-next,
  .swiper-button-prev {
      width: 30px;
      height: 30px; /* 矢印ボタンを小さくする */
  }
}



@media (min-width: 1024px) {
  html {
    scroll-padding-top: 0px;
  }
  .service-item {
    height: 580px;
  }
}
.bg-black-o {
  background-color: rgba(0, 0, 0, 0.6);
}
.bg-l-blue {
  background-color: #1e0062;
}
.bg-green-text {
  display: inline-block;
  background-color: #00ff00;
}
.bg-l-purple {
  background: #8e6ed7;
}
.text-l-purple {
  color: #592fc7;
}
.hamburger {
  display: inline-block;
  cursor: pointer;
  height: 54px;
  width: 54px;
  position: relative;
  background-size: cover;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  margin: 0px 15px 4px;
  transition: all 0.3s;
}

.hamburger.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 16px;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

#preloader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
/* ページネーション */
.pagination {
  overflow-x: auto; /* 横スクロールを許可 */
  margin-top: 2rem;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap; /* 折り返しを防止 */
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  background-color: #ccc;
  border: 1px solid #bbb;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0; /* 要素の縮小を防止 */
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background-color: #333;
  color: #fff;
}

.pagination .page-numbers.dots {
  border: none;
  color: #333;
}

.pagination .prev,
.pagination .next {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 1px solid #bbb;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0; /* 要素の縮小を防止 */
}

.pagination .prev:hover,
.pagination .next:hover {
  background-color: #000;
  color: #fff;
}


.video-wrapper {
  /* aspect-ratio: 16 / 9; */
}
.video-wrapper iframe {
  /* width: 100%;
  height: 100%; */
}

/* WordPress本文コンテンツ */
.wp-content {
  & > * {
    line-height: 1.6;
    font-size: 1rem;
  }
  h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
  }
  h1 {
    font-size: 1.5rem;
    border-bottom: 0.125rem solid #00a2ff;
    color: #00a2ff;
    padding-bottom: 0.3rem;
  }
  
  h2 {
    font-size: 1.25rem;
    border-bottom: 0.125rem solid #00a2ff;
    padding-bottom: 0.3rem;
  }
  
  h3 {
    font-size: 1.125rem;
    border-bottom: 0.0625rem solid #00a2ff;
    padding-bottom: 0.2rem;
  }
  
  h4 {
    font-size: 1.2rem;
    color: #00a2ff;
  }
  
  h5 {
    font-size: 1.2rem;
    color: #333;
    text-decoration: underline;
    text-decoration-color: #00a2ff;
  }
  
  h6 {
    font-size: 1rem;
    color: #666;
    font-style: italic;
  }
  p {
    /* font-size: 14px; */
  }
  table {
    width: 100%;
    border-collapse: collapse;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
table tr:nth-child(even) {
    background-color: #f9f9f9;
}
table tr:hover {
    background-color: #f1f1f1;
}
  /* 引用 */
  blockquote {
    background-color: #f5f5f5;
    border-left: 4px solid #ccc;
    padding: 1rem;
  }

  /* リスト */
  ul, ol {
    margin-left: 1.5rem;
  }

  ul li {
    list-style-type: disc;
  }

  ol li {
    list-style-type: decimal;
  }
}