@charset "utf-8";
/*
Theme Name: 株式会社　東南
Theme URI: https://www.tonankagu.com/
Description: 輸入家具で“想いのある空間づくり”を提案する東南家具。世界各国から厳選した上質な家具が、美しさと個性を演出し、心満たされる暮らしを形にします。
Version: 20250626
Author: Owls
Author URI: https://www.owls-corp.jp/
*/
/* ***************************************************************** 
*	共通設定
* ***************************************************************** */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1em;
  list-style: none;
  text-decoration: none;
}
section {
  margin-bottom: 100px;
}
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
@media screen and (min-width: 751px) {
  .br-sp {
    display: inline;
  }
  .br-pc {
    display: none;
  }
}
.br-sp {
  display: none;
}
.br-pc {
  display: inline;
}
/* ***************************************************************** 
*	基本設定
* ***************************************************************** */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: #fff;
  color: #444;
  line-height: 190%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* リンク
---------------------------------------------------- */
a {
  color: #45AAB8;
  text-decoration: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
a:hover {
  color: #666;
}
a:active, a:focus {
  outline: 0;
}
/* 画像
---------------------------------------------------- */
img {
  border: 0;
  padding: 0px;
  margin: 0px
}
ul {
  margin: 0;
  padding: 0;
  list-style: disc;
}
li {
  margin: 0;
  padding: 0;
}
li a {
  color: #45AAB8;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
li a:hover {
  color: #666;
}
/* *****************************************************************
*	全体Wrapper
* ***************************************************************** */
.wrapper {
  margin: auto;
  max-width: 1200px;
  padding: 50px 30px;
}
/* ***************************************************************** 
*	ヘッダー
* ***************************************************************** */
#header {
  width: 100%;
  background: #0000006b;
  position: fixed;
  z-index: 10;
}
.header-inner {
  max-width: 1920px;
  overflow: hidden;
  margin: 0px auto;
  display: flex;
  padding: 10px 30px;
  justify-content: center;
  align-items: center;
}
#header h1 {
  text-align: center;
  margin: 0;
  width: 200px;
}
/* トップナビゲーション
---------------------------------------------------- */
#nav {
  width: 100%;
  margin-right: 0;
  z-index: 9999;
  padding: 0;
  text-align: right;
  max-width: 1000px;
}
#nav ul {
  list-style: none;
  margin: auto;
}
.main-navigation {
  clear: both;
  margin: 0 auto;
  position: relative;
}
ul.nav-menu, div.nav-menu > ul {
  margin: 0;
  padding: 0;
}
.nav-menu li {
  display: inline-block;
  position: relative;
  margin: 0 -2px 0 -2px;
  border-right: 1px solid #FFF;
  text-align: center;
}
/* 最後の li 要素だけ border を外す */
.nav-menu li:last-child {
  border-right: none;
}
.nav-menu li a {
  color: #FFF;
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 40px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.nav-menu li:hover > a, .nav-menu li a:hover {
  transform: translateY(-3px); /* 上に3px移動 */
}
.nav-menu .sub-menu, .nav-menu .children {
  border-bottom: 1px solid #FFF;
  display: none;
  padding: 0;
  position: absolute;
  z-index: 99999;
}
.nav-menu .sub-menu ul, .nav-menu .children ul {
  border-left: 0;
  left: 100%;
  top: 0;
}
ul.nav-menu ul a, .nav-menu ul ul a {
  color: #333;
  margin: 0;
  width: 200px;
}
ul.nav-menu ul a:hover, .nav-menu ul ul a:hover {
  border-bottom: 1px solid #FFF;
}
ul.nav-menu li:hover > ul, .nav-menu ul li:hover > ul {
  display: block;
  border-bottom: 1px solid #FFF;
}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current-post-ancestor > a {
  color: #FFF;
}
.nav-menu .current-menu-item > a::before {
  content: "▶";
  margin-right: 10px;
  color: #FFF;
}
.toggle {
  display: none;
}
.menu-toggle {
  width: 40px;
  height: 40px;
}
.hamburger {
  display: none;
}
/* ハンバーガーメニュー
---------------------------------------------------- */
/*!
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/
.hamburger {
  padding: 10px 2px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 35px;
  height: 3px;
  background-color: #FFF;
  border-radius: 4px;
  position: absolute;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}
/*
* Spin
*/
.hamburger--spin .hamburger-inner {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.34s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.34s ease-in, -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin.is-active .hamburger-inner {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.14s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* is-active（×状態）だけ #CCC に */
.hamburger--spin.is-active .hamburger-inner,
.hamburger--spin.is-active .hamburger-inner::after {
  background-color: #CCC;
}

/* ***************************************************************** 
*	メイン（本文）コンテンツ
* ***************************************************************** */
#main {
  margin: 0;
  padding: 0;
}
/* 見出し
---------------------------------------------------- */
h1 {
  font-size: 24px;
  margin: 40px 0px 20px 0px;
}
h2 {
    font-size: 42px;
    font-family: "Zen Old Mincho", serif;
    line-height: 1.5em;
    margin-bottom: 15px;
}
h3 {
  font-size: 24px;
  font-family: "Zen Old Mincho", serif;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 20px;
}
h6 {
  font-size: 20px;
}
/* テキスト
---------------------------------------------------- */
p {
  font-size: 14px;
  line-height: 2em;
  padding: 15px 0px;
}
/* トップヘッダー画像
---------------------------------------------------- */
.top-header {
  width: 100%;
  text-align: center;
  position: relative;
}
.top-header_txt {
  color: #FFF;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 100%;
}
.top-header p {
  font-size: 18px;
}
/* HOME
---------------------------------------------------- */
.home_bg_fixed, .about_bg_fixed, .madamsalon_bg_fixed, .gallery_bg_fixed {
  background-image: url('images/home/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0; /* ← 最初は非表示 */
  transition: opacity 0.5s ease;
}
.about_bg_fixed {
  background-image: url('images/about/bg.jpg');
}
.madamsalon_bg_fixed {
  background-image: url('images/madamsalon/bg.jpg');
}
.gallery_bg_fixed {
  background-image: url('images/gallery/bg.jpg');
}
.home_heading, .about_heading {
  width: 100%;
  text-align: center;
  margin: 150px 0;
}
.about_heading {
  margin: 100px 0;
}
.home_heading h2, .company-profile h2, .gallery_page h2 {
    color: #736357;
    margin-bottom: 15px;
}
.home_heading h3, .gallery_page h3 {
  font-size: 18px;
}
.home_category, .about_category {}
.category {
  width: 100%;
  max-width: 1920px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.home_category .category:nth-of-type(2) {
  flex-direction: row-reverse;
}
.about_category .category:nth-of-type(1) {
  flex-direction: row-reverse;
}
.category_img {
  width: 45%;
}
.category_txt {
  background-color: rgba(115, 99, 87, 0.80);
  padding: 30px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 縦方向中央揃え */
  width: 55%;
  position: relative;
}
.home_category .category:nth-of-type(2) .category_txt, .about_category .category:nth-of-type(2) .category_txt {
  background-color: rgba(153, 134, 117, 0.70);
}
.category_txt_box, .about_category_txt_box {
  width: 70%;
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-40%, -50%);
  -webkit-transform: translate(-40%, -50%);
  -ms-transform: translate(-40%, -50%);
}
.home_category .category:nth-of-type(2) .category_txt_box {
  width: 60%;
  left: 80%;
  transform: translate(-80%, -50%);
  -webkit-transform: translate(-80%, -50%);
  -ms-transform: translate(-80%, -50%);
}
.about_category_txt_box {
  width: 80%;
}
.category_txt h2, .category_txt h3, .category_txt p {
  color: #FFF;
}
.category_txt h2 {
  font-size: 32px;
}
.category_txt h2 span {
  font-size: 18px;
  display: block;
}
.category_txt h3 {
  font-size: 18px;
}
.category_txt p {
  padding-bottom: 30px;
  padding-top: 0;
}
.about_category_txt_box h2 {
  font-size: 32px;
}
.about_category_txt_box h3, .about_category_txt_box p {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.about_category_txt_box h3 {
  font-size: 22px;
}
.about_category_txt_box p {
  font-size: 14px;
  line-height: 1.8em;
  padding: 0 0 20px;
}
.insta {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 100px;
  text-align: center;
}
.insta h2 {
  font-size: 32px;
  color: #736357;
}
.insta h3 {
  font-size: 24px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.insta p {
  padding-bottom: 30px;
}
/* 東南について
---------------------------------------------------- */
.company-profile {
  text-align: center;
}
.profile-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}
.profile-table th, .profile-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
}
.profile-table th {
  background: #f0f4f8;
  width: 30%;
  color: #3a3a3a;
  font-weight: 600;
  border-right: 1px solid #e0e6ed;
}
.profile-table td {
  background: #fff;
  color: #555;
}
.profile-table tr + tr th, .profile-table tr + tr td {
  border-top: 1px solid #e6e6e6;
}
/* optional: hover effect */
.profile-table tr:hover td {
  background: #f9fcff;
  transition: background 0.2s ease;
}
/* マダムサロン
---------------------------------------------------- */
.madamsalon {
  width: 100%;
  display: flex;
  align-items: stretch; /* 子要素の高さを揃える */
  margin-bottom: 0;
}
.ms_img {
  width: 40%;
}
.ms_img img {
  display: block;
  width: 100%;
  height: auto;
}
.ms_txt {
  width: 60%;
  display: flex;
  justify-content: center; /* 横方向（テキスト中央揃え） */
  align-items: center; /* 縦方向（中央揃え） */
  padding: 100px 0 0; /* テキストの左右余白だけ指定 */
  text-align: center;
  flex-direction: column;
}
.ms_logo {
  width: 230px;
  margin: 0 auto 20px;
}
.ms_txt_box {
  width: 100%;
}
.ms_txt_box h2 {
  font-size: 32px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #009245;
}
.ms_txt_box p {
  font-size: 16px;
  line-height: 1.8;
}
.ms_slider {
  margin: 0;
}
.slider-wrapper {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
}
.slider {
  display: flex;
  width: calc(480px * 8); /* 8枚分 */
  animation: scrollSlider 40s linear infinite; /* ←ゆっくりに変更（60秒） */
}
.slider img {
  width: 480px;
  height: 350px;
  object-fit: cover;
}
/* アニメーション：右→左へ移動 */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1920px); /* 480×4枚分だけ左へ移動 */
  }
}
.ms_sch {
  width: 100%;
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.70);
}
.ms_sch h2 {
  font-size: 32px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #009245;
}
.ms_sch_list {
  margin: 30px 0;
}
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
}
.schedule-item {
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid;
  text-align: left;
}
.schedule-date, .schedule-time {
  font-size: 18px;
}
.schedule-date {
  width: 30%;
}
.schedule-time {
  width: 10%;
}
.schedule-title {
  width: 60%;
  font-size: 24px;
  padding: 0 0 0 15px;
}
/* ギャラリー
---------------------------------------------------- */
.gallery_page {
  padding: 100px 0 0;
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.gallery-thumb {
  width: 275px;
  height: 160px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lb-image {
  max-width: 1200px !important;
  max-height: 90vh !important; /* 画面の縦方向にも対応 */
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.lb-number {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* フッター共通
---------------------------------------------------- */
.contact {
  text-align: center;
  padding: 50px 0;
  background-color: rgba(115, 99, 87, 0.80);
  color: #FFF;
}
.contact h2 {
  font-size: 32px;
  color: #FFF;
  font-weight: 600;
}
.tel {
  font-size: 62px;
  font-weight: 800;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.tel a {
  color: #FFF;
}
.access {
  text-align: center;
  margin-bottom: 0;
}
.access h2 {
  font-size: 32px;
  color: #736357;
}
.contact h2, .access h2 {
  line-height: 1em;
  margin: 0;
}
.contact p, .access p {
  padding: 10px 0px;
}
/* リンクボタン共通
---------------------------------------------------- */
.link_btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: 2px solid #736357;
  border-radius: 10px;
  background-color: #fff; /* デフォルト背景色 */
  transition: all 0.3s ease;
  align-self: flex-start;
}
.link_btn a {
  display: block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  color: #8c7f76; /* デフォルト文字色 */
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}
/* 背景のスライド用擬似要素 */
.link_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #736357; /* ホバー時の背景色 */
  transition: left 0.3s ease;
  z-index: 1;
}
.link_btn:hover::before {
  left: 0;
}
.link_btn:hover a {
  color: #fff;
}
/* パンくずリスト
---------------------------------------------------- */
.breadcrumb {
  margin: 10px 0 0px 0;
  line-height: 120%;
}
.breadcrumb div {
  display: inline;
  font-size: 11px;
  color: #999;
}
.breadcrumb span, .breadcrumb span a {
  color: #45aab8;
}
.breadcrumb ol {
  margin: 0px;
}
.breadcrumb li {
  margin: 0px;
  display: inline;
}
/* WP必須
---------------------------------------------------- */
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 90%;
  text-align: center;
}
.sticky {}
.gallery-caption {}
.bypostauthor {}
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
/* *****************************************************************
*	フッター
* ***************************************************************** */
#footer {
  background-image: url('images/common/f_bg.jpg');
  clear: both;
  width: 100%;
}
.footer-inner {
  padding: 100px 0px;
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
}
.f_logo {
  width: 350px;
  margin: 0 auto 20px;
}
.footer-inner h2 {
  font-size: 28px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.footer-inner h2 span {
  font-size: 14px;
  display: block;
}
.footer-inner p {
  padding: 0px;
}
#copyright {
  font-size: 16px;
  color: #FFF;
  text-align: center;
  position: relative;
  margin: 0;
  padding: 10px;
  background: #736357;
}
.year {
  padding: 0 5px;
  display: inline-block;
}
/* *****************************************************************
*	CSS3アニメーション
* ***************************************************************** */
.img-anime2 img {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.img-anime2:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
/* *****************************************************************
*   レスポンシブ（メディアクエリ）
* ***************************************************************** */
@media only screen and (max-width: 1350px) {
  .category_txt_box, .about_category_txt_box {
    width: 100%;
    padding: 25px;
  }
  .home_category .category:nth-of-type(2) .category_txt_box {
    width: 100%;
    padding: 25px;
  }
}
@media only screen and (max-width: 1299px) {
  .nav-menu li a {
    color: #FFF;
    display: block;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 25px;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  /* Lightbox 拡大画像の最大サイズを制御 */
  .lb-image {
    width: auto !important;
    height: auto !important;
    max-width: 95vw !important; /* ビューポートの95%までに制限 */
    max-height: 85vh !important; /* 高さも制限（例：画面の85%） */
    object-fit: contain !important;
    margin: auto;
    display: block;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 20px;
  }
  p {
    line-height: 1.8;
    padding: 5px 0px;
  }
  .home_heading, .about_heading {
    width: 100%;
    text-align: center;
    margin: 80px 0;
  }
  .link_btn a {
    padding: 10px 30px;
    font-size: 18px;
  }
  .contact {
    padding: 35px 0;
  }
  .tel {
    font-size: 50px;
  }
  .president {
    font-size: 22px;
    text-align: center;
    margin-top: 20px;
  }
  .president span {
    font-size: 16px;
    display: block;
    margin-bottom: 15px;
  }
  .home_category .category, .about_category .category, .about_category .category:nth-of-type(1), .home_category .category:nth-of-type(2) {
    flex-direction: column;
  }
  .category_img, .category_txt {
    width: 100%;
  }
  .category_img {
    height: 350px; /* 高さを固定 */
    overflow: hidden; /* はみ出た画像を非表示に */
  }
  .category_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center; /* 中央寄せ（デフォルト） */
  }
  /* 2番目の画像だけ下寄せ */
  .home_category .category:nth-of-type(2) .category_img img {
    object-position: top;
  }
  .ab_img {
    height: 500px; /* 通常は固定高さ */
    overflow: hidden;
  }
  .ab_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center; /* 通常は中央表示 */
  }
  /* 2番目の .category の .ab_img だけ高さ100%・画像位置top */
  .about_category .category:nth-of-type(2) .ab_img {
    height: 100%;
  }
  .about_category .category:nth-of-type(2) .ab_img img {
    object-position: top;
  }
  .category_txt_box, .about_category_txt_box, .home_category .category:nth-of-type(2) .category_txt_box {
    position: static;
    transform: none;
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }
  .category_txt {
    padding: 40px 20px;
  }
  .ms_logo {
    width: 160px;
  }
  .madamsalon {
    align-items: center;
  }
  .slider-wrapper {
    height: auto;
  }
  .slider img {
    width: 380px;
    height: auto;
  }
  .ms_sch {
    padding: 100px 30px;
  }
  .schedule-date, .schedule-time {
    font-size: 16px;
  }
  .schedule-date {
    width: 35%;
  }
  .schedule-time {
    width: 15%;
  }
  .schedule-title {
    width: 50%;
    font-size: 22px;
  }
  .footer-inner {
    width: 100%;
    padding: 100px 0px;
  }
}
/* Tablet (Portrait) 画面の横幅が〜1024pxまで
---------------------------------------------------- */
@media only screen and (max-width: 1024px) {
  .wrapper {
    width: 100%;
    margin: auto;
    padding: 30px 30px;
  }
  .header-inner {
    width: 100%;
    padding: 10px 20px;
  }
  .nav-menu li a {
    padding: 10px 10px;
  }
  #nav {
    float: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  h2 {
    font-size: 26px;
  }
  .home_heading, .about_heading {
    padding: 0 30px;
  }
  .insta {
    padding: 0 30px;
  }
  .top-header p {
    font-size: 14px;
  }
  .profile-table-wrapper {
    width: 90%;
  }
  .gallery-thumb {
    width: 100%;
    height: 190px;
  }
}
/* Mobile (Portrait) 画面の横幅が300px~750pxまで（基本）
---------------------------------------------------- */
@media only screen and (max-width: 750px) {
  .wrapper {
    width: 100%;
    padding: 30px 20px;
  }
  .header-inner {
    justify-content: left;
        padding: 0;
  }
    #header h1 {
        width: 180px;
        padding: 10px;
    }
  #nav {
    display: none;
    position: absolute;
    top: 0;
    float: none;
    text-align: center;
    width: 100%;
    background: #fefefe;
    margin: 0 auto 40px auto;
    padding: 0;
  }
  .nav-menu li a {
    color: #333;
    display: block;
    font-size: 15px;
    padding: 20px 10px;
    text-decoration: none;
  }
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current-post-ancestor > a {
    color: #FFF;
    background: #736357;
}
  .nav-menu li {
    display: block;
    float: none;
    border-bottom: 1px solid #ededed;
  }
  .toggle {
    display: block;
    float: right;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
    line-height: 1.5em;
  }
  p {
    font-size: 14px;
  }
  section {
    margin-bottom: 50px;
  }
.home_bg_fixed, .about_bg_fixed, .madamsalon_bg_fixed, .gallery_bg_fixed {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), /* 透明白オーバーレイ */
    url(images/home/bg.jpg);
}

  .top-header_txt h3 {
    display: none;
  }
  .category_txt h2 {
    font-size: 20px;
  }
  .access h2, .contact h2 {
    font-size: 30px;
  }
    .insta {
        padding: 0 15px;
    }
.insta h2 {
        font-size: 22px;
        margin-bottom: 0;
    }
.insta h3 {
    font-size: 16px;
}
.insta p {
    text-align: left;
}
	
	
  .tel {
    font-size: 40px;
    margin: 5px 0;
  }
  .footer-inner {
    width: 100%;
  }
.f_logo {
    width: 250px;
}
#copyright {
    font-size: 12px;
    text-align: left;
}
.top-header_txt {
    padding: 0 25px;
}
    .top-header p {
        font-size: 14px;
        text-align: left;
    }
.category_txt_box, .about_category_txt_box, .home_category .category:nth-of-type(2) .category_txt_box {
        width: 100%;
    }
	.about_heading p{
		text-align: left;
	}
.ab_img {
        height: 325px;
    }
.about_category_txt_box h3 {
    font-size: 18px;
}

.profile-table th, .profile-table td {
    width: 100%;
    display: block;
}
	.about_heading h2{
		font-size: 30px;
	}
	
.about_category_txt_box h2, .company-profile h2, .gallery_page h2 {
    font-size: 30px;
}

    .madamsalon {
        flex-direction: column;
    }
.ms_img {
    width: 100%;
}
.ms_txt {
    width: 100%;
    padding: 0px 15px;
	margin-top: -130px;
}
.ms_txt_box h2 {
    font-size: 24px;
    margin: 15px 0;
}
.ms_txt_box p, .ms_sch p{
    text-align: left;
}
    .slider img {
        width: 200px;
    }
    .ms_sch {
        padding: 50px 15px;
    }
.ms_sch h2 {
    font-size: 24px;
}
	
    .schedule-item {
        flex-wrap: wrap;
        padding: 0;
		justify-content: flex-start;
    }
    .schedule-date, .schedule-time {
        font-size: 14px;
    }
.schedule-date, .schedule-time {
        width: auto;
    }
    .schedule-title {
        width: 100%;
        font-size: 18px;
        padding: 15px 0;
    }
  .ggmap {
    position: relative;
    padding-bottom: 86.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
  }
	
  .ggmap iframe, .ggmap object, .ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
/* 初期状態（PC表示：1300px以上） */
.br-pc {
  display: inline;
}
.br-tab, .br-sp {
  display: none;
}
/* タブレット表示（769px～1299px） */
@media screen and (max-width: 1299px) and (min-width: 769px) {
  .br-pc, .br-sp {
    display: none;
  }
  .br-tab {
    display: inline;
  }
}
/* スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
  .br-pc, .br-tab {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}
/* 初期状態（PC用を表示、SP用は非表示） */
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}
/* 768px以下では逆にする */
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}
@media (min-width: 751px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
/* 404ページ用 */
.not_found {
    text-align: center;
    padding: 150px 20px 50px;
}

.not_found h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
}

.not_found p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.not_found .link_btn a {
  display: inline-block;
  background: #333;       /* ボタン背景 */
  color: #fff;            /* 文字色 */
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.not_found .link_btn a:hover {
  background: #555;       /* ホバー時 */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .not_found {
    padding: 150px 15px 50px;
  }
  .not_found h2 {
    font-size: 1.2em;
  }
  .not_found p {
    font-size: 0.95rem;
	  text-align: left;
  }
}
