/*
 Theme Name:   water-katsu
 Theme URI:    https://water-katsu.tokyo/
 Description:  water-katsu Theme
 Author:       yozona
 Version:      1.0.8
 License:      
 Tags:         
 Text Domain:  
*/


/* 全体 */

html {
    font-size: 16px;
    font-family: "M PLUS 1", sans-serif;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.1em;
    scroll-behavior: smooth;
}

body {
    background-color: transparent;
}

section p {
    line-height: 1.7em;
}

img {
    max-width: 100%;
}

.raleway {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.main-content h1 {
    font-family: "Raleway", sans-serif;
    color: #0daceb;
    font-size: 32px;
    font-weight: 600;
    margin: 60px auto 40px;
    text-align: center;
    text-shadow: 2px 1.5px 1px #0daceb75;
}

.main-content h3 {
    color: #0daceb;
    font-size: 16px;
    font-weight: 600;
    margin: 30px auto 20px;
}

/* トップ画像 */

#cov-top-vg {
    width: 100%;
    height: fit-content;
    background-image: url(images/top.jpeg);
    background-size: cover;
    overflow: hidden;
}

#top-vg {
    width: 100%;
    height: 80vh;
    background-color: transparent;
    display: grid;
    filter: blur(0);
    box-shadow: inset 0 0 200px #00000530, inset 0 0 100px #00000530;
    justify-content: center;
    align-content: center;
}

.topimg-rand {
    width: 100%;
    height: auto;
    place-items: center;
}

.topimg img {
    display: block;
    width: auto;
    height: 80vh;
}

@media screen and (max-width: 700px) {

.topimg img {
    width: 100vw;
    height: auto;
}
}

.prof-photo {
    position: relative;
}

.prof-photo-name {
    position: absolute;
    bottom: 30px;
    left: 5%;
    color: #fdfeff;
    text-shadow: 1px 1px 2px #000005;
    margin: 0;
}

/* ヘッダー */

.nav1-list-box {
    width: 100%;
    height: 60px;
    background-color: #fdfeff;
    padding-left: 5%;
    justify-content: space-between;
    align-content: center;
    z-index: 200;
}

.nav1-list-box .nav1-button {
    width: 30px;
    height: 30px;
    background-color: transparent;
    display: grid;
    place-items: center;
}

.nav1-list-box .bento-button {
    width: 8px;
    height: 8px;
    background-color: #0daceb;
    box-shadow: -11px 0 0 #0daceb, 11px 0 0 #0daceb, -11px 11px 0 #0daceb, 0 -11px 0 #0daceb, 11px -11px 0 #0daceb, -11px -11px 0 #0daceb, 0 11px 0 #0daceb, 11px 11px 0 #0daceb;
    transition: all .3s ease-in-out;
}

.bento-button.open-change {
    border-radius: 100%;
    box-shadow: 11px 0 0 transparent, -11px 0 0 transparent, 11px -11px 0 #08a000, 0 11px 0 transparent, -11px 11px 0 #08a000, 11px 11px 0 #966b00, 0 -11px 0 transparent, -11px -11px 0 #966b00;
}

.nav1-list-box .nav1-logo {
    width: fit-content;
    height: fit-content;
}

.nav1-list-box .nav1-logo img {
    width: 140px;
    height: auto;
}

.header-fixed {
    position: fixed;
    top: 17.5px;
    right: 5%;
    z-index: 400;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 40px;
    align-items: center;
}

@media screen and (max-width: 700px) {

.header-fixed {
    font-size: 12px;
    gap: 20px;
}

}

.nav2-list-box ul{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    font-size: 16px;
    color: #000005;
}

.nav2-list-box li{
    height: auto;
    border-top: #fdfeff 1px solid;
    border-bottom: #fdfeff 1px solid;
    border-left: #fdfeff 1px solid;
}

.nav2-list-box li:hover{
    height: fit-content;
}

.nav2-list-box li a{
    height: fit-content;
    padding: 7.5px 0;
    display: block;
    background-color:#fdfeff;
    box-shadow: inset 0px 0px 40px 0px #0daceb80;
}

.nav2-list-box li:first-child{
    border-left: none;
}

.nav2-list-box li a:hover{
    color: #fdfeff;
    background-color:#0daceb;
    transition: .15s ease-out;
    z-index: 100;
    box-shadow: inset 0px 0px 40px 0px #fdfeff;
}

.current {
    color: #0daceb;
    font-weight: 600;
}

.search-button {
    width: fit-content;
    height: fit-content;
    padding: 5px;
    background-color: #fdfeff;
    color: #0daceb;
    border: 1px solid #0daceb;
}

.search-button:hover {
    opacity: .6;
    transition: .15s ease-out;
}

/*  */

/* ぺージアップ */

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 3%;
    bottom: 20px;
    background: #fdfeff;
    border: 1px solid #0daceb;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 2px solid #0daceb;
    border-right: 2px solid #0daceb;
    transform: translateY(20%) rotate(-45deg);
}

.pagetop-active {
  opacity: .9;
  visibility: visible;
}

/* 記事＆プロフィール */
.prof-content {
    font-size: 12px;
}

/* 飲料水検索窓 */

.search-box {
    width: 100%;
    height: fit-content;
    padding: 25px 5%;
    border: 1px solid #0daceb;
    background: linear-gradient(to bottom right, #fdfeff, #0daceb88, #fdfeff);
    margin: 0 auto;
    border-radius: 25px;
}

.search-box p {
    font-size: 12px;
    margin-bottom: 3.5px;
}

.search-box-grid1 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    place-items: center;
    width: fit-content;
    margin: 0 auto;
    gap: 20px;
}

.search-box-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: fit-content;
    margin: 0 auto;
    gap: 0 60px;
}

.input-group {
    margin: 10px 0;
    font-size: 16px;
}

@media screen and (max-width: 700px) {

.search-box-grid2 {
    grid-template-columns: repeat(2, 1fr);
}

.input-group {
    font-size: 12px;
}

}

.input-group select, .input-group input {
    width: fit-content;
    border: 1px solid #707070;
    background-color: #fdfeff;
    padding: 5px;
    outline: 0;
    border-radius: 5px;
}

.search-box button {
    width: fit-content;
    border: 1.5px solid #0daceb;
    background-color: #fdfeff;
    padding: 7.5px;
    outline: 0;
    border-radius: 5px;
}

.search-box button:hover {
    opacity: 0.8;
}

/* 検索結果ページ */

.search-return-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, 150px);
    justify-content: space-between;
    gap: 40px 10px;
}

.search-return-items p {
    margin-top: 5px;
}

.search-return-items img {
    height: 150px;
}

.search-return-items a:hover {
    transition: all 0.3s ease;
    filter: brightness(1.15);
}

.search-return-button {
    color: #000005;
    background-color:#fdfeff;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: inset 0px 0px 20px 0px #0daceb;
    transition: all .15s ease-out;
    padding: 5px 0;
    margin: 40px auto 40px;
    width: 175px;
    text-align: center;
}

.search-return-button:hover {
    color: #fdfeff;
    background-color:#0daceb;
    box-shadow: inset 0px 0px 20px 0px #fdfeff;
}

/* 弁当メニュー */

.menu-links {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(2, auto);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fdfeff;
  font-weight: 600;
  opacity: 0;
  z-index: -300;
  transition: all .6s ease-in-out;
  pointer-events: none;
  padding: 0 17.5%;
}

.menu-links ul {
  display: flex;
  width: fit-content;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  list-style: none;
}

.menu-links a {
  font-size: 16px;
  color: #000005;
  text-decoration: none;
}

@media screen and (max-width: 700px) {
.menu-links a {
    font-size: 12px;
}
}

.menu-links li {
  width: fit-content;
  list-style: none;
  margin: 20px 0;
}

.menu-links li a {
  font-weight: 600;
}

.menu-links li a:hover {
  color: #0daceb;
}

.menu-links.open {
  max-height: 100vh;
  opacity: 0.9;
  z-index: 300;
  pointer-events: auto;
}

/* bodyメイン部分 */

.main-content {
    width: 100%;
    padding: 0 20%;
}

@media screen and (max-width: 700px) {

.main-content {
    width: 100%;
    padding: 0 5%;
}

}

/* フッター */

footer {
    font-family: "Raleway", sans-serif;
    margin-top: 60px;
    border-top: 1px solid #fdfeff;
    background-color:#fdfeff;
    box-shadow: inset 0px 0px 80px 0px #0daceb80;
}

.footer-menu {
    font-size: 12px;
    padding: 20px 0 15px;
    font-weight: 600;
}

.footer-menu ul {
    display: flex;
    justify-content: center;
}

.footer-menu li {
    border-left: #000005 1px solid;
    width: 200px;
    text-align: center;
    padding: 5px 0;
}

.footer-menu li:first-child {
    border-left: none;
}

.footer-copy {
    text-align: center;
    font-size: 8px;
    padding: 10px 0;
}

/* ローディングアニメーション */

.loader-bg {
  background-color: #fdfeff;
  height: 100vh;
  width: 100vw;
  place-content: center;
  position: fixed;
  top: 0;
  z-index: 9999;
  transition: opacity 1000ms ease, visibility 1000ms ease;
  opacity: 1; /* 初期状態：表示 */
  visibility: visible;
  transition-delay: 4000ms;
  transition-property: opacity, visibility;
}

.loader-bg.hidden {
  opacity: 0; /* フェードアウト */
  visibility: hidden;
}

.cls-1{
  stroke: #0daceb;
  stroke-dasharray: 2500;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello 3500ms ease-in 0s;
  animation: hello 3500ms ease-in 0s;
}

  @-webkit-keyframes hello {
      0% {
        stroke-dashoffset: 2500;
        fill: transparent;
      }
      20% {
        stroke-dashoffset: 2500;
        fill: transparent;
      }
      60% {
        fill: transparent;
      }
      100% {
        stroke-dashoffset: 0;
        fill: #0daceb;
      }
    }

/* 背景に雫 */

.case{
    background: #fdfeff;
    color: white;
    font-weight: 600;
    width: 100vw;
    height: 100vh;
    position:relative;
    overflow: hidden;
    z-index: -2;
    position: fixed;
    top: 0;
    left: 0;
}

/* パーティクルエリア */
.particle-container {
    position:absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    z-index: -1;
}

/* 雫型の基本スタイル */
.star {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #b0e9ff;
    border-radius: 100% 0% 100% 60%;
    transform: rotate(135deg) skew(10deg, 10deg);
    bottom: 0; /* 下からスタート */
    opacity: 0; /* 初期状態は透明 */
    animation: drop 5s linear infinite; /* アニメーション速度をゆっくりに変更 */
    display: block;
}

span{
    display: block;
    margin: 0 auto;
}

/* 雫のアニメーション */
@keyframes drop {
    0% {
        transform: translateY(-100vh) scale(0.5) rotate(-45deg);
        opacity: 0; /* 透明で開始 */
    }
    30% {
        opacity: 1; /* 徐々に表示 */
    }
    70% {
        opacity: 1; /* 完全に表示されたまま維持 */
    }
    100% {
        transform: translateY(0) scale(1.2) rotate(-45deg);
        opacity: 0; /* 再び透明に */
    }
}

/* 投稿一覧 */

.wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(auto-fit, 150px);
    justify-content: space-between;
    gap: 40px 10px;
}

.wp-block-post-title {
    font-size: 12px;
    margin: 5px 0;
}

.wp-block-post-template .wp-block-post {
    position: relative;
}

.wp-block-post-template .wp-block-post figure:hover {
    transition: all 0.3s ease;
    filter: brightness(1.15);
}

.wp-block-post-date {
    font-size: 12px;
    color: #0daceb;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    position: absolute;
    top: -15px;
    left: 0;
}

.wp-block-query-pagination {
    margin: 40px 0;
    justify-content: center;
}

.wp-block-buttons {
    margin: 20px auto 40px;
}

.wp-block-buttons>.wp-block-button {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    width: 175px;
    text-align: center;
}

a.wp-block-button__link {
    color: #000005;
    background-color:#fdfeff;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: inset 0px 0px 20px 0px #0daceb;
    transition: all .15s ease-out;
    padding: 5px 0;
}

a.wp-block-button__link:hover {
    color: #fdfeff;
    background-color:#0daceb;
    box-shadow: inset 0px 0px 20px 0px #fdfeff;
}

/* テーブルレイアウト */

.wp-block-table .has-fixed-layout {
    width: fit-content;
}

.wp-block-table {
    width: 90%;
    min-width: 300px;
    height: fit-content;
    padding: 40px 3% 20px;
    background: linear-gradient(to bottom right, #fdfeff, #0daceb88, #fdfeff);
    margin: 0 auto;
}

table, tbody, td, th, tr {
    border: none !important;
}

.main-content .center {
    width: fit-content;
    margin: 0 auto 40px;
}

.main-content .center img {
    width: 40vw;
    height :auto;
}

.prof-content h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 40px 0 20px;
}

.prof-content p {
    margin: 20px;
    padding: 0 3%;
}

@media screen and (max-width: 700px) {

.main-content .center img {
    width: 90vw;
}
}

.is-layout-flex {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.wp-block-social-links, .wp-block-social-links.has-normal-icon-size {
    font-size: 16px;
}

.wp-block-social-links {
    margin: 20px 0;
}