/*
Theme Name: udonnotakumi Child
Theme URI: 
Template: udonnotakumi
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* --- アコーディオンの基本設定 --- */

/* 1. チェックボックス本体は画面上から見えなくする */
.accordion-checkbox {
  display: none;
}

/* 2. クリック領域（ラベル）のスタイル */
.accordion-trigger {
  display: flex; /* h4とアイコンを横並びにするため */
  justify-content: center; /* h4とアイコンを両端に配置 */
  align-items: center;
  cursor: pointer; /* クリックできることを示す */
  user-select: none; /* テキスト選択を無効化 */
  background: #e5e5e5;
}

@media screen and (max-width: 767px) {
  .accordion-trigger {
    justify-content: space-between;
  }
}

/* h4のデフォルトマージンをリセット */
.accordion-trigger h4 {
  margin: 0;
  background-color: transparent;
  padding: 10px;
}

/* 3. アイコン（＋マーク）のスタイル */
@media screen and (max-width: 767px) {
  .accordion-trigger::after {
    content: "+";
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease; /* アニメーション */
    padding-right: 10px;
  }
}

/* 4. アコーディオンの中身をデフォルトで非表示に */
@media screen and (max-width: 767px) {
  .accordion-content {
    /* 高さを0にして隠す（アニメーションのためdisplay:noneは使わない）*/
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
  }
}

/* --- チェックが入った時の動作 --- */

/* 5. チェックされたら中身を表示 */
.accordion-checkbox:checked + .accordion-trigger + .accordion-content {
  /* 十分な高さを確保して表示 */
  max-height: 1000px; /* 中身のコンテンツ量より大きい値を指定 */
  transition: max-height 0.5s ease-in;
}

/* 6. チェックされたらアイコンを回転させて「×」にする */
.accordion-checkbox:checked + .accordion-trigger::after {
  transform: rotate(45deg);
}

/* --- スライド --- */
.img-frame {
  position: relative;
  height: 900px;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .img-frame {
    height: 300px;
  }
}

.img-01,
.img-02,
.img-03 {
  position: absolute;
  top: 0;
  left: 0;
  left: -200px;
  width: 1000px;

  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.img-01 {
  background-image: url("http://nannaru1.xsrv.jp/udonnotakumi/wp-content/uploads/big_82D54D6C-95FB-4E0C-B7E7-1AE9CE28EB6D.jpeg");
  animation: slide-animation-01 24s infinite;
}
.img-02 {
  background-image: url("http://nannaru1.xsrv.jp/udonnotakumi/wp-content/uploads/big_D3BC283F-9107-4D22-A0BB-D2FADBCC7922.jpeg");
  animation: slide-animation-02 24s infinite;
}
.img-03 {
  background-image: url("");
  animation: slide-animation-03 24s infinite;
  background-position: top;
}
@keyframes slide-animation-01 {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.15);
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slide-animation-02 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
    transform: scale(1.1);
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}
@keyframes slide-animation-03 {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
    transform: scale(1);
  }
  70% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}
/*スライド↑*/

/*ふわっと表示*/
.fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

/*投稿ページ更新日*/
.entry-meta-item.entry-meta-item-updated {
  display: none;
}

/*投稿ページ投稿者*/
.entry-meta-item.entry-meta-item-author {
  display: none;
}

/**/
.vk_post_imgOuter_singleTermLabel {
  font-size: 9px;
  padding: 0.3em 0.8em;
}

/*プライバシーポリシー*/
.privacypolicy .section-title {
}

.pp-content {
  margin-top: 50px;
}

.pp-content h3 {
  font-size: 30px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  margin-bottom: 25px;
}

@media screen and (max-width: 767px) {
  .pp-content h3 {
    font-size: 22px;
  }
}

/**********メインcss_ここまで**********/

/**********汎用css**********/

/*tableのスクロール↓*/
.table-wrap {
  overflow-x: scroll;
}

.table-wrap table {
  white-space: nowrap;
}

/*画面サイズの100％にする↓*/
.wide_box {
  padding: 0 0 0 0 !important;
  margin-right: calc(((100vw - 100%) / 2) * -1);
  margin-left: calc(((100vw - 100%) / 2) * -1);
  padding: 0 calc((100vw - 100%) / 2);
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  -o-box-sizing: border-box !important;
  -ms-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 767px) {
  .wide_box {
    margin: auto 0em;
  }
}

/*スマホのみで改行↓*/
.sp-br {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp-br {
    display: block;
  }
}

/*pcのみで改行↓*/
.pc-br {
  display: block;
}

@media screen and (max-width: 767px) {
  .pc-br {
    display: none;
  }
}

/*スマホで表示*/
@media (min-width: 767px) {
  .only-sp {
    display: none !important;
  }
}

/*pcで表示*/
@media (max-width: 767px) {
  .only-pc {
    display: none !important;
  }
}

.ta-c {
  text-align: center;
}

.fw-b {
  font-weight: bold;
}

.page_top_btn {
  box-shadow: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
