/*
Theme Name: 神戸三ノ宮プライベートリラクゼーションサロン TOKINOMA
Theme URI: https://tokinoma.com/
Author: Chiaki
Description: tokinoma homepage
Version: 1.0
*/

/* ===================================
        リセットCSS
=================================== */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:22px;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}
li{
  list-style: none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #ccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}

/* ===================================
        オリジナルCSS
=================================== */
/* ===================================
            共通
=================================== */
body{
  margin:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  }

*{
  font-family: "Hiragino Mincho ProN", serif;
  letter-spacing:1.2px;
  background-color:transparent;
  color: #734e46;
}

a{
  text-decoration:none;
}

.section-title{
  font-size:28px;
  font-weight:normal;
  margin-bottom:15px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.en-section-title {
  width: 100%;
  font-size: 15px;
  color: #c5a992;
  font-weight: 600;
  text-align: center;
  letter-spacing: 5px;
  margin-bottom: 40px;
}

p{
  font-size: 0.9em
}

html {
  scroll-behavior: smooth;
}

@media screen and (max-width:768px){
    .section-title{
        font-size: 20px;
        margin-bottom: 8px;
    }

    .en-section-title {
      font-size: 12px;
    }

    p{
      font-size: 13px;
    }
}

/* ===================================
             ヘッダー
=================================== */
.site-header {
  position: fixed;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background: #eae7e2;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 8px;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1;
}

.header-logo img {
  display: block;
  width: 100px;
  height: auto;
}

.header-logo p {
  margin: 3px 0 0 0;
  font-size: 10px;
  color: #6b544b;
  letter-spacing: 0.05em;
  text-align: right;
}

@media (max-width: 600px) {
  .header-logo img {
    width: 90px;
  }

  .header-logo p {
    font-size: 9px;
  }
}

/* ハンバーガーメニュー */
.menu-icon {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: #af9982;
  border-radius: 999px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

#menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
}

.sp-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  max-width: 82%;
  height: 100vh;
  background: #f5f5f1;
  padding-top: 90px;
  transition: right 0.4s ease;
  z-index: 1000;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

#menu-toggle:checked ~ .sp-menu {
  right: 0;
}

.sp-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-menu li {
  border-bottom: 1px solid rgba(198, 169, 124, 0.15);
}

.sp-menu a {
  display: block;
  text-decoration: none;
  color: #734e46;
  font-size: 0.8em;
  padding: 18px 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.sp-menu a:hover {
  background: #dcd7d1;
}

.header-reservation{
  position: fixed;
  top: 80%;
  right: 0;
  transform: translateY(-50%) translateX(20px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}

.header-reservation.show{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.header-reservation a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 220px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 2px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(to bottom, #b59a84 0%, #a88f7a 40%, #8f7762 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform .3s ease, box-shadow .3s ease;
}

@media (max-width:768px){
  .header-reservation a{
    height: 180px;
    width: 60px;
  }
}

/* ===================================
          トップページ
=================================== */
.hero {
  height: 60vh;
  background-image: url('img/main-bg.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 45px;
}

.logo-text {
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin: 0;
}

@media (max-width:480px){
  .logo-text {
    font-size: 11px;
  }
}

/* メイン画像 */
.hero img {
  width: 300px;
  margin: 10px 0;
}

.hero-button {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 50px;
  border: 1px solid #734e46;
  border-radius: 50px;
  text-decoration: none;
  color: #734e46;
  font-family: 'Montserrat';
  background: #fff;
  font-size: 14px;
  letter-spacing: 0.2em;
  transition: 0.3s;
}

.hero-button:hover{
  background-color: #734e46;
  color: #fff;
}

/* コンセプト */
.concept {
  display: flex;
  height: 400px;
  background-color: #f9f8f6;
  overflow: hidden;
}

.concept-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.concept-image {
  flex: 1;
  height: 400px;
}

.concept-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .concept {
    flex-direction: column-reverse;
    height: auto;
  }
  .concept-image {
    height: 300px;
  }
  .concept-text {
    padding: 80px 20px;
    text-align: center;
  }
}

/* スタッフ紹介 */
.staff {
  padding: 80px 20px;
  background: #eae7e2;
}

.staff-inner{
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 30px 20px;
}

.staff-card {
  width: calc(33.333% - 14px);
  max-width: 350px;
  background: #fff;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.main-image {
  padding: 20px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.name {
  font-size: 20px;
  color: #c5a992;
  margin: 15px 0 10px;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.description {
  font-size: 14px;
  color: #734e46;
}

@media (max-width: 768px) {
  .staff-inner {
    justify-content: space-between;
    gap: 20px 10px;
  }

  .staff-card {
    width: calc(50% - 5px);
    max-width: none;
    padding-bottom: 20px;
  }

  .main-image {
    padding: 10px;
  }
}

@media (max-width: 550px) {
  .staff{
    padding: 80px 10px;
  }

  .staff-inner{
    gap: 10px;
  }

  .main-image {
    padding: 8px;
  }

  .name {
    font-size: 15px;
  }
  
  .description {
    font-size: 12px;
  }
}

/* メニュー表 */
.price {
  background-color: #f5f5f1; 
  padding: 80px 20px;
}

.price-inner{
  max-width: 600px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border: 1px solid #e0d8d3;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 20px;
}

.course-title {
  font-size: 15px;
  margin: 0 0 8px 0;
  border-left: 3px solid #c5a992;
  padding-left: 5px;
  letter-spacing: 0.05em;
}

.course-detail {
  font-size: 12px;
  color: #888;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dotted #e0d8d3;
}

.price-row:last-child {
  border-bottom: none;
}

.time {
  font-size: 14px;
}

.amount {
  font-size: 16px;
  font-weight: bold;
  color: #a68b76;
}

.option-box {
  background: #f9f8f6;
  padding: 15px 20px;
  border-radius: 4px;
}

.option-box .price-row {
  border-color: #dcd6d1;
}

.note{
  font-size: 11px;
  color: #888;
}

@media (max-width: 480px) {
  .price {
    padding: 80px 10px;
  }
  
  .price-card {
   padding:20px 15px 10px;
  }

  .course-title {
    font-size: 13px;
  }

  .amount {
    font-size: 14px;
  }
}

/* ご利用方法 */
.flow{
  list-style: none;
  padding: 80px 20px;
  margin: 0 auto;
  background: #eae7e2;
}

.flow-list{
  max-width: 600px;
  margin: 0 auto;
}

.flow-item {
  position: relative;
  padding-left: 1.8em;
  text-indent: -1.8em;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 13px;
}

.num {
  display: inline-block;
  width: 1.8em;
  text-indent: 0;
  text-align: center;
}

@media (max-width: 480px) {
  .flow{
    padding: 80px 10px;
  }
}

/* ご予約 */
.book-link {
  display: block;
  text-decoration: none;
}

.book {
  background-image: url(img/reservation.jpg);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  height: 50vh;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.book-link:hover .book {
  opacity: 0.85;
}

.ja-book {
  color: #fff;
  font-size: 25px;
  letter-spacing: 5px;
  margin: 0;
}

.en-book {
  color: #fff;
  font-size: 20px;
  letter-spacing: 5px;
  margin: 4px 0 0;
  border-top: 1px solid rgba(255,255,255,0.4);
  margin-top: 20px;
  padding-top: 20px;
}

@media (max-width: 768px) {
  .ja-book {
    font-size: 22px;
  }
  
  .en-book {
    font-size: 18px;
    margin-top: 12px;
    padding-top: 12px;
  }
}

/* 新着情報 */
.news {
  padding: 80px 20px;
  background-color: #f5f5f1;
}

.news-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dcdcdc;
  padding: 40px 20px;
  text-align: center;
}

.news-scroll-box {
  margin-top: 30px;
  max-height: 300px;
  overflow-y: auto;
  text-align: left;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  border-bottom: 1px solid #eee;
}

.news-item a {
  display: flex;
  padding: 15px 10px;
  text-decoration: none;
  color: #6b544b;
  font-size: 14px;
  transition: background 0.3s;
}

.news-item a:hover {
  background-color: #f9f8f6;
}

.news-date {
  width: 100px;
  flex-shrink: 0;
  color: #c5a992;
}

@media (max-width: 480px) {
  .news {
    padding: 80px 10px;
  }

  .news-container {
    padding: 30px 10px;
  }
}

/* 投稿ページ */
.single-post {
  background: #f5f5f1;
  padding: 130px 20px 70px;
}

.single-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 50px 40px 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.post-date {
  font-size: 12px;
  color: #c5a992;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.post-title {
  font-size: 24px;
  color: #734e46;
  margin-bottom: 30px;
  line-height: 1.6;
}

.post-body {
  font-size: 14px;
  line-height: 2;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  padding: 30px 0;
}

.post-body p {
  color: #444;
  font-size: 14px;
}

.post-body img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.post-body h2 {
  font-size: 20px;
  margin: 40px 0 20px;
  color: #734e46;
}

.post-body h3 {
  font-size: 18px;
  margin: 30px 0 15px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  gap: 10px;
}

.post-nav a {
  font-size: 13px;
  color: #734e46;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.post-nav a:hover {
  border-bottom: 1px solid #734e46;
}

.nav-prev,
.nav-next {
  width: 30%;
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

@media (max-width: 768px) {
  .single-inner {
    padding: 30px 20px;
  }

  .post-title {
    font-size: 20px;
  }

  .post-body p {
    font-size: 13px;
  }

  .nav-prev a,
  .nav-next a,
  .nav-center a {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .single-post {
    padding: 130px 10px 70px;
  }
}

/* スケジュール */
.schedule {
  padding: 60px 30px;
  background: #eae7e2;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
  border: 1px solid #d4c5b9;
  background-color: #fff;
}

.schedule-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
  width: 72px;
  border: 1px solid #d4c5b9;
  padding: 12px 5px;
  font-size: 13px;
  text-align: center;
  color: #4a4a4a;
  height: 72px;
  vertical-align: middle;
  box-sizing: border-box;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
}

.schedule-table thead th {
  background-color: rgb(247, 244, 240);
  color: #7d6b5d;
  font-weight: normal;
  height: 44px;
}

.schedule-table thead th span {
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

.fixed-col {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 100px !important;
  min-width: 100px;
  max-width: 100px;
  font-weight: normal;
  background-color: rgb(247, 244, 240) !important;
  color: #7d6b5d !important;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
}

.schedule-table tbody td {
  background-color: #fff;
  vertical-align: middle;
}

.scroll-hint {
  font-size: 10px;
  color: #888;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .schedule {
    padding: 60px 15px;
  }

  .schedule-table {
    min-width: 920px;
  }

  .schedule-table th,
  .schedule-table td {
    font-size: 12px;
    height: 64px;
  }

  .fixed-col {
    width: 90px !important;
    min-width: 90px;
    max-width: 90px;
    font-size: 12px;
  }
}

/* 店舗情報 */
.salon-info {
  padding: 80px 0;
  background-color: #f5f5f1;
}

.info-inner{
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.salon-image {
  flex: 1;
  min-width: 300px;
}

.salon-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.salon-detail {
  flex: 1;
  min-width: 300px;
  padding-right: 10px;
  font-size: 14px;
}

.salon-detail dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.salon-detail dt {
  width: 30%;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.salon-detail dd {
  width: 70%;
  padding-bottom: 20px;
  margin-bottom: 10px;
}


@media (max-width: 768px) {
  .info-inner {
    flex-direction: column;
    gap: 20px;
  }

  .salon-image,
  .salon-detail {
    width: 100%;
  }

  .salon-detail{
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .salon-detail dl {
    margin-top: 20px;
    width: 100%;
  }

  .salon-detail dt, .salon-detail dd {
    font-size: 13px;
  }
  
  .salon-image {
    width: 100%;
  }
}

/* フッター */
footer {
  padding: 10px;
  background: #eae7e2;
}

footer a, footer p{
  font-size: 10px;
  color: #888;
}

footer a{
  border-bottom: 0.5px solid #888;
}

/* プライバシーポリシー */
.policy-page {
  background-color: #f5f5f1;
  padding: 120px 20px 50px;
  line-height: 1.8;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 80px 50px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.policy-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #c5a992;
  padding-bottom: 20px;
}

.policy-intro {
  font-size: 14px;
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #c5a992;
  border-left: 3px solid #c5a992;
  padding-left: 15px;
}

.policy-section p, 
.policy-section li {
  font-size: 14px;
  margin-bottom: 10px;
}

.policy-section li{
  list-style: disc;
}

.policy-section ul {
  padding-left: 1.5em;
}

.back-link {
  text-align: center;
  margin-top: 60px;
}

.back-link a {
  color: #c5a992;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #c5a992;
  transition: opacity 0.3s;
}

.back-link a:hover {
  opacity: 0.7;
}

@media (max-width: 600px) {
  .policy-container {
    padding: 30px 20px;
  }
  
  .policy-title {
    font-size: 18px;
  }
  
  .policy-section h2 {
    font-size: 15px;
  }

  .policy-intro, .policy-section p, .policy-section li{
    font-size: 12px;
  }

  .back-link a {
    font-size: 12px;
  }
}

/* アニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


