@charset "UTF-8";
/* Theme Name: custom */
*, *::before, *::after {
  box-sizing: border-box;
}

article, aside, footer, header, nav, section, figcaption, figure, main, canvas, time {
  display: block;
}

button, input, optgroup, select, textarea, figure {
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}
button:focus {
  outline: none;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
  resize: none;
}

[type=checkbox], [type=radio] {
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  appearance: button;
  font: inherit;
}

[hidden] {
  display: none;
}

body, h1, h2, h3, h4, h5, h6, ul, ol, dl, dd, p, blockquote, figure {
  margin: 0;
}

body {
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #000;
  font-size: 14px;
}

body,
button {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

#wrapper {
  overflow-x: hidden;
}

#wrapper-fixed {
  width: 100%;
}

.bg-fixed {
  position: fixed;
  height: 100%;
}

#bg-nav {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: 0.4s;
}

#wrapper:has(#header .nav-btn.active) #bg-nav {
  opacity: 1;
  visibility: visible;
}

a,
button {
  color: #000;
  transition: 0.4s;
}
a:hover,
button:hover {
  opacity: 0.7;
  text-decoration: none;
}

.btn {
  text-align: center;
}
.btn a {
  display: inline-block;
  color: #fff;
  background-color: #000;
  text-decoration: none;
}

figure {
  text-align: center;
}

img {
  max-width: 100%;
  width: auto;
  height: auto;
  vertical-align: bottom;
}

table {
  width: 100%;
  border-collapse: collapse;
}
table th,
table td {
  border: 1px solid #000;
}

.padding-inline {
  padding-inline: 20px;
}

@media screen and (min-width: 1200px) {
  .max-width {
    max-width: 1200px !important;
    margin-inline: auto !important;
  }
}
@media screen and (min-width: 1240px) {
  .max-width.padding-inline {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
#header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 2;
  background-color: #fff;
}
#header .inner {
  height: 100%;
}

@media screen and (min-width: 768px) {
  #header {
    height: 80px;
  }
  #header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
#header .nav-btn {
  cursor: pointer;
  display: block;
  width: 60px;
  aspect-ratio: 1;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}
#header .nav-btn i,
#header .nav-btn i::after,
#header .nav-btn i::before {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #000;
}
#header .nav-btn i {
  position: relative;
  left: 18px;
  top: 28px;
}
#header .nav-btn i::after,
#header .nav-btn i::before {
  position: absolute;
  content: "";
  transform: rotate(0deg);
  transition: 0.4s;
}
#header .nav-btn i::before {
  transform: translateY(8px);
}
#header .nav-btn i::after {
  transform: translateY(-8px);
}
#header .nav-btn.active i {
  background-color: transparent;
}
#header .nav-btn.active i::before {
  transform: translateY(0) rotate(-45deg);
}
#header .nav-btn.active i::after {
  transform: translateY(0) rotate(45deg);
}

@media screen and (min-width: 768px) {
  #header .nav-btn {
    display: none;
  }
}
#header .menu {
  padding: 0;
  list-style: none;
  width: 85%;
  height: 100vh; /* dvhに対応してないブラウザ用 */
  height: 100dvh;
  position: absolute;
  top: 60px;
  right: 0;
  transform: translate3d(100%, 0, 0);
  background-color: #fff;
  overflow-y: scroll;
  transition: 0.4s;
}
#header .menu.open {
  transform: translate3d(0, 0, 0);
}
#header .menu li a {
  display: block;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  #header .menu {
    width: auto;
    height: auto;
    position: static;
    transform: none;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
  }
  #header .menu li a {
    color: #000;
  }
}
#contents {
  padding-top: 60px;
}

@media screen and (min-width: 768px) {
  #contents {
    padding-top: 80px;
  }
}
#mv img {
  width: 100%;
}
#mv .swiper-button-prev,
#mv .swiper-button-next,
#mv .swiper-pagination-bullet-active {
  --swiper-theme-color: #000;
}

#main #test-lazysizes {
  margin: 1000px 0;
}
#main #test-lazysizes p {
  width: 1000px;
  height: 500px;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
}
#main #test-lazysizes p.lazyloaded {
  background-image: url(img/lazysizes-bg.jpg);
}
#main .ttl-page {
  text-align: center;
  font-size: 24px;
}
#main .cat-list {
  padding: 0;
  list-style: none;
}
#main .cat-list li,
#main .cat-list li a {
  display: inline-block;
}
#main .cat-list li {
  margin-right: 10px;
}
#main .cat-list li a {
  text-decoration: none;
}
#main .author {
  text-align: right;
}

#bc a {
  text-decoration: none;
}

.prev-next-post {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pgn {
  display: flex;
  justify-content: center;
}
.pgn .current,
.pgn a {
  width: 36px;
  aspect-ratio: 1;
  flex-shrink: 0;
  color: #fff;
  background-color: #000;
  text-align: center;
  margin: 0 5px;
  padding-top: 10px;
}
.pgn .current,
.pgn a:hover {
  background-color: #888;
}
.pgn a {
  text-decoration: none;
}
.pgn .next,
.pgn .prev {
  background-image: url(img/arrow-right-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 5px auto;
}
.pgn .prev,
.pgn .first {
  transform: rotate(180deg);
}
.pgn .last,
.pgn .first {
  background-image: url(img/arrow-right-white.svg), url(img/arrow-right-white.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: left 13px center, left 20px center;
  background-size: 5px auto, 5px auto;
}

@media screen and (min-width: 768px) {
  .pgn .current,
  .pgn a {
    width: 48px;
    padding-top: 15px;
    font-size: 16px;
  }
  .pgn .next,
  .pgn .prev {
    background-size: 6px auto;
  }
  .pgn .prev,
  .pgn .first {
    transform: rotate(180deg);
  }
  .pgn .last,
  .pgn .first {
    background-position: left 18px center, left 27px center;
    background-size: 6px auto, 6px auto;
  }
}
#side .side-widget {
  border: 1px solid #000;
  text-align: center;
}
#side .side-widget ul {
  padding: 0;
  list-style: none;
}
#side .side-widget ul li {
  border-top: 1px solid #000;
}
#side .side-widget ul li a {
  display: block;
}

#footer ul {
  padding: 0;
  list-style: none;
}
#footer small {
  display: block;
  text-align: center;
}
#footer #page-top {
  opacity: 0;
  visibility: hidden;
  background-color: #000;
  width: 50px;
  aspect-ratio: 1;
  position: fixed;
  right: 10px;
  bottom: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
#footer #page-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#footer #page-top:hover {
  transform: translateY(-10px);
}
#footer #page-top span {
  width: 10px;
  aspect-ratio: 1;
  transform: rotate(45deg);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  margin-top: 4px;
}

#main .smf-item__col--label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 8px;
}
#main .smf-item__col--label .smf-item__label {
  margin-right: 10px;
  font-size: 16px;
}
#main .smf-item__col--label .smf-item__description {
  margin-top: 0;
  background-color: #ff5454;
  color: #fff;
  font-size: 11px;
  border-radius: 2px;
  padding: 0 4px;
}
#main .smf-placeholder {
  font-size: 16px;
}
#main .smf-text-control__control,
#main .smf-textarea-control__control,
#main .smf-select-control__control {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}
#main .smf-select-control__control {
  padding-right: 40px;
}
#main .smf-checkbox-control {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
#main .smf-checkbox-control input {
  width: 24px;
  height: 24px;
}
#main .smf-radio-buttons-control__control .smf-label:not(:last-child),
#main .smf-checkboxes-control__control .smf-label:not(:last-child) {
  margin: 10px 30px 10px 0;
}
#main .smf-radio-button-control__control,
#main .smf-checkbox-control__control {
  margin-top: 0;
}
#main .smf-radio-button-control__label,
#main .smf-checkbox-control__label {
  font-size: 16px;
}
#main .smf-action .smf-button-control__control {
  display: block;
  margin-inline: auto;
  border: 1px solid #000;
  background-image: none;
  background-color: #000;
  color: #fff;
  transition: 0.4s;
}
#main .smf-action .smf-button-control__control:hover {
  opacity: 1;
  background-color: #fff;
  color: #000;
}
#main .smf-action .smf-button-control__control[data-action=back] {
  background-color: #888;
  color: #000;
}
#main .smf-action .smf-button-control__control[data-action=back]:hover {
  background-color: #fff;
}
#main .p-country-name {
  display: none;
}
#main .smf-sending {
  display: none;
}
#main .reCAPTCHA,
#main .reCAPTCHA a {
  color: #888;
}
#main .reCAPTCHA {
  text-align: center;
  font-size: 12px;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

@media screen and (min-width: 640px) {
  #main .smf-item__col--label {
    min-width: 280px;
    padding-top: 8px;
  }
  #main .snow-monkey-form[data-screen=confirm] .smf-placeholder {
    padding: 8px 0;
  }
}
@media screen and (min-width: 768px) {
  .archive #contents,
  .single #contents {
    display: flex;
    justify-content: space-between;
  }
  .archive #contents #main,
  .single #contents #main {
    width: 70%;
  }
  .archive #contents #side,
  .single #contents #side {
    width: 25%;
  }
}
