@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/


/* 専用アニメーション */
/* .home-btnarea */
.manifadeIn3s {
  animation-name: fadeIn3s;
  animation-delay: 3s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transform: translateY(0);
  opacity: 0;
}

@keyframes fadeIn3s {
  0% {}

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* .nav */
.navfadeIn2s {
  animation-name: navfadeIn2s;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
  transform: translate(100%, -100%);
}

@keyframes navfadeIn2s {
  from {
    opacity: 0;
    transform: translate(100%, -100%);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* nav liアニメーション */
ul.slicknav_nav li {
  position: relative;
  /* アニメーションで位置を変えるためにrelativeを指定 */
  right: -100%;
  /* 初期位置は右に隠れる位置 */
  transition: opacity 0.5s ease-in-out;
  /* 透明度の変更にアニメーションを追加 */
}


/* .card */
.cardfadeIn500ms {
  animation-name: cardfadeIn500ms;
  animation-delay: 500ms;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  transform: translateY(0);
  opacity: 0;
}

@keyframes cardfadeIn500ms {
  0% {}

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 上からアニメーション */
.fadeIn500ms,
.fadeIn1s,
.fadeIn1500ms,
.fadeIn2s {
  animation-name: fadeIn-up;
  animation-delay: 500ms;
  animation-fill-mode: forwards;
  transform: translateY(-50px);
  opacity: 0;
}

@keyframes fadeIn-up {
  0% {}

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 0.5秒間かけてフェードイン */
.fadeIn500ms {
  animation-delay: 500ms;
  animation-duration: 1.5s;
}

/* 1秒間かけてフェードイン */
.fadeIn1s {
  animation-delay: 1s;
  animation-duration: 1.5s;
}

/* 1.5秒間かけてフェードイン */
.fadeIn1500ms {
  animation-delay: 1500ms;
  animation-duration: 1.5s;
}

/* 2秒間かけてフェードイン */
.fadeIn2s {
  animation-delay: 2s;
  animation-duration: 1.5s;
}

/* 2.5秒間かけてフェードイン */
.fadeIn2500ms {
  animation-delay: 2500ms;
  animation-duration: 1.5s;
}



/************************************
** .html
************************************/
html {
  overflow-x: auto;
  overflow-y: scroll;
  background-color: #e8e7e4;
  font-size: 62.5%;
  line-height: 1.231;
}

body {
  max-width: 500px;
  min-height: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  background-color: #ED6D46;
  background-image: url(/wp-content/uploads/2025/03/back.png);
  background-size: cover;
  overflow: hidden;
  letter-spacing: 1.5px;
}

.wrap {
  width: initial;
  max-width: 500px;
}

.main {
  padding: 2em;
  border: initial;
}

.home .main {
  padding: 0;
}

.page-id-19 .main {
  padding: 1em 0;
}

/* 最後にオープン
.home .slicknav_menu {
  display: none;
} */

.content {
  margin-top: 0;
}

.navi,
.header-container,
.main,
.sidebar,
.footer {
  background-color: initial;
}


/************************************
** .header
************************************/
div#header-container {
  display: none;
}

/************************************
** .nav
************************************/

.slicknav_menu {
  width: calc(100% / 4);
  border-radius: 50%;
  margin: auto;
}

.card-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 2em);
  gap: .5em;
}

.topmenu-btn .topmenu-btn-btn {
  width: 100%;
  height: 100%;
  padding: 0;
}

.topmenu-btn .menu_icon,
.topmenu-btn .menu_icon1,
.card-menu .wp-block-buttons {
  width: calc(100% / 5);
  border-radius: 50%;
  background-color: var(--cocoon-text-color);
  box-shadow: 0 2px 10px var(--cocoon-text-color);
  margin: auto;
}

.topmenu-btn .menu_icon1,
.topmenu-btn .menu_icon,
.slicknav_nav li,
.slicknav_menu .slicknav_btn,
.card-menu .wp-block-button {
  position: relative;
  padding: 100% 0 0 0;
  height: auto;
  width: 100%;
}

.topmenu-btn .menu_icon1 .icon_card-in,
.topmenu-btn .menu_icon figure,
.topmenu-btn .icon_card,
.topmenu-btn .menu_icon2 li {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  align-content: center;
  color: #fff;
  border-radius: 100%;
  padding: initial;
  width: 100%;
  height: 100%;
  font-weight: bold;
  line-height: 1.2;
}

.topmenu-btn .menu_icon a,
.slicknav_nav .menu_icon a,
.slicknav_icon,
.card-menu .wp-block-button__link {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  align-content: center;
  color: #fff;
  border-radius: 100%;
  padding: initial;
  width: 100%;
  height: 100%;
  line-height: 1.2;
  font-size: 1.2rem;
  font-weight: bold;
}

.slicknav_nav,
.slicknav_nav ul {
  overflow: initial !important;
  position: absolute;
  width: 100%;
}

.slicknav_nav li {
  margin-bottom: 1em;
}

.slicknav_menu {
  position: absolute;
  top: -30px;
  right: -20px;
  background: initial;
  padding: initial;
  display: block;
  z-index: 9999;
}

.slicknav_menu .slicknav_icon {
  float: initial;
  margin: initial;
  margin-top: .5em;
  padding-right: 1em;
}

.slicknav_menu .slicknav_icon-bar {
  width: 45px;
  height: 2px;
  margin: auto;
  background-color: white;
  box-shadow: none;
  transition: all .2s ease;
}

.slicknav_nav .menu_icon_card a:hover {
  background-color: var(--cocoon-text-color);
  border-radius: 100%;
  height: 100%;
  align-content: center;
  color: var(--cocoon-white-color);
  text-decoration: none;
}

.slicknav_nav .menu_icon a {
  font-size: 1rem;
  font-weight: bold;
  margin: auto;
  background-color: var(--cocoon-text-color);
  box-shadow: 0 2px 10px var(--cocoon-text-color);
}

.slicknav_nav .menu_icon2 a,
.slicknav_nav .menu_icon2 a:hover {
  font-size: 1.4rem;
  margin: auto;
}

.slicknav_nav a.icon_map:before,
.slicknav_nav .menu_icon a:before,
.slicknav_nav .menu_icon_card a:before {
  width: 35px;
  height: 35px;
}

.slicknav_menu .slicknav_menutxt {
  display: none;
}

.slicknav_menu .slicknav_btn {
  position: relative;
  text-decoration: none;
  text-shadow: initial;
  border-radius: 50%;
  background-color: var(--cocoon-text-color);
  box-shadow: 0 2px 10px var(--cocoon-text-color);
  margin: auto auto 1em auto;
}

.slicknav_btn .slicknav_icon-bar+.slicknav_icon-bar {
  margin-top: 1.5rem;
}

.slicknav_btn.slicknav_open .slicknav_icon-bar:first-child {
  transform: rotate(45deg);
}

.slicknav_btn.slicknav_open .slicknav_icon-bar:last-child {
  transform: rotate(-45deg);
}

span.slicknav_icon-bar:nth-child(2) {
  display: none;
}

.slicknav_btn.slicknav_open .slicknav_icon-bar:last-child {
  margin-top: 0;
}

.slicknav_btn.slicknav_collapsed .slicknav_icon-bar:first-child,
.slicknav_btn.slicknav_collapsed .slicknav_icon-bar:last-child {
  background-color: white;
}

/************************************
** .footer
************************************/
.footer {
  margin-top: initial;
  padding: initial;
}

.footer-bottom {
  margin-top: initial;
  padding: initial;
  font-size: initial;
}

.footer-bottom-logo {
  float: initial;
  position: initial;
}

.footer-bottom-logo img {
  height: 150px;
}

.footer-bottom-content {
  float: initial;
  text-align: center;
}

.footer-bottom.fnm-text-width .menu-footer li {
  width: 32%;
}

.footer-bottom.fnm-text-width .menu-footer li a {
  padding: 0 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.copyright {
  margin-top: initial;
  background-color: var(--cocoon-text-color);
  color: white;
  font-size: 1.2rem;
  padding: .5em;
}

div#navi-footer-in {
  width: calc(100% - 2em);
  margin: auto;
}

.navi-footer-in>.menu-footer li:last-child,
.navi-footer-in>.menu-footer li {
  border-right: none;
  border-left: none;
}

.navi-footer-in>.menu-footer {
  justify-content: center;
}

.navi-footer-in a:hover {
  background-color: initial;
}

/************************************
** .home
************************************/
.icon_card figure {
  max-width: 60px;
  margin: auto auto .3em auto !important;
}

.icon_card {
  background-color: var(--cocoon-text-color);
  border-radius: 100%;
  height: 100%;
  margin: auto;
  color: var(--cocoon-white-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  box-shadow: 0 0 5px var(--cocoon-text-color);
  flex-direction: row;
}

.menu_icon a,
.menu_icon a:hover {
  display: block;
  text-decoration: none;
  align-content: center;
  text-align: -webkit-center;
}

a.icon_map:before,
.menu_icon a:before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  background: url(/wp-content/uploads/2025/03/icon_map.png) no-repeat;
  background-size: contain;
  align-self: anchor-center;
  margin: auto auto .5em auto !important;
}

.menu_icon_card a:before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  background: url(/wp-content/uploads/2025/03/icon_card.png) no-repeat;
  background-size: contain;
  align-self: anchor-center;
}

.menu_icon1.icon_card:before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 50px;
  height: 50px;
  background: url(/wp-content/uploads/2025/03/icon_card.png) no-repeat;
  background-size: contain;
}

.menu_icon1 p,
.menu_icon1 a {
  color: var(--cocoon-white-color);
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  font-size: 1.2rem;
}

.menu_icon2 {
  padding: 0 !important;
}

.menu_icon2 a,
.menu_icon2 a:hover {
  padding: .5em;
  background-image: linear-gradient(180deg, rgba(226, 96, 19, 1) 10%, rgba(249, 148, 16, 1) 90%);
  border-radius: 100px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  color: var(--cocoon-white-color);
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 10px var(--cocoon-text-color);
}

.main-visual {
  margin-bottom: .5em!important;
}

.main-visual .main-in1 {
  margin-bottom: -35px;
  z-index: 100;
}

.main-in-front {
  position: relative;
  width: calc(100% - 10%);
}

.main-in-front::before {
  content: "";
  display: block;
  padding-top: 70%;
  height: auto;
}

.main-in-img {
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 100%;
  gap: 0;
  align-items: center;
  height: 100%;
}

.main-in-img figure img {
  /* height: 100%; */
  width: auto;
  margin: auto;
}

.main-in-img,
.main-in-title {
  position: absolute;
}

.main-in-title {
  right: 0;
  left: 0;
  bottom: 0;
}

.main-in-title img {
  margin: auto;
  padding: .5em;
}

.main-in2 {
  background-image: url(/wp-content/uploads/2025/03/back2.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* margin-left: calc(-50vw + 50%) !important;
  width: 100vw !important; */
}

.main-txt {
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
  width: calc(100% - 40px);
  margin: auto;
  font-size: 1rem;
}

ul#menu-footer-menu {
  margin: 1.5em 0;
}

.topmenu-btn {
  max-width: 300px;
  width: calc(100% - 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-self: center;
  column-gap: 1.5em;
  row-gap: 1.5em;
  margin: auto;
}

.topmenu-btn>.wp-block-group {
  align-content: center;
}

/************************************
** 文化財カード
************************************/
.card-menu .wp-block-button__link {
  background-color: var(--cocoon-text-color);
  box-shadow: 0 2px 10px var(--cocoon-text-color);
  font-size: 1.2rem;
}

.card.swiper .swiper-button-next,
.card.swiper .swiper-button-prev {
  color: white;
  top: 40%;
  margin: auto;
}

.card .swiper-slide figure {
  margin-bottom: 1em;
}

.card .swiper-slide figure img {
  max-height: 500px;
  width: auto;
  margin: auto;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

@media screen and (max-width: 480px) {
  .navi-footer-in>.menu-footer li.menu-item {
    width: 32%;
  }
}