@charset "utf-8";
/*
Theme Name: 
Author: WONDER CREATE
Description:  株式会社市民葬儀のテーマ
version: 1.0.0
*/

/*common
-----------------------------------------------------------------------------------------*/
html,
body {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

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

/*ヘッダー
-----------------------------------------------------------------------------------------*/
header {
  height: 100px;
  background-color: rgb(255, 255, 255);
}

.header-logo img {
  height: 76px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  transition: 0.3s;
}

div.sp-navigation {
  display: none;
}

a.drawer-menu-item {
  color: rgb(255, 255, 255) !important;
  text-decoration: none !important;
}

.drawer-overlay {
  z-index: 99 !important;
}

@media screen and (max-width: 1023px) {
  header {
    position: fixed;
    width: 100%;
    height: 60px;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  }

  .header-logo img {
    height: 40px;
  }

  div.sp-navigation {
    display: block;
    margin-right: -12px;
    margin-left: auto;
  }

  button.drawer-hamburger {
    position: static;
  }

  nav.drawer-nav {
    text-align: center;
    width: 220px;
    margin-top: 60px;
    background-color: rgb(50, 177, 171);
  }

  ul.drawer-menu {
    padding-top: 30px;
  }

  a.drawer-menu-item {
    padding: 1rem;
    font-size: 0.875rem;
    color: rgb(255, 255, 255);
  }

  img.drawer-tel {
    width: 70%;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  ul.drawer-menu li a:hover,
  ul.drawer-menu li a:focus {
    background-color: rgb(0, 158, 151);
    color: rgb(255, 255, 255);
    text-decoration: none;
  }
}

/* ヘッダーバナー */
.c-header-cta {
  width: 25%;
}

.c-header-top {
  border: 1px solid rgb(221, 23, 23);
  border-radius: 40px;
  background-color: #fff;
  font-size: 0.8rem;
  color: rgb(221, 23, 23);
}

div.header-tel {
  position: relative;
  margin: 0 16px 0 auto;
}

div.header-tel a {
  display: block;
  height: 70px;
  padding: 10px 0;
  border-radius: 9px;
  background-color: rgb(255, 184, 0);
}

p.header-tel-top {
  width: 75%;
  margin: 0 auto 0 50px;
}

img.header-tel-24h {
  position: absolute;
  width: 22%;
  min-width: 75px;
  top: 0;
  bottom: 0;
  left: -40px;
  margin: auto;
}

img.header-tel-number {
  width: 65%;
  margin: 10px 19px 0 65px;
  image-rendering: -webkit-optimize-contrast;
}

div.header-material a {
  display: block;
  height: 70px;
  padding: 10px 0;
  border-radius: 9px;
  background-color: rgb(115, 196, 255);
}

p.header-material-top {
  width: 82%;
  margin: 0 auto;
}

p.header-material-bottom {
  display: inline-block;
  position: relative;
  text-align: center;
  margin: 10px auto 0;
  padding-left: 2em;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: rgb(255, 255, 255);
}

p.header-material-bottom::after {
  position: absolute;
  content: "";
  width: 17%;
  height: 20px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url(./images/mail-icon-white.svg) no-repeat center center/contain;
}
/* end ヘッダーバナー */

@media (hover: hover) and (pointer: fine) {
  .header-logo img:hover {
    opacity: 0.7;
  }

  .header-material:hover {
    opacity: 0.7;
  }

  .header-tel:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 1279px) {
  p.header-tel-top {
    width: 80%;
    margin: 0 auto 0 40px;
  }

  img.header-tel-number {
    width: 65%;
    margin: 10px 19px 0 55px;
  }

  p.header-material-top {
    width: 90%;
  }

  p.header-material-bottom {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
  }
}

@media screen and (max-width: 1023px) {
  div.header-tel {
    display: none;
  }

  div.header-material {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .header-logo img {
    height: 40px;
  }
}

/*フッター
-----------------------------------------------------------------------------------------*/
footer {
  margin-bottom: 100px;
  padding: 50px 0 16px;
  background-color: rgb(255, 141, 178);
  color: rgb(255, 255, 255);
}

div.footer-inner {
  display: flex;
}

div.footer-left {
  display: flex;
  width: 60%;
  margin-right: 50px;
}

a.footer-logo {
  width: 37%;
  min-width: 130px;
  margin-right: 50px;
}

a.footer-logo img {
  image-rendering: -webkit-optimize-contrast;
}

div.footer-card {
  position: relative;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(63% - 50px);
  padding: 8px 0 11px;
  background-color: rgb(255, 255, 255);
}

div.footer-card::before {
  position: absolute;
  content: "";
  width: 92%;
  height: 2px;
  top: 18px;
  background-color: rgb(255, 141, 178);
  z-index: 1;
}

div.footer-card span {
  padding: 0 0.5em;
  background-color: #fff;
  color: rgb(255, 141, 178);
  z-index: 1;
}

div.footer-card img {
  width: 94%;
  margin-top: 6px;
}

div.footer-right {
  text-align: left;
  display: flex;
  align-items: flex-end;
  width: calc(40% - 50px);
}

div.footer-address,
div.footer-nav {
  display: inline;
  justify-content: flex-end;
  align-content: center;
}

div.footer-address {
  margin-right: 50px;
}

div.footer-address p:first-child {
  font-size: 1.2rem;
}

div.footer-address p:nth-child(2) {
  margin-top: 7px;
}

div.footer-address p:nth-child(n + 3) {
  margin-top: 2px;
}

li.footer-nav-item:not(:first-child) {
  margin-top: 10px;
}

li.footer-nav-item a {
  color: inherit;
}

div.copy-right {
  margin-top: 50px;
}

@media (hover: hover) and (pointer: fine) {
  a.footer-logo:hover {
    opacity: 0.7;
  }

  li.footer-nav-item:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 1023px) {
  div.footer-left {
    width: 40%;
    flex-direction: column;
    margin-right: 10%;
  }

  a.footer-logo {
    width: 55%;
    margin: 0 auto;
  }

  div.footer-card {
    width: auto;
    margin: 20px 0 0;
  }

  div.footer-right {
    width: 50%;
  }

  div.footer-address {
    margin-right: 20%;
  }
}

@media screen and (max-width: 767px) {
  footer {
    margin-bottom: 70px;
    padding: 30px 0 15px;
  }

  div.footer-left {
    width: 30%;
  }

  div.footer-right {
    width: 60%;
  }

  div.footer-address p:first-child {
    font-size: 1rem;
  }
}

@media screen and (max-width: 599px) {
  div.footer-inner {
    flex-direction: column;
  }

  div.footer-left {
    width: auto;
    margin-right: 0;
  }

  a.footer-logo {
    width: 50%;
  }

  div.footer-card {
    margin: 30px auto 0;
    width: 70%;
  }

  div.footer-right {
    justify-content: center;
    width: 100%;
  }

  div.footer-address {
    margin-top: 30px;
  }

  div.copy-right {
    margin-top: 30px;
  }
}

@media screen and (max-width: 500px) {
  div.footer-card {
    width: 100%;
  }
}

/*カスタム投稿--お客様の声
-----------------------------------------------------------------------------------------*/
div.voice-kv {
  margin-top: 60px;
  background: url(./images/voice-kv.jpg) no-repeat center center/cover;
}

section.voice {
  background: url(./images/voice-bg.jpg) center center/cover;
}

p.voice-heading {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
}

p.voice-heading::after {
  position: absolute;
  content: "";
  width: 74px;
  height: 2px;
  bottom: -14px;
  left: 50%;
  background-color: rgb(202, 179, 135);
  transform: translateX(-50%);
}

ul.voice-list {
  width: 100%;
  margin: 44px auto 0;
}

li.voice-item {
  display: grid;
  grid-template-columns: 1fr 55%;
  grid-template-rows: auto 1fr;
  text-align: left;
  background-color: rgb(255, 255, 255);
}

li.voice-item:not(:first-child) {
  margin-top: 50px;
}

div.voice-top {
  grid-column: 2/3;
  grid-row: 1/2;
  margin: 0;
  padding: 30px;
}

div.voice-bg {
  grid-column: 1/2;
  grid-row: 1/2;
}

img.voice-image {
  grid-column: 1/2;
  grid-row: 1/3;
  padding: 30px 0 30px 30px;
  height: 400px;
  -o-object-fit: cover;
  object-fit: cover;
}

div.voice-tag-area {
  display: inline-block;
}

span.voice-tag {
  padding: 2px 1em;
  border-radius: 80px;
  background-color: rgb(255, 255, 255);
}

span.voice-tag:not(:last-child) {
  margin-right: 8px;
}

h2.voice-title {
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgb(255, 255, 255);
  font-size: 1.9rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
}

div.voice-customer-area {
  float: right;
  margin-top: 10px;
  color: rgb(255, 255, 255);
}

span.voice-address {
  margin-right: 10px;
}

span.voice-age {
  margin-right: 10px;
}

div.voice-bottom {
  padding: 30px;
}

p.voice-text {
  grid-column: 2/3;
  grid-row: 2/3;
}

@media screen and (max-width: 1279px) {
  h2.voice-title {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
  }
}

@media screen and (max-width: 1023px) {
  span.voice-tag {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 767px) {
  p.voice-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
  }

  li.voice-item {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
  }

  li.voice-item:not(:first-child) {
    margin-top: 30px;
  }

  div.voice-bg {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  img.voice-image {
    grid-column: 1/2;
    grid-row: 1/2;
    padding: 10px;
    height: 250px;
  }

  div.voice-top {
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 0 10px 10px;
  }

  span.voice-tag {
    font-size: 0.7rem;
  }

  div.voice-bottom {
    padding: 10px;
  }
}

/*カスタム投稿--お客様の声（投稿色設定）
-----------------------------------------------------------------------------------------*/
/* お別れ葬プラン */
.post-farewell {
  border: 2px solid rgb(0, 158, 151);
}

.post-farewell div.voice-top {
  background-color: rgb(0, 158, 151);
}

.post-farewell div.voice-bg {
  background-color: rgb(0, 158, 151);
}

.post-farewell span.voice-tag {
  color: rgb(0, 158, 151);
}
/* end お別れ葬プラン */

/* 火葬のみプラン */
.post-cremation {
  border: 2px solid rgb(255, 141, 178);
}

.post-cremation div.voice-top {
  background-color: rgb(255, 141, 178);
}

.post-cremation div.voice-bg {
  background-color: rgb(255, 141, 178);
}

.post-cremation span.voice-tag {
  color: rgb(255, 141, 178);
}
/* end 火葬のみプラン */

/* 福祉葬プラン */
.post-welfare {
  border: 2px solid rgb(47, 47, 139);
}

.post-welfare div.voice-top {
  background-color: rgb(47, 47, 139);
}

.post-welfare div.voice-bg {
  background-color: rgb(47, 47, 139);
}

.post-welfare span.voice-tag {
  color: rgb(47, 47, 139);
}
/* end 福祉葬プラン */

/* 一日葬プラン */
.post-oneday {
  border: 2px solid rgb(160, 29, 155);
}

.post-oneday div.voice-top {
  background-color: rgb(160, 29, 155);
}

.post-oneday div.voice-bg {
  background-color: rgb(160, 29, 155);
}

.post-oneday span.voice-tag {
  color: rgb(160, 29, 155);
}
/* end 一日葬プラン */

/* 家族葬プラン */
.post-family {
  border: 2px solid rgb(147, 0, 0);
}

.post-family div.voice-top {
  background-color: rgb(147, 0, 0);
}

.post-family div.voice-bg {
  background-color: rgb(147, 0, 0);
}

.post-family span.voice-tag {
  color: rgb(147, 0, 0);
}
/* end 家族葬プラン */

/* 永大供養プラン */
.post-eternal {
  border: 2px solid rgb(1, 116, 111);
}

.post-eternal div.voice-top {
  background-color: rgb(1, 116, 111);
}

.post-eternal div.voice-bg {
  background-color: rgb(1, 116, 111);
}

.post-eternal span.voice-tag {
  color: rgb(1, 116, 111);
}
/* end 永大供養プラン */

/* 海洋散骨プラン */
.post-ocean {
  border: 2px solid rgb(47, 47, 139);
}

.post-ocean div.voice-top {
  background-color: rgb(47, 47, 139);
}

.post-ocean div.voice-bg {
  background-color: rgb(47, 47, 139);
}

.post-ocean span.voice-tag {
  color: rgb(47, 47, 139);
}
/* end 海洋散骨プラン */

/*カスタム投稿--お客様の声,ブログ--アーカイブページ（ページャー 共通設定）
-----------------------------------------------------------------------------------------*/
nav.navigation {
  margin-top: 50px;
}

.page-numbers {
  display: flex;
  justify-content: center;
}

.page-numbers li a,
.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgb(228, 235, 245);
  font-size: 1.5rem;
  color: rgb(137, 137, 137);
}

.page-numbers li:not(:last-child) {
  margin-right: 10px;
}

.page-numbers li span.current {
  color: rgb(255, 255, 255);
  background-color: rgb(29, 29, 250);
}

.next,
.prev {
  position: relative;
}

.prev.page-numbers::after,
.next.page-numbers::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: 0.6s;
}

.prev.page-numbers::after {
  left: 44%;
  border-left: 3px solid rgb(137, 137, 137);
  border-top: 3px solid rgb(137, 137, 137);
}

.next.page-numbers::after {
  right: 44%;
  border-right: 3px solid rgb(137, 137, 137);
  border-bottom: 3px solid rgb(137, 137, 137);
}

/*カスタム投稿--お客様の声（ページャー 個別設定）
-----------------------------------------------------------------------------------------*/
section.voice .next,
section.voice .prev {
  width: 4em;
}

section.voice .prev {
  padding-left: 1em;
}

section.voice .next {
  padding-right: 1em;
}

section.voice .prev.page-numbers::after,
section.voice .next.page-numbers::after {
  top: 53%;
}

section.voice .prev.page-numbers::after {
  left: 0.5em;
}

section.voice .next.page-numbers::after {
  right: 0.5em;
}

@media (hover: hover) and (pointer: fine) {
  .page-numbers li:hover .page-numbers {
    color: rgb(255, 255, 255);
    background-color: rgb(29, 29, 250);
  }

  .page-numbers li:hover .page-numbers.dots {
    background-color: rgb(228, 235, 245);
    color: rgb(137, 137, 137);
  }

  .page-numbers li:hover .prev.page-numbers::after {
    border-left: 3px solid rgb(255, 255, 255);
    border-top: 3px solid rgb(255, 255, 255);
  }
  .page-numbers li:hover .next.page-numbers::after {
    border-right: 3px solid rgb(255, 255, 255);
    border-bottom: 3px solid rgb(255, 255, 255);
  }
}

@media screen and (max-width: 767px) {
  nav.navigation {
    margin-top: 30px;
  }

  .page-numbers li a,
  .page-numbers li span {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
  }

  .prev.page-numbers::after,
  .next.page-numbers::after {
    width: 5px;
    height: 5px;
  }

  .prev.page-numbers::after {
    border-left: 2px solid rgb(137, 137, 137);
    border-top: 2px solid rgb(137, 137, 137);
  }

  .next.page-numbers::after {
    border-right: 2px solid rgb(137, 137, 137);
    border-bottom: 2px solid rgb(137, 137, 137);
  }
}

/*通常投稿--ブログ詳細ページ（ページャー 個別設定）
-----------------------------------------------------------------------------------------*/
div.blog-pagination-area {
  margin-top: 50px;
}

ul.blog-pagination-list {
  display: flex;
  justify-content: center;
}

li.blog-pagination-item {
  width: 20%;
  background-color: rgb(228, 235, 245);
}

@media (hover: hover) and (pointer: fine) {
  li.blog-pagination-item a:hover {
    color: rgb(255, 255, 255);
    background-color: rgba(29, 29, 250);
  }

  li.blog-pagination-item:hover.blog-pagination-item.prev::after {
    border-left: 3px solid rgb(255, 255, 255);
    border-top: 3px solid rgb(255, 255, 255);
  }

  li.blog-pagination-item:hover.blog-pagination-item.next::after {
    border-right: 3px solid rgb(255, 255, 255);
    border-bottom: 3px solid rgb(255, 255, 255);
  }
}

li.blog-pagination-item:not(:last-child) {
  margin-right: 20px;
}

li.blog-pagination-no-post {
  width: 20%;
  background-color: transparent;
}

li.blog-pagination-item.prev a {
  padding-left: 2em;
}
li.blog-pagination-item.next a {
  padding-right: 2em;
}

li.blog-pagination-item.prev,
li.blog-pagination-item.next {
  position: relative;
}

li.blog-pagination-item.prev::after,
li.blog-pagination-item.next::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: 0.6s;
}

li.blog-pagination-item.prev::after {
  left: 1em;
  border-left: 3px solid rgb(137, 137, 137);
  border-top: 3px solid rgb(137, 137, 137);
}

li.blog-pagination-item.next::after {
  right: 1em;
  border-right: 3px solid rgb(137, 137, 137);
  border-bottom: 3px solid rgb(137, 137, 137);
}

li.blog-pagination-item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 10px 1em;
  color: rgb(137, 137, 137);
}

@media screen and (max-width: 1279px) {
  li.blog-pagination-item a {
    font-size: clamp(0.625rem, 2vw, 1rem);
  }
}

@media screen and (max-width: 1023px) {
  li.blog-pagination-item {
    width: 28%;
  }

  li.blog-pagination-no-post {
    width: 30%;
  }
}

@media screen and (max-width: 767px) {
  div.blog-pagination-area {
    margin-top: 30px;
  }

  ul.blog-pagination-list {
    justify-content: space-evenly;
  }

  li.blog-pagination-item.prev::after,
  li.blog-pagination-item.next::after {
    content: none;
  }

  li.blog-pagination-item.prev a {
    padding-left: 1em;
  }
  li.blog-pagination-item.next a {
    padding-right: 1em;
  }

  li.blog-pagination-item:not(:last-child) {
    margin-right: 0;
  }

  li.blog-pagination-no-post {
    width: 27%;
  }
}

/*通常投稿--ブログ詳細ページ
-----------------------------------------------------------------------------------------*/
div.blog-kv {
  background: url(./images/blog-kv.jpg) no-repeat center center/cover;
}

section.blog {
  background: url(./images/blog-bg.jpg) no-repeat center center/cover;
}

div.blog-frame {
  width: 100%;
  padding: 50px;
  border: 2px solid rgb(0, 158, 151);
  border-radius: 24px;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
}

div.blog-contents {
  width: 80%;
  margin: 0 auto;
}

div.blog-contents p {
  text-align: left;
  margin-top: 30px;
}

div.blog-heading {
  text-align: left;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  background-color: rgb(0, 158, 151);
}

time.blog-time {
  padding: 2px 1em;
  border-radius: 80px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 158, 151);
}

h2.blog-title {
  margin-top: 20px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgb(255, 255, 255);
}

p.blog-text {
  text-align: left;
  margin-top: 30px;
}

div.blog-image {
  position: relative;
  margin-top: 50px;
  padding-top: 40%;
  overflow: hidden;
}

div.blog-image img {
  position: absolute;
  width: 70%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 1023px) {
  div.blog-heading {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  div.blog-contents {
    width: auto;
  }

  div.blog-image {
    margin-top: 30px;
  }
}

@media screen and (max-width: 767px) {
  div.blog-frame {
    padding: 30px;
  }

  h2.blog-title {
    margin-top: 15px;
  }
}

@media screen and (max-width: 500px) {
  div.blog-image {
    padding-top: 60%;
  }

  div.blog-image img {
    width: 100%;
  }
}

/*通常投稿--ブログアーカイブページ
-----------------------------------------------------------------------------------------*/
section.blog-archive {
  background: url(../images/blog-bg.jpg) no-repeat center center/cover;
}

div.blog-archive-frame {
  width: 100%;
  padding: 50px;
  border: 2px solid rgb(0, 158, 151);
  border-radius: 24px;
  background-color: rgb(255, 255, 255);
}

div.blog-archive-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

div.blog-archive-main {
  display: flex;
  flex-direction: column;
  width: calc(100% - 20% - 50px);
  margin-right: 50px;
}

li.blog-archive-item {
  border-bottom: 2px solid rgb(189, 132, 24);
}

li.blog-archive-item:not(:first-child) a.blog-archive-link {
  padding-top: 30px;
}

a.blog-archive-link {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
}

img.blog-archive-image {
  width: 30%;
  max-height: 120px;
  margin: 0 30px 0 0;
  -o-object-fit: cover;
  object-fit: cover;
}

div.blog-archive-body {
  width: calc(70% - 30px);
  text-align: left;
}

time.blog-archive-time {
  color: rgb(0, 158, 151);
}

h2.blog-archive-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(51, 51, 51);
}

@media screen and (max-width: 1279px) {
  h2.blog-archive-title {
    font-size: clamp(1rem, 2vw, 1.5rem);
  }
}

@media screen and (max-width: 1023px) {
  div.blog-archive-main {
    width: calc(100% - 25% - 50px);
    margin-right: 50px;
  }

  div.blog-archive-inner {
    flex-direction: column;
    justify-content: center;
  }

  div.blog-archive-main {
    width: 100%;
    margin-right: auto;
  }

  div.blog-archive-body {
    width: calc(70% - 20px);
  }
}

@media screen and (max-width: 767px) {
  div.blog-archive-frame {
    padding: 30px;
  }

  a.blog-archive-link {
    flex-direction: column;
    padding-bottom: 20px;
  }

  img.blog-archive-image {
    width: auto;
    margin: 0;
  }

  div.blog-archive-body {
    width: auto;
    margin-top: 10px;
  }

  h2.blog-archive-title {
    font-size: 0.875rem;
  }
}

/*通常投稿--ブログアーカイブページ（月別）
-----------------------------------------------------------------------------------------*/
ul.blog-archive-list.archive {
  width: calc(100% - 20% - 50px);
  margin-right: 50px;
}

@media screen and (max-width: 1023px) {
  ul.blog-archive-list.archive {
    width: 100%;
    margin-right: auto;
  }
}

/*通常投稿--ブログアーカイブページ（サイドバー）
-----------------------------------------------------------------------------------------*/
aside.blog-archive-sidebar {
  width: 20%;
}

.widgettitle {
  display: none;
}

h2.monthly-archive-title {
  margin-bottom: 30px;
  padding: 10px 1em;
  background-color: rgb(0, 158, 151);
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
}

div.monthly-archive-wrapper {
  position: relative;
}

div.monthly-archive-wrapper::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 25%;
  right: 1em;
  border-right: 2px solid rgb(137, 137, 137);
  border-bottom: 2px solid rgb(137, 137, 137);
  transform: rotate(45deg);
  pointer-events: none;
}

div.monthly-archive select {
  appearance: none;
  width: 100%;
  text-align: left;
  padding: 10px 1em;
  border: 1px solid rgb(137, 137, 137);
  border-radius: 7px;
}

div.monthly-archive select,
option {
  font-size: 1rem;
  font-weight: 700;
}

@media screen and (max-width: 1279px) {
  h2.monthly-archive-title {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  }
  div.monthly-archive select,
  option {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
  }
}

@media screen and (max-width: 1023px) {
  aside.blog-archive-sidebar {
    width: auto;
    margin-top: 50px;
  }
}

@media screen and (max-width: 767px) {
  aside.blog-archive-sidebar {
    margin-top: 30px;
  }

  h2.monthly-archive-title {
    margin-bottom: 20px;
    padding: 10px 1em;
    font-size: 1rem;
  }

  div.monthly-archive select,
  option {
    font-size: 0.875rem;
  }
}

/*404
-----------------------------------------------------------------------------------------*/
div.error-message {
  font-size: 150%;
}

@media screen and (max-width: 767px) {
  div.error-message {
    font-size: 120%;
  }
}

div.youtube-ratio iframe {
  height: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 10px;
}
