/*
Theme Name: onyaku_manual
Theme URL: テーマのサイトのURI
Description: テーマの説明
Author: abejunichi
Version: 0.3
Tags: テーマの特徴を表すタグ（カンマ区切り/オプション）
License: テーマのライセンス
License URI: テーマのライセンスのURI
*/

/* for modern brouser */

/* グリッドレイアウトとカード */
.panel-group ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px;
  margin: 0;
  list-style: none;
}

.col-4 {
  background-color: #e9ffec;
  padding: 20px;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* YouTube埋め込み */
.col-4 .wp-block-embed {
  width: 100%;
  margin: 0;
}

.col-4 .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.col-4 .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 基本スタイル */
a {
  text-decoration: none;
}

main {
  background-color: #fff;
  display: flex;
  margin: auto;
}

/* フッター */
.footer {
  background-color: #339966;
  height: 200px;
  display: flex;
  margin-top: 10px;
}

.footer div {
  margin: auto;
}

/* ヘッダー */
.header {
  background-color: #339966;
  width: 100%;
  height: 150px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 0px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 150px;
  background-color: #339966;
  margin-bottom: 50px;
}

.header__title {
  width: 120px;
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
  margin-top: 40px;
}

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(140%);
  background-color: #fff !important;
  transition: ease .4s;
  display: none;
}

@media screen and (min-width: 3000px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
}

/* ナビゲーション */
@media screen and (min-width: 3000px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: flex-start;
    height: auto;
  }
}

.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}

@media screen and (min-width: 3000px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}

.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 3000px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
  margin-right: 40px;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 10000;
}

@media screen and (min-width: 3000px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #fff;
  position: relative;
  transition: ease .4s;
  display: block;
  margin-right: 100px;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(140%);
  width: 50%;
  height: 2000px;
  background-color: #fff !important;
  z-index: 1000;
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
  background-color: black;
  z-index: 10000000;
}

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

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
  background-color: black;
  z-index: 10000000;
}

.header__title img {
  width: 220px;
  height: 100%;
  margin-left: 40px;
}

.header__inner h5 {
  color: #fff;
  font-size: 25px;
  text-align: left;
  margin-left: 280px;
  width: 400px;
  margin-top: -42px;
}

/* コンテンツ */
.content {
  width: 1080px;
  height: auto;
  margin: 0 auto;
  text-align: center;
}

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

/* フッターコンテンツ */
.footer_content {
  background-color: #339966;
  margin: 0px !important;
  padding: 0px !important;
  width: 100%;
  height: 80px;
}

.copyright p {
  text-align: right;
  color: #fff;
  margin-right: 40px;
  padding-top: 30px;
}

/* タブ関連 */
.tab-wrap h3 {
  color: #009933;
  font-size: 32px;
  margin-left: 60px;
}

.tab {
  margin-left: 50px;
  cursor: pointer;
}

.flex {
  display: flex;
}

/* 基本設定 */
body {
  overflow-x: hidden;
}

.p0 {
  margin: 0px !important;
  padding: 0px !important;
  overflow-x: hidden;
}

html {
  margin-top: 0px !important;
}

/* タブグループ */
.tab-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-left: 52px;
}

.tab {
  width: auto;
  height: auto;
  text-align: center;
  margin-left: 6px;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 22px;
  transition: 1s;
  background-color: #eae5e3;
}

/* パネル */
.panel {
  display: none;
}

.tab.is-active {
  color: black;
  transition: 0.5s;
  opacity: 1;
  background-color: white;
}

.panel.is-show {
  display: block;
}

/* アコーディオン */
.Accordion {
  width: 100%;
  height: 100vh;
}

.Accordion-Title {
  width: 100%;
  justify-content: space-between;
  padding: 16px;
  background: #339966;
  cursor: pointer;
}

/* 動画関連 */
.movie {
  width: 60%;
  height: auto;
  text-align: center;
  margin: 0 auto;
}

.tab-wrap {
  text-align: center;
  margin: 0 auto;
}

.tab-wrap h3 {
  text-align: left;
  margin: 0 auto;
  margin-left: 60px;
}

/* ボディとHTML */
body, html {
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* セクション */
.Section {
  text-align: left;
  margin: 0 auto;
  background-color: #fff;
  width: 100%;
  z-index: 1000;
}

.Section h3 {
  text-align: left;
  margin: 0 auto;
  color: #ff8001;
  margin-top: 100px;
  margin-bottom: 10px;
  margin-left: 15px;
}

.section h3,
.Accordion-Title {
  text-align: left;
  margin: 0 auto;
  margin-top: 0px;
  width: 100%;
  color: white;
}

/* アコーディオン関連 */
.Accordion a {
  text-align: left;
  color: black;
  font-size: 14px;
  margin-left: 50px;
}

.Accordion-Title-Text {
  text-align: left;
  display: block !important;
  font-size: 20px;
  margin-left: 18px;
  margin-top: -26px;
}

summary {
  color: white;
}

summary::-webkit-details-marker {
  color: white;
}

/* JS デモ */
#js-demo.active {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  background: rgba(3, 3, 3, .5);
  display: block;
  transition: ease .4s;
}

/* ビデオプレーヤー */
.videoplayer>div>div>div {
  left: 0;
  top: 0;
  bottom: 10px;
  right: 0;
}

/* その他 */
.red {
  color: red;
}

.tab-title {
  padding-bottom: 50px;
}

.right-red {
  margin-left: 20px;
  margin-top: 8px;
  color: red;
}

p {
  text-align: left;
  margin: 10px 10px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .panel-group ul {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .content {
    width: 100%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  .panel-group ul {
    grid-template-columns: 1fr;
  }