@charset "UTF-8";
/* Theme Name: testsite1028 */

:root {
  --link-color: #349bf4;
  --main-color: #fff;
  --text-color: #fff;
}

/*--------------------------------
 全体
---------------------------------*/
body {
  font-family: "Roboto", "Noto Sans JP", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  color: var(--text-color);
  background-color: #333;
  line-height: 1.8em;
  letter-spacing: .16em;
}

a {
  color: var(--link-color);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
section {
  scroll-margin-top: 60px; 
}

/*--------------------------------
 見出し
---------------------------------*/
h2 {
  font-size: 3rem;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  margin-bottom: 20px;
}

/*--------------------------------
 テキスト
---------------------------------*/
.fontsize--16px {
  font-size: 16px;
}

p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.large-text {
  font-family: "Zen Old Mincho", serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}


.about.section p {
  text-align: center;
}

.sp-br {
  display: none;
}
@media (max-width: 767px) {
  .sp-br {
    display: block;
  }
  .sp-large-text {
    font-size: 26px;
  }
  .about.section p {
    padding: 20px 0 20px;
  }
}


/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}

.container-bg {
  background-color: #000;
}
.content {
  display: grid;
  padding: 30px 0 100px;
  background: #000;
}


.section {
  padding-top: 70px;
  padding-bottom: 50px;
}

/*--------------------------------
 見出し
---------------------------------*/
.heading-primary {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6em;
  letter-spacing: 0.05em;
  color: var(--main-color);
  margin-bottom: 30px;
  text-align: center;
}
@media (max-width: 767px) {
  .heading-primary {
  font-size: 24px;
  }
}
/*--------------------------------
 テーブル
---------------------------------*/
.table-type01 {
  width: 100%;
  font-size: 16px;
  border-collapse: collapse;
  border-spacing: 0;
}

.table-type01 tr {
  border-bottom: solid 1px #ddd;
}

.table-type01 th,
.table-type01 td {
  text-align: left;
  padding: 30px;
}

.table-type01 th {
  width: 20%;
}

.table-type01 p:not(:last-child) {
  margin-bottom: 10px;
}

.table-type01 ul {
  margin-left: 20px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  background: #333;
  color: #fff;
  z-index: 1000;
  position: fixed;
  width: 100%;
}

.header__logo img {
  width: 120px;
}

.pc-nav {
  display: flex; /* 横並びにする */
  align-items: center;
}

.pc-menu__list {
  display: flex;
  gap: 30px; /* リスト間のスペース */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ハンバーガーボタン */
.btn-menu {
  display: none; /* パソコン画面では非表示 */
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1100;
}
.btn-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.btn-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.btn-menu.active span:nth-child(2) {
  opacity: 0;
}
.btn-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* オーバーレイメニュー */
.overlay-menu {
  display: none; /* パソコン画面では非表示 */
}

/* モバイル画面用のメディアクエリ */
@media (max-width: 767px) {
  .pc-nav {
    display: none;
  }

  .btn-menu {
    display: flex; /* モバイル画面では表示 */
  }

  .overlay-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 999;
  }

  .overlay-menu.active {
    transform: translateX(0); /* ハンバーガーメニュー表示 */
  }

  .overlay-menu__list {
    flex-direction: column;
    text-align: center;
  }

  .overlay-menu__list li {
    margin: 60px 0;
  }

  .overlay-menu__list a {
    font-size: 1.8rem;
  }
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  height: 680px;
  background-image: url(img/pc-mv.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: relative;
  margin-top: 80px; /* ヘッダーの高さに合わせて調整 */
}

@media (max-width: 480px) {
  .mv {
    background-image: url(img/sp-mv.jpg);
  }
}

/*--------------------------------
アバウト共通スタイル
---------------------------------*/
.about {
  position: relative;
  width: 100%;
  height: 100vh; /* 画面の高さに合わせる */
  overflow: hidden;
  padding: 0;
}

/* 動画背景 */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 背景として設定 */
  overflow: hidden;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw; /* 横幅を画面全体に合わせる */
  height: 56.25vw; /* 16:9のアスペクト比で高さを設定 */
  transform: translate(-50%, -50%);
  object-fit: cover; /* アスペクト比を保ちながら拡大 */
  pointer-events: none; /* 背景としてクリックを無効化 */
}

/* テキストの配置 */
.text-over-video {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 0;
}

/* この動画のリンクを右下に配置 */
.video-link {
  position: absolute;
  bottom: 20px; /* 下からの位置 */
  right: 20px; /* 右からの位置 */
  margin-top: 0; /* 余分な余白を削除 */
}

.video-link a {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.video-link a:hover {
  background-color: rgba(255, 255, 255, 0.6);
}


/* レスポンシブスタイル */
@media (max-width: 767px) {
  .about {
    height: auto;
    padding: 20px 0;
  }

  .video-background {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 15px; /* 動画の下に余白を追加 */
  }

  .video-background iframe {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  .text-over-video h2 {
    font-size: 2.5rem;
    margin-bottom: 26px;
  }

  .text-over-video .large-text,
  .text-over-video .small-text {
    margin-bottom: 30px;
    margin-top: 20px;
  }

  .video-link {
    position: static; /* 絶対配置を解除 */
    display: block;
    text-align: center; /* ボタンを中央揃え */
    margin-bottom: 20px; /* ボタンの下に余白を追加 */
  }

  .text-over-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* ボタンとテキストの間の余白を管理 */
  }

  .video-link a {
    padding: 6px 12px; /* ボタンサイズを小さく */
    font-size: 12px;
    border-radius: 3px;
  }
}


/*--------------------------------
サービス独自のスタイル
---------------------------------*/

/* サービスセクションのスタイル */
.service {
  background-color: #1A1A1A;
  padding: 50px 0;
  color: #fff;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: none; 
  margin: 0;
}
/* 箇条書きリストのスタイル */
.service-list {
  flex: 1;
  list-style-type: none; 
  padding-left: 0;
  margin: 0;
  text-align: center;
  line-height: 2;
}

/* 各リストアイテムを四角く囲む */
.service-list li {
  text-align: center;
  padding: 20px 15px; 
  margin-bottom: 10px;
  border-radius: 0px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* 最後のリストアイテムの下の余白をなくす */
.service-list li:last-child {
  margin-bottom: 0;
}
/* 画像と説明文のスタイル */
.service-content {
  flex: 1;
  text-align: center;
}

.service-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
}

.service-description {
  line-height: 1.6;
  padding: 30px 7px;
  text-align: left;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .service-layout {
    flex-direction: column;
    align-items: center;
  }
  .service-list {
    text-align: left;
  }

  .service-content img {
    text-align: center;
  }
}


/*--------------------------------
コンタクト独自
---------------------------------*/

.contact-section h2 {
  margin-bottom: 1rem;
}

.contact-section a {
  margin: 1rem 0;
}

.contact-section p {
  margin: 0.5rem 0;
}

.contact-icon {
  display: flex; 
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.contact-icon img {
  width: 40px;
  height: 40px;
}

/*--------------------------------
会社概要独自
---------------------------------*/
.company-info {
  background: #1A1A1A;
  padding: 40px 20px; 
}
.company-info__table {
  width: 100%;
  border-collapse: collapse;
}
.company-info__table th,
.company-info__table td {
  padding: 16px 10px; /* モバイル用にパディングを調整 */
  border: none;
  text-align: left; /* 左揃え */
  font-size: 1rem;
  color: #fff;
}

.company-info__table td {
  border-bottom: 1px solid #ddd;
}

.company-info__table th {
  width: 30%;
  font-weight: bold;
  color: #ccc;
}

@media (max-width: 480px) {
  .company-info__table th,
  .company-info__table td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .company-info__table th {
    margin-bottom: 3px;
    font-size: 1rem;
  }
  
  .company-info__table td {
    padding-top: 0;
    font-size: 0.9rem; /* フォントサイズを小さめに調整 */
  }

  /* レスポンシブ調整：行間を空ける */
  .company-info__table tr {
    margin-bottom: 15px;
  }
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  background-color: #333;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.footer-nav__list {
  display: flex;
  justify-content: center;
  column-gap: 30px;
}

.footer-nav__link {
  color: #fff;
}

.footer__copyright {
  font-size: 12px;
  letter-spacing: 0.03em;
}

/*--------------------------------
 メディアクエリ
---------------------------------*/
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 50px 0;
  }

  .mv {
    height: 460px;
  }
  .service-block {
    flex-direction: column;
    align-items: center;
  }
  
}
