* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hina Mincho", serif;
}

ol {
  list-style: none;
}

main {
  text-align: left;
}

.content {
  margin: 64px auto;
}

/* =============ヘッダー===================== */

header {
  background-color: #001d67;
  height: 100px;
  display: flex;
}

h1 img {
  height: 80px;
  margin: 10px auto;
  padding: 10px 30px;
}

/* ==============================
パンくずリスト
=============================== */

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  padding: 20px 30px;
  text-align: left;
}

.breadcrumb li {
  margin-right: 10px;
  font-size: 12px;
}

.breadcrumb a {
  margin-right: 10px;
  color: #00064d;
}

/* -----------------------
ハンバーガーメニュー
------------------------ */

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin: 20px 30px;
  background-color: rgba(255, 255, 255, 0.5);
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all 0.4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* オフキャンバスのメニュー本体（ハンバーガーで開閉） */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background-color: #001d67;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.25);
  transform: translateX(-110%);
  transition: transform 0.35s;
  z-index: 90;
  border-radius: 20px;
}

.nav.active {
  transform: translateX(0);
}

/* アコーディオン（2段階） */
.accordion-menu {
  margin: 0;
  padding: 100px 20px 0;
  list-style: none;
}

.nav_item {
  margin: 16px 0;
}

.nav_link,
.nav_sublink,
.nav_sub2link {
  display: block;
  text-decoration: none;
}

.nav_link {
  color: #eee;
  font-weight: 900;
  background-color: #001d67;
  padding: 14px 16px;
  border-radius: 8px;
}

/* 既存の `.nav_list a` を使っていた分を無効化して新クラスに寄せる */
.nav_list a {
  background: none;
  padding: 0;
  border-radius: 0;
}

.has-sub > .dropdownlink {
  position: relative;
}

.has-sub > .dropdownlink::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #eee;
  border-bottom: 2px solid #eee;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s;
}

.has-sub.open > .dropdownlink::after {
  transform: translateY(-40%) rotate(-135deg);
}

.submenuItems {
  display: none;
  margin: 10px 0 0;
  padding: 0 0 0 14px;
}

.nav_sublink {
  color: #001d67;
  font-weight: 800;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 8px;
}

.nav_sub {
  margin: 10px 0;
}

/* 2段目 */
.nav_sub2 {
  margin: 10px 0;
}

.nav_sub2link {
  color: #001d67;
  font-weight: 700;
  background: #f2f2f2;
  padding: 10px 14px;
  border-radius: 8px;
}

/* 2段目の矢印は少し薄く */
.nav_sub.has-sub > .dropdownlink::after {
  border-right-color: #001d67;
  border-bottom-color: #001d67;
}

.header_content {
  width: 100%;
  height: 600px;
  background-color: #00064d;
}

/*--------------------------
         スライドショー 
 --------------------------*/

.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  box-shadow: 5px 5px 15px -10px;
}

/* 対応ブラウザでは動的ビューポートを優先 */
@supports (height: 100dvh) {
  .slider {
    height: 100dvh;
    min-height: 100dvh;
  }
}

/* iOS Safari の “100vh問題” 対策 */
@supports (-webkit-touch-callout: none) {
  .slider {
    height: 100svh;
    min-height: 100svh;
  }
}

.slider div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: slide-fade;
  animation-duration: 30s; /* 30秒に変更 */
  animation-iteration-count: infinite;
  transform: scale(1.5); /* 最初に画像を大きくしておく */
}

@keyframes slide-fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: scale(1); /* ここで画像サイズを1に戻す */
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
.slider div:first-of-type {
  background-image: url(../img/a-studio01.jpg);
}
.slider div:nth-of-type(2) {
  background-image: url(../img/b-studio01.jpg);
  animation-delay: 10s;
}
.slider div:nth-of-type(3) {
  background-image: url(../img/c-studio01.jpg);
  animation-delay: 10s;
}
.slider div:last-of-type {
  background-image: url(../img/d-studio01.jpg);
  animation-delay: 20s;
}

/* -----------------------
ハンバーガーメニュー
------------------------ */

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin: 20px 30px;
  background-color: rgba(255, 255, 255, 0.5);
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all 0.4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* オフキャンバスのメニュー本体（ハンバーガーで開閉） */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background-color: #001d67;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.25);
  transform: translateX(-110%);
  transition: transform 0.35s;
  z-index: 90;
  border-radius: 20px;
}

.nav.active {
  transform: translateX(0);
}

/* アコーディオン（2段階） */
.accordion-menu {
  margin: 0;
  padding: 100px 20px 0;
  list-style: none;
}

.nav_item {
  margin: 16px 0;
}

.nav_link,
.nav_sublink,
.nav_sub2link {
  display: block;
  text-decoration: none;
}

.nav_link {
  color: #eee;
  font-weight: 900;
  background-color: #001d67;
  padding: 14px 16px;
  border-radius: 8px;
}

/* 既存の `.nav_list a` を使っていた分を無効化して新クラスに寄せる */
.nav_list a {
  background: none;
  padding: 0;
  border-radius: 0;
}

.has-sub > .dropdownlink {
  position: relative;
}

.has-sub > .dropdownlink::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #eee;
  border-bottom: 2px solid #eee;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s;
}

.has-sub.open > .dropdownlink::after {
  transform: translateY(-40%) rotate(-135deg);
}

.submenuItems {
  display: none;
  margin: 10px 0 0;
  padding: 0 0 0 14px;
}

.nav_sublink {
  color: #001d67;
  font-weight: 800;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 8px;
}

.nav_sub {
  margin: 10px 0;
}

/* 2段目 */
.nav_sub2 {
  margin: 10px 0;
}

.nav_sub2link {
  color: #001d67;
  font-weight: 700;
  background: #f2f2f2;
  padding: 10px 14px;
  border-radius: 8px;
}

/* 2段目の矢印は少し薄く */
.nav_sub.has-sub > .dropdownlink::after {
  border-right-color: #001d67;
  border-bottom-color: #001d67;
}

.header_content {
  width: 100%;
  height: 600px;
  background-color: #00064d;
}

/* -----------------------
      メインコンテンツ     
-------------------------*/

.content_section {
  display: block;
  margin: 64px auto;
  width: calc(100% - 32px);
  max-width: 800px;
  padding: 0px 25px;
  border-radius: 10px;
  border: 0.5px solid #cecece;
  background-color: #ffffff;
  box-shadow: 5px 5px 20px -10px;
  margin-bottom: 64px;
}

/* ======================
TOPICS
====================== */
#topics {
  margin-bottom: 24px;
}

#topics-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topics-item {
  border-bottom: 1px solid #e6e6e6;
}

.topics-link {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 6px;
  text-decoration: none;
  color: inherit;
}

.topics-date {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

.topics-title {
  font-size: 14px;
}

/* ======================
        予約カレンダー
====================== */

.booking_status {
  display: block;
  margin: 32px auto 32px;
  text-align: center;
}

.content_title {
  width: auto;
  font-size: 20px;
  font-weight: 700;
  margin-top: 64px;
  margin-bottom: 32px;
  padding-left: 10px;
  border-left: 5px solid #00064d;
}

.status {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 32px auto;
  height: 950px;
  border: 0;
}

/* ======================
        注意事項
====================== */

.attention_p {
  font-size: 15px;
  margin-bottom: 32px;
}

.attention_btn {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
  justify-content: center;
}

.attention_btn a {
  width: 100%;
  max-width: 400px;
  text-align: center;
  font-size: 25px;
  color: #00064d;
  margin: 16px 32px;
  padding: 20px 40px;
  border: 3px solid #00064d;
  border-radius: 10px;
  background-color: #ffffff;
}

.attention_content {
  transition-duration: 0.4s;
}
.attention_content:hover {
  transform: scale(1.1);
}

/* ======================
        スタジオ紹介
====================== */

.title_area-2 {
  background-color: #00064d;
  padding: 20px 50px;
  display: flex;
}

.title_area-2 img {
  height: 150px;
  -webkit-filter: drop-shadow(
    0px 3px 10px rgba(92, 92, 92, 0.8)
  ); /* SafariなどのWebkitブラウザ用 */
  filter: drop-shadow(0px 3px 10px rgba(79, 79, 79, 0.5));
}

.sub_title-2 {
  margin-left: 40px;
  font-size: 20px;
  font-weight: 700;
  line-height: 2rem;
  color: #ffffff;
  -webkit-filter: drop-shadow(
    0px 3px 10px rgba(92, 92, 92, 0.8)
  ); /* SafariなどのWebkitブラウザ用 */
  filter: drop-shadow(0px 3px 10px rgba(79, 79, 79, 0.5));
}

.studio_area {
  margin: 0 auto;
  width: 100%;
  max-width: 684px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.studio_items {
  margin: 20px 40px;
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  background-color: #00064d;
  border: 6px solid #00064d;
  justify-content: center;
  transition-duration: 0.4s;
}

.studio_items:hover {
  transform: scale(1.1);
}

.studio_item img {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
}

.studio_text {
  width: 100%;
  max-width: 250px;
  background-color: #ffffff;
  border: 2px solid #00064d;
  border-radius: 10px;
}
.s_1 {
  font-size: 40px;
  font-weight: 900;
  color: #00064d;
  text-align: center;
  margin: 20px auto;
}

.s_2 {
  text-align: right;
  padding: 5px;
  color: #00064d;
}

/* ======================
        予約サイト
====================== */

.booking_p {
  font-size: 15px;
  margin-bottom: 32px;
}

.booking_site {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
  justify-content: center;
  transition-duration: 0.4s;
}

.booking_site:hover {
  transform: scale(1.1);
}

.booking_site a {
  width: 100%;
  max-width: 400px;
  text-align: center;
  font-size: 25px;
  color: #00064d;
  margin: 16px 32px;
  padding: 20px 40px;
  border: 3px solid #00064d;
  border-radius: 10px;
  background-color: #ffffff;
}

/* ----------------
      問い合わせ     
-------------------*/

form {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 25px;
  font-size: 16px;
  margin-top: 10px;
}

textarea {
  width: 100%;
  height: 300px;
  padding: 10px;
  margin-bottom: 25px;
  font-size: 16px;
  margin-top: 10px;
}

.contact {
  margin: 64px auto;
  border: 0.5px solid #cecece;
  border-radius: 20px;
  box-shadow: 10px 10px 15px -10px;
  padding: 0px 50px;
}

label span {
  color: #ffffff;
  background-color: #ff0000;
  padding: 1px 2px;
  border-radius: 6px;
  font-size: 10px;
  margin-left: 10px;
}

#submit {
  border-radius: 10px;
  background-color: #00064d;
  border: 1px solid #00064d;
  color: #ffffff;
  transition-duration: 0.4s;
}

#submit:hover {
  transform: scale(1.1);
}

/*--------------------
        マップ 
 --------------------*/

.map_area {
  width: 100%;
  max-width: 650px;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 5px 5px 20px -10px;
}

.access_text {
  width: calc(100% - 32px);
  max-width: 600px;
  display: block;
  margin: 32px auto;
}

.access_title {
  font-size: 20px;
  font-weight: 900;
  text-align: left;
  margin: 20px 0px;
  margin-left: 10px;
  padding-left: 15px;
  border-left: 5px solid #00064d;
}

.access_text p {
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 450px) {
  h1 img {
    height: 50px;
    margin: 20px auto;
    padding: 10px 30px;
  }

  .about_content {
    width: 350px;
  }

  .heading02 {
    font-size: 18px;
  }

  .company_text {
    font-size: 14px;
  }

  .keireki {
    font-size: 16px;
  }

  .profile {
    font-size: 12px;
  }

  .br {
    display: none;
  }

  .about_content li {
    font-size: 12px;
  }
  .sub {
    font-size: 9px;
  }


}

.studio_info {
  width: 100%;
  max-width: 700px;
  margin: 32px auto;
  line-height: 2rem;
  padding: 0 16px;
}

.studio_info li {
  padding-left: 20px;
  border-left: 4px solid#00064d;
  margin-bottom: 16px;
}

.studio_table {
  margin: 64px auto;
}

.studio_tbody {
  border: 1px solid #00064d;
}

.studio_td {
  border: 1px solid #00064d;
  padding: 20px 50px;
}

.studio_IMG img {
  margin: 0 auto;
  height: 400px;
  display: block;
  justify-content: center;
}

/* =========================
プライバシーポリシー
===========================*/

.p-content {
  width: 100%;
  display: block;
  padding: 0px 64px;
}

.pbt {
  font-size: 40px;
  margin-bottom: 30px;
}

.p-c,
.o1 {
  font-size: 12px;
  line-height: 2rem;
}

.o2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}

.o3 {
  margin: 30px 0px;
  text-align: right;
}

.last-pc {
  margin-bottom: 64px;
}

/* ------------------------
about
-------------------------- */

.info_title {
  font-size: 25px;
  background-color: #00064d;
  color: #ffffff;
  width: auto;
  padding: 10px;
}

.info_block {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 64px auto;
  padding: 0 16px;
}

.info_block h4 {
  font-size: 20px;
  text-align: center;
  color: #00064d;
  border: 3px solid #00064d;
  padding: 10px;
  margin-bottom: 64px;
}

.info_tabel {
  margin: 32px 40px;
}

.info_td {
  padding: 10px 20px;
}

.hassei_p {
  margin: 32px 0px;
  font-weight: 800;
}

.cancel_p {
  font-weight: 800;
  margin: 16px 0px;
}
.cancel_ex {
  font-size: 15px;
  margin: 16px 0px;
}

.bihin_list {
  margin: 16px 0px;
}
.bihin_info {
  margin: 16px 0px;
  font-size: 12px;
  color: #666;
}

.marker_y {
  background: linear-gradient(transparent 50%, #ffcc00 50%);
}

.marker_p {
  background: linear-gradient(transparent 50%, #ffbaf5 50%);
}

.att_title {
  font-size: 25px;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem 1.5rem 130px;
  border: 2px solid #000;
}

.att_title:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: "";
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #000;
}

.att_title span {
  font-size: 40px;
  font-size: 4rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}

.att_box {
  margin: 64px 0;
}

.att_box p {
  margin: 32px;
  line-height: 2rem;
}

.att_st {
  font-size: 25px;
  font-weight: 900;
}

.att_mute {
  font-size: 14px;
  font-weight: 700;
  color: #7f7f7f;
}

.att_big {
  font-size: 25px;
  font-weight: 900;
  color: red;
}

/* ----------------------------
予約について
------------------------------*/

.book_ol {
  margin: 64px auto;
  width: 100%;
  max-width: 600px;
  font-size: 18px;
  padding: 0 16px;
}

.book_li {
  margin: 16px 0;
  line-height: 2rem;
}
.book_text {
  margin: 32px 20px;
  font-size: 18px;
}

/* ----------------------------
スタジオ一覧
------------------------------*/

.studio_box {
  margin: 64px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.studio_name {
  font-size: 25px;
  font-weight: 900;
  position: relative;
  padding: 1rem 2rem calc(1rem + 10px);
  background: #3496fe;
  color: #ffffff;
}

.studio_name:before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
  height: 100%;
  content: "";
  border: 4px solid #000;
}

.studio_box img {
  margin: 0 auto;
  height: 220px;
}

.studio_ul {
  width: 100%;
  max-width: 700px;
  line-height: 2rem;
  margin-left: 0;
}

.not_room {
  color: red;
  font-size: 20px;
  font-weight: 900;
}

.studio_box li {
  margin-top: 10px;
}

.link_li a {
  color: #fff;
  background-color: #00064d;
  padding: 10px;
  border-radius: 10px;
}

.hikaku_table {
  margin: 32px auto;
}

.hikaku_tbody {
  margin: 64px auto;
  border: 2px solid #00064d;
}

.hikaku_th {
  padding: 20px 10px;
  border-right: 2px solid #00064d;
  border-bottom: 2px dashed #00064d;
  background-color: #d3e8ff;
  font-size: 15px;
}

.hikaku_td {
  padding: 20px;
  border-right: 2px solid #00064d;
  border-bottom: 2px dashed #00064d;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.hikaku_th .mute {
  font-size: 10px;
  color: #333;
}

/* ===================================
利用規約
==================================== */

.terms {
  width: 90%;
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.85;
  font-size: 16px;
  color: #111;
}
.terms h2 {
  font-size: 22px;
  margin: 64px 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #111;
}
.terms h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}
.terms .meta {
  margin: 6px 0 18px;
  font-size: 14px;
  color: #333;
}
.terms .article {
  margin: 18px 0;
}
.terms .article-title {
  font-weight: 700;
  margin: 0 0 8px;
}
.terms .article-title .no {
  display: inline-block;
  min-width: 4.5em;
}
.terms ol {
  margin: 0 0 0 2.1em;
  padding: 0;
}
.terms li {
  margin: 6px 0;
}
.terms .note {
  margin: 10px 0;
  color: #333;
}
.terms table {
  border-collapse: collapse;
  width: 100%;
  margin: 14px 0;
}
.terms th,
.terms td {
  border: 1px solid #999;
  padding: 10px;
  vertical-align: top;
}
.terms th {
  background: #f3f3f3;
  text-align: left;
}
.terms .contact {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #999;
}
/* =========================
   Mobile adjustments (single breakpoint)
========================= */

@media screen and (max-width: 600px) {
  .title_area {
    top: 90px;
    padding: 16px 18px;
    max-width: 100%;
  }

  .title_area img {
    height: min(260px, 62vw);
  }

  .title_area-2 {
    top: 90px;
    padding: 16px 18px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  .title_area-2 img {
    height: 80px;
  }

  .sub_title {
    margin-left: 0;
    font-size: 16px;
    line-height: 1.6rem;
  }

  .sub_title-2 {
    margin-left: 0;
    font-size: 10px;
    line-height: 1rem;
  }

  .hamburger {
    margin: 12px 12px;
  }

  .content_section {
    padding: 0 14px;
  }

  .contact {
    padding: 0 14px;
  }

  textarea {
    height: 220px;
  }

  .studio_items {
    width: 100%;
    max-width: 250px;
    margin: 12px 10px;
  }

  .studio_IMG img {
    height: auto;
    max-height: 320px;
  }

  .status {
    height: 900px;
  }


  /* =========================
プライバシーポリシー
===========================*/

  .p-content {
    padding: 0px 32px;
  }

  .pbt {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .p-c,
  .o1 {
    font-size: 12px;
    line-height: 1.2rem;
  }

  /* =============---=========-
  比較テーブル
  ===============-------======*/

  .hikaku_scroll {
    overflow-x: scroll;
  }

  .hikaku_table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
  }
}
