@charset "UTF-8";

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --base-color: #fff;
  --font-color: #333;
  --main-color: #d01982;
  --accent-color: #20b2aa;
  --third-color: #1f1f1f;
  --fourth-color: #bce5e3;
  --fifth-color: #d8d8d8;
  --sixth-color: #1e1d46;
  --seventh-color: #f3f3f3;
  --eighth-color: #e4fafa;
  --ninth-color: #f1dfe9;
  --main-font-family: "Zen Old Mincho", "游明朝", "YuMincho", "ＭＳ Ｐ明朝",
    "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro",
    "Sawarabi Mincho", serif;
  --bootstrap-icon: bootstrap-icons !important;
  --base-letter-spacing: 0.08em;
  --base-font-weight: 700;
}

* {
  min-height: 0vw;
  /* Safari clamp関数対策 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

body {
  width: 100%;
  margin: 0 auto;
  font-family: var(--main-font-family);
  font-style: normal;
  font-optical-sizing: auto;
  color: var(--font-color);
  text-align: center;
  background: var(--base-color);
  letter-spacing: var(--base-letter-spacing);
  font-weight: var(--base-font-weight);
}

#wrapper {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  #wrapper {
    min-width: 1280px;
  }
}

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

a {
  color: var(--font-color);
}

a::before,
a::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
}

a,
a::before,
a::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

a:hover {
  filter: alpha(opacity=60);
  opacity: 0.6;
}

a[href^="mailto:"] {
  text-decoration: underline;
}

table {
  width: 100%;
  box-sizing: border-box;
}

table th,
table td {
  box-sizing: border-box;
}

/*==========================================
PC表示で電話番号リンクを無効
===========================================*/
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/*==========================================
iOS版Chrome対策
===========================================*/
a[href^=fax] {
  -webkit-tap-highlight-color: transparent !important;
  pointer-events: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  text-decoration: none !important;
}

/*==========================================
非表示項目設定
===========================================*/
@media screen and (min-width: 768px) {
  .pc-none {
    display: none !important;
  }
}

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

/*==========================================
スマホ用ドロワー無効
===========================================*/
@media screen and (min-width: 768px) {
  .drawer_menu {
    display: none;
  }

  #nav-toggle,
  #global-nav {
    display: none;
  }

  .drawer_menu {
    display: none;
  }
}

/*==========================================
Flexbox
===========================================*/
@media screen and (min-width: 768px) {
  .flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  /*折り返し
    -----------------------*/
  .flx-wrp {
    flex-wrap: wrap;
  }

  /*逆順
    -----------------------*/
  .flx-rr {
    flex-direction: row-reverse;
  }

  /*積み重なるように配置
    -----------------------*/
  .flx-column {
    flex-direction: column;
  }

  /*水平方向の揃え
    =================================================*/
  /*初期値
    -----------------------*/
  .flx-strt {
    -webkit-justify-content: start;
    justify-content: start;
  }

  /*並列で均等配置（左右隙間なし=space-between）
    -----------------------*/
  .flx-btw {
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }

  /*並列で均等配置（左右隙間あり=space-around）
    -----------------------*/
  .flx-ard {
    -webkit-justify-content: space-around;
    justify-content: space-around;
  }

  /*水平揃え　末揃え
    -----------------------*/
  .flx-end {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
  }

  /*水平揃え　中央揃え
    -----------------------*/
  .flx-center {
    -webkit-justify-content: center;
    justify-content: center;
  }

  /*垂直方向の揃え
    =================================================*/
  /*水平揃え　上揃え
    -----------------------*/
  .flx-alitem-strt {
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  /*水平揃え　高さ揃え
    -----------------------*/
  .flx-alitem-strch {
    -webkit-align-items: stretch;
    align-items: stretch;
  }

  /*水平揃え　縦・横の中央揃え
    -----------------------*/
  .flx-alitem-c {
    -webkit-align-items: center;
    align-items: center;
  }

  /*水平揃え　下揃え
    -----------------------*/
  .flx-alitem-end {
    -webkit-align-items: flex-end;
    align-items: flex-end;
  }

  /*水平揃え　ベースライン揃え
    -----------------------*/
  .flx-alitem-base {
    -webkit-align-items: baseline;
    align-items: baseline;
  }

  /*複数行にした揃え方
    =================================================*/
  /*初期値
    -----------------------*/
  .flx-alcont-strt {
    -webkit-align-content: flex-start;
    align-content: flex-start;
  }

  /*親要素の開始位置から配置。上揃え
    -----------------------*/
  .flx-alcont-strch {
    -webkit-align-content: stretch;
    align-content: stretch;
  }

  /*親要素の終点から配置。下揃え
    -----------------------*/
  .flx-alcont-end {
    -webkit-align-content: flex-end;
    align-content: flex-end;
  }

  /*中央揃え
    -----------------------*/
  .flx-alcont-c {
    -webkit-align-content: center;
    align-content: center;
  }

  /*最初と最後の子要素を上下の端に配置し、残りの要素は均等に間隔をあけて配置
    -----------------------*/
  .flx-alcont-s-btw {
    -webkit-align-content: space-between;
    align-content: space-between;
  }

  /*上下端にある子要素も含め、均等に間隔をあけて配置
    -----------------------*/
  .flx-alcont-s-ard {
    -webkit-align-content: space-around;
    align-content: space-around;
  }

  .flex-order-1 {
    order: 1;
  }

  .flex-order-2 {
    order: 2;
  }
}

/*==========================================
サイトの標準横幅と内部余白
===========================================*/
@media screen and (min-width: 768px) {
  .inbox {
    width: 1080px;
    margin: 0 auto;
  }

  .com-pd {
    padding: 135px 0;
  }

  .com-pt {
    padding-top: 135px;
  }

  .com-pb {
    padding-bottom: 135px;
  }

  .com-mt {
    margin-top: 135px;
  }

  .com-mb {
    margin-bottom: 135px;
  }
}

@media screen and (max-width: 767px) {
  .inbox {
    padding: 0 8%;
    margin: 0 auto;
  }

  .com-pd {
    padding: 18% 0;
  }

  .com-pt {
    padding-top: 18%;
  }

  .com-mt {
    margin-top: 18%;
  }

  .com-pb {
    padding-bottom: 18%;
  }

  .com-mb {
    margin-bottom: 18%;
  }
}

/*==========================================
投稿画像トリミング
===========================================*/
.com-img {
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 1;
  aspect-ratio: 16/9;
}

.com-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*==========================================
ページネーション
===========================================*/
/* 一覧ページ
----------------------------*/
ul.pagenation {
  display: flex;
  width: 100%;
  justify-content: center;
  color: var(--main-color);
  position: relative;
  padding-top: 2.5%;
  border-top: 1px solid #e6e6e6;
  margin-top: 4%;
}

ul.pagenation li {
  background: #fff;
  color: var(--main-color);
  box-sizing: border-box;
}

ul.pagenation li a {
  display: block;
  color: var(--main-color);
  padding: 6px 13px;
  border: 1px solid var(--main-color);
  position: relative;
}

ul.pagenation li a:hover {
  background: var(--main-color);
  color: #fff !important;
  filter: alpha(opacity=100);
  opacity: 1;
}

ul.pagenation .current {
  background: var(--main-color);
  color: #fff !important;
  padding: 7px 14px;
}

@media screen and (min-width: 768px) {
  .pagenation {
    font-size: 1.4rem;
  }

  ul.pagenation {
    gap: 0 15px;
    padding-top: 40px;
    margin-top: 90px;
  }
}

@media screen and (max-width: 767px) {
  .pagenation {
    font-size: 1rem;
  }

  ul.pagenation {
    gap: 0 5%;
    padding-top: 10%;
    margin-top: 12%;
  }
}

/* 詳細ページ
----------------------------*/
div.pagenation {
  color: var(--main-color);
  position: relative;
  margin-top: 15%;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 60px;
}

div.pagenation a {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: 15px 0;
  font-size: 1.6rem;
}

div.pagenation a:hover {
  opacity: 1;
  background: var(--main-color);
  color: #fff;
}

div.pagenation .right,
div.pagenation .left {
  width: 15%;
}

div.pagenation .right a,
div.pagenation .left a {
  position: relative;
}

div.pagenation .right a:hover span::before,
div.pagenation .left a:hover span::before {
  border-color: #fff;
}

div.pagenation .right {
  margin-left: auto;
}

div.pagenation .right a {
  padding-right: 5%;
}

div.pagenation .right a span {
  position: relative;
}

div.pagenation .right a span:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: auto;
  right: -20px;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: all 0.3s;
}

div.pagenation .center {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: bold;
  top: 0;
  width: 30%;
  margin: 0 auto;
}

div.pagenation .left a {
  padding-left: 5%;
}

div.pagenation .left a span {
  position: relative;
}

div.pagenation .left a span:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  right: auto;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  transition: all 0.3s;
}

@media screen and (max-width: 767px) {
  div.pagenation {
    margin-top: 17%;
    min-height: 11vw;
  }

  div.pagenation a {
    font-size: 3.45vw;
    padding: 2vw 0;
  }

  div.pagenation .right,
  div.pagenation .left {
    width: 18%;
  }

  div.pagenation .right a {
    padding-right: 20%;
  }

  div.pagenation .right a span::before {
    right: -3vw;
  }

  div.pagenation .left a {
    padding-left: 20%;
  }

  div.pagenation .left a span::before {
    left: -3vw;
  }
}

/*==========================================
ページトップ
===========================================*/
.pagetop {
  position: fixed;
  bottom: 8%;
  right: 3%;
  z-index: 999;
}

/*==========================================
site.php
===========================================*/
#site-map li {
  border-bottom: 1px solid var(--main-color);
  text-align: left;
  font-weight: 700;
}

#site-map li a {
  padding: 12px 25px 12px 35px;
  display: block;
  position: relative;
}

#site-map li a:before,
#site-map li a:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

#site-map li a:before {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border: 1px solid var(--main-color);
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

#site-map li a:after {
  left: 5px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#site-map li a:hover {
  color: var(--main-color);
  letter-spacing: 2px;
}