@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 3.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

:root {
  /* color */
  --primary: #09c2cb;
  --black: #262626;
  --white: #fff;
  --gray: #f8f8f8;
  --gray2: #c5c5c5;

  /* font */
  --ff-base: "IBM Plex Sans JP", sans-serif;
  --ff-biz: "BIZ UDPGothic", sans-serif;
  --ff-afacad: "Afacad", sans-serif;
  --ff-noto: "Noto Sans JP", sans-serif;
  --fz-base: 1rem;
  --lh-base: 1.6;
  --ls-base: 0.03em;
  --fw-base: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* transition */
  --transition: all 0.3s ease;

  /* hover時のopacity */
  --opacity-hover: 0.6;

  /* z-index */
  /* 絶対位置 */
  --stack-header: 999;
  --stack-mega-menu: 999;
  --stack-drawer-nav: 999;
  --stack-fv: 101;
  --stack-recommend: 100;
  --stack-footer: 11;
  --stack-bottom: 11;
  --stack-sidebar: 10;
  --stack-title-group: 12;

  /* 相対位置 */
  --stack-backmost: -2;
  --stack-backward: -1;
  --stack-forward: 2;
  --stack-forward-most: 3;
  --stack-top: calc(infinity);

  /* デバイス幅基準 */
  --sp-base: 393;
  --pc-base: 1440;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--ff-base);
  font-size: var(--fz-base);
  font-weight: var(--fw-base);
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  color: var(--black);
  overflow-x: hidden;
}

/* 親テーマで使用の共通クラス */
#content {
  @media (min-width: 768px) {
    padding-inline: 100px 0 !important;
  }

  @media (min-width: 1240px) {
    padding-inline: 0 !important;
  }
}

/* 親テーマのスタイル打ち消し */
.page #content {
  margin-top: 2em !important;
}

@media only screen and (min-width: 1240px) {
  .wrap,
  .maximg,
  .single #inner-content,
  .page:not(.no-bg) #inner-content,
  .error404 #inner-content,
  .inner-footer {
    width: calc(var(--wp--custom--wrap--content-width) - 100px);
  }
}

@media only screen and (min-width: 1390px) {
  .wrap,
  .maximg,
  .single #inner-content,
  .page:not(.no-bg) #inner-content,
  .error404 #inner-content,
  .inner-footer {
    width: var(--wp--custom--wrap--content-width);
  }
}

/* 固定ページレイアウト調整 */
@media only screen and (min-width: 769px) {
  #content.page-forfront {
    padding: 30px 0 0 0;
  }
}

a {
  text-decoration: none;
  cursor: pointer;
}

p {
  margin-block: 0;
  padding-block: 0;
}

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

ul {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
button {
  margin: 0;
  padding: 0;
}

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

/* common */
.pc-none {
  display: block;

  @media (min-width: 768px) {
    display: none;
  }
}

.sp-none {
  display: none;

  @media (min-width: 768px) {
    display: block;
  }
}

/* メインボタン */
.custom-primary-btn {
  position: relative;
  display: inline grid;
  place-content: center;
  inline-size: 100%;
  padding-block: 16px;
  padding-inline: 30px;
  background-color: var(--white);
  border-radius: 60px;
  border: 1px solid var(--gray2);
  color: var(--black);
  text-align: center;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  line-height: 160%;
  letter-spacing: 1.2px;
  touch-action: manipulation;
  user-select: none;
  transition: var(--transition);
  overflow: hidden;

  /* ボタンのテキスト部分 */
  span {
    position: relative;
    transition: color 0.3s ease;
    transition-duration: 0.8s;
  }
}

/* ドット */
.custom-primary-btn::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 22px;
  transform: translate(0, -50%) scale(1);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  transform-origin: center;
  transition: all 1.5s ease;
}

/* 矢印 */
.custom-primary-btn::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 18px;
  transform: translate(0, -50%) scale(0);
  width: 22px;
  height: 9px;
  background: url(./assets/images/svg/arrow-white.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  transform-origin: center;
}

@media (any-hover: hover) {
  .custom-primary-btn:hover {
    border-color: var(--primary);
  }

  .custom-primary-btn:hover::before {
    transform: translate(0, -50%) scale(100);
  }

  .custom-primary-btn:hover::after {
    transform: translate(0, -50%) scale(1);
  }

  .custom-primary-btn:hover span {
    color: var(--white);
  }
}

/* POP */
.custom-top-pop {
  position: relative;
  inline-size: fit-content;
  margin-inline: auto;
  color: var(--white);
  text-align: center;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 1.6px;
  border-radius: 60px;
  padding-block: 5px;
  padding-inline: 35px;
  background: rgba(255, 255, 255, 0.2);
}

/* black ver */
.custom-top-pop--black {
  color: var(--black);
  background: rgba(9, 194, 203, 0.2);
}

/* 吹き出し */
.custom-top-pop::before {
  position: absolute;
  content: "";
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: rgba(255, 255, 255, 0.2) transparent transparent transparent;
}

/* black ver */
.custom-top-pop--black::before {
  border-color: rgba(9, 194, 203, 0.2) transparent transparent transparent;
}

/* セクションタイトル */
.custom-top-title {
  margin-block-start: 20px;
  color: var(--white);
  text-align: center;
  font-size: 1.625rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2.6px;

  @media (min-width: 768px) {
    font-size: 2.25rem;
    letter-spacing: 3.6px;
  }

  span {
    display: inline-block;
  }
}

/* black ver */
.custom-top-title--black {
  color: var(--black);
}

/* header */
.custom-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 84px;
  padding-block: 19px 15px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.8) 58.17%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: var(--transition);
  z-index: var(--stack-header);

  @media (min-width: 768px) {
    height: 103px;
    padding-block: 25px;
    padding-inline: 100px 30px;
  }
}

/* ドロワーopen時のheader背景 */
.custom-header.is-drawer-active {
  background: var(--gray);
}

.custom-header__inner {
  width: calc(100% - 20px * 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: auto;

  @media (min-width: 768px) {
    width: 100%;
  }
}

.custom-header__logo {
  width: min(100%, 163px);

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.custom-header__nav {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;

  @media (min-width: 768px) {
    gap: 19px;
  }
}

/* 管理画面用検索キーワードの回数表示スタイル */
.keyword-count {
  font-size: 0.8em;
  color: #888;
  margin-inline-start: 5px;
}

/* よく検索されているキーワード */
.custom-header__keywords-wrap {
  display: none;

  @media (min-width: 1200px) {
    position: relative;
    display: block;
    width: min(65%, 790px);
    max-width: 790px;
    height: 53px;
  }
}

.custom-header__keywords {
  @media (min-width: 1200px) {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
}

/* 流れるテキスト */
.custom-header__keywords::before {
  position: absolute;
  content: attr(data-keywords);
  top: 32%;
  left: 100%;
  transform: translate(100%, -50%);
  background: transparent;
  width: 200%;
  color: var(--gray2);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 1.3px;
  text-wrap: nowrap;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* フォーカス時とvalueが空でない場合のスタイル */
.custom-header__keywords:has(input:focus)::before,
.custom-header__keywords:has(input[value]:not([value=""]))::before {
  display: none;
  visibility: hidden;
  z-index: var(--stack-backward);
}

.custom-header__keywords input {
  @media (min-width: 1200px) {
    border: none;
    margin: 0;
    padding: 0;
    padding-block: 16px;
    padding-inline: 18px;
    border-radius: 50px;
    border: 1px solid var(--gray2);
    background: var(--white);
    color: var(--black);
    font-size: 0.8125rem;
    font-weight: var(--fw-bold);
    line-height: 160%;
    letter-spacing: 1.3px;
    width: 100%;
    cursor: pointer;
    outline: none;
    z-index: var(--stack-forward);
  }
}

/* フォーカス時の指定 */
.custom-header__keywords input:focus,
.custom-header__keywords input:focus-visible {
  border-color: var(--gray2);
  box-shadow: none;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* メガメニュー */
.custom-mega-menu {
  position: absolute;
  top: 90%;
  left: 0;
  width: 95%;
  height: auto;
  max-height: 80vh;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  padding-block: 33px 54px;
  padding-inline: 41px;
  z-index: var(--stack-mega-menu);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.custom-mega-menu__content {
  position: relative;
  width: 90%;
  z-index: var(--stack-mega-menu);
}

.custom-mega-menu__title {
  color: #000;
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2px;
}

.custom-mega-menu__list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 13px;
  row-gap: 10px;
}

.custom-mega-menu__item {
  a {
    display: inline-block;
    inline-size: 100%;
    color: var(--black);
    font-size: 0.8125rem;
    font-weight: var(--fw-bold);
    line-height: 140%;
    letter-spacing: 1.3px;
    padding-block: 9px;
    padding-inline: 19px;
    border-radius: 40px;
    background: linear-gradient(0deg, #f4f4f4 0%, #f4f4f4 100%), #f4f4f4;
    transition: var(--transition);
  }
}

@media (any-hover: hover) {
  .custom-mega-menu__item a:hover {
    background: rgba(38, 38, 38, 0.2);
  }
}

/* メガメニュー表示状態 */
/* drawerが開いていない時のみhoverで表示 */
.custom-header:not(.is-drawer-active)
  .custom-header__keywords:hover
  + .custom-mega-menu,
.custom-header:not(.is-drawer-active) .custom-mega-menu:hover {
  opacity: 1;
  visibility: visible;
}

/* JavaScriptによる表示制御（クリック時など） */
.custom-mega-menu.is-active {
  opacity: 1;
  visibility: visible;
}

/* more nomadとは？ */
.custom-header__btn-wrap {
  display: none;

  @media (min-width: 1200px) {
    display: block;
    width: min(100%, 222px);
  }
}

/* テキストが流れ続けるアニメーション */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* drawer */
.custom-drawer-btn {
  width: 50px;
  height: 50px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  transition: var(--transition);

  img {
    width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
  }
}

/* ドロワーopen */
.custom-drawer-btn[aria-expanded="true"] {
  img {
    rotate: 90deg;
  }
}

@media (any-hover: hover) {
  .custom-drawer-btn:hover img {
    animation: tilt-and-return 1s ease;
  }
}

/* ドロワーボタンのホバーアニメーション */
@keyframes tilt-and-return {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* navigation */
.custom-navigation {
  position: fixed;
  top: 84px; /* header高さ */
  right: 0;
  width: 100%;
  height: calc(100vh - 84px);
  background: var(--gray);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: var(--stack-drawer-nav);

  @media (min-width: 768px) {
    top: 103px; /* header高さ */
    height: calc(100vh - 103px);
  }
}

/* ドロワーopen */
.custom-navigation.is-active {
  opacity: 1;
  visibility: visible;
}

/* ナビゲーションのインナー */
.custom-navigation__inner {
  width: 100%;
  height: 100%;
  padding-block: 33px 84px;
  padding-inline: 38px;
  background: var(--gray);
  transform: translateY(100%);
  transition: var(--transition);
  overflow-x: hidden;
  overflow-y: auto;

  @media (min-width: 900px) {
    display: grid;
    grid-template-columns: 16% 1fr;
    gap: 3%;
  }

  @media (min-width: 1400px) {
    width: calc(100% - 30px * 2);
    gap: 5%;
  }
}

/* ドロワーopen */
.custom-navigation.is-active .custom-navigation__inner {
  transform: translateY(0);
}

/* SNS */
.custom-navigation__block--sns {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* カテゴリー別 */
.custom-navigation__block--category {
  margin-top: 72px;

  @media (min-width: 900px) {
    margin-top: 0;
  }
}

/* Contact */
.custom-navigation__block--contact {
  margin-top: 72px;

  @media (min-width: 768px) {
    margin-top: 40px;
  }
}

.custom-navigation__block-title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 220%;
  letter-spacing: 1.6px;
}

.custom-navigation__block-list {
  margin-top: 24px;
  width: 80%;
  display: grid;
  gap: 7px;

  @media (min-width: 768px) {
    width: 100%;
  }
}

/* カテゴリー別のリスト */
.custom-navigation__block-list--category {
  margin-block-start: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  column-gap: 20px;
  row-gap: 20px;

  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 14px;
    row-gap: 24px;
  }

  @media (min-width: 1200px) {
    width: 92%;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 国別カテゴリー */
.custom-navigation__block-item {
  a {
    display: block;
    width: 100%;
    color: var(--black);
    font-size: 1.125rem;
    font-weight: var(--fw-bold);
    line-height: 250%;
    letter-spacing: 1.44px;
    border-bottom: 1px solid #e6e6e6;
    transition: var(--transition);
  }
}

.custom-navigation__block-item:last-child a {
  border-bottom: none;
}

@media (any-hover: hover) {
  .custom-navigation__block-item a:hover {
    opacity: var(--opacity-hover);
  }
}

/* カテゴリー別 */
.custom-navigation__block-item--category {
  a {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 7px;
  }

  /* カテゴリーテキスト */
  p {
    display: block;
    color: var(--black);
    text-align: center;
    font-size: 0.875rem;
    font-weight: var(--fw-bold);
    line-height: 140%;
    letter-spacing: 1.4px;

    @media (min-width: 768px) {
      font-size: 0.9375rem;
    }
  }
}

.custom-navigation__block-item--category-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;

  @media (min-width: 768px) {
    aspect-ratio: 260 / 70;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: var(--transition);
  }
}

@media (any-hover: hover) {
  .custom-navigation__block-item--category
    a:hover
    .custom-navigation__block-item--category-img
    img {
    transform: scale(1.06);
  }
}

.custom-navigation__block-sns-icon {
  transition: var(--transition);

  img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
}

@media (any-hover: hover) {
  .custom-navigation__block-sns-icon:hover {
    opacity: var(--opacity-hover);
  }
}

.custom-navigation__contact-block-container {
  margin-top: 20px;
  display: grid;
  gap: 30px;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;

  @media (min-width: 768px) {
    grid-template-columns: repeat(3, 1fr);
  }

  @media (min-width: 1200px) {
    gap: 60px;
  }
}

.custom-navigation__contact-block-heading {
  color: var(--black);
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  line-height: 150%;
  letter-spacing: 1.2px;
}

.custom-navigation__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.custom-navigation__contact-block-heading + .custom-navigation__contact-list {
  margin-top: 1em;
}

.custom-navigation__contact-block-item {
  --icon-size: 5px;
  --icon-position: calc(var(--icon-size) + 0.7em);

  position: relative;
  padding-inline-start: var(--icon-position);

  a {
    color: var(--black);
    font-size: 0.9375rem;
    font-weight: var(--fw-base);
    line-height: 150%;
    letter-spacing: 1.2px;
    transition: var(--transition);
  }
}

@media (any-hover: hover) {
  .custom-navigation__contact-block-item a:hover {
    opacity: var(--opacity-hover);
  }
}

/* 三角アイコン */
.custom-navigation__contact-block-item::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  font-weight: var(--fw-bold);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--primary);
}

/* custom-sidebar */
.custom-sidebar {
  display: none;

  @media (min-width: 768px) {
    position: fixed;
    top: 0;
    width: 100px;
    height: 100svh;
    display: grid;
    place-content: center;
    padding-inline: 27px;
    z-index: var(--stack-sidebar);
  }
}

.custom-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.custom-sidebar__title {
  margin-inline-end: 1em;
  position: relative;
  color: var(--black);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 160%;
  text-wrap: nowrap;
  white-space: nowrap;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
}

/* 三角形 */
.custom-sidebar__title::before {
  position: absolute;
  content: "";
  bottom: -1em;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--black);
}

.custom-sidebar__sns-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.custom-sidebar__sns-link {
  button {
    background: none;
    img {
      width: 32px;
      height: 32px;
      object-fit: contain;
    }
  }
}

/* footer */
.custom-footer {
  position: relative;
  padding-block: 20px 30px;
  background: #f9fafa;
  overflow: hidden;
  z-index: var(--stack-footer);

  @media (min-width: 768px) {
    padding-block: 57px 30px;
  }
}

.custom-footer__inner {
  width: calc(100% - 10px * 2);
  margin-inline: auto;

  @media (min-width: 768px) {
    width: min(calc(100% - 50px * 2), 1340px);
  }
}

.custom-footer-menu {
  display: grid;
  gap: 34px;
  padding-block: 43px;
  padding-inline: 32px;
  border-radius: 30px;
  background: var(--white);

  @media (min-width: 768px) {
    padding-block: 50px 33px;
    gap: 30px;
  }

  @media (min-width: 1200px) {
    padding-inline: 95px;
  }
}

.custom-footer-menu__logo {
  width: 120px;
  height: 47px;

  @media (min-width: 768px) {
    width: 184px;
    height: 67px;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.custom-footer-menu__contents {
  display: grid;

  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 24px;
  }

  @media (min-width: 1200px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.custom-footer-menu__block {
  padding-block: 26px;
  border-block-start: 1px solid #e6e6e6;

  @media (min-width: 768px) {
    padding-block: 0;
    border-block-start: none;
  }
}

.custom-footer-menu__block:last-child {
  border-block-end: 1px solid #e6e6e6;

  @media (min-width: 768px) {
    border-block-end: none;
  }
}

.custom-footer-menu__block-heading {
  color: var(--black);
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  line-height: 220%;
  letter-spacing: 1.04px;

  @media (min-width: 768px) {
    font-size: 0.9375rem;
  }
}

.custom-footer-menu__block-list {
  margin-inline-start: 1.5em;
}

.custom-footer-menu__block-item {
  position: relative;
}

.custom-footer-menu__block-item a {
  color: #686868;
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  line-height: 220%;
  letter-spacing: 1.04px;
  transition: var(--transition);

  @media (min-width: 768px) {
    font-size: 0.9375rem;
  }
}

/* a target="_blank" のみスタイル */
.custom-footer-menu__block-item a[target="_blank"] {
  text-decoration: underline;
}

.custom-footer-menu__block-item::before {
  position: absolute;
  content: "";
  top: 50%;
  left: -0.75em;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: #686868;
  border-radius: 50%;
}

@media screen and (min-width: 768px) {
  .custom-footer-menu__block-item::before {
    width: 4px;
    height: 4px;
  }
}

@media (any-hover: hover) {
  .custom-footer-menu__block-item a:hover {
    opacity: var(--opacity-hover);
  }
}

/* アンダーバー */
.custom-link-underbar {
  padding-block-end: 0.1em;
  border-block-end: 1px solid #686868;
}

.custom-footer-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: 26px;

  @media (min-width: 768px) {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
}

/* Contactボタン */
.custom-footer-menu__btn-wrap {
  width: min(100%, 428px);
  margin-inline: auto;

  @media (min-width: 768px) {
    margin-inline: 0;
  }

  a {
    inline-size: 100%;
    display: grid;
    place-content: center;
    padding-block: 24px;
    background: var(--white);
    border-radius: 70px;
    border: 1px solid #e6e6e6;
    color: var(--black);
    font-size: 0.9375rem;
    font-weight: var(--fw-bold);
    line-height: 225%;
    letter-spacing: 1.2px;
    touch-action: manipulation;
    user-select: none;
    transition: var(--transition);

    @media (min-width: 768px) {
      font-size: 1rem;
      letter-spacing: 1.28px;
    }

    span {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    svg {
      width: 20px;
      height: 15px;
      stroke: var(--black);
      transition: var(--transition);

      @media (min-width: 768px) {
        width: 26px;
        height: 20px;
      }
    }
  }
}

@media (any-hover: hover) {
  .custom-footer-menu__btn-wrap a:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);

    svg {
      stroke: var(--white);
    }
  }
}

.custom-footer-menu__sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-footer-menu__sns-icon {
  width: 32px;
  height: 32px;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.custom-footer__privacy-policy {
  margin-top: 22px;
  text-align: center;

  small {
    color: #686868;
    text-align: center;
    font-size: 0.625rem;
    font-weight: var(--fw-base);
    line-height: 338%;
    letter-spacing: 0.8px;
  }
}

/* front-page.php */
.custom-bg-wrap {
  overflow: hidden;
}

/* Swiperスライダー */
.custom-fv-swiper__container {
  position: relative;
  width: 100%;
  padding-block: 11px;
  padding-inline-start: 20px;
  overflow: hidden;
  z-index: var(--stack-fv);

  @media (min-width: 768px) {
    padding-block: 50px;
    padding-inline-start: 100px;
  }
}

/* fvSwiperボトムコンテナ */
.custom-fv-swiper__button-container {
  margin-block-start: 37px;
  width: 100%;
  display: flex;
  align-items: center;
  padding-inline-end: 12px;

  @media (min-width: 768px) {
    padding-inline-end: 24px;
  }
}

.swiper {
  width: 100%;
  height: auto;
  margin-left: 0;
  margin-right: 0;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

/* ページネーション */
.swiper-pagination {
  position: relative;
  width: fit-content;
  margin-block-start: 24px;
  margin-inline: 0 auto;
  display: inline-flex;
  gap: 6px;

  @media (min-width: 768px) {
    margin-block-start: 40px;
  }
}

.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #d9d9d9;
  border-radius: 50%;
  opacity: 1;

  @media (min-width: 768px) {
    width: 10px;
    height: 10px;
  }
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

/* スライダーのボタン */
.custom-swiper__button-container {
  width: fit-content;
  margin-inline: auto 0;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 7px;

  @media (min-width: 768px) {
    margin-inline: 0;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

/* fvのみスライダーのボタン */
.custom-swiper__button-container--fv {
  width: fit-content;
  margin-inline: auto 0;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 7px;

  @media (min-width: 768px) {
    margin-inline: 0;
  }

  /* 波の有無で色を変えるprev,nextボタン */
  .swiper-button-prev,
  .swiper-button-next {
    color: var(--white);
    background: var(--white);
    border: 1px solid var(--primary);

    svg {
      width: 19px;
      height: 11px;
      stroke: var(--primary);
    }
  }

  .swiper-button-prev {
    rotate: 180deg;
  }

  /* 通常のafterでの矢印は非表示 */
  .swiper-button-prev::after {
    content: none;
  }

  .swiper-button-next::after {
    content: none;
  }
}

.swiper-button-prev,
.swiper-button-next {
  margin-top: 0;
  position: static;
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--primary);
  transition: var(--transition);
}

/* 無効状態 */
.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
  opacity: 0; /* 非表示 */
}

/* 矢印 */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  display: block;
  width: 19px;
  height: 11px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-prev::after {
  background-image: url(./assets/images/svg/arrow-primary.svg);
  rotate: 180deg;
}

.swiper-button-next::after {
  background-image: url(./assets/images/svg/arrow-primary.svg);
}

/* ホバー時のスタイル */
@media (any-hover: hover) {
  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    opacity: var(--opacity-hover);
  }
}

/* カテゴリー用(Cafe,Hotel,etc...) */
.custom-category-swiper {
  position: relative;

  .swiper-pagination {
    display: none;

    @media (min-width: 768px) {
      display: inline-flex;
      margin-block-start: 0;
      gap: 11px;
    }
  }

  .custom-category-swiper__pagination-wrap {
    margin-block-start: 29px;
    width: calc(100% - 20px * 2);
    margin-inline: auto;
    display: flex;
    justify-content: flex-end;
    gap: 7px;

    @media (min-width: 768px) {
      display: content;
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    @media (min-width: 768px) {
      position: absolute;
      top: 40%;
      display: inline-flex;
    }
  }
}

@media screen and (min-width: 768px) {
  /* もや */
  .custom-category-swiper::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 0;
    width: 219px;
    height: 105%;
    transform: translateY(-50%);
    background: linear-gradient(
      270deg,
      #f9fafa 12.9%,
      rgba(249, 250, 250, 0) 100%
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: var(--stack-forward);
  }
}

.custom-category-swiper__bottom {
  margin-block-start: 27px;

  @media (min-width: 768px) {
    position: relative;
    margin-block-start: 64px;
    padding-inline: 0;
    display: flex;
    justify-content: space-between;
    background: #f9fafa;
    z-index: var(--stack-forward-most);
  }
}

/* スライド内の記事スタイル */
.custom-post-item {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;

  a {
    transition: var(--transition);
  }
}

/* 新着記事、今週の人気記事 */
.custom-post-item--pattern2 {
  .custom-post-item__title {
    a {
      font-size: 1rem;
      line-clamp: 4;
      -webkit-line-clamp: 4;

      @media (min-width: 768px) {
        font-size: 1.125rem;
        line-clamp: 3;
        -webkit-line-clamp: 3;
      }
    }
  }
}

/* カテゴリー用(Cafe,Hotel,etc...) */
.custom-post-item--pattern3 {
  .custom-post-item__title {
    a {
      font-size: 1.125rem;

      @media (min-width: 768px) {
        font-size: 1.25rem;
      }
    }
  }
}

/* アーカイブページ共通 */
.custom-post-item--archive {
  padding-block: 30px;
  border-block-end: 1px solid #e6e6e6;
}

/* 関連記事 */
.custom-post-item--related {
  padding-block: 26px;
  border-block-end: 1px solid #e6e6e6;

  @media (min-width: 768px) {
    padding-block: 0;
    border-block-end: none;
  }
}

.custom-post-item--archive:last-child,
.custom-post-item--archive:nth-last-child(2) {
  @media (min-width: 481px) {
    border-block-end: none;
  }
}

.custom-post-item--related:last-child {
  border-block-end: none;
}

/* gridレイアウト */
.custom-post-item--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* pc時gridレイアウト fv */
.custom-post-item--grid-pc {
  @media (min-width: 1000px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  @media (min-width: 1200px) {
    grid-template-columns: 69% 1fr;
  }
}

/* 各category */
.custom-post-item--grid-category {
  @media (min-width: 1000px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  @media (min-width: 1200px) {
    grid-template-columns: 65% 1fr;
  }
}

@media (any-hover: hover) {
  .custom-post-item:hover .custom-post-item__thumb img {
    transform: scale(1.06);
  }
}

/* 🔔 新着記事 & 🚀 今週の人気記事 */
.custom-post-item__top {
  display: grid;
  grid-template-columns: 57% 1fr;
  gap: 15px;
}

/* アーカイブページ共通 */
.custom-post-item__archive {
  display: grid;
  grid-template-columns: 57% 1fr;
  gap: 15px;

  @media (min-width: 768px) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.custom-post-item__thumb {
  width: 100%;
  aspect-ratio: 353 / 199;
  border-radius: 10px;
  overflow: hidden;

  @media (min-width: 768px) {
    aspect-ratio: 850 / 478;
  }

  a {
    display: block;
    border-radius: inherit;
    border: none;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: var(--transition);
  }
}

.custom-post-item__thumb--archive {
  border-radius: 5px;
}

/* テキストコンテンツ */
.custom-post-item__content {
  margin-block-start: 16px;
}

/* 🔔 新着記事 & 🚀 今週の人気記事*/
.custom-post-item__content--news {
  @media (min-width: 768px) {
    margin-block-start: 0;
  }
}

/* fvのみ */
.custom-post-item__content--fv {
  margin-block-start: 20px;

  @media (min-width: 768px) {
    margin-block-start: 0;
  }
}

/* アーカイブページ共通 */
.custom-post-item__content--archive {
  margin-block-start: 10px;

  @media (min-width: 768px) {
    margin-block-start: 16px;
  }
}

.custom-post-item__title {
  a {
    color: var(--black);
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    line-height: 180%;
    letter-spacing: 2px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  @media (min-width: 768px) {
    font-size: 1.375rem;
  }
}

/* fvのみ */
.custom-post-item__title--fv {
  a {
    font-size: 1.25rem;

    @media (min-width: 768px) {
      font-size: 2rem;
      line-clamp: 4;
      -webkit-line-clamp: 4;
    }
  }
}

/* 🔔 新着記事 & 🚀 今週の人気記事*/
.custom-post-item__title--news {
  a {
    @media (min-width: 768px) {
      font-size: 1.125rem;
    }
  }
}

/* アーカイブページ共通 */
.custom-post-item__title--archive {
  a {
    font-size: 1rem;
    line-clamp: 4;
    -webkit-line-clamp: 4;

    @media (min-width: 768px) {
      font-size: 1.375rem;
      line-clamp: 3;
      -webkit-line-clamp: 3;
    }
  }
}

/* 関連記事 */
.custom-post-item__title--related {
  a {
    font-size: 1rem;
    line-clamp: 4;
    -webkit-line-clamp: 4;

    @media (min-width: 768px) {
      line-clamp: 3;
      -webkit-line-clamp: 3;
    }
  }
}

.custom-post-item__excerpt {
  margin-block-start: 14px;
  color: #686868;
  font-size: 0.8125rem;
  font-weight: var(--fw-base);
  line-height: 180%;
  letter-spacing: 1.3px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  @media (min-width: 768px) {
    margin-block-start: 16px;
  }
}

/* fvのみ */
.custom-post-item__excerpt--fv {
  @media (min-width: 768px) {
    font-size: 0.9375rem;
  }
}

/* 🔔 新着記事 & 🚀 今週の人気記事*/
.custom-post-item__excerpt--news {
  @media (min-width: 768px) {
    margin-block-start: 8px;
    font-size: 0.6875rem;
    -webkit-line-clamp: 2;
  }
}

/* アーカイブページ共通 */
.custom-post-item__excerpt--archive {
  margin-block-start: 0;
  font-size: 0.6875rem;
  line-clamp: 2;
  -webkit-line-clamp: 2;

  @media (min-width: 768px) {
    font-size: 0.8125rem;
  }
}

/* 関連記事 */
.custom-post-item__excerpt--related {
  margin-block-start: 0;
  font-size: 0.6875rem;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.custom-post-item__time-wrap {
  margin-block-start: 14px;
  display: inline flex;
  justify-content: center;
  align-items: center;
  gap: 6px;

  @media (min-width: 768px) {
    margin-block-start: 16px;
  }

  p {
    width: 20px;
    height: 20px;
    display: grid;
    place-content: center;
    border-radius: 50%;
    background: var(--white);
  }

  img {
    width: 13px;
    height: 13px;
    object-fit: contain;
  }
}

/* 🔔 新着記事 & 🚀 今週の人気記事*/
.custom-post-item__time-wrap--news {
  @media (min-width: 768px) {
    margin-block-start: 8px;

    p {
      width: 18px;
      height: 18px;
    }

    img {
      width: 11px;
      height: 11px;
    }
  }
}

/* アーカイブページ共通 */
.custom-post-item__time-wrap--archive {
  margin-block-start: 8px;

  @media (min-width: 768px) {
    margin-block-start: 10px;
  }
}

/* アーカイブページ共通 */
.custom-post-item__content--related {
  margin-block-start: 8px;
}

/* 個別ページ用 */
.custom-post-item__time-wrap--single {
  margin-block-start: 0;
}

/* パンクズリスト */
#breadcrumb {
  margin-block-end: 1em;
  padding: 0;
  background: none;
}

.custom-post-item__time {
  color: #686868;
  font-size: 0.75rem;
  font-weight: var(--fw-base);
  line-height: 180%;
  letter-spacing: 1.2px;

  @media (min-width: 768px) {
    font-size: 0.8125rem;
  }
}

/* 🔔 新着記事 & 🚀 今週の人気記事*/
.custom-post-item__time--news {
  @media (min-width: 768px) {
    font-size: 0.6875rem;
  }
}

/* 関連記事 */
.custom-post-item__time--related {
  font-size: 0.6875rem;
}

.custom-post-item__categories {
  margin-block-start: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;

  @media (min-width: 768px) {
    margin-block-start: 16px;
  }
}

/* 🔔 新着記事 & 🚀 今週の人気記事*/
.custom-post-item__categories--news {
  margin-block-start: 8px;
}

/* アーカイブページ共通 */
.custom-post-item__categories--archive {
  margin-block-start: 8px;

  @media (min-width: 768px) {
    margin-block-start: 10px;
  }
}

/* 関連記事 */
.custom-post-item__categories--related {
  margin-block-start: 8px;
}

/* 個別投稿用 */
.custom-post-item__categories--single {
  margin-block-start: 14px;

  @media (min-width: 768px) {
    margin-block-start: 13px;
  }
}

.custom-post-item__category {
  padding-block: 3.5px;
  padding-inline: 19px;
  border-radius: 40px;
  background: var(--white);
  color: #686868;
  text-align: center;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  line-height: 160%;
  letter-spacing: 1.2px;
  transition: var(--transition);
}

/* 🔔 新着記事 & 🚀 今週の人気記事, 関連記事 */
.custom-post-item__category--news,
.custom-post-item__category--related {
  font-size: 0.6875rem;
}

@media (any-hover: hover) {
  .custom-post-item__category:hover {
    background: #f4f4f4;
  }
}

/* 【厳選】旅前の必読記事をまとめました📌 セクション */
.custom-top-recommend {
  --bg-height: 90px;

  margin-block-start: 200px;
  position: relative;
  padding-block: 86px 166px;
  background: var(--primary);
  z-index: var(--stack-recommend);

  @media (min-width: 768px) {
    padding-block: 140px 280px;
  }
}

/* アヒル */
.custom-top-recommend__deco {
  position: relative;
}

.custom-top-recommend__deco-duck {
  position: absolute;
  top: -100px;
  right: 30%;
  width: 32px;
  height: 58px;
  z-index: var(--stack-forward);

  @media (min-width: 768px) {
    width: 56px;
    height: 56px;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* 1匹目 */
.custom-top-recommend__deco-duck:nth-of-type(1) {
  top: -120px;
  right: 30%;
  transform: rotate(20.175deg);
  animation: duck-sway-1 4s ease-in-out infinite;

  @media (min-width: 768px) {
    top: -180px;
    right: 40%;
  }
}

/* 2匹目 */
.custom-top-recommend__deco-duck:nth-of-type(2) {
  top: -60px;
  right: 20%;
  transform: rotate(-9.456deg);
  animation: duck-sway-2 3.5s ease-in-out infinite;

  @media (min-width: 768px) {
    top: -90px;
    right: 24%;
  }
}

/* 3匹目 */
.custom-top-recommend__deco-duck:nth-of-type(3) {
  top: -55px;
  right: 5%;
  transform: rotate(21.631deg);
  animation: duck-sway-3 5s ease-in-out infinite;

  @media (min-width: 768px) {
    top: -95px;
  }
}

/* アヒルの揺れアニメーション */
@keyframes duck-sway-1 {
  0% {
    transform: rotate(20.175deg) translate(0, 0);
  }
  50% {
    transform: rotate(30.175deg) translate(20px, -20px);
  }
  100% {
    transform: rotate(20.175deg) translate(0, 0);
  }
}

@keyframes duck-sway-2 {
  0% {
    transform: rotate(-9.456deg) translate(0, 0);
  }
  50% {
    transform: rotate(4.456deg) translate(-20px, 20px);
  }
  100% {
    transform: rotate(-9.456deg) translate(0, 0);
  }
}

@keyframes duck-sway-3 {
  0% {
    transform: rotate(21.631deg) translate(0, 0);
  }
  50% {
    transform: rotate(-7.631deg) translate(-30px, 30px);
  }
  100% {
    transform: rotate(21.631deg) translate(0, 0);
  }
}

/* 上部の大きな波 */
.wave {
  position: absolute;
  top: 0;
  left: -10px;
  width: 320%;
  transform: translate(-20%, -99%);
  animation: big-wave-move 20s linear infinite;
}

.custom-waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bg-height, 90px);
  overflow: hidden;
}

/* SVG要素 */
.custom-waves--sp,
.custom-waves--pc {
  width: 100%;
  height: 100%;
}

.custom-waves--sp {
  display: block;

  @media (min-width: 768px) {
    display: none;
  }
}

.custom-waves--pc {
  display: none;

  @media (min-width: 768px) {
    display: block;
  }
}

.wave-group {
  animation: wave-move 20s linear infinite;

  @media (min-width: 768px) {
    animation: wave-move 40s linear infinite;
  }
}

@keyframes big-wave-move {
  0%,
  100% {
    width: 320%;
    transform: translate(-20%, -99%) scale(1);
  }
  25% {
    width: 360%;
    transform: translate(-20%, -99%) scale(2.2);
  }
  50% {
    width: 300%;
    transform: translate(20%, -99%) scale(1.5);
  }
  75% {
    width: 400%;
    transform: translate(-20%, -99%) scale(3);
  }
}

@keyframes wave-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100px);
  }
}

.custom-top-recommend__contents {
  margin-block-start: 26px;
  border-radius: 20px 0 0 20px;
  padding-block: 51px 57px;
  padding-inline: 20px 0;
  background: #f8f8f8;

  @media (min-width: 768px) {
    margin-block-start: 46px;
    width: min(calc(100% - 100px * 2), 1340px);
    margin-inline: auto;
    border-radius: 20px;
    padding-block: 51px;
    padding-inline: 50px;
  }
}

.custom-top-recommend__bottom {
  margin-block-start: 10px;
  position: relative;
  width: calc(100% - 20px * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;

  @media (min-width: 768px) {
    margin-block-start: 76px;
  }
}

.custom-top-recommend__btn {
  width: min(100%, 247px);
  margin-inline: auto;
}

/* custom-top-news */
.custom-top-news {
  padding-block: 106px 70px;
  background: #f9fafa;

  @media (min-width: 768px) {
    padding-block: 184px 120px;
  }
}

.custom-top-news__inner {
  width: min(calc(100% - 20px * 2), 1240px);
  margin-inline: auto;

  @media (min-width: 768px) {
    width: calc(100% - 100px * 2);
    margin-inline: auto;
  }
}

.custom-top-news__contents {
  @media (min-width: 1000px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.custom-top-news__block:nth-child(1) {
  padding-block-end: 60px;
}

.custom-top-news__block:nth-child(2) {
  padding-block-start: 60px;
  border-block-start: 1px solid #e6e6e6;

  @media (min-width: 768px) {
    padding-block-start: 0;
    border-block-start: none;
  }
}

.custom-top-news__title {
  color: var(--black);
  font-size: 1.625rem;
  font-weight: var(--fw-bold);
  line-height: 140%;
  letter-spacing: 2.6px;
}

/* swiperブロック */
.custom-top-news__swiper-block {
  margin-block-start: 46px;

  /* pc時非表示 */
  @media (min-width: 1000px) {
    display: none;
  }
}

.custom-top-news__pc-block {
  display: none;

  @media (min-width: 1000px) {
    margin-block-start: 46px;
    display: grid;

    .custom-post-item {
      padding-block: 30px;
      border-block-end: 1px solid #e6e6e6;
    }

    .custom-post-item:first-child {
      padding-block-start: 0;
    }

    .custom-post-item:last-child {
      padding-block-end: 0;
      border-block-end: none;
    }
  }
}

.custom-top-news__bottom {
  margin-block-start: 14px;
  position: relative;
  width: calc(100% - 20px * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;

  @media (min-width: 768px) {
    margin-block-start: 76px;
  }
}

.custom-top-news__btn {
  width: min(100%, 247px);
  margin-inline: auto;
}

.custom-top-news__btn-pc {
  display: none;

  @media (min-width: 1000px) {
    margin-block-start: 46px;
    display: block;
    width: min(100%, 247px);
    margin-inline: auto;
  }
}

/* 歩く人のあしらい */
.custom-move-walk {
  position: relative;
  width: 100%;
  height: 101px;
  padding-block: 21px;
  overflow: hidden;

  @media (min-width: 768px) {
    width: calc(100% - 100px * 2);
    margin-inline: auto;
    padding-block: 86px;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* 歩く人 */
.custom-move-walk::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 200%;
  height: 56px;
  transform: translateY(-50%);
  background: url(./assets/images/svg/walk-man.svg);
  background-position: center left;
  background-size: auto 100%;
  background-repeat: repeat-x;
  animation: move-walk 15s linear infinite;
}

@media screen and (min-width: 768px) {
  .custom-move-walk::before {
    animation: move-walk 30s linear infinite;
  }
}

/* 人が途切れずに動き続けるアニメーション */
@keyframes move-walk {
  0% {
    transform: translateX(0) translateY(-50%);
  }
  100% {
    transform: translateX(-50%) translateY(-50%); /* 移動距離を半分に */
  }
}

/* あなたは『何』から探す？👀セクション */
.custom-search-categories {
  padding-block: 72px 86px;

  @media (min-width: 768px) {
    padding-block: 108px;
  }
}

.custom-search-categories__inner {
  width: min(calc(100% - 20px * 2), 1240px);
  margin-inline: auto;

  @media (min-width: 768px) {
    width: calc(100% - 100px * 2);
    margin-inline: auto;
  }
}

.custom-search-categories__contents {
  margin-block-start: 32px;
  padding-block: 40px;
  padding-inline: 26px;
  border-radius: 20px;
  border: 1px solid #e6e6e6;
  background: var(--white);

  @media (min-width: 768px) {
    padding-block: 51px 61px;
    padding-inline: 50px;
  }

  @media (min-width: 1200px) {
    padding-inline: 157px;
  }
}

.custom-search-categories__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 20px;

  @media (min-width: 768px) {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 13px;
    row-gap: 30px;
  }
}

/* フリップカードのスタイル */
.custom-search-categories__card {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

.custom-search-categories__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.custom-search-categories__card-front,
.custom-search-categories__card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.custom-search-categories__card-front {
  background-color: var(--white);
  position: relative;
}

.custom-search-categories__card-back {
  transform: rotateY(180deg);
}

.custom-search-categories_item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;

  @media (min-width: 768px) {
    aspect-ratio: 300 / 140;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: var(--transition);
  }
}

.custom-search-categories__item-title {
  margin-block-start: 7px;
  color: var(--black);
  text-align: center;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  line-height: 140%;
  letter-spacing: 1.4px;
  background: var(--white);

  @media (min-width: 768px) {
    font-size: 1rem;
    letter-spacing: 1.6px;
  }
}

@media (any-hover: hover) {
  .custom-search-categories__item
    a:hover
    .custom-search-categories__card-inner {
    transform: rotateY(180deg);
  }
}

/* .custom-category */
.custom-category {
  position: relative;

  @media (min-width: 768px) {
    padding-inline: 100px 0;
  }
}

.custom-category + .custom-category {
  margin-block-start: 243px;

  @media (min-width: 768px) {
    margin-block-start: 130px;
    padding-block-start: 73px;
  }
}

/* タイトルグループ */
.custom-category__title-group {
  position: sticky;
  top: 84px;
  width: calc(100% - 20px * 2);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  padding-block-end: 34px;
  z-index: var(--stack-title-group);
  perspective: 1000px;

  @media (min-width: 768px) {
    position: static;
    width: calc(100% - 30px);
    margin-inline: 0 auto;
    padding-block-end: 39px;

    .custom-category__sub-title {
      display: none;
    }
  }
}

/* pc時のみの追従サブタイトル */
.custom-category--pc-wrap {
  display: none;

  @media (min-width: 768px) {
    position: sticky;
    display: block;
    top: 60px;
    right: 0;
  }
}

.custom-category--pc {
  @media (min-width: 768px) {
    display: block;
    z-index: var(--stack-title-group);
    perspective: 1000px;

    .custom-category__sub-title {
      position: absolute;
      top: 30px;
      right: 30px;
    }
  }
}

/* メインタイトル */
.custom-category__title {
  color: var(--primary);
  font-family: var(--ff-afacad);
  font-size: 4.375rem;
  font-weight: var(--fw-medium);
  line-height: 100%;

  @media (min-width: 768px) {
    font-size: 7.5rem;
  }
}

/* サブタイトル(縦書き) */
.custom-category__sub-title {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 120%;
  letter-spacing: 2px;
  text-wrap: nowrap;
  white-space: nowrap;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;

  @media (min-width: 768px) {
    font-size: 1.625rem;
    line-height: 140%;
    letter-spacing: 2.6px;
  }
}

.custom-category__sub-title {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
  transform-style: preserve-3d;
}

.custom-category__sub-title.is-animated {
  transform: rotateY(360deg);
}

/* カテゴリーの中のPickUp記事 */
.custom-category__pickup {
  display: none;

  @media (min-width: 768px) {
    display: block;
    width: calc(100% - 80px);
  }

  @media (min-width: 1200px) {
    width: calc(100% - 153px);
  }
}

/* swiper */
.custom-category__contents {
  padding-inline: 20px 0;

  @media (min-width: 768px) {
    margin-block-start: 64px;
    padding-inline: 0 100px;
  }
}

.custom-category__bottom {
  margin-block-start: 17px;
  position: relative;
  width: calc(100% - 20px * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 27px;
  display: none;

  @media (min-width: 768px) {
    display: none;
  }
}

.custom-category__btn {
  width: min(100%, 247px);
  margin-inline: auto;

  @media (min-width: 768px) {
    margin-inline: auto 0;
  }
}

/* pc時のみ */
.custom-category__btn-pc {
  width: min(100%, 247px);
  margin-inline: auto;

  @media (min-width: 768px) {
    margin-inline: auto 0;
  }
}

/* 🌏国・地域で選ぶセクション */
.custom-select-categories {
  position: relative;
  background: #e0f2f3;
  padding-block: 0 263px;
  overflow: hidden;

  @media (min-width: 768px) {
    padding-block: 0px 141px; /* 51px+波の高さ90px */
  }
}

/* page-country.php専用スタイル */
.custom-page-country {
  background: transparent;

  .custom-select-categories__block + .custom-select-categories__block {
    margin-block-start: 40px;
  }
}

.custom-page-country
  .custom-select-categories__inner
  .archive-header
  + .custom-select-categories__block {
  margin-block-start: 43px;
}

/* 世界地図 */
.custom-select-categories::before {
  /* --parallax-offsetはJSファイルで設定 */
  /* スクロールに関するスクリプトはJSファイルに記載 */
  position: absolute;
  content: "";
  top: -30%;
  left: 0;
  transform: translate3d(0px, var(--parallax-offset, 0px), 0px);
  width: 100%;
  height: 100%;
  background: url(./assets/images/svg/world_bg.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  /* transition: transform 1s ease; */
  z-index: var(--stack-forward);
}

/* 上部の円形用のdiv */
.custom-select-categories__deco {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

/* 上部の円形 */
.custom-select-categories__deco::after {
  position: absolute;
  content: "";
  top: 110%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200svw;
  height: 300px;
  border-radius: 50%;
  background: #e0f2f3;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: var(--stack-backward);
}

@media screen and (min-width: 768px) {
  .custom-select-categories__deco::after {
    width: 120svw;
    height: 400px;
  }
}

@media screen and (min-width: 768px) {
  .custom-select-categories::after {
    width: 150svw;
  }
}

.custom-select-categories__inner {
  position: relative;
  width: calc(100% - 20px);
  margin-inline: auto 0;
  overflow: hidden;
  z-index: var(--stack-forward-most);

  @media (min-width: 768px) {
    width: calc(100% - 100px * 2);
    margin-inline: auto;
  }
}

.custom-select-categories__title {
  color: var(--black);
  text-align: center;
  font-size: 1.625rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2.6px;

  @media (min-width: 768px) {
    font-size: 2.25rem;
    letter-spacing: 4.2px;
  }
}

.custom-select-categories__block {
  @media (min-width: 768px) {
    padding-inline: 42px;
  }
}

/* 最初のアイテムのみ */
.custom-select-categories__block:first-of-type {
  margin-block-start: 105px;

  @media (min-width: 768px) {
    margin-block-start: 30px;
  }
}

.custom-select-categories__block + .custom-select-categories__block {
  margin-block-start: 50px;

  @media (min-width: 768px) {
    margin-block-start: 40px;
  }
}

.custom-select-categories__block-title {
  color: var(--black);
  font-size: 1.625rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2.6px;
}

.custom-select-categories__block-list {
  margin-block-start: 6px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
  align-items: center;
  gap: 20px;
  padding-inline-end: 20px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;

  @media (min-width: 768px) {
    margin-block-start: 16px;
    gap: 30px;
  }
}

.custom-select-categories__block-item {
  /* aタグのsubgridに影響するため */
  display: contents;

  a {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 15px;

    @media (min-width: 768px) {
      gap: 10px;
    }

    span {
      color: var(--black);
      text-align: center;
      font-size: 0.9375rem;
      font-weight: var(--fw-bold);
      line-height: 180%;
      letter-spacing: 1.5px;
      word-break: break-word;
      overflow-wrap: break-word;
      white-space: normal;
      max-width: 100%;
      display: block;
    }
  }
}

.custom-select-categories__block-item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: var(--transition);
  }
}

@media (any-hover: hover) {
  .custom-select-categories__block-item
    a:hover
    .custom-select-categories__block-item-img
    img {
    transform: scale(1.06);
  }
}

.custom-select-categories__btn {
  margin-block-start: 60px;
  width: min(100%, 200px);
  margin-inline: auto;

  @media (min-width: 768px) {
    margin-block-start: 73px;
  }
}

/* 📔カテゴリ一覧セクション */
.custom-top-categories {
  margin-block-start: 11px;
  position: relative;
  padding-block: 100px 134px;
  overflow: hidden;

  @media (min-width: 768px) {
    margin-block-start: 140px;
  }
}

/* 雲型のあしらい */
.custom-top-categories::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 265px;
  aspect-ratio: 265 / 137;
  transform: translate(30%, 10%);
  background: url(./assets/images/svg/categories_deco.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: var(--stack-backward);
  animation: cloud-sway-right 8s ease-in-out infinite;
}

/* 雲型のあしらい */
.custom-top-categories::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 265px;
  aspect-ratio: 265 / 137;
  transform: translate(-30%, -15%);
  background: url(./assets/images/svg/categories_deco-2.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: var(--stack-backward);
  animation: cloud-sway-left 10s ease-in-out infinite;
}

/* 雲の揺れアニメーション - 右側の雲 */
@keyframes cloud-sway-right {
  0% {
    transform: translate(30%, 10%);
  }
  50% {
    transform: translate(50%, 10%);
  }
  100% {
    transform: translate(30%, 10%);
  }
}

/* 雲の揺れアニメーション - 左側の雲 */
@keyframes cloud-sway-left {
  0% {
    transform: translate(-30%, -15%);
  }
  50% {
    transform: translate(-50%, -15%);
  }
  100% {
    transform: translate(-30%, -15%);
  }
}

@media screen and (min-width: 768px) {
  .custom-top-categories::before {
    width: 363px;
    aspect-ratio: 362 / 186;
    transform: translate(20%, 10%);
  }

  .custom-top-categories::after {
    width: 363px;
    aspect-ratio: 362 / 186;
    transform: translate(-30%, -30%);
  }
}

.custom-top-categories__inner {
  width: calc(100% - 20px * 2);
  margin-inline: auto;
  padding-block: 70px 103px;
  padding-inline: 12px 0;
  border-radius: 20px;
  border: 1px solid #e6e6e6;
  background: var(--white);

  @media (min-width: 768px) {
    width: calc(100% - 100px * 2);
    margin-inline: auto;
    padding-block: 76px 103px;
    padding-inline: 100px;
  }
}

.custom-top-categories__title {
  color: var(--black);
  text-align: center;
  font-size: 1.625rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2.6px;

  @media (min-width: 768px) {
    font-size: 2.625rem;
  }
}

.custom-top-categories__block {
  margin-block-start: 65px;

  @media (min-width: 768px) {
    margin-block-start: 47px;
  }
}

.custom-top-categories__block:last-child {
  margin-block-start: 50px;

  @media (min-width: 768px) {
    margin-block-start: 60px;
  }
}

.custom-top-categories__block-title {
  color: var(--fw-bold);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2px;

  @media (min-width: 768px) {
    font-size: 1.625rem;
  }
}

.custom-top-categories__block-list {
  margin-block-start: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline-end: 20px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-block-end: 16px;

  @media (min-width: 768px) {
    gap: 30px;
  }
}

.custom-top-categories__block-item {
  flex: 0 0 auto;
  width: 140px;

  a {
    display: grid;
    gap: 15px;

    span {
      color: var(--black);
      text-align: center;
      font-size: 0.9375rem;
      font-weight: var(--fw-bold);
      line-height: 180%;
      letter-spacing: 1.3px;
    }
  }
}

.custom-top-categories__block-item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: var(--transition);
  }
}

@media (any-hover: hover) {
  .custom-top-categories__block-item
    a:hover
    .custom-top-categories__block-item-img
    img {
    transform: scale(1.06);
  }
}

/* スクロールバーのスタイル調整（オプション） */
.custom-top-categories__block-list::-webkit-scrollbar,
.custom-select-categories__block-list::-webkit-scrollbar {
  height: 6px;
}

.custom-top-categories__block-list::-webkit-scrollbar-thumb
  .custom-select-categories__block-list::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* 『働きながら旅したい！』 方へセクション */
.custom-top-pages {
  padding-block: 77px 54px;

  @media (min-width: 768px) {
    margin-block-start: 70px;
    padding-block: 0;
  }
}

.custom-top-pages__inner {
  width: calc(100% - 20px * 2);
  margin-inline: auto;

  @media (min-width: 768px) {
    width: calc(100% - 100px * 2);
    margin-inline: auto;
  }
}

.custom-top-pages__contents {
  margin-block-start: 32px;
  padding-block: 52px;
  padding-inline: 8px;
  border-radius: 20px;
  border: 1px solid #e6e6e6;
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;

  @media (min-width: 768px) {
    margin-block-start: 44px;
    padding-block: 0;
    padding-inline: 0;
    border: none;
    border-radius: none;
    background: transparent;
    grid-template-columns: repeat(4, 1fr);
  }
}

.custom-top-pages-article {
  a {
    transition: var(--transition);
  }
}

@media (any-hover: hover) {
  .custom-top-pages-article a:hover {
    .custom-top-pages-article__thumb img {
      transform: scale(1.06);
    }
  }
}

.custom-top-pages-article__thumb {
  width: 100%;
  aspect-ratio: 160 / 90;
  border-radius: 10px;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: var(--transition);
  }
}

.custom-top-pages-article__title {
  margin-block-start: 7px;
  color: var(--black);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 1.3px;

  @media (min-width: 768px) {
    font-size: 1.125rem;
  }
}

/* ページボトムセクション */
.custom-bottom {
  margin-block-start: 108px;
  position: relative;
  overflow: hidden;
  z-index: var(--stack-bottom);

  @media (min-width: 768px) {
    margin-block-start: 178px;
  }
}

/* 枠を超えて、もっと『ノマド』に！ */
.custom-bottom__title {
  width: 100%;
  padding-inline-start: 21px;
  margin-inline: auto;
  overflow: hidden;

  @media (min-width: 768px) {
    margin-inline: 100px 0;
    padding-inline: 0;
  }

  p {
    color: var(--black);
    font-size: 1rem;
    font-weight: var(--fw-bold);
    line-height: 1.8;
    letter-spacing: 4.8px;
  }

  h2 {
    margin-top: 16px;
    width: 100svw;
    margin-inline: calc(50% - 50dvw);
    padding-block: 10px;
    color: var(--black);
    text-align: center;
    font-family: var(--ff-afacad);
    font-size: 6rem;
    font-weight: var(--fw-medium);
    line-height: 100%;
    text-wrap: nowrap;
    white-space: nowrap;
    overflow-x: hidden;

    @media (min-width: 768px) {
      margin-top: 26px;
      font-size: 6.625rem;
    }
  }

  h2 span {
    display: inline-block;
    animation: scroll-right-to-left 50s linear infinite;
    white-space: nowrap;
  }
}

@keyframes scroll-right-to-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ページボトム背景 */
.custom-bottom__bg {
  display: none;

  @media (min-width: 768px) {
    margin-block-start: 50px;
    display: block;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    aspect-ratio: 1440 / 342;
    overflow: hidden;

    /* パララックス画像 */
    background-image: url(./assets/images/custom-footer_bg-lg.webp);
    background-size: cover;
    /* background-position: center 50%; */
    background-repeat: no-repeat;
  }
}

/* ************ */
/* archive-page */
/* ************ */
#archive_header {
  padding: 0;
  background: #f9fafa;
  border-radius: 0;
  box-shadow: none;

  /* リセット用 */
  h1 {
    margin: 0;
  }
}

/* ページタイトル */
.custom-archive-header__title {
  color: var(--primary);
  font-family: var(--ff-afacad);
  font-size: calc(60 / var(--sp-base) * 100vw);
  font-weight: var(--fw-medium);
  line-height: 120%;
  text-transform: capitalize;

  @media (min-width: 768px) {
    font-size: min(calc(120 / var(--pc-base) * 100vw), 7.5rem);
  }
}

/* カテゴリーネーム */
.custom-archive-header__cat-name {
  margin-block-start: 0.5em;
  color: var(--black);
  font-size: calc(24 / var(--sp-base) * 100vw);
  font-weight: var(--fw-bold);
  line-height: 100%;
  letter-spacing: 2.4px;

  @media (min-width: 768px) {
    font-size: min(calc(32 / var(--pc-base) * 100vw), 2rem);
    letter-spacing: 3.2px;
  }
}

/* #single.php */
#entry {
  /* リセット用 */
  background: #f9fafa;
  box-shadow: none;
  border-radius: 0;
  border: none;

  margin-block-start: 14px;
  width: calc(100% - 20px * 2);
  margin-inline: auto;

  @media (min-width: 768px) {
    margin-block-start: 0;
    width: 100%;
  }

  header {
    color: var(--black);

    @media (min-width: 768px) {
      border-block-end: 1px solid #e6e6e6;
    }
  }
}

.article-header {
  /* リセット用 */
  padding: 0;
  margin: 0;

  @media (min-width: 768px) {
    padding-block-end: 40px;
  }
}

.single-title,
.page-title {
  /* リセット用 */
  padding: 0;
  margin: 0;
  color: var(--black);
}

/* 個別ページタイトル */
.single-title {
  margin-block-start: 20px;
  color: var(--black);
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2.2px;

  @media (min-width: 768px) {
    margin-block-start: 30px;
    font-size: 2rem;
    letter-spacing: 3.2px;
  }
}

/* 投稿日・カテゴリーのwrapper */
.entry-meta {
  /* リセット用 */
  padding: 0;
  margin: 0;
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--black);
  margin-block-start: 14px;

  @media (min-width: 768px) {
    margin-block-start: 20px;
  }
}

/* サムネイル */
.post-thumbnail {
  /* リセット用 */
  margin: 0;
  padding: 0;
}

/* 投稿本文 */
.entry-content {
  /* リセット用 */
  padding: 0;
  margin: 0;

  margin-block-start: 42px;

  @media (min-width: 768px) {
    margin-block-start: 0;
    padding-block-start: 40px;
  }

  /* 本文サイズ */
  p {
    font-size: 0.9375rem;
  }
}

/* 投稿ページfooter */
.custom-entry-footer__share {
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  border-radius: 15px;

  @media (min-width: 768px) {
    display: none;
  }
}

.custom-entry-footer__share-top {
  background: var(--primary);
  padding-block: 12px 9px;
  padding-inline: 16px;
  color: var(--white);
  font-weight: var(--fw-bold);
  line-height: 160%;
  text-align: center;
  border-radius: 15px 15px 0px 0px;

  h2 {
    position: relative;
    display: inline;
    font-size: 1.125rem;
  }

  h2::before,
  h2::after {
    position: absolute;
    content: "";
    top: 50%;
    left: -0.7em;
    width: 2px;
    height: 18px;
    transform: translate(0, -50%) rotate(-20deg);
    background: var(--white);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: var(--transition);
  }

  h2::before {
    transform: translate(0, -50%) rotate(-20deg);
    animation: share-bounce-left 3s ease-in-out infinite;
    animation-delay: 1s;
  }

  h2::after {
    left: auto;
    right: -0.7em;
    transform: translate(0, -50%) rotate(20deg);
    animation: share-bounce-right 3s ease-in-out infinite;
    animation-delay: 1s;
  }
}

@keyframes share-bounce-left {
  0%,
  20%,
  40%,
  100% {
    transform: translate(0, -50%) rotate(-20deg);
  }
  10% {
    transform: translate(0, -80%) rotate(-20deg);
  }
  30% {
    transform: translate(0, -80%) rotate(-20deg);
  }
}

@keyframes share-bounce-right {
  0%,
  20%,
  40%,
  100% {
    transform: translate(0, -50%) rotate(20deg);
  }
  10% {
    transform: translate(0, -80%) rotate(20deg);
  }
  30% {
    transform: translate(0, -80%) rotate(20deg);
  }
}

.custom-entry-footer__share-buttons {
  background: var(--white);
  padding-block: 21px 23px;
  padding-inline: 20px;
  border-radius: inherit;
  border-radius: 0px 0px 15px 15px;
}

/* 横並びのシェアボタン */
.horizontal-share-buttons {
  width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

/* ボタンスタイル */
.share-button-horizontal {
  img {
    width: 42px;
    height: 42px;
    object-fit: contain;

    @media (max-width: 360px) {
      width: 36px;
      height: 36px;
    }
  }
}

/* 固定ページ */
.page-title {
  margin-block-start: 20px;
  color: var(--black);
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  line-height: 180%;
  letter-spacing: 2.2px;

  @media (min-width: 768px) {
    margin-block-start: 30px;
    font-size: 2rem;
    letter-spacing: 3.2px;
  }
}

/* single.phpフッター関連記事 */
.related-posts {
  margin-block: 70px;
}

.related-posts-title {
  color: var(--black);
  font-size: 1.625rem;
  font-weight: var(--fw-bold);
  line-height: 140%;
  letter-spacing: 2.6px;
}

.related-posts-grid {
  margin-block-start: 26px;
  display: grid;
  gap: 16px;

  @media (min-width: 768px) {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  @media (min-width: 1200px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-contents {
  padding: 0;
  margin: 0;
}

/* ********** */
/* 個別投稿ページのヘッダー表示制御 */
/* ********** */
body.single-post .custom-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
body.single-post .custom-header.is-visible-on-scroll {
  opacity: 1;
  pointer-events: auto;
}

/* ヘッダー子要素の順番アニメーション */
body.single-post .custom-header .custom-header__logo,
body.single-post .custom-header .custom-header__keywords-wrap,
body.single-post .custom-header .custom-header__btn-wrap,
body.single-post .custom-header .custom-header__drawer-btn {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
body.single-post .custom-header.is-visible-on-scroll .custom-header__logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}
body.single-post
  .custom-header.is-visible-on-scroll
  .custom-header__keywords-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
body.single-post .custom-header.is-visible-on-scroll .custom-header__btn-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}
body.single-post
  .custom-header.is-visible-on-scroll
  .custom-header__drawer-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

/* 非表示に戻る時はdelay逆順 */
body.single-post
  .custom-header:not(.is-visible-on-scroll)
  .custom-header__drawer-btn {
  transition-delay: 0.05s;
}
body.single-post
  .custom-header:not(.is-visible-on-scroll)
  .custom-header__btn-wrap {
  transition-delay: 0.15s;
}
body.single-post
  .custom-header:not(.is-visible-on-scroll)
  .custom-header__keywords-wrap {
  transition-delay: 0.25s;
}
body.single-post
  .custom-header:not(.is-visible-on-scroll)
  .custom-header__logo {
  transition-delay: 0.35s;
}

/* ********** */
/* author-infoのカスタマイズ */
/* ********** */
.pastel-bc,
.has-sango-pastel-background-color,
body #inner-content .pastel-bc {
  background-color: #dff1f3;
}

.author-info {
  padding: 0;
  border-radius: 15px;
}

.author-info__inner {
  border-radius: inherit;
}

.author-info__inner .tb {
  border-radius: inherit;
  box-shadow: 0px 3px 14px 0px rgba(0, 0, 0, 0.08);
}

.author-info__inner .tb-left {
}

/* author名前 */
.author-info__inner .tb-left .aut dt a {
  color: var(--black);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 200%;
  letter-spacing: 0.42px;
}

.author-info__inner .tb-left dd {
  padding-top: 0;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.3px;
}

/* この記事を書いた人のラベル */
.author_label span {
  width: 100%;
  text-align: center;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
}

/* 吹き出し矢印 */
.author_label span:before {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -1px);
  border: 10px solid transparent;
  border-top: solid 10px var(--primary);
  content: "";
}

.author-info__inner .tb-right {
  color: var(--black);
  font-size: 0.6875rem;
  line-height: 200%;
  letter-spacing: 0.33px;
}

/* snsアイコン */
.follow_btn a {
  color: transparent;
  font-size: 1px;
  margin: 7px 7px 0 0;
}

.follow_btn a:before {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border-radius: 50%;
  font-family: FontAwesome;
  font-size: 23px;
  text-align: center;
  line-height: 32px;
}

.follow_btn .X::before {
  width: 32px;
  height: 32px;
}

/* ********** */
/* contact-form7の設定 */
/* ********** */
/* .custom-form-select {
  display: block;
  width: fit-content;
  background-color: #eef1f5;
  padding-inline-end: 2.5em;
  background-image: url(./assets/images/svg/arrow-select.svg);
  background-position: 94.5% center;

  option {
    background-color: #fff;
  }
} */

/* ラジオボタンのスタイル */
.custom-radio {
  margin-block-start: 1em;
  display: flex;
  flex-direction: column;
  gap: 8px;

  /* 1つのアイテム */
  .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  /* ラベルテキスト */
  .wpcf7-list-item-label {
    color: var(--black);
    font-size: 0.8125rem;
    font-weight: var(--fw-medium);
  }

  .wpcf7-list-item {
    margin: 0;
  }

  .wpcf7-list-item label {
    position: relative;
  }

  /* ラジオボタンの外側の円 */
  .wpcf7-list-item label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    background-color: #fff;
  }

  /* チェック時の内側の点 */
  .wpcf7-list-item input[type="radio"]:checked ~ .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
  }
}

/* submitボタンのスタイル */
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  inline-size: min(100%, 206px);
  padding: 7px;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  border: 1px solid;
  line-height: 1.8;
  touch-action: manipulation;
  user-select: none;
  transition: var(--transition);
}

@media (any-hover: hover) {
  button,
  html input[type="button"],
  input[type="reset"],
  input[type="submit"]:hover {
    color: var(--primary);
    background: var(--white);
    border-color: var(--primary);
  }
}

.custom-form-acceptance {
  color: var(--black);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  line-height: 1.8;

  a {
    color: inherit;
    text-decoration: underline !important;
    transition: var(--transition);
  }

  label {
    display: flex;
    align-items: center;
    gap: 0.5em;
  }
}

@media (any-hover: hover) {
  .custom-form-acceptance a:hover {
    opacity: var(--opacity-hover);
  }
}

.custom-form-acceptance,
.custom-form-submit {
  display: flex;
  justify-content: center;
  align-items: center;

  p {
    width: 100% !important;
    text-align: center !important;
  }
}

.wpcf7-spinner {
  position: absolute;
}
