@charset "UTF-8";
/*
Theme Name: susono
Description: きのこ倶楽部サイト
Version: 1.0
Author: Ayako
*/
/*
COLORS
================================================ */ :root {
  /* Color */
  --yellow: #FFFDE5;
  --red: #A01E1E;
  --gray: #EAE7D0;
  --brown: #6E2B2E;
  --deepgrey: #222222;
  --pink: #fe9a9a;
  /* Font/Space Size */
  --font-sm: .75rem;
  --font-md: 1rem;
  --font-lg: 1.25rem;
  --font-xl: 1.625rem;
  /* Border Radius Size */
  --round-sm: 6px;
  --round-md: 10px;
  --round-lg: 50%;
}
/*
GENERAL STYLING
================================================ */
html {
  font-size: 100%;
  padding: 0;
  margin: 0;
	
}
body {
  color: var(--red);
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  background: var(--yellow);
  letter-spacing: 0.06em;
}
.contact{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* mainタグが可変になるようにする */
.contact .main {
  flex: 1;
}

/* footerのスタイル設定 */
.contact footer {

  text-align: center;
  padding: 10px;
}
/*
COMMON
================================================ */
p {
  line-height: 1.7;
  font-size: 14px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
	 pointer-events: none;
    user-drag: none;
    -webkit-user-drag: none;
}
/*
LAYOUT
================================================ */
.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
/* リンク挙動一括設定 */
a {
  color: var(--red);
  transition: opacity 0.3s ease;
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
}
/* 要素非表示用クラス */
/* 適用元のdisplayに点数負けするのを防ぐため!importantを使用 */
li,ul {
  list-style: none;
  box-sizing: border-box;
}
/*reCAPTCHA非表示*/
.grecaptcha-badge { visibility: hidden; }
/* ======================================================
  共通部分
========================================================= */
/* ヘッダー */
.header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 20px;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  background-color: var(--yellow);
}
.header-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  width: 150px;
}
@media (max-width: 798px) {
  .header-logo {
    width: 130px;
  }
}
.logo-link {
  display: block;
  transition-duration: 300ms;
}
.logo-link:hover {
  opacity: 0.6;
}
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    transition-duration: 300ms;
    transform: translateX(200%);
    overflow: auto;
    background-color: var(--yellow);
  }
  .nav-menu.active {
    transform: translateX(0);
  }
}
@media (min-width: 1024px) {
  .nav-menu {
    padding-top: 0 !important;
  }
}
@media (min-width: 1025px) {
  .menu-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: clamp(20px, 2.0833333333333335vw, 40px);
  }
}
.menu-link {
  display: block;
  color: var(--red);
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}
.menu-link:hover {
  opacity: 0.6;
}
/* ハンバーガーメニューの線の色を変えたい時 */
.nav-menu.active .menu-link {
  color: var(--red);
  font-weight: 600;
}
@media (max-width: 1024px) {
  .menu-link {
    font-size: clamp(14px, 1.0416666666666667vw, 20px);
    padding-top: clamp(10px, 2.6666666666666665vw, 20px);
    padding-bottom: clamp(10px, 2.6666666666666665vw, 20px);
    text-align: center;
    /* ナビメニューの文字色を変えたい時 */
    color: var(--red);
  }
.menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列のグリッド */
    gap: 10px;
    padding: 0;
    list-style: none;
justyfy-content:center;
align-items: center;
}
.menu-item img {
width: 60px;
    height: auto; 
display:block;
margin: 0 auto 5px;
}
.menu-item:nth-child(1) {
    grid-column: span 2; /* 1行目：1つの要素で全幅 */

}

.menu-item:nth-child(2),
.menu-item:nth-child(3) {
    grid-column: span 1; /* 2行目：2列配置 */
}

.menu-item img:nth-child(4),
.menu-item img:nth-child(5) {
width: 90px;
}
.menu-item:nth-child(4),
.menu-item:nth-child(5) {
    grid-column: span 1; /* 3行目：2列配置 */
}

.menu-item:nth-child(6) {
    grid-column: span 2; /* 4行目：1つの要素で全幅 */
}
}
@media (min-width: 1025px) {
  .menu-link {
    font-size: clamp(14px, 1.0416666666666667vw, 20px);
  }
}
.hamburger-button {
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  height: clamp(13px, 3.466666666666667vw, 26px);
  margin-right: 0;
  margin-left: auto;
  cursor: pointer;
}
.hamburger-lines {
  position: relative;
  width: 30px;
  height: 15px;
}
.hamburger-lines.active {
  height: 1px;
}
.hamburger-lines .line {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  width: 30px;
  height: 1px;
  margin: auto;
  /* ハンバーガーメニューの線の色を変えたい時 */
  background-color: var(--red);
}
.hamburger-lines.active .line {
  /* ハンバーガーメニューオープン時の線の色を変えたい時 */
  background-color: var(--red);
}
.hamburger-lines .line:nth-child(1) {
  top: 0;
}
.hamburger-lines .line:nth-child(2) {
  bottom: 0;
}


@media (min-width: 1024px) {
  /* タブレットサイズ以上でハンバーガーメニューを丸ごと非表示 */
  .hamburger-button {
    display: none;
  }
 .menu-item img {
   display: none; /* 画像を非表示 */
    }
}
/* フッター */
.footer {
  width: 100%;
  padding-block: 1em;
  background-color: var(--red);
  position: sticky;
  padding: 20px;
}
.footer__text {
  font-size: 9px;
  font-weight: 200;
  text-align: center;
  color: var(--yellow);
}
.sns-list {
  display: flex;
  justify-content: center;
  gap: 3%;
}
.sns-list a {
  color: var(--yellow);
}
.sns-list li:nth-child(1) {
  width: 32px;
  line-height: 1.4em;
}
.fa-brands {
  font-size: 25px;
}
.banner {
  display: flex;
  gap: 5%;
  justify-content: center;
  margin: 20px 0;
}
.banner-inner {
  width: 120px;
}
.banner-inner p {
  margin-bottom: 3px;
  font-size: 11px;
  color: #fff;
  text-align: center;
  letter-spacing: 0.2em;
}
.arrow {
  position: absolute;
  right: 20px;
  bottom: 30px;
  color: var(--yellow);
  font-size: 30px;
}
/* ======================================================
  TOPページ
========================================================= */
/* TOPとProfileの背景設定 */
.first-view {
  height: 100vh;
  position: relative;
}
/* タイトルロゴ */
.slider-wrapper {
  margin-top: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  /* Safari用 */
  transform: translate(-50%, -50%);
}
#slider {
  border-radius: 56% 44% 53% 47% / 43% 55% 45% 57%;
  width: 80vw;
  aspect-ratio: 5/3;
  height: auto;
}
#slider img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.based {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 200;
  background-color: var(--red);
  width: 260px;
  height: 200px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  bottom: 100px;
  left: -20px;
  animation: based 1s infinite;
  animation-duration: 3s;
}
@media (max-width:798px) {
  #slider {
    border-radius: 57% 43% 57% 43% / 47% 56% 44% 53%;
    height: 60vh;
  }
  .based {
    bottom: 80px;
    left: 0;
    width: 220px;
    height: 120px;
    font-size: 11px;
  }
  .slider-wrapper {
    top: 45%;
    left: 50%;
    -webkit-transform: translate(-50%, -45%);
    /* Safari用 */
    transform: translate(-50%, -45%);
  }
}
@keyframes based {
  0% {
    border-radius: 50% 50% 70% 68% / 60% 80% 60%60%;
  }
  10% {
    border-radius: 60% 50% 70% 60% / 80% 70% 80% 80%;
  }
  40% {
    border-radius: 50% 60% 60% 70% / 70% 80% 70% 70%;
  }
  60% {
    border-radius: 40% 60% 50% 80% / 80% 70% 70% 60%;
  }
  30% {
    border-radius: 50% 70% 50% 70% / 60% 80% 80% 70%;
  }
  100% {
    border-radius: 50% 50% 70% 68% / 70% 80% 90% 70%;
  }
}
.based div:before {
  display: block;
  content: '';
  padding-top: 100%;
}
.home-blog {
  background: url(img/base.png) top/cover;
  padding-bottom: 150px;

}
.section-title {
  width: 100px;
  height: auto;
  margin: 0 auto;
}
.archive .section-title, .single .section-title, .contact .section-title {
  margin-top: 160px;
}
.title-wrapper {
  margin: 80px 0;
}
.single .title-wrapper, .archive .title-wrapper, .contact .title-wrapper {
  margin-top: 150px;
}
.title-wrapper p {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  font-size: 24px;
  letter-spacing: 0.2em;
  text-align: center;
}
.title-wrapper p:last-child {
  font-size: 10px;
  line-height: 0.5em;
}
.instagram-wrapper{
marign-bottom: 150px;}

/* ======================================================
  BLOGページ
========================================================= */
.archive .archive-list-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 25px;
column-gap: 15px;

}
@media (max-width: 768px) {
  .archive .archive-list-wrapper {
    grid-template-columns: repeat(2, 1fr);
   
  }
}
@media (max-width: 640px) {
  .archive .archive-list-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    row-gap: 15px;

  }
}
.post-item {
  background: #fff;
  border-radius: var(--round-md);
  width: 100%;
  position: relative;
}
.home .post-item {
  width: 40vw;
  margin: 0 8px;
}
@media (max-width: 640px) {
  .home .post-item {
    width: 70vw;
    margin: 0 8px;
  }
}
.post-item .wp-post-image {
  border-radius: var(--round-md) var(--round-md) 0 0;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.post-header{
  padding: 50px;
}
.post-content {
  padding: 1rem 1rem;
}

.post-title {
  min-height: 3em; /* 2行分の高さ */
  line-height: 1.5em; /* 1行の高さ */
  overflow: hidden;


}
@media (max-width: 640px) {
  .archive .post-title {
    line-height: 1.2em; /* 行の高さを調整 */
    max-height: 1.2em; /* 1行分の高さに制限 */
    min-height:0;
    overflow: hidden;
    white-space: nowrap; /* テキストを折り返さない */
    width: 100%;
   

  }
}

.post-title a {
  color: var(--deepgrey);
}
.post-date {
  color: var(--red);
  font-size: var(--font-sm);
}
.post-categories {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.post-categories li {
  background: var(--red);
  border-radius: var(--round-sm);
  padding: .3rem .5rem;
  line-height: 1em;
}
.post-categories li a {
  color: var(--yellow);
  font-size: var(--font-sm);
}
@media (max-width: 798px) {
  .post-categories li a {
    font-size: 10px;
  }
}
/* New mark */
.new-mark {
  display: inline-block;
 border: 1px solid var(--red);
  font-size: var(--font-sm);
  border-radius: 46% 54% 36% 64% / 58% 55% 45% 42% ;
  margin-left:2px;
  line-height: 1;
  padding: .3em .3em;
  animation: smooth-blink 2s ease-in-out infinite;

}

@keyframes smooth-blink {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0;
  }
}
/* Post navigation */
.wp-pagenavi {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.wp-pagenavi span, .wp-pagenavi a {
 

  aspect-ratio: 1/1; /* 正円の比率 */
  width:35px; /* 幅に合わせて高さが自動調整される */
  border: 1px solid var(--red);
  border-radius: 50%; /* 正円にする */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  font-size: 0.9375rem;
  transition: 0.3s ease-in;
}
.wp-pagenavi span:not(:last-child), .wp-pagenavi a:not(:last-child) {
  margin-right: 2.622%;
}
.wp-pagenavi span, .wp-pagenavi a {
    font-size: 0.875rem;
}
.wp-pagenavi span.current {
  border: 1px solid rgb(214, 27, 27);
  color: rgb(214, 27, 27);
}

.back-button {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 40px;
}

.back-button a {
  padding: .5rem .8rem .5rem;
  background: var(--red);
  border-radius: var(--round-sm);
  color: var(--yellow);
  box-shadow: 0 4px 10px rgba(100, 100, 120, .3);
  font-size: 0.9375rem;

}

/* ======================================================
  PROFILEページ
========================================================= */
.profile-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}
.profile .section-title {
  padding-top: 160px;
}
@media (max-width: 798px) {
  .profile-inner {
    flex-direction: column;
    gap: 1.5em;
  }
}
.profile-text span {
  font-size: 16px;
  display: block;
  font-weight: 600;
  line-height: 2.2em;
}
.kojin {
  background-color: #EAE7D0;
  border-radius: 50% 50% 43% 57% / 55% 58% 42% 45%;
  width: 280px;
  height: 230px;
  /*display:flexで中央配置*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  line-height: 1.6em;
  letter-spacing: 0.2em;
  font-weight: 200;
  z-index: 30;
  position: relative;
  flex-direction: column;
  color: var(--brown);
}
.kojin-img {
  width: 70px;
  margin-top: -50px;
}
/* ======================================================
  GALLERYページ
========================================================= */
.instagram_gallery {
  margin: 150px auto 50px;
  
}


.instagram_gallery img {
  width: 300px;
  margin-bottom: 10px;
}
.instagram_gallery p {
  font-size: 12px;
  color: var(--brown);
}
.instagram-wrapper{display: grid;
  grid-template-columns: repeat(3,1fr);
  place-items: left;  
  gap:2%;
  margin-bottom: 150px;
}
.instagram-media{width: 30vw!important;}

@media (max-width: 640px) {
  .instagram-wrapper{
    grid-template-columns: repeat(1,1fr);

    place-items: center;  

  }
  .instagram_gallery{text-align: center;}
  .instagram-media{width: 70vw!important;}

}
/* ======================================================
fadein
========================================================= */
.inview {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.is-show {
  opacity: 1;
  transform: translateY(0);
}
/*
SINGLE / PAGE ARTICLE
================================================ */
.single .post-title {
  font-size: var(--font-lg);
}
.single .post-header {
  padding: 1rem 0.8rem  1rem;
}.archive .post-header, .home .post-header {
  padding: 0.5rem 0.8rem;
}
@media (min-width:768px){
  .single .post-header{
    padding:  2rem 3rem 0;
  }
  .post-content{
  padding: 1rem 3rem 2rem;}
}
.single .wp-post-image + .post-header{
  padding-top: 1rem;
}
.post-content {
  padding-bottom: 1rem;
  color: var(--deepgrey);
  text-align: justify;
  letter-spacing: 0.05em;
}
.post-content a {
  color: var(--red);
  text-decoration: underline;
}
.post-content a:hover {
  color: var(--pink);
}
.post-content h2 {
  font-size: var(--font-lg);
  background: url(../img/favicon.svg) left top/24px 28px no-repeat;
  border-bottom: 2px solid #eee;
  padding: 0 .5rem .75rem 2rem;
  margin: 3rem 0 .5rem;
}
.post-content h3 {
  font-size: var(--font-lg);
  margin-top: 2rem;
}
.post-content h4, .post-content h5, .post-content h6 {
  font-weight: bold;
}
.post-content h3, .post-content h4, .post-content h5, .post-content h6, .post-content p, .post-content ul, .post-content ol, .post-content figure, .post-content blockquote, .post-content pre {
  margin-bottom: 1rem;
}
.post-content figcaption {
  font-size: var(--font-sm);
  text-align: center;
  margin-top: 5px;
}
.post-content img {
  margin-bottom: .5rem;
  height: auto;
  width: 100%;
}
.post-content .wp-block-image:not(.is-style-rounded) img {
  border-radius: var(--round-md);
}
.post-content ul, .post-content ol {
  padding-left: 2rem;
}
.post-content ul {
  list-style: square;
}
.post-content ol {
  list-style: decimal;
}
.post-content li {
  line-height: 1.5;
  list-style: square;
}
.post-content li::marker {
  color: var(--red);
}
.post-footer {
  padding-bottom: 1rem;
}
.post-content code, .post-content kbd {
  background: #eee;
  padding: 3px;
  border-radius: 3px;
  margin: 0 3px;
}
/*
TAG LIST
================================================ */
.tags-links ul{

  margin-left: 10px;
}
.tags-links li {
  display: inline-block;
  font-size: var(--font-sm);
  border: 1px solid var(--red);
  border-radius: var(--round-sm);
  padding: .3rem .3rem .3rem;
  margin-right: 5px;
}
.tags-links a::before {
  content: '#';
  color: var(--red);
  margin-right: .25rem;
}
.tags-links a:hover {
  color: var(--red);
}
/*
CONTACT / PAGE 
================================================ */
.smf-action .smf-button-control__control {
    font-size: 1em;
    background-color: var(--red);
    background-image: none;
    color: #fff;
    border: none;
    transition: box-shadow 0.25s;
    border-radius: 80px;
    display: inline-block;
    letter-spacing: 1px;
    line-height: 1.5;
    margin: 0;
    min-width: 160px;
    padding: 1em 2em;
    position: relative;
    text-decoration: none;
    width: auto;
}
.smf-text-control__control,.smf-textarea-control__control{
border: none !important;
    background-color: #fff;
width: 100%; /* 幅を100%にする */
    max-width: none; /* 最大幅の制限を解除 */
}
.smf-action .smf-button-control__control:hover {
    border-color: inherit!important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1), 0 12px 24px -12px rgba(0, 0, 0, .2);
}
.smf-placeholder{
	color: var(--deepgrey);
}
BLOCK
================================================ */
.wp-caption {
  max-width: 100%;
}
a.wp-block-button__link {
  color: var(--white);
  text-decoration: none;
}
.wp-block-code {
  font-family: Menlo, Consolas, monaco, monospace;
  padding: 0.8em 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: var(--font-sm);
  line-height: 1.5;
}
.wp-block-code code {
  background: none;
}
.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}
.wp-block-table thead {
  border-bottom: 3px solid;
}
.wp-block-table td, .wp-block-table th {
  padding: 0.5em;
  border: 1px solid;
  word-break: normal;
}
.wp-block-separator {
  margin: 2rem auto;
  border-color: var(--light-grey);
  width: 100px;
}
.wp-block-calendar {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
/*
GALLERY
================================================ */
.gallery{
	text-align:center !important;
}
.ngg-galleryoverview  img{
    border-radius: 52% 48% 55% 45% / 44% 49% 51% 56%; /* 角丸のサイズは自由に調整 */
}

.ngg-galleryoverview {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px !important;
    justify-content: center !important;
	width: 100%;
	height: auto;
}

.ngg-navigation {
    grid-column: 1 / -1; /* グリッドの全幅を使う */
    text-align: center;  /* 中央揃え */
    display: block;
    margin-top: 20px;    /* 適宜マージンを調整 */
}

/* 各ページボタンのデザイン */
.ngg-navigation a.page-numbers,
.ngg-navigation a.next,
.ngg-navigation a.prev,
.ngg-navigation span.page-numbers,
.ngg-navigation span.next,
.ngg-navigation span.prev,
.ngg-navigation span.current {
    display: inline-block;
    aspect-ratio: 1/1; /* 正円の比率 */
    width: 35px; /* 幅に合わせて高さが自動調整される */
    border: 1px solid var(--red);
    border-radius: 50%; /* 正円にする */
    overflow: hidden;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    font-size: 0.9375rem;
    transition: 0.3s ease-in;
    font-weight: normal; 
    color: var(--red);
	background-color: #eae7d0;}

.ngg-navigation span.current {
    border: 1px solid rgb(214, 27, 27);
    color: rgb(214, 27, 27); 
    background-color: #eae7d0 !important;
}
.ngg-navigation a.page-numbers:hover,
.ngg-navigation a.next:hover,
.ngg-navigation a.prev:hover,
.ngg-navigation span.page-numbers:hover,
.ngg-navigation span.next:hover,
.ngg-navigation span.prev:hover,
.ngg-navigation span.current:hover {
    background-color: #eae7d0 !important; /* 背景色 */
    color: var(--red) !important; /* 文字色 */
opacity:0.6;}

.ngg-navigation span:not(:last-child), .ngg-navigation a:not(:last-child) {
  margin-right: 2.622% !important;
}
/* トップページのみページネーション非表示 */
.home .ngg-navigation {
    display: none !important;
}
.home .ngg-galleryoverview {
    display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
	justify-content: center; /* グリッド全体を中央に配置 */
    margin: 0 auto;
}
.top-gallery {
    text-align: center; /* 親要素内の要素を中央揃えにする */
}

.top-gallery .menu-link {
    display: inline-block;
	border-bottom: 1px solid var(--red);
    padding: 3px;
    margin: 10px auto; /* 上下に10px、左右自動 */
    width: auto; /* 幅を自動で調整 */
}
@media (max-width: 768px) {
    .home .ngg-galleryoverview {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}