@charset "utf-8";

/*  ↓ ↓ ↓ Material Icons css読み込みコード ※ HTMLで読み込まない場合のコード */
/* @import url(https://fonts.googleapis.com/icon?family=Material+Icons); */

:root { --bg-color: #f9f9f9; }
:root { --text-color: #333; }
:root { --mainGray-color: #666; }
:root { --accent-color: #7cd6c3; }
:root { --accentDeep-color: #41ccae; }
:root { --accentLight-color: #cdece7; }
:root { --accentPale-color: #e3f4f1; }
:root { --info-red: #dd0000; }
:root { --info-required: #ec5151; }
:root { --link-blue: #05aeeb; }

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
body {
  line-height: 1;
  font-size: 1.6rem;
  color: #333;
  letter-spacing: 0.05rem;
  /*  ↓ ↓ ↓ swiperでslidesPerView指定した際に起こる（cssでサイズ指定しない場合）
  リロード時の画像拡大のチラつきをカムフラージュする */
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
}
html {
  font-size: 62.5%;
}

body.active {
  opacity: 1;
  visibility: visible;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {

}
@media screen and (max-width:767px) {
body {
    font-size: 1.5rem;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  font管理
----------------------------------------- */
body {
  /* font-family: "ads-arinco", sans-serif; */
  /* font-family: "Zen Kaku Gothic Antique", sans-serif; */
  /* font-family: "Zen Maru Gothic", sans-serif; */
  font-family: "Catamaran", "Zen Maru Gothic", sans-serif;
  font-weight: 400;
}
.site-title, .footer {
  font-family: "Catamaran";
}
/* ナビゲーション */
.spnav {
  font-family: "ads-arinco";
}
/* 共通タイトル */
.section-title.en,
.content-title.en,
.sub-text,
.content-sub {
  font-family: "Catamaran", "Zen Maru Gothic", sans-serif;
}
/* About */
.about .section-title span {
  font-family: "ads-arinco";
}
/* modal popup 閉じるボタン */
.modal-close, .popup-close {
  font-family: "Zen Maru Gothic", sans-serif;
}
/* Topics */
.content-item .item-title {
  font-family: "ads-arinco";
}
/* Work Shop */
.accordion-label.q .year-mon,
.accordion-label.q .day {
  font-family: "Catamaran";
}
/* footer */
.footer {
  font-family: "Catamaran", "Zen Maru Gothic", sans-serif;
}


/* -----------------------------------------
  汎用CSS
----------------------------------------- */
.tc { text-align: center !important; }
.tl { text-align: left !important; }
.tr { text-align: right !important; }

.block { display: block; } 
.inbl { display: inline-block; } 
.inline { display: inline; } 
.none { display: none; } 

.bold { font-weight: bold !important; }
.light { font-weight: lighter !important; }

.red { color: #dd0000; }
.blue { color: #3086e8; }
.pink { color: #e979d1; }
.mint { color: var(--accent-color); }
.mint-d { color: var(--accentDeep-color); }

/* フォントサイズ */
.ss { font-size: 12px !important; }
.s { font-size: 14px !important; }
.ns { font-size: 15px !important; }
.n { font-size: 16px !important; }
.nl { font-size: 18px !important; }
.l { font-size: 20px !important; }
.ll { font-size: 22px !important; }

/* マージン */
.mb10 { margin-bottom: 10px!important; }
.mb20 { margin-bottom: 20px!important; }
.mt10 { margin-top: 10px!important; }
.mt20 { margin-top: 20px!important; }

/* デバイス */
.sumaho { display: none !important; }
.tablet { display: none !important; }

/* 水性マーカー風下線 */
.marker {
  background: linear-gradient(transparent 60%, rgba(124, 214, 195, 0.7) 80%);
}

/* テキストリンク */
.text-link {
  text-decoration: underline;
  color: var(--link-blue) !important;
  font-weight: normal;
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    font-weight: 500;
  }
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .tablet { display: block !important; }
  .no-tablet { display: none !important; }
} 
@media screen and (max-width:767px) {
  body {
    font-size: 1.5rem;
  }
  .sumaho { display: block !important; }
  .no-sumaho { display: none !important; }
  }
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  ヘッダー
----------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10rem;
  padding: 0 8%;
}
/* サイトタイトル */
.header-inner .site-title {
  /* vwの計算方法　（基準となる文字サイズ）÷（基準となる幅）× 100
     font-size: clamp(最小値, 基準値, 最大値); */
  font-size: clamp(20px, 4vw, 36px);
  line-height: 1.2;
  color: #333;
}

.header-active {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1440px) {
   .header-inner {
    padding: 0 4rem;
  }
}
@media screen and (max-width:1024px) {
  .header-inner {
    padding: 0 4rem;
  }
}
@media screen and (max-width:767px) {
  .header-inner {
    position: relative;
    padding: 0 1.5rem;
    height: 5rem;
  }
}
/* メディアクエリ end ----------------*/


/* -----------------------------------------
  ナビゲーション pc
----------------------------------------- */
.pcnav ul {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 4rem;
}
.pcnav ul li {
  font-size: 2rem;
  line-height: 1.5;
}
.pcnav ul li a {
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .pcnav ul li a:hover {
  color: var(--accent-color);
  }
}
.spnav,
.menu-btn {
  display: none;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .pcnav ul {
    gap: 3rem;
  }
}
@media screen and (max-width:767px) {
  .pcnav {
    display: none;
  }
  /* スマホメニューボタン */
  .menu-btn {
    display: block;
    position: absolute;
    right: 15px;
    top: 0;
    width: 20px;
    height: 50px;
    z-index: 999;
  }
  .menu-btn > span {
    position: absolute;
    top: 24px;
    right: 0;
    width: 20px;
    height: 2px;
    background: #555;
    transition: 300ms;
  }
  .menu-btn > span:nth-child(2) {
    top: 16px;
  }
  .menu-btn > span:nth-child(3) {
    top: 32px;
  }
  .menu-btn.open > span {
    top: 24px;
    width: 26px;
  }
  .menu-btn.open > span:nth-child(1),
  .menu-btn.open > span:nth-child(2) {
    rotate: 135deg;
  }
  .menu-btn.open > span:nth-child(3) {
    rotate: -135deg;
  }

  /* スマホメニュー */
  .spnav {
    display: block;
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 998;
    transition: 400ms;
  }
  .spnav ul {
    width: 100%;
    height: 100%;
    padding: 10rem 6rem 6rem;
  }
  .spnav ul li {
    font-size: 1.8rem;
    line-height: 1.5;
    border-bottom: 1px dotted #aaa;
    margin-bottom: 4rem;
  }
  .spnav ul li a {
    display: block;
    padding: 1rem;
  }
  .spnav.show {
    right: 0;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
    メイン
----------------------------------------- */
.main {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

/* ネガティブマージンで横幅をはみ出している時に表示されるスクロールバーを非表示にする方法
　 ネガティブマージン親要素に指定する（画面全体にバーが出ているならmainなどに適用するとよい） */
.main {
  overflow: auto; /* または overflow: scroll; */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE, Edge */
}
.main::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  
}
@media screen and (max-width:767px) {
  .main {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  メインビジュアル、About 共用Swiper設定
----------------------------------------- */
/* swiper */
.kv {
  width: 100%;
}
.kv-inner {
  width: 100%;
  margin: 0 auto;
}
.main-visual .kv-inner {
  padding: 1rem 0;
}
.kv-swiper {
  width: 100%;
  position: relative;
}
/* main-visualの画像比率 */
#swiper1 .swiper-slide {
  width: 100%;
  /* swiperでslidesPerView指定した際のリロード時の画像拡大を防ぐためにmax-widthを指定しておく */
  max-width: 1257px;
  height: auto;
  aspect-ratio: 1200/600;
}
/* aboutの画像比率 */
#swiper2 .swiper-slide {
  width: 100%;
  height: auto;
  aspect-ratio: 800/500;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ページ送り矢印 (main-visualのみ) */
.kv .swiper-button-prev,
.kv .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  z-index: 20;
  opacity: 0;
  scale: 0.8;
  cursor: pointer;
  transition: 300ms;
  /* 子要素の中央配置 */
  display: grid;
  place-content: center;
}
.kv .swiper-button-prev {
  left: 40px;
  right: auto;
}
.kv .swiper-button-next { 
  right: 40px;
  left: auto;
}

/* ＜＞矢印作成 */
.kv .swiper-button-prev:after,
.kv .swiper-button-next:after {
  content: "";
  width: 15px;
  height: 15px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translate(-2px, -2px);
}
.kv .swiper-button-prev:after {
  rotate: 135deg;
}
.kv .swiper-button-next:after {
  rotate: -45deg
  ;
}
@media (hover: hover) and (pointer: fine) {
  /* ページ送り矢印 */
  .kv .swiper:hover .swiper-button-prev,
  .kv .swiper:hover .swiper-button-next {
    opacity: 1;
    scale: 1;
  }
}

/* ページネーション (カルーセル共通) */
.swiper-pagination {

}
/* インジケーター */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}
/* active時のインジケーター 〇の色 */
.swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  
}
@media screen and (max-width:767px) {
  .main-visual .kv-inner {
    padding: 0;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  スライダー中央 グループ　swiper
----------------------------------------- */
.sc {
  width: 100%;
}
.sc-inner {
  max-width: 120rem;
  margin: 0 auto;
}
.sc-swiper {
  /* ↓ hoverで動く分上に伸ばす。ページネーション分下に伸ばす */
  padding: 5px 0 30px;
}

/* jsで要素の表示数を指定している時は、
swiper-slideに直接「transition」を適用すると
「ページ外スムーススクロール位置」がずれる。
なので、<a>要素に設定する。slidesPerView:'auto'にしていれば問題ないみたいだが… */
.sc-swiper .swiper-slide>a {
  display: block;
  aspect-ratio: 400/400;
  transition: 300ms;
}
@media (hover: hover) and (pointer: fine) {
  .sc-swiper .swiper-slide>a:hover  {
    transform: translateY(-5px);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
}

/* ページネーション */
.sc .swiper-pagination {
  bottom: 0px;
  left: 0;
  display: flex;
}
.sc .swiper-pagination-bullet {
  width: calc((100% - 8px) / 3);
  height: 10px;
  border-radius: 0;
  background: #555;
  opacity: 0.2;
}
/* active時の■の色 */
.sc .swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
}

/* ページ送り矢印の〇作成 */
.sc .swiper-button-prev,
.sc .swiper-button-next {
  color: var(--accent-color);
}

 /* 矢印の大きさはafterでfont-size指定 */
.sc .swiper-button-prev:after,
.sc .swiper-button-next:after {
  font-size: 3rem;
}

/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
  .sc .swiper-button-prev:hover,
  .sc .swiper-button-next:hover {
    opacity: 0.7;
  }
}
/* loop:false時の始点終点矢印機能off */
.sc .swiper-button-disabled {
  pointer-events: none;
  opacity: 0.3;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {

}
@media screen and (max-width:767px) {
  .sc-swiper {
    /* ↓ hoverとpagination分伸ばしたのを解除 */
    padding: 0;
  }
  .sc .swiper-pagination {
    display: none;
  }
  .sc .swiper-button-prev {
    left: 0;
  }
  .sc .swiper-button-next {
    right: 0;
  }
  .sc .swiper-button-prev:after,
  .sc .swiper-button-next:after {
    font-size: 2.4rem;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  スライダー右側フル　swiper
----------------------------------------- */
.sr {
  width: 100%;
}
.sr-inner {
  max-width: 120rem;
  margin: 0 auto;
}
.sr-swiper {
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  /* ↓ hoverで動く分伸ばす */
  padding: 5px 0;
}

.sr-swiper .swiper-slide {
  aspect-ratio: 400/400;
  width: 18.3rem;
  transition: 300ms;
}
@media (hover: hover) and (pointer: fine) {
  .sr-swiper .swiper-slide:hover  {
    transform: translateY(-5px);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
}

/* ページコントローラー */
.sr .swiper-controller {
  position: relative;
  width: 1200px;
  height: 60px;
}

/* ページネーション */
.sr .swiper-pagination {
  top: 20px;
  left: 0;
}
.sr .swiper-pagination-bullets.swiper-pagination-horizontal {
  /* ↓ 既存スタイル解除 */
  width: auto;
}
.sr .swiper-pagination-bullet {
  width: 40px;
  height: 8px;
  background: #555;
  opacity: 0.2;
  /* ↓ 既存スタイル解除 */
  border-radius: 0;
}
/* active時の■の色 */
.sr .swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
}

/* ページ送り矢印の〇作成 */
.sr .swiper-button-prev,
.sr .swiper-button-next {
  top: 20px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  transition: 300ms;
  color: #fff;
  /* ↓ 既存スタイル解除 */
  margin-top: 0;
}
.sr .swiper-button-prev {
  right: 50px;
  /* ↓ 既存スタイル解除 */
  left: auto;
}
.sr .swiper-button-next {
  right: 0;
} 

/* ＜＞矢印カスタマイズ */
.sr .swiper-button-prev:after,
.sr .swiper-button-next:after {
  font-size: 1.6rem;
  font-weight: bold;
}
.sr .swiper-button-prev:after {
  margin-left: -4px;
}
.sr .swiper-button-next:after {
  margin-right: -4px;
}
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
  .sr .swiper-button-prev:hover,
  .sr .swiper-button-next:hover {
    opacity: 0.7;
  }
}
/* loop:false時の始点終点矢印機能off */
.sr .swiper-button-disabled {
  pointer-events: none;
  opacity: 0.3;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .sr-swiper .swiper-slide {
    width: 16rem;
  }
  /* ページコントローラー */
  .sr .swiper-controller {
    width: 100%;
    height: 50px;
  }
  .sr .swiper-button-prev {
    top: 10px;
    right: 90px;
  }
  .sr .swiper-button-next {
    top: 10px;
    right: 40px;
  } 
}
@media screen and (max-width:767px) {
  .sr .sr-swiper {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
    padding-top: 0;
  }
  .sr-wrapper {
    width: 100%;
    height: calc(100vw - 40px);
  }
  .sr-swiper .swiper-slide {
    height: calc(50% - 5px);
  }
  .sr .swiper-pagination {
    display: none;
  }
  .sr .swiper-button-prev {
    right: 70px;
  }
  .sr .swiper-button-next {
    right: 20px;
  } 
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
    共通
----------------------------------------- */
section {
  width: 100%;
}
.section-inner {
  max-width: 128rem;
  margin-inline: auto;
  padding: 8rem 4rem;
}
.section-title {
  font-size: 2.4rem;
  line-height: 1.2;
}
.section-title.en {
  font-size: 3rem;
}
.sub-text {
  font-size: 1.5rem;
  line-height: 1.5;
}
.content {
  margin-top: 4rem;
}
.content:first-child {
  margin-top: 2rem;
}
.content-title-box {
  margin-bottom: 1rem;
}
.baked-sweets .content-title-box,
.cake .content-title-box {
  margin-bottom: 0.5rem;
}
.content:first-child .content-title-box {
  margin-top: -1rem;
}
.content-title.en {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}
.content-sub {
  font-size: 1.4rem;
}
/* section 背景色 */
.bg-white {
  background: #fff;
}
.bg-gray {
  background: #f9f9f9;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
    body p {
    font-size: 1.5rem;
  }
  .section-inner {
    padding: 6rem 4rem;
  }
  .baked-sweets .content-title-box,
  .cake .content-title-box {
    margin-bottom: 1rem;
  }
}
@media screen and (max-width:767px) {
    body p {
    font-size: 1.4rem;
  }
  .section-inner {
    padding: 4rem 1.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-title.en {
    font-size: 2.4rem;
  }
  .sub-text {
    margin-top: 0rem;
    font-size: 1.4rem;
  }
  .content {
    margin-top: 3rem;
  }
  .content:first-child {
    margin-top: 1.5rem;
  }
  .content-title-box {
    margin-bottom: 0.8rem;
  }
  .content-title.en {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .content-sub {
    font-size: 1.3rem;
  }

}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  営業時間のお知らせ
----------------------------------------- */
.info {
  background: #fff;
}
.info .section-inner {
  padding: 2rem 4rem;
}
.info .content {
  margin-top: 0;
}
.info-box {
  display: flex;
  align-items: end;
  gap: 40px;
}
.info-image {
  width: 100px;
  height: 90px;
}
.info-text {
  flex: 1;
}
.info-text>p {
  font-size: 14px;
  line-height: 1.5;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {

}
@media screen and (max-width:767px) {
  .info .section-inner {
    padding: 1rem 1.5rem;
  }
  .info .content {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .info-box {
    gap: 2rem;
  }
}
/* メディアクエリ end -----------------*/

/* -----------------------------------------
  About
----------------------------------------- */
.about .section-inner {
  position: relative;
  margin-top: 4rem;
}
.about .section-inner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: -8rem;
  top: 0;
  margin-right: calc(50% - 50vw + 8rem);
  padding-right: calc(50vw - 50% + 8rem);
  background: #f7f7f7;
  padding-bottom: 8rem;
  z-index: -1;
}
.about .section-title {
  font-size: 1.8rem;
}
.about .section-title span {
  position: absolute;
  top: -1.5rem;
  left: -11rem;
  writing-mode: vertical-lr;
  font-size: 6rem;
  color: #888;
  z-index: 1;
}
.about-box {
  display: flex;
  justify-content: space-between;
  gap: 10%;
}
.about-image {
  width: 60%;
}
.about-text-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.about-text-area>p {
  line-height: 2;
  margin-bottom: 20px;
}
.about-details {
  margin-top: auto;
}
.white-board {
 background: #fff;
 padding: 15px;
}
.white-board-inner {
  border-left: 6px double #aaa;
}
.white-board-inner>p {
  margin-left: 15px;
  font-size: 15px;
  line-height: 2;
}
/* 注意書き小文字（共通） */
.small-notice {
  font-size: 1.2rem;
  margin-left: 1em;
  margin-top: 8px;
  line-height: 1.2;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1440px) {
  .about .section-inner {
    margin-left: 8rem;
  }
  .about .section-inner::before {
    left: -4rem;
  }
  .about .section-title span {
    left: -7rem;
  }
}
@media screen and (max-width:1024px) {
  .about .section-inner {
    max-width: 95%;
    margin-left: 5%;
  }
  .about .section-inner::before {
    width: 100%;
    left: auto;
    right: 0;
    margin-right: 0;
    padding-right: 0;
  }
  .about .section-title {
    font-size: 2rem;
  }
  .about .section-title span {
    top: -1rem;
    left: -2rem;
    font-size: 4rem;
  }
  .about-box {
    gap: 6%;
  }
  .about-image {
    width: 40%;
  }
}
@media screen and (max-width:767px) {
  .about .section-inner {
    margin-right: 5%;
  }
  .about .section-title {
    font-size: 1.6rem;
  }
  .about .section-title span {
    top: -0.5rem;
    left: -1.5rem;
    font-size: 3rem;
    color: #aaa;
    opacity: 0.2;
  }
  .about-box {
    flex-direction: column;
    gap: 2rem;
  }
  .about-image {
    width: 100%;
  }
  .white-board {
    margin-top: 0rem;
    padding: 1rem;
  }
  .white-board-inner {
    border-left: 3px double #aaa;
  }
  .white-board-inner>p {
    font-size: 14px;
    margin-left: 10px;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  Menu
----------------------------------------- */
.menu .section-title-box {
  margin-bottom: 2rem;
}
.flex-box {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.box-item {
  width: calc((100% - 16rem) / 5);
}
.box-content {
  cursor: pointer;
  transition: 300ms;
}
.box-image {
  aspect-ratio: 1/1;
}
.box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-name {
  margin-top: 0.6rem;
  font-size: 1.5rem;
}
/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .flex-box {
    gap: 1rem;
  }
  .box-item {
    width: calc((100% - 3rem) / 4);
  }
}
@media screen and (max-width:767px) {
  .menu .section-title-box {
    margin-bottom: 1rem;
  }
  .flex-box {
    gap: 1rem;
  }
  .box-item {
    width: calc((100% - 1rem) / 2);
  }
  .box-name {
    font-size: 1.4rem;
  }
}
/* メディアクエリ end -----------------*/


/* モーダルウィンドウ
----------------------------------------- */
.modal-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(50, 50, 50, 0.8);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
}
.modal-container.active {
  opacity: 1;
  visibility: visible;
}

/* モーダル本体 */
.modal-body {
  position: relative;
  width: 60%;
  height: 60vh;
  margin-inline: auto;
  margin-top: calc((100vh - 60vh) / 2);
  background: #fff;
}
/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  margin-bottom: 4rem;
  cursor: pointer;
  transition: 300ms;
  z-index: 3;
}
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
  .modal-close:hover {
    color: var(--accent-color);
    rotate: 180deg;
  }
}
/* モーダルコンテンツ */
.modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem;
}
.flex-box-2 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6%;
}
.flex-box-2 .box2-image {
  width: 50%;
  max-width: 40rem;
  height: auto;
  aspect-ratio: 1/1;
}
.box2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flex-box-2 .box2-textarea {
  flex: 1;
}
.box2-textarea p {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.box2-textarea .title {
  font-size: 1.8rem;
  font-weight: bold;
  border-bottom: 1px dotted #aaa;
  width: fit-content;
  padding-bottom: 0.5rem;
}
.box2-textarea .price {
  font-size: 1.8rem;
  text-align: right;
}
/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  /* モーダル本体 */
  .modal-body {
    width: 90%;
    height: 50vh;
    margin-top: calc((100vh - 50vh) / 2);
  }
}
@media screen and (max-width:767px) {
  /* 閉じるボタン */
  .modal-close {
    top: -3.5rem;
    right: 0;
    color: #fff;
  }
  /* モーダル本体 */
  .modal-body {
    width: 90%;
    height: 80vh;
    margin-top: calc((100vh - 80vh) / 2);
  }
  /* モーダルコンテンツ */
  .modal-content {
    padding: 5rem;
  }
  .flex-box-2 {
    flex-direction: column;
    gap: 1.5rem;
  }
  .flex-box-2 .box2-image {
    width: 100%;
    max-width: 40rem;
  }
  .box2-textarea p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  .box2-textarea .title {
    font-size: 1.6rem;
  }
  .box2-textarea .price {
    font-size: 1.6rem;
  }
}
/* メディアクエリ end -----------------*/



/* ポップアップウィンドウ
----------------------------------------- */
.popup {
  position: relative;
}
.popup-container {
  position: absolute;
  left: -10%;
  bottom: 110%;
  width: 120%;
  height: auto;
  background: #f9f9f9;
  padding: 2.5rem;
  border: 2px solid #aaa;
  border-radius: 0.5em;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
}
/* 下向き三角 上面 */
.popup-container::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-top: 30px solid #f9f9f9;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}
/* 下向き三角 影 */
.popup-container::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-top: 30px solid #aaa;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}
.popup-container.active {
  opacity: 1;
  visibility: visible;
}

.popup-close {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 2rem;
  cursor: pointer;
  transition: 400ms;
}
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
  .popup-close:hover {
    color: var(--accent-color);
    rotate: 180deg;
  }
}
.popup-textarea p {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.popup-textarea .title {
  font-size: 1.4rem;
  font-weight: 400;
  border-bottom: 1px dotted #aaa;
  width: fit-content;
  padding-bottom: 0.5rem;
}
.popup-textarea .price {
  font-size: 1.4rem;
  margin-bottom: 0;
}
/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .popup-container {
    left: 0;
    bottom: 110%;
    width: 100%;
    padding: 1.5rem 1.5rem 3.5rem;
  }
}
@media screen and (max-width:767px) {
  
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  News  tab 表示切替 リンクボタン付き
----------------------------------------- */
.tab-area {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}
.tab-area .tab {
  width: calc(100% / 3);
  font-size: 1.8rem;
  text-align: center;
  border: 1px solid #fff;
  background: #e9e9e9;
  color: #333;
  padding: 2rem;
  cursor: pointer;
  transition: 300ms;
}
@media (hover: hover) and (pointer: fine){
  .tab-area .tab:hover {
    opacity: 0.5;
  }
}
.tab.active {
  background: #fff;
  color: #333;
  font-weight: bold;
}

/* panel */
.panel {
  display: none;
}
.panel-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
} 
.panel-box {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.panel-item {
  width: calc((100% - 4rem) / 3);
  height: 11.2rem;
  background: #fff;
  border: 1px solid #ccc;
  padding: 1.5rem;
}
.panel-item .item-box {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.panel-item .item-content {
  flex: 1;
}
.panel-item .date {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.panel-item p {
  font-size: 1.5rem;
  line-height: 1.5;
}
.panel-item .report {
  /* 文字数(行数)を制限して「…」に置換え */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 任意の行数を指定 */
}
.panel-item .item-image {
  width: auto;
  height: 8rem;
  aspect-ratio: 3/2;
}
.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* active付与 */
.panel.active {
  display: block;
}

/* リンクテキスト */
.tab-link {
  margin-top: 4rem;
}
.tab-link li {
  font-size: 1.5rem;
  font-weight: 300;
  text-decoration: underline;
  cursor: pointer;
}
.tab-link li:not(:last-child) {
  margin-bottom: 1.5rem;
}
.panel:nth-child(1)>.tab-link { color:#aaa }
.panel:nth-child(2)>.tab-link { color:#aaa }
.panel:nth-child(3)>.tab-link { color:#aaa }
@media (hover: hover) and (pointer: fine){
  .tab-link li:hover {
    color: var(--accent-color);
  }
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .panel-item {
    width: calc((100% - 2rem) / 2);
  }
  .panel-item .item-image {
    aspect-ratio: 4/3;
    height: 8rem;
  }
}
@media screen and (max-width:767px) {
  .tab-area {
    margin-bottom: 2rem;
  }
  .tab-area .tab {
    font-size: 1.5rem;
    padding: 1.5rem 0.2rem;
  }
  .panel-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  } 
  .panel-box {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .panel-item {
    width: 100%;
  }
}
/* メディアクエリ end -----------------*/

/* -----------------------------------------
  tab 絞り込み機能付き
----------------------------------------- */
.tab-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4rem;
}
.tab-btn {
  width: calc(100% / 4);
  font-size: 1.8rem;
  text-align: center;
  border-top: 4px solid #ececec;
  background: #ececec;
  color: #333;
  padding: 1.6rem 2rem 2rem;
  box-sizing: border-box;
  cursor: pointer;
  transition: 300ms;
}
@media (hover: hover) and (pointer: fine){
  .tab-list .tab-btn:hover {
    opacity: 0.5;
  }
}
.tab-btn.active {
  background: #fff;
  color: #333;
  border-top: 4px solid #aaa;
  font-weight: bold;
}

/* content */
.content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.content-item {
  display: none;
  width: calc((100% - 4rem) / 2);
  height: 140px;
  background: #fff;
}
.content-item .item-box {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  height: 14rem;
}
.content-item .item-content {
  flex: 1;
}
.content-item .item-title {
  font-size: 1.7rem;
  line-height: 1.5;
  font-weight: bold;
  /* タイトル2行分の高さを確保 */
  height: calc((16px * 1.5) + (16px * 2) + 10px);
}
.content-item p {
  font-size: 1.4rem;
  line-height: 1.8;
}
.content-item .report {
  /* 文字数(行数)を制限して「…」に置換え */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 任意の行数を指定 */
}
.content-item .item-image {
  width: auto;
  height: 100%;
  aspect-ratio: 4/3;
}
.content-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* active付与 */
.content-item.active {
  display: block;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) { 
  .content-list {
    flex-direction: column;
  }
  .content-item {
    width: 100%;
  }
}
@media screen and (max-width:767px) {
  .tab-list {
    margin-bottom: 2rem;
  }
  .tab-btn {
    font-size: 1.5rem;
    padding: 1.1rem 0.2rem 1.5rem;
  }
  .content-item {
    height: auto;
  }
  .content-item .item-box {
    flex-direction: column;
    gap: 1rem;
    height: auto;
  }
  .content-item .item-title {
    /* タイトル2行分の高さを解除 */
    height: auto;
    margin-bottom: 1rem;
  }
  .content-item .item-image {
    width: 100%;
    aspect-ratio: 3/2;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  Work Shop　アコーディオン
----------------------------------------- */
/* アコーディオン */
.accordion {
  float: left;
  margin-right: 5rem;
  width: calc(100% - (37rem + 5rem));
}
.accordion-item {
  border-top: 3px double #ccc;
  border-bottom: 3px double #ccc;
}
.accordion-item:not(:last-child) {
  margin-bottom: 2rem;
}

/* アコーディオン タイトル */
.accordion-title {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  background: #fff;
}
.accordion-title-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  padding: 1.5rem 2rem;
}
.accordion-date {
  width: 10rem;
  display: flex;
  align-items: center;
  transition: 300ms;
}
.accordion-date .year {
  width: 2em;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 600;
}
.accordion-date .day {
  font-size: 4rem;
  margin-left: 1.5rem;
  font-weight: 500;
}
.accordion-title-text {
  width: calc(100% - (10rem + 4rem + 4rem));
  font-size: 1.7rem;
  line-height: 1.5;
  padding-top: 0.8rem;
}
/* 開閉アイコン */
.accordion-title::before,
.accordion-title::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 2rem;
  width: 2rem;
  height: 0.2rem;
  background: #666;
  color: var(--main-color);
  z-index: 10;
  transition: 300ms;
}
.accordion-title::after {
  rotate: 90deg;
}

/* アコーディオン コンテンツ */
.accordion-content {
  position: relative;
  cursor: pointer;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s;
  background: #fff;
}
.accordion-content-inner {
  max-width: 56rem;
  margin-left: 14rem;
  padding: 1rem 2rem 2rem;
}
.accordion-content-text > p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
/* スケージュール */
.schedule {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0.3rem 0 0;
  margin-bottom: 1rem;
}
.schedule th,
.schedule td {
  font-size: 1.5rem;
  line-height: 1.2;
  padding: 0.3rem;
}
.schedule th {
  font-weight: normal;
  text-align: left;
}
.schedule td {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

/* click event  .open */
.accordion-title.open .accordion-date {
  color: var(--accent-color);
}
.accordion-content.open {
  height: 100%;
  opacity: 1;
  overflow: visible;
}
/* 開閉ボタン  .open */
.accordion-title.open::before,
.accordion-title.open::after {
  background: var(--accent-color);
} 
.accordion-title.open::before {
  rotate: 135deg;
}
.accordion-title.open::after {
  rotate: 225deg;
} 

/* Work Shop イメージ */
.work-image {
  width: 37rem;
  margin-left: auto;
}
.work-image #swiper2 .swiper-slide {
  aspect-ratio: 4/3;
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* float解除 */
.clear {
  clear: both;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .accordion {
  float: none;
    margin-right: 0;
    width: 100%;
  }
  .work-image {
    display: none;
  }
}
@media screen and (max-width:767px) {
  .accordion-title-inner {
    gap: 2rem;
    padding: 1rem 0.5rem;
  }
  .accordion-date {
    width: 4rem;
    flex-direction: column;
  }
  .accordion-date .year {
    font-size: 1.6rem;
  }
  .accordion-date .day {
    font-size: 3rem;
    margin-left: 0;
  }
  .accordion-title-text {
    width: calc(100% - (4rem + 2rem + 3rem));
    font-size: 1.6rem;
  }
  .accordion-title::before,
  .accordion-title::after {
    right: 0.5rem;
    width: 1.5rem;
  }
  .accordion-content-inner {
    max-width: 100%;
    margin-left: 0;
    padding: 1rem 2rem 2rem;
  }
}
/* メディアクエリ end -----------------*/


/* ---------------------------------------
  Access
--------------------------------------- */
.access-map {
  width: 100%;
  height: 400px;
  filter: grayscale(1);
}
.access-map iframe {
  width: 100%;
  height: 100%;
}
.access-text {
  display: flex;
  justify-content: space-between;
  border-top: 0.5px dashed #ccc;
  border-bottom: 0.5px dashed #ccc;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  gap: 10%;
}
.text-item>p {
  line-height: 1.4;
}
.text-item>p:not(:last-child) {
  margin-bottom: 1rem;
}
/* 電車アイコン付きテキスト */
.train-icon {
  position: relative;
  padding-left: 1.5em;
}
.train-icon::before {
  font-family: 'Material Icons';
  content: '\e570';
  display: inline-block;
  position: absolute;
  left: 0;
  top: -0.25em;
  font-size: 1.4em;
}
.train-icon.train-yellow::before {
  color: #d3c422;
}
.train-icon.train-navy::before {
  color: #0a3ba5;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {
  .access-map {
    height: 300px;
  }
  .access-text {
    flex-wrap: wrap;
    gap: 2rem;
  }
}
@media screen and (max-width:767px) {
  .access-text {
    flex-direction: column;
    gap: 1.5rem;
  }
}
/* メディアクエリ end -----------------*/

/* ---------------------------------------
  footer
--------------------------------------- */
.footer-content {
  padding: 0 8%;
}

/* contact info */
.contact-info-bg {
  background: var(--accentPale-color);
  /* ストライプ */
  /* background-image: repeating-linear-gradient(-45deg, #f9f9f9, #f9f9f9 4px, transparent 4px, transparent 12px); */
  /* ドット */
  /* background-color: var(--accentLight-color);
  background-image: radial-gradient(circle, #fff 2px, transparent 2px);
  background-position: 0 0;
  background-size: 30px 30px; */
}
.contact-info {
  padding-block: 6rem;
}
.contact-link {
  display: block;
  transition: 300ms;
}
.contact-link {
  width: 90%;
  max-width: 360px;
  margin-inline: auto;
  background: #fff;
  padding: 3rem;
}
.contact-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}
.mail {
  display: block;
  width: 100px;
  height: 64px;
  position: relative;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.mail span {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-radius: 6px;
}
.mail span:nth-child(1) { /* 左 */
  bottom: 0;
  left: 0;
  border-color: transparent transparent transparent #ededed;
  border-width: 32px 0px 32px 50px;
  z-index: 1;
}
.mail span:nth-child(2) { /* 右 */
  bottom: 0;
  right: 0;
  border-color: transparent #eaeaea transparent transparent;
  border-width: 32px 50px 32px 0px;
  z-index: 1;
}
.mail span:nth-child(3) { /* 下 */
  bottom: 0;
  left: 0;
  border-color: transparent transparent #ddd transparent;
  border-width: 0px 50px 45px 50px;
  z-index: 2;
  }
.mail span:nth-child(4) { /* 上 */
  top: 0;
  left: 0;
  border-color: #f9f9f9 transparent transparent transparent;
  border-width: 45px 50px 0px 50px;
  z-index: 3;
  transition: 300ms;
}
.contact-info .text {
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: center;
  margin-top: 1rem;
}

/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
 .contact-link:hover .mail span:nth-child(4) {
  border-color: var(--accentLight-color) transparent transparent transparent;
 }
}

/* footer info */
.footer-info-bg {
  background: #f9f9f9;
}
.footer-info {
  display: flex;
  justify-content: space-between;
  gap: 2%;
  padding-block: 8rem;
}
.footer-logo {
  font-size: clamp(24px, 3vw, 30px);
  white-space: nowrap;
  font-weight: bold;
}
/* footer loop */
.loop-container {
  margin-top: 3rem;
  width: 200px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  background: #000;
  padding: 1.5rem 1rem 1rem;
}
.loop-wrapper {
  display: flex;
  animation: loop-text 6s linear infinite;
}
.double-content {
  display: inline-block;
  font-size: 1.6rem;
  color: #fff;
  white-space: nowrap;
}
@keyframes loop-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* footer ナビ */
.footer-nav {
  flex: 1;
  margin-bottom: 2rem;
}
.parent-list {
  display: flex;
  justify-content: end;
  gap: 8%;
}
.child-list>li>a {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.6rem;
  white-space: nowrap;
}
.child-list>li:first-child>a {
  margin-top: 0;
}
.sub-list>li>a {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
  margin-left: 10px;
  font-size: 1.5rem;
  white-space: nowrap;
}
.sub-list>li>a::before {
  position: absolute;
  display: inline-block;
  content: '';
  left: -10px;
  top: 7px;
  width: 6px;
  height: 0.5px;
  background: #888;
}
.footer-nav a:after {
  position: absolute;
  content: '';
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  bottom: -3px;
  left: 0;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
 }
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
 .footer-nav a:hover::after {
  transform: scale(1, 1);
 }
}

/* copylight */
.copyright-bg {
  width: 100%;
  background: #222;
}
.copyright-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding-block: 1.5rem;
}
.footer .sns-list {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 2rem;
}
.footer .sns-list li {
  font-size: 2.2rem;
  font-weight: lighter;
}
.footer .copyright {
  font-size: 1.4rem;
  font-weight: 100;
}
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
 
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1440px) {
   .footer-content {
    padding-inline: 4rem;
  }
}
@media screen and (max-width:1024px) {
  .footer-content {
    padding-inline: 4rem;
  }
  .footer-info,
  .contanct-info {
    padding-block: 4rem;
  }
  .child-list>li>a {
    font-size: 1.5rem;
  }
  .sub-list>li>a {
    font-size: 1.4rem;
  }
  .copyright-bar {
    display: flex;
    padding-block: 1rem;
  }

  /* メールイラスト風css */
  .mail {
    width: 80px;
    height: 50px;
  }
  .mail span:nth-child(1) { /* 左 */
    border-width: 25px 0px 25px 40px;
  }
  .mail span:nth-child(2) { /* 右 */
    border-width: 25px 40px 25px 0px;
  }
  .mail span:nth-child(3) { /* 下 */
    border-width: 0px 40px 35px 40px;
    }
  .mail span:nth-child(4) { /* 上 */
    border-width: 35px 40px 0px 40px;
  }
}
@media screen and (max-width:767px) {
  .footer-content {
    padding-inline: 1.5rem;
  }
  .contact-link {
    padding: 2rem;
  }
  .footer-info {
    flex-direction: column;
    gap: 4rem;
  }
  .footer-nav {
    width: 90%;
  }
  .parent-list {
    justify-content: start;
    flex-wrap: wrap;
    gap: 6rem;
  }
}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  トップボタン、ボトムボタン
----------------------------------------- */
.top-btn, .bottom-btn {
  display: block;
  position: fixed;
  right: 4%;
  width: 4rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.8);
  background: #888;
  z-index: 9;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 200ms;
}
.top-btn {
  bottom: 10rem;
  border-radius: 4px 4px 0 0;
  border-bottom: none;
  background: #aaa;
} 
.bottom-btn {
  bottom: 7rem;
  border-radius: 0 0 4px 4px;
  border-top: none;
}

/* 矢印の土台 transform適用用空枠 */
.top-btn span,
.bottom-btn span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 300ms;
}
/* 矢印作成 */
.top-btn span::before,
.bottom-btn span::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.2rem;
  height: 1.2rem;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  z-index: 10;
}
.top-btn span::before {
  top: 0.8rem;
  rotate: 45deg;
}
.bottom-btn span::before {
  bottom: 0.8rem;
  rotate: 225deg;
}
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
  .top-btn span:hover::before,
  .bottom-btn span:hover::before  {
    /* 疑似要素にスタイルを設定 */
  }
  .top-btn:hover,
  .bottom-btn:hover {
    background: var(--accent-color);
  }
  .top-btn span:hover {
    transform: translateY(-3px);
  }
  .bottom-btn span:hover {
    transform: translateY(3px);
  }
}
/* activeクラスを付与された時 */
.top-btn.active,
.bottom-btn.active {
  opacity: 1;
  visibility: visible;
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {

}
@media screen and (max-width:767px) {

}
/* メディアクエリ end -----------------*/


/* -----------------------------------------
  ポップアップバナー　閉じたらボタンも消える
----------------------------------------- */
/* 共通設定 閉じたらボタンも消す */
.popup-bnr {
  position: fixed;
  width: auto;
  height: 240px;
  bottom: 20px;
  left: 20px;
  aspect-ratio: 600/500;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}
.popup-bnr.active {
  opacity: 1;
  visibility: visible;
}
.close-btn {
  position: absolute;
  right: -13px;
  top: -13px;
  width: 26px;
  height: 26px;
  background: #555;
  border-radius: 50%;
  transition: 300ms;
  cursor: pointer;
}
.close-btn::before,
.close-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transition: 300ms;
}
.close-btn::before {
  rotate: 45deg;
}
.close-btn::after {
  rotate: -45deg;
}
.bnr-link img {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
.popup-bnr.close {
  display: none;
}
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
  .close-btn:hover { background: #888;}
}

/* 個別設定 */


@media screen and (max-width:767px) {
  /* バナーが重なるので非表示に */
  .popup-bnr {
    display: none;
  }
}

/* -----------------------------------------
  ポップアップバナー　ボタンは常に表示
----------------------------------------- */
/* 共通設定 */
.switch-bnr {
  position: fixed;
  width: auto;
  height: 120px;
  right: 20px;
  bottom: 180px;
  aspect-ratio: 600/500;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}
.switch-bnr.active {
  opacity: 1;
  visibility: visible;
}
.switch-btn {
  position: absolute;
  right: -13px;
  top: -13px;
  width: 26px;
  height: 26px;
  background: #555;
  border-radius: 50%;
  transition: 300ms;
  cursor: pointer;
}
.switch-btn::before,
.switch-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transition: 300ms;
}
.switch-btn::before {
  rotate: 45deg;
}
.switch-btn::after {
  rotate: -45deg;
}
.bnr-link img {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* 個別サイズ設定 */
.bnr-right {
  bottom: 320px;
  height: 80px;
  aspect-ratio: 0;
}
.bnr-right .popup-ad {
  display: block;
  padding: 1rem 1rem 0.5rem;
  line-height: 1.3;
  font-size: 1.4rem;
  color: #fff;
  background: #fff;
  border-radius: 0.4rem;
  background: var(--accentDeep-color);
  outline: 2px solid #fff;
  outline-offset: -6px;
}


/* ホバー時、closeクラス付与時
----------------------------------- */
/* タッチデバイス時はhoverが効かない設定 */
@media (hover: hover) and (pointer: fine) {
  .switch-btn:hover { background: #888;}
  .close .switch-btn:hover { background: #888; }
}
/* ボタン押下でバナーを閉じる */
.close .bnr-link {
  display: none;
}
/* ボタン押下で「×」を「＋」に変更する */
.close .switch-btn::before {
  rotate: 0deg;
}
.close .switch-btn::after {
  rotate: -90deg;
}
.close .switch-btn {
  background: var(--accent-color);
}
@media screen and (max-width:767px) {
  .switch-bnr.bnr-right {
    /* display: none; */
  }
}




/* ---------------------------------------
  サンプルページ
--------------------------------------- */
#sample main {
  height: 100vh;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}
.title-area {
  margin-top: 20rem;
}
/* 元のページに戻るボタン */
.sample-title {
  text-align: center;
  margin: 4rem auto;
}
.back-btn {
  width: fit-content;
  margin: 0 auto;
  font-size: 1.4rem;
  border-radius:5px;
  color: #555;
  background: #fff;
  border: 1px solid #aaa;
  box-shadow: 0px 5px 1px #888;
  transition: 300ms;
  }
  .back-btn a {
    display: block;
    padding: 10px 40px;
  }
/* hover（タッチデバイスは除外） */
@media (hover: hover) and (pointer: fine) {
  .back-btn:hover {
    translate: 0 2px;
    opacity: 0.7;
    box-shadow: 0 3px 1px #888;
  }
  .back-btn:active {
    translate: 0 3px;
    box-shadow: none;
  }
}

/* メディアクエリ ---------------------*/
@media screen and (max-width:1024px) {

}
@media screen and (max-width:767px) {

}
/* メディアクエリ end -----------------*/



