@charset 'UTF-8';
/*
Theme Name: Yokoyama Temple
Description: WordPressオリジナルテーマ制作用デモ
Version: 1.0
Author: Hana
*/

/*
COLORS
================================================ */
:root {
  /* Color */
  --light-grey: #ccc;
  --grey: #666;
  --dark-grey: #707070;
  --green: #7bba93;
  --dark-blue: #39565c;
  --white: #fff;
  --pale-yellow: #f9f9f4;

  /* Font/Space Size */
  --font-sm: 0.75rem;
  --font-md: 1rem;
  --font-lg: 1.25rem;
  --font-xl: 1.625rem;

  /* Border Radius Size */
  --round-sm: 6px;
  --round-md: 10px;
  --round-lg: 50%;
}

html {
  scroll-behavior: smooth;
}
html.wf-loading .site-description {
  visibility: hidden;
}

html.wf-active .site-description {
  visibility: visible;
}

/*
GENERAL STYLING
================================================ */
body {
  color: #0a0a0a;
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  font-weight: normal;
  background: white;
  /* 追加した */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/*
COMMON
================================================ */
p {
  line-height: 1.7;
}
img,
iframe {
  max-width: 100%;
}

/*
LAYOUT
================================================ */
.wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/*
HEADER
================================================ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1;
  background: white;
  /* 
  -webkit-clip-path: ellipse(100% 100% at 50% 0);
  clip-path: ellipse(100% 100% at 50% 0); 
  */
}
.site-logo {
  height: 60px;
}

/* Navigation */
.secondary-navigation {
  display: none;
}
.btn-menu {
  color: #0a0a0a;
  border: 1px solid #0a0a0a;
  border-radius: var(--round-sm);
  padding: 0.5rem 0.5rem;
  font-size: 0.85rem;
}
.admin-bar .btn-menu {
  top: calc(1rem + 46px);
}
.menu-wrapper {
  background: rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  top: 100%;
  position: absolute;
  z-index: 1;
  right: 0;
  overflow-x: hidden;
  text-align: center;
  width: 0;
  height: calc(100vh - 60px - 16px);
  transition: 0.5s;
}
.menu-wrapper li {
  padding: 0.8rem 9rem;
  text-align: left;
}
.menu-wrapper a {
  white-space: nowrap;
}
.menu-wrapper.open-menu {
  width: 100%;
}

.hero {
  height: 50vh;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  opacity: 0;
  transform: scale(1.05);
  animation: fadeZoom 25s infinite;
}
.s1 {
  background-image: url(images/daishi/DSC00146_resize.jpg);
  animation-delay: 0s;
}
.s2 {
  background-image: url(images/daishi/DSC00157_resize.jpg);
  animation-delay: 5s;
}
.s3 {
  background-image: url(images/daishi/DSC00141_resize.jpg);
  animation-delay: 10s;
}
.s4 {
  background-image: url(images/daishi/DSC00150_resize.jpg);
  animation-delay: 15s;
}
.s5 {
  background-image: url(images/daishi/DSC00122_resize.jpg);
  animation-delay: 20s;
}
/* 追加OK */

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  4% {
    opacity: 1;
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  40% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

/*
MAIN
================================================ */
.main-contents {
  margin-bottom: 1rem;
  flex: 1;
}
section {
  scroll-margin-top: 120px;
}

/*
POST LIST
================================================ */
.site-description {
  font-family: shippori-mincho-b1, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.87rem;
  font-weight: bold;
  line-height: 1.42;
  margin: 2rem 0;
}
.site-description span {
  letter-spacing: 0.1rem;
}
.site-description .desc-sp {
  letter-spacing: 0.001rem;
}
.site-detail {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  font-weight: 300;
}
.site-about {
  margin-bottom: 6rem;
}
.site-about li:first-child {
  margin-bottom: 1.5rem;
}
.site-about a {
  display: inline-block;
  position: relative;

  text-decoration: none;

  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 0.8rem;
  transition: 0.2s;
}
.site-about a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  background: #000;
  width: 100%;
  height: 1px;
  transition: width 0.6s;
}
.site-about .about-text {
  margin-right: 2.5rem;
  transition: transform 0.3s;

  position: relative;
  display: inline-block;

  transition: transform 0.3s;
}

.site-about .about-text::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 0;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: -1.86rem;
  bottom: 0;
  margin: auto;
}
.site-about a::after {
  content: "";
  width: 25px;
  height: 25px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0.7rem;
  margin: auto;
  z-index: -1;
  transition: transform 0.6s;
}

/* アイコンだけhover */
@media (hover: hover) {
  .site-about a:hover:after {
    transform: scale(1.1);
  }
  .site-about a:hover:before {
    right: 0;
    left: auto;
    width: 0;
  }
}
@media (hover: none) {
  .site-about a:active {
    opacity: 0.4;
  }
}

/*景色写真 & テキスト*/
.section-landscape {
  text-align: center;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  position: relative;
  margin-bottom: 6rem;
  overflow: hidden;
}
.section-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.5) 20%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}
.section-landscape img {
  width: 100%;
  height: 100%; /* 好きな高さ */
  display: inline-block;
}
.landscape-text {
  font-family: "goldenbook", serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  bottom: -27px;
  color: #fff;
  font-size: 6rem;
  white-space: nowrap;

  animation: scrollText 100s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0); /* 右外からスタート */
  }
  100% {
    transform: translateX(-50%); /* 左外へ流れる */
  }
}
.post-head {
  align-items: center;

  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.home .post-list,
.archive .post-list,
.search .post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 6rem;
}
.post-item {
  background: #f5f5f5;
  border-radius: var(--round-sm);
  position: relative;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.post-item .wp-post-image {
  border-radius: var(--round-sm) var(--round-sm) 0 0;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.post-header {
  padding: 1rem;
  font-weight: bold;
}
.post-title {
  margin: 0 auto.5rem;
  line-height: 1.5;
  word-break: break-word;
  font-size: var(--font-lg);
  text-align: center;
}
.card-link .btn {
  display: block;
  margin: 1rem auto 0;
  padding: 0.5rem 1rem;
  border: 1px solid var(--grey);
  border-radius: 9999px;
  font-size: var(--font-sm);
  text-align: center;
  text-decoration: none;
  background: #f5f5f5;
  transition: 0.3s;
}
@media (hover: hover) {
  .card-link .btn:hover {
    background: #0a0a0a;
    color: var(--white);
    transition: 100ms ease-out;
  }
}
@media (hover: none) {
  .card-link .btn:active {
    background: #0a0a0a;
    color: var(--white);
    transition: 100ms ease-out;
  }
}

.post-date {
  color: var(--light-grey);
  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(--dark-blue);
  color: var(--white);
  font-size: var(--font-sm);
  border-radius: var(--round-sm);
  padding: 0.5rem;
}

/* Post navigation */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.nav-links a {
  padding: 0.75rem 1rem 0.85rem;
  background: var(--green);
  border-radius: var(--round-sm);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(123, 186, 147, 0.6);
}

/* Archive */
.page-title {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Googole Map*/
.section-map .post-head {
  margin-top: 5rem;
}
#map {
  width: 100vw;
  height: 60vh;
  margin-left: calc(50% - 50vw);
}
.map-label {
  position: absolute;
  transform: translate(-50%, 0);
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 4px;
  border-radius: 6px;
  font-size: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/*
SINGLE / PAGE ARTICLE
================================================ */
.single .post-item {
  background-color: transparent;
}
.page .post-item {
  background-color: transparent;
}
.single .post-title,
.page .post-title {
  font-family: shippori-mincho-b1, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.875rem;
  letter-spacing: 0.06rem;
  border-bottom: 1px solid #0a0a0a;
  padding-bottom: 0.75rem;
}
.page .post-title {
  font-size: 1.5rem;
}
.single .post-header {
  padding: 1rem 0;
}

.page .post-header {
  padding: 1rem 0;
}
.single .wp-post-image {
  margin-top: 1.5rem;
  border-radius: 0 0 0 0;
}
.single .wp-post-image + .post-header,
.page .wp-post-image + .post-header {
  padding-top: 1rem;
}
.post-content {
  padding: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 3rem;
}
tr {
  border-bottom: 5px solid white;
}
td:first-child {
  width: 75px;
  padding: 0.4rem;
  vertical-align: middle;
  text-align: center;
  background: #f0f0f0;
  font-size: 0.8rem;
}
td:last-child {
  padding: 0.4rem 1rem;
}
.post-content a {
  color: var(--green);
  text-decoration: underline;
}
.post-content a:hover {
  color: var(--dark-blue);
}
.post-content h2 {
  font-size: var(--font-lg);
  background: url(images/leaf-left.svg) left top/24px 28px no-repeat;
  border-bottom: 4px double var(--light-grey);
  padding: 0 0.5rem 0.75rem 2rem;
  margin: 3rem 0 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);
}
.post-content img {
  margin-bottom: 0.5rem;
  height: auto;
}
.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;
}
.post-content li::marker {
  color: var(--green);
}
.post-content blockquote {
  background: #eee;
  padding: 1rem 1rem 0.25rem 2rem;
  border-radius: var(--round-md);
  position: relative;
}
.post-content blockquote::before {
  content: "“";
  position: absolute;
  font-size: 3rem;
  color: var(--light-grey);
  top: 0;
  left: 8px;
}
.post-content blockquote cite {
  margin-bottom: 1.5rem;
  display: inline-block;
}
.post-footer {
  padding-bottom: 1rem;
}
.post-content code,
.post-content kbd {
  background: #eee;
  padding: 3px;
  border-radius: 3px;
  margin: 0 3px;
}

.post-images {
  display: grid;
  gap: 5rem;
}
.page .post-content {
  padding: 2rem 0 5rem;
}
.post-disc {
  max-width: 38rem;
}
.page .post-head {
  margin-bottom: 1.5rem;
}
.post-images p {
  margin-bottom: 1.5rem;
}
.post-painter {
  font-weight: normal;
}

.post-landscape-img img {
  max-width: 100%;
  height: auto;
  width: 65%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.post-landscape-img figure {
  margin-bottom: 2rem;
}
.post-landscape-img figcaption {
  margin: 1.5rem 0;
  font-size: var(--font-lg);
}
.post-landscape-img figcaption::after {
  content: "";
  display: block;
  width: 5rem;
  height: 3px;
  background: #000;
  margin-top: 0.8rem;
}
.post-landscape-img figure:nth-child(1) {
  text-align: left;
}
.post-landscape-img figure:nth-child(2) {
  text-align: right;
}
.post-landscape-img figure:nth-child(2) figcaption::after {
  margin-left: auto;
}
.post-landscape-img figure:nth-child(1) img {
  aspect-ratio: unset;
  width: 80%;
}
figcaption {
  font-weight: 600;
}
.post-shrine {
  margin-top: 5rem;
}
.post-img {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.post-landscape-head {
  font-size: var(--font-lg);
  font-weight: bold;
  margin: 1.5rem 0;
}
.post-landscape-head::after {
  content: "";
  display: block;
  width: 6.25rem;
  height: 3px;
  background: #000;
  margin-top: 0.8rem;
}
.post-landscape-table {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

/*=======フェードインアニメーション========*/
.fadein {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.fadein-left {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.fadeup {
  opacity: 1;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fadein.is-active {
  opacity: 1;
  transform: translateX(0);
}
.fadein-left.is-active {
  opacity: 1;
  transform: translateX(0);
}
.fadeup.is-active {
  opacity: 1;
  transform: translateY(0);
}
/*
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;
}

/*
TAG LIST
================================================ */
.tags-links li {
  display: inline-block;
  font-size: var(--font-sm);
  border: 1px solid var(--light-grey);
  border-radius: var(--round-sm);
  padding: 0.4rem 0.5rem 0.5rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}
.tags-links a::before {
  content: "#";
  color: var(--light-grey);
  margin-right: 0.25rem;
}
.tags-links a:hover {
  color: var(--green);
}

/*
FORM
================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  border: 1px solid var(--light-grey);
  border-radius: var(--round-sm);
  padding: 0.5rem;
}
input[type="submit"] {
  padding: 0.75rem 1rem 0.85rem;
  background: var(--green);
  border-radius: var(--round-sm);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(123, 186, 147, 0.6);
}

/*
COMMENTS
================================================ */
.commentlist {
  margin-bottom: 3rem;
}
h3#comments,
h3#reply-title {
  font-size: var(--font-lg);
  border-bottom: 4px double var(--light-grey);
  padding-bottom: 1rem;
  margin: 3rem 0 1rem;
}
.comment {
  position: relative;
  margin-bottom: 2rem;
}
.comment .avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--round-lg);
  position: absolute;
  top: 0;
  left: 0;
}
.comment-meta {
  font-size: var(--font-sm);
  color: var(--light-grey);
  display: block;
  margin-bottom: 0.5rem;
}
.comment-author {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}
.comment-body {
  padding-left: 3.5rem;
}
.comment-body p a {
  color: var(--green);
  text-decoration: underline;
}
/* Comment form */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  display: block;
  margin-bottom: 1rem;
  width: 100%;
}
.comment-form-cookies-consent {
  margin-bottom: 1rem;
}

/*
FOOTER
================================================ */
.site-footer {
  /*
  background: url(images/footer.svg) center top / cover no-repeat;
  */
  background-color: #0a0a0a;
  text-align: center;
  color: var(--white);
  padding: 3rem 1.5rem 3rem;
  margin-top: 6rem;
  overflow: hidden;
}
.footer-inquiry {
  text-align: left;
  border: 1px #3d3d3d solid;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.footer-inquiry h3 {
  display: inline-block;
  padding: 0.5rem;
  margin-bottom: 0.65rem;
  background-color: #3d3d3d;
}
.footer-inquiry p {
  font-size: 0.9rem;
  font-weight: normal;
}
.fa-youtube {
  font-size: 1.5rem;
}
.copyright {
  font-size: var(--font-sm);
  font-weight: normal;
}
.footer-col2 {
  margin-top: 1.25rem;
}

/*
MEDIUM SIZE
================================================ */
@media (min-width: 600px) {
  /* LAYOUT  */
  .wrapper {
    max-width: 1600px;
    padding: 0 3rem;
  }
  /* HEADER */
  .site-header {
    padding: 1.2rem 3rem;
    /* 
    -webkit-clip-path: ellipse(80% 100% at 50% 0);
    clip-path: ellipse(80% 100% at 50% 0);
    */
  }
  .site-logo {
    height: 110px;
  }
  .menu-wrapper {
    height: auto;
  }
  .menu-wrapper li {
    padding: 0.5rem 1rem;
  }
  .section-top {
    max-width: calc((1600px / 3) * 2);
  }
  .site-description {
    font-size: 3rem;
    margin: 4rem 0 3rem;
  }
  .site-detail {
    font-size: var(--font-xl);
    font-weight: 300;
    margin-bottom: 4rem;
  }
  .site-about a {
    font-size: var(--font-xl);
  }
  .section-top {
    text-align: center;
    margin: 0 auto;
  }
  .site-about .icon {
    padding-bottom: 1.2rem;
  }
  .site-about .icon::before {
    content: "";
    width: 28px;
    height: 28px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
  }
  .site-about .icon::after {
    content: "";
    width: 10px;
    height: 10px;
    border: 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 6px;
    bottom: 0;
    margin: auto;
  }

  /*背景写真 & テキスト*/
  .landscape-text {
    font-size: 10rem;
    bottom: -45px;
  }
  .post-head {
    font-size: 2.25rem;
  }

  .primary-navigation {
    display: none;
  }
  /*  
  Navigation 
  */
  .secondary-navigation {
    display: block;
  }
  .btn-menu {
    display: none;
  }
  .menu-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: none;
    position: static;
    width: 100%;
    transition: none;
    font-size: 1.6rem;
    font-weight: normal;
  }
  .menu-wrapper a:hover {
    color: var(--green);
    transition: 100ms ease-out;
  }

  /* Archive */
  .page-title {
    font-size: var(--font-xl);
    margin-bottom: 2rem;
  }

  /* MAIN */
  .hero {
    height: 88vh;
  }
  .home .post-list,
  .archive .post-list,
  .search .post-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .post-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
  }
  .post-categories li:hover {
    background: var(--dark-grey);
  }
  .nav-links a:hover {
    background: var(--dark-blue);
    box-shadow: 0 4px 10px rgba(57, 86, 92, 0.6);
  }
  .post-item .wp-post-image {
    aspect-ratio: 4 / 3;
  }

  .section-map .post-head {
    margin-top: 8rem;
  }
  #map {
    height: 80vh;
  }

  /* SINGLE / PAGE ARTICLE */
  .single .post-item {
    font-size: 1.8rem;
  }
  .single .post-item .wp-post-image,
  .page .post-item .wp-post-image {
    aspect-ratio: 16 / 9;
  }
  .single .post-item:hover,
  .page .post-item:hover {
    box-shadow: none;
  }
  .single .post-header {
    padding: 4rem 0 2rem;
  }
  .page .post-header {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .single .wp-post-image + .post-header,
  .page .wp-post-image + .post-header {
    padding-top: 2rem;
  }
  .single .post-title,
  .page .post-title {
    font-size: 3rem;
    padding-bottom: 1rem;
  }
  .post-content {
    margin-top: 3rem;
    padding-bottom: 2rem;
  }
  .page .post-content {
    font-size: var(--font-xl);
  }
  table {
    font-size: 1.5rem;
    margin-top: 5rem;
  }
  td:first-child {
    width: 120px;
    font-size: 1.2rem;
  }
  tr {
    border-bottom: 12px solid white;
  }
  .post-content h2 {
    font-size: var(--font-xl);
    margin-bottom: 1rem;
  }
  .post-content h3 {
    font-size: var(--font-xl);
    margin-top: 3rem;
  }
  .post-content h4 {
    font-size: var(--font-lg);
    margin-top: 3rem;
  }
  .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 {
    margin-bottom: 1.5rem;
  }
  .post-content img {
    margin-bottom: 1rem;
  }
  .post-content blockquote {
    padding: 1.5rem 1.5rem 0.25rem 2.5rem;
  }
  .post-content blockquote::before {
    top: 2px;
    left: 10px;
  }
  .post-footer {
    padding-bottom: 3rem;
  }
  .post-images p {
    font-size: var(--font-lg);
  }

  .post-landscape-img img {
    width: 45%;
  }
  .post-landscape-img figure:nth-child(1) img {
    width: 60%;
  }
  .post-landscape-img figcaption {
    margin: 2rem 0;
    font-size: 2rem;
  }
  .post-landscape-img figcaption::after {
    width: 8rem;
    height: 4px;
    margin-top: 1.2rem;
  }
  .post-shrine {
    margin-top: 8rem;
  }
  .post-img {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  .post-landscape-disc {
    display: flex;
    flex-direction: column;
  }
  .post-landscape-head {
    font-size: 2rem;
    margin: 2rem auto;
  }
  .post-landscape-head::after {
    content: "";
    display: block;
    width: 10rem;
    height: 4px;
    background: #000;
    margin-top: 0.8rem;
  }
  .post-landscape-table {
    margin: 3rem auto;
    max-width: 800px;
  }

  /* FOOTER */
  .site-footer {
    padding: 5rem 3rem 5rem;
    margin-top: 8rem;
  }
  .footer-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .footer-inquiry {
    display: inline-block;
    margin-bottom: 0;
    grid-row: span 3 / span 3;
  }
  .footer-col1 {
    align-self: flex-end;
    justify-self: end;
    grid-row: 2/3;
    grid-column: 2/3;
  }
  .footer-col2 {
    grid-column-start: 2;
    align-self: flex-end;
    justify-self: end;
    grid-row: 3/4;
    grid-column: 2/3;
  }
  .copyright {
    font-size: var(--font-md);
  }
}

/*
LARGE SIZE
================================================ */
@media (min-width: 1000px) {
  .home .post-list,
  .archive .post-list,
  .search .post-list {
    grid-template-columns: repeat(3, 1fr);
  }
  /*
  .slide {
    animation: fade 25s infinite;
  }  
  .s1 {
    background-image: url(images/daishi/quarter_01.jpg);
    animation-delay: 0s;
  }
  .s2 {
    background-image: url(images/daishi/quarter_02.jpg);
    animation-delay: 5s;
  }
  .s3 {
    background-image: url(images/daishi/quarter_03.jpg);
    animation-delay: 10s;
  }
  .s4 {
    background-image: url(images/daishi/quarter_04.jpg);
    animation-delay: 15s;
  }
  .s5 {
    background-image: url(images/daishi/quarter_05.jpg);
    animation-delay: 20s;
  }
  */

  .about-text {
    font-size: var(--font-xl);
  }

  .landscape-text {
    font-size: 13rem;
    bottom: -58px;
  }
  .post-header {
    padding: 1.5rem 2rem;
  }
  .single .post-title,
  .page .post-title {
    font-size: 3.3rem;
    padding-bottom: 1rem;
    text-align: center;
  }
  .page .post-content {
    padding: 2rem 0 8rem;
  }
  .post-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .post-images img {
    max-width: 36rem;
  }
  .post-title {
    margin: 0 auto.5rem;
    line-height: 1.5;
    word-break: break-word;
    font-size: var(--font-xl);
    text-align: left;
  }
  .card-link .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--grey);
    border-radius: 9999px;
    font-size: var(--font-sm);
    text-align: left;
    text-decoration: none;
    background: #f5f5f5;
    transition: 0.3s;
    width: fit-content;
  }
  .card-link .btn {
    font-size: var(--font-lg);
  }

  .site-about a::after {
    content: "";
    width: 27px;
    height: 27px;
  }
  .site-about ul {
    display: flex;
    justify-content: center;
  }
  .site-about li:first-child {
    margin-bottom: 0;
    margin-right: 3rem;
  }
  .site-about li:last-child {
    margin-right: 1rem;
  }

  .footer-wrapper {
    margin-right: auto;
    margin-left: auto;
    max-width: 1600px;
    padding: 0 3rem;
  }

  .footer-inquiry {
    display: inline-block;
  }

  @media (min-width: 1025px) {
    .site-description {
      font-size: 5rem;
    }

    .footer-inquiry {
      padding: 2rem 2rem 2rem 2rem;
    }
    .footer-inquiry h3 {
      padding: 0.75rem;
      margin-bottom: 0.8rem;
    }
    .footer-inquiry h3 {
      font-size: 1.2rem;
    }
    .footer-inquiry p {
      font-size: 1.1rem;
    }
  }

  /*ギャラリーブロックレスポンシブ*/
  .wp-block-gallery.has-nested-images {
    gap: 1rem;
  }

  .wp-block-gallery.has-nested-images figure {
    width: 100% !important;
  }

  @media (max-width: 767px) {
    .wp-block-gallery.has-nested-images {
      display: flex !important;
      flex-direction: column !important;
    }
  }

  @media (min-width: 768px) {
    .wp-block-gallery.has-nested-images {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }
}
