@charset UTF-8;

:root {
  --width-pc: 1080px;
  --width-sp: 343px;
  --padding-pc: 40px;
  --padding-main: 16px;
}

:root {
  --background-main: #f7f6f0;
  --background-sub: #ecebe6;
  --color-white: #fafaf5;
  --color-black: #333;
  --color-accent1: #B39964;
  --color-accent2: #a52a2a;
}

:root {
  --font-family-heading: 'Cormorant Garamond', serif;
  --font-family-subheading: 'EB Garamond', serif;
  --font-family-main: "Noto Serif JP", serif;
}

:root {
  --z-index-cat: 500;
  --z-index-header: 100;
  --z-index-spnav: 90;
  --z-index-overlay: 80;
  --z-index-copy: 30;
  --z-index-glay: 20;
  --z-index-slider: 10;
  --z-index-back: -1;
}

/* layout */
body {
  font-family: var(--font-family-main);
  line-height: 1.6;
  color: #333;
}
.l_section{
  border-top: 1px solid #e0ddd5;
}
.l_section:nth-of-type(odd){
  background-color: var(--background-main);
}
.l_section:nth-of-type(even){
  background-color: var(--color-white);
}

.l_container {
  width: 100%;
  max-width: var(--width-pc);
  margin-inline: auto;
  padding-inline: var(--padding-main);
}

.l_contents-sm {
  padding-block: 56px 64px;
}

.l_contents {
  padding-block: 72px 64px;  
}
@media screen and (max-width: 768px) {
  .l_contents-sm {
  padding-block: 48px 32px;
}

.l_contents {
  padding-block: 60px 32px;  
}
}
.l_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-index-header);
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.l_header.is-scrolled {
  background-color: rgba(51, 51, 51, 0.95); 
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.l_header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
  padding-block: 16px;
}

.l_header_logo_link, .l_footer_logo_link{
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-family-heading);
  font-size: 32px;
  font-weight: bold;
  color: var(--color-white);
  text-shadow: 2px 2px 0px var(--color-accent1);
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  line-height: 1;
}

.l_header_sub_logo, .l_footer_sub_logo {
  display: block;
  font-family: var(--font-family-subheading);
  font-size: 18px;
  color: var(--color-white);
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 5px;
  text-shadow: none;
  opacity: 0.9;
}

.l_header_sub-hyphen {
  font-family: var(--font-family-main);
}

.l_header_nav_list {
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family-heading);
  gap: 40px;
}

.l_header_nav_link {
  font-size: 32px;
  letter-spacing: .1em;
  display: block;
  height: 100%;
  text-decoration: none;
  color: var(--color-white);
  transition: all 0.4s ease;
}

.l_header_nav_link:hover {
  color: var(--color-accent1);
  text-shadow: 0 0 10px rgba(179, 153, 100, 0.6);
  opacity: 1;
}

.l_footer {
  background-color: rgba(51, 51, 51, 0.95); 
  padding-block: 32px 24px;
}

.l_footer_logo {
  padding-block: 0 8px;
  margin: 0;
}

.l_footer_txt {
  display: block;
  color: var(--color-accent1);
  font-size: 0.75em;
  letter-spacing: 0.05em;
  text-align: center;
}
@media (max-width: 767px) {
  .l_header-inner {
    padding-inline: 12px;
    padding-block: 12px;
  }
  .l_header_logo_link, .l_footer_logo_link{
    font-size: 24px;
    letter-spacing: 0.1em;
    line-height: .8;
  }
  .l_header_sub_logo, .l_footer_sub_logo{
    font-size: 14px;
  }  
  .l_header_nav {
    position: fixed;
    top: 0%;
    right: -100%;    /* 画面の外 */
    width: 100%;    /* メニューの幅 */
    height: 100vh;
    background: rgba(51, 51, 51, 0.85);
    z-index: var(--z-index-spnav);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 60px;
    padding-top: 8px;
  }
  .l_header_nav_link {
    font-size: 24px;
  }
  .l_header_nav.is-active {
    right: 0;
  }
  .l_header_nav ul {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 30px;          
    width: 100%;     
    padding: 0;
    margin: 0;
  }
  .l_header_nav li {
    margin: 0;
  }
  .l_footer{
    padding-block: 20px 10px;
  }
  .l_footer_txt{
    font-size: 0.5em;
  }
}

/* module */
/* ハンバーガー */
.m_hamburger {
  display: block;
  width: 30px;
  height: 28px;
  position: relative;
  z-index: var(--z-index-header);
  border: none;
  background: transparent;
}

.m_hamburger-bar {
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
  background: rgb(245, 242, 233, 0.8);
  transition: all 0.3s;
}

.m_hamburger-bar:nth-child(1) {
  top: 0;
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.m_hamburger-bar:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}

/* is-active */
.m_hamburger.is-active .m_hamburger-bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.m_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}

.m_hamburger.is-active .m_hamburger-bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (min-width: 768px) {
  .m_hamburger {
    display: none;
  }
}
/* nav-overlay */
.m_nav-overlay {
  display: none;
  /* 最初は隠す */
  position: fixed;
  /* 画面に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-index-overlay);
}

/* メニューが開いているとき（親要素や自分自身にクラスがついた時） */
.m_nav-overlay.is-active {
  display: block;
}

/* フォント設定  */
.m_section-ttl {
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--color-black);
  text-transform: capitalize;
  margin-bottom: 32px;
  position: relative;
  z-index: 1
}
.m_section-ttl__top{
  font-size: 3rem;
}
.m_section-ttl::before{
  content: attr(data-subtitle);
  color: rgb(179, 153, 100, .3);
  font-size: 1.2rem;
  font-weight: bold;
  font-family: var(--font-family-main);
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX( -50%);
  z-index: var(--z-index-back);
}

.m_section-subttl {
  font-family: var(--font-family-subheading);
  font-weight: 400;
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 20px;
}
.u_text-center{
  text-align: center;
}
.m_section-subttl__access{
  line-height: 1;
}
.m_section-subttl-hyphen {
  color: var(--color-accent1);
  font-family: var(--font-family-main);
}
@media screen and (max-width: 768px) {
  .m_section-ttl {
    font-size: 2rem;
    margin-bottom: 24px;
  }
  .m_section-ttl::before{
    font-size: 0.75rem;
    bottom: 35px;
  }
  .m_section-subttl{
    font-size: 1.25em;
    margin-bottom: 24px;
  }
}

.m_btn {  
  text-align: right;
  padding-right: 24px;
  margin-top: 24px;
}

.m_btn_link {
  display: inline-block;
  font-family: var(--font-family-heading);
  font-size: 1.5em;
  font-style: italic;
  text-decoration: none;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  transition: all 0.3s;
}

.m_btn_link:hover {
  color: var(--color-accent1);
  text-decoration: underline;
  text-decoration-color: var(--color-accent1);
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}
.m_btn-wrap__about-links {
  display: flex;
  justify-content: flex-end; 
  gap: 40px;               
  margin-top: 56px;
}
.m_btn-wrap__item-detail{
  margin-top: 56px;
}

@media screen and (max-width: 768px) {
  .m_btn {  
    padding-right: 0;
  }
  .m_btn_link{
    font-size: 1em;
  }
  .m_btn-wrap__about-links {    
    align-items: center;   
    justify-content: center;
    gap: 24px; 
    margin-top: 32px;
  }
}
/* scroll cat*/
.main_container {
  position: relative;
  overflow: visible;
}

/* KV ----------------------------------------------*/
.kv_wrapper {
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: block;
  position: relative;
  z-index: 1;
}

.kv_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: var(--z-index-glay);
}

.kv_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  z-index: var(--z-index-copy);
  width: 100%;
}

.kv_copy {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  line-height: 2;
}

.kv_character {
  position: relative; /* 吹き出し・TOPボタンの位置基準。追従(sticky)自体はkv_character_wrapper側の設定のまま */
  width: 100px;
  height: auto;
  opacity: 0.8;
  z-index: var(--z-index-cat);
  pointer-events: none;
}

.kv_cat_img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.1) brightness(0.9);
}

/* --- レッジー：セクション吹き出し ------------------ */
.ledgee_bubble {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 10px;
  max-width: 150px;
  padding: 8px 12px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-family-subheading);
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ledgee_bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- レッジー：TOPへ戻るボタン ----------------------
   猫の足元(画像下端)にボタン上端を接続し、「レッジーが小さなボタンの上に
   乗っている」ように見せる。画像下端から少しだけ潜らせて自然に接続させ、
   胴体・顔には掛からない高さに留める。PC/SPともこの考え方で統一する。 */
.ledgee_top-btn {
  position: absolute;
  top: 100%;
  bottom: auto;
  left: 50%;
  margin-top: -4px;
  transform: translateX(-50%) translateY(-6px);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 10px;
  background: rgba(51, 51, 51, 0.85);
  color: var(--color-white);
  font-family: var(--font-family-subheading);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.ledgee_top-btn.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ledgee_top-btn:hover {
  background: var(--color-accent1);
}

@media (prefers-reduced-motion: reduce) {
  .ledgee_bubble,
  .ledgee_top-btn {
    transition: opacity 0.15s linear;
    transform: none !important;
  }
}

.js-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-index-slider);
}

.kv_slider-item img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  transition: none !important
}

.js-slider .slick-slide {
  transition-duration: 3000ms !important; 
}

.slick-fade .slick-slide {
  transition-property: opacity !important;
}

@media screen and (max-width: 768px) {
  .kv_wrapper {
    height: 60vh;
    background-position: center;
  }
  .kv_copy {
    font-size: 1.1rem;
  }
  .kv_character {
    position: absolute;
    width: 80px;
    right: 24px;
    top: calc(60vh - 90px);
  }

  .kv_slider-item img {
    height: 60svh;
  }

  /* FV（KV領域）を表示している間は、吹き出し・TOPボタンとも表示しない */
  .kv_character:not(.is-fixed-nav) .ledgee_bubble,
  .kv_character:not(.is-fixed-nav) .ledgee_top-btn {
    display: none;
  }

  /* FVをスクロールして画面外へ抜けたら、レッジー本人を画面端にfixed表示してナビゲーターにする */
  .kv_character.is-fixed-nav {
    position: fixed;
    top: auto;
    left: auto;
    right: 16px;
    bottom: 20px;
    width: 40px;
    margin: 0;
    z-index: 50; /* ヘッダー(100)・SPナビ(90)より低くし、開いたメニューの邪魔をしない */
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .kv_character.is-fixed-nav.is-shown {
    opacity: 0.85;
    transform: translateY(0);
  }
  /* Item／Stylingでは案内(吹き出し)を終えたら画面右方向へ一時退避し、商品写真を隠さないようにする */
  .kv_character.is-fixed-nav.is-shown.is-retreated {
    opacity: 0;
    transform: translateX(60px);
    pointer-events: none;
  }
  /* 商品画像・カードのクリック領域は本体画像の下に常に透過させ、
     視覚的にわずかに重なっても操作を妨げないようにする */
  .kv_character.is-fixed-nav .kv_cat_img {
    pointer-events: none;
  }

  /* SPの吹き出し・TOPボタンはPCより一回り小さくし、本文やCTAに重ならないようにする */
  .kv_character .ledgee_bubble {
    max-width: 130px;
    font-size: 0.7rem;
    padding: 6px 10px;
  }
  .kv_character .ledgee_top-btn {
    font-size: 0.6rem;
    padding: 2px 8px;
  }

  @media (prefers-reduced-motion: reduce) {
    .kv_character.is-fixed-nav {
      transition: opacity 0.15s linear;
      transform: none !important;
    }
  }
}
@media screen and (min-width: 768px) {
  .kv_character_wrapper {
    position: sticky;
    top: calc(90vh - 120px);
    height: 0;  
    pointer-events: none;
    z-index: var(--z-index-cat);
  }
  .kv_character {
    margin-left: auto;
    margin-right: 12px; /* viewport右端ぎりぎりに寄せ、商品グリッドへの侵入を最小限にする */
  }
}

/*-----News------------------------------------------*/
.news {
  background-color: var(--background-main);
}

.news_item {
  display: flex;
  font-size: 18px;
  max-width: 70%;
  margin: 0 auto;
  gap: 40px;
  border-bottom: 0.5px solid var(--color-accent1);  
  align-items: center;
}
.news_item:not(first-child){
  margin-top: 20px;
}

.news_txt {
  line-height: 1.8;
}

.news_cat {
  font-weight: bold;
  font-style: italic;
  font-family: var(--font-family-subheading);
  letter-spacing: 1.5px;
  flex-shrink: 0;
}
.p_entry_header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--background-sub);
  padding-bottom: 32px;
}

.p_entry_meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.p_entry_date {
  font-family: var(--font-family-subheading);
  color: #888;
}

.p_entry_category {
  background: var(--color-accent1);
  color: #fff;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: bold;
}

.p_entry_title {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: bold;
}

.p_entry_thumbnail {
  margin-bottom: 40px;
  text-align: center;
}

.p_entry_thumbnail img {
  max-width: 100%;
  height: auto;
}

.p_entry_body {
  max-width: 80%; 
  margin: 0 auto;
  line-height: 1.4;
  font-size: 1rem;
}

.p_entry_body p {
  margin-bottom: 2em;
}

.p_entry_footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--background-sub);
  text-align: right;
}

@media screen and (max-width: 768px) {
  .news_item {
    font-size: 14px;
    max-width: 90%;
    width: 100%;
    gap: 16px;
}
  .news_txt {
    line-height: 1.6;
  }

  .news_cat {
    font-size: 14px;
}
  .p_entry_header {
    margin-bottom: 24px;
    padding-bottom: 24px;
}
  .p_entry_title {
    font-size: 1.1rem;
  }
  .p_entry_body {
    line-height: 1.2;
    font-size: 0.9rem;
}
  .p_entry_footer {
    margin-top: 24px;
    padding-top: 24px;

}
}
/* ---- 1. Item Common (共通設定) ---- */
.item {
  background-color: var(--color-white);
  width: 100%;
}
.item_category:not(:first-child){
    margin-top: 48px;
  }

/* カテゴリーごとのグループ（一覧ページ用） */
.item_category-group {
  padding-block: 24px;
  border-bottom: 1px solid var(--background-sub);
}
.item_category-group:first-of-type {
  padding-top: 0;
}

.item_category-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

/* ---- 2. Grid Layout (トップ・一覧 共通) ---- */

/* index.htmlの「Category」と「Styling」のリスト */
.item_category-list,
.item_styling-list,
.item_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PCは4列 */
  gap: 40px 24px;
  margin-top: 30px;
  width: 100%;
}

.item_item, .item_card {
  width: 100%;
}

/* 画像の枠 */
.item_cat-image-wrap,
.item_stl-image-wrap,
.item_card-img {
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形にする */
  overflow: hidden;
  box-shadow: 3px 3px 2px rgba(51, 40, 20, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f9f9f9;
}

/* スタイリングの画像だけは縦長にする（元々のデザインに合わせる） */
.item_stl-image-wrap {
  aspect-ratio: 3 / 4;
}

.item_link:hover .item_cat-image-wrap,
.item_link:hover .item_stl-image-wrap,
.item_card-link:hover .item_card-img {
  transform: translateY(-4px); 
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); 
}

.item_cat-image,
.item_stl-image,
.item_card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item_ttl-wrap,
.item_ttl,
.item_card-info {
  text-align: center;
  margin-top: 16px;
}
.item_ttl-wrap{
  display: block;
}

.item_card-name {
  font-size: 0.85rem;
}

.item_card-price {
  color: var(--color-accent1);
  margin-top: 5px;
  font-family: var(--font-family-subheading);
}

/* ---- single-item ---- */
.item-detail_wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.item-detail_image-wrap {
  flex: 1;
  max-width: 500px;
  margin-top: 20px;
}

/* 商品写真ごとに縦横比が異なるため、既存のitem_card-img等と同じ手法(aspect-ratio + object-fit:cover)で
   表示領域を統一する。PCの2カラムレイアウトのみを対象とし、SPは既存の height:auto 表示を維持する。 */
@media (min-width: 769px) {
  .item-detail_image-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .item-detail_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.item-detail_info {
  flex: 1;
}

.item-detail_name { 
  font-size: 1.5rem; 
  font-weight: bold; 
  margin-bottom: 16px; 
  color: var(--color-black);
}
.item-detail_price { 
  font-family: var(--font-family-subheading); 
  font-size: 1.5rem; 
  color: var(--color-accent1); 
  margin-bottom: 16px; 
  border-bottom: 1px solid var(--background-sub); 
  padding-bottom: 16px;
}
.tax-in { 
  font-size: 0.8rem; 
  color: #888; 
  margin-left: 8px; 
}
.item-detail_description {
  padding-bottom: 16px;
  line-height: 2;
  border-bottom: 1px solid var(--background-sub);
}
.item-meta {
  padding: 8px;
 }

.item-meta_item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block: 16px;
}

.item-meta_item:last-child {
  margin-bottom: 0;
}

.item-meta_label {
  font-family: var(--font-family-heading);
  font-weight: bold;
  width: 80px;
  color: var(--color-accent1);
}

.m_category-card, 
.item-meta_tag, 
.item-meta_item a {
  display: inline-block;
  text-decoration: none;
  background-color: white;
  color: var(--color-black);
  padding: 4px 12px;
  font-size: 0.8rem;
  border: 1px solid var(--color-accent1);
  transition: all 0.3s;
}

.m_category-card:hover, 
.item-meta_tag:hover,
.item-meta_item a:hover {
  background-color: var(--color-accent1);
  color: var(--color-white);
}

.item-meta_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.item-styling_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  margin-top: 40px;
}

.item-styling_img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.item-styling_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-styling_cards {
  display: flex;
  gap: 10px;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .item_category:not(:first-child){
    margin-top: 32px;
  }
  .item_category-list,
  .item_styling-list,
  .item_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .item_ttl-wrap{
    margin-top: 8px;
  }
  .item_ttl{
    font-size: 0.85em;
  }
  .item-styling_grid {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 16px;
  }
  .item-styling_item{
    flex: 0 0 48%;
  }
  .item-detail_wrapper {
    display: block;
    gap: 48px;
  }
  .item-detail_image-wrap {
    display: block;
    flex: none;
    width: 60%;     
    max-width: 300px;
    margin-inline: auto;
    margin-bottom: 32px; 
  }
  .item-detail_image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    box-shadow: 6px 6px 0px var(--background-sub); 
  }
  .item-detail_name { 
    font-size: 1.25rem; 
  }
  .item-meta_tag,
  .item-meta_item a
   {
    padding: 4px 8px;
    font-size: 0.6rem;
    margin-top: 8px;
  }

  .item-meta_item {    
    gap: 8px;
    margin-bottom: 8px;
}
  .item-detail_description {
    margin-bottom: 16px;
    padding-bottom: 16px;
    line-height: 1.5;
    font-size: 0.85rem;
    }
}
/* --- About us --------------- --- */
.about {
  background-color: var(--background-main);

}
.about_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 80px auto;
  width: 100%;
  max-width: 900px;
  gap: 40px;
 }

.about_wrapper:last-child {
  margin-bottom: 0;
}

.about_image-wrap {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.about_image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about_text-container {
  flex: 1;
  text-align: left;
}

.about_text {
  font-size: 1.1em;
  line-height: 2;
  text-align: center;
}

.about_wrapper.is-reverse {
  flex-direction: row-reverse;
}
/* --- 会社概要 (about_info) --- */
.about_info {
  background-color: var(--color-white);
}

.about_info_body {
  margin-top: 40px;
  background: var(--background-sub); 
  padding: 40px;
  border-radius: 8px;
  width: 80%;           
  margin: 0 auto;  
}

.about_info-table {
  width: 100%;           
  border-collapse: collapse;
}

.about_info-table_heading {
  font-family: var(--font-family-heading);
  font-weight: bold;
  letter-spacing: 0.1em;
  white-space: nowrap;
  padding: 20px 24px 20px 0;
  width: 120px;
  vertical-align: middle;
  position: relative;
  text-align: left;
}

.about_info-table_heading::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--color-accent1); 
}

.about_info-table_data {
  padding: 20px 0 20px 32px;
  line-height: 1.6;
  vertical-align: middle;
}

.about_info-table_row:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

@media screen and (max-width: 768px) {
  .about_wrapper, 
  .about_wrapper.is-reverse {
    flex-direction: column; 
    gap: 24px;
    margin: 40px auto;
  }

  .about_image-wrap {
    width: 160px;
    height: 160px;
  }
  .about_text-container{
    width: 90%;
    margin: 0 auto;
  }
  .about_text {
    font-size: 0.9em;
    text-align: justify;
  }
  .about_br{
    display: none;
  }

  .about .m_btn-wrap {
    justify-content: center; 
  }

  /* 会社概要 SP */
  .about_info_body {
    padding: 24px 16px;
    width: 100%;
  }
  
  .about_info-table_heading {
    width: 80px;
    font-size: 0.85em;
    padding: 16px 8px 16px 0;
  }
  
  .about_info-table_data {
    padding: 16px 0 16px 16px;
    font-size: 0.85em;
  }
}

/* --- Access  --- */
.access {
  background-color: var(--background-sub);
}

.access_wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 60px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.access_info-container {
  flex: 0 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.access_info-container .m_section-subttl {
  margin-bottom: 30px;
}
.access_table{
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
}

.access_table-row {
  border-bottom: 1px solid rgba(51, 51, 51, 0.1);
 }
.access_table-heading {
  text-align: left;
  font-family: var(--font-family-heading);
  font-weight: bold;
  padding: 16px 0;
  width: 30%; 
}
.access_table_data {
  text-align: left;
  padding: 16px 0;
  font-size: 0.95em;
}
@media screen and (max-width: 768px) {  
  .access_wrapper {
    flex-direction: column;
    gap: 30px;
    }
}
/* --- Contact ------------------------------ */
.contact {
  background-color: var(--color-white);
}

.contact_lead {
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.8;
  color: var(--color-black);
  font-size: 1.1rem;
}

.contact_form {
  max-width: 700px;
  margin: 0 auto;
}

.contact_item {
  display: flex;
  margin-bottom: 32px;
  align-items: flex-start;
}

.contact_label {
  width: 240px;
  font-family: var(--font-family-subheading);
  font-size: 1.1rem;
  padding-top: 10px;
}

.contact_tag {
  font-family: var(--font-family-main);
  font-size: 0.65rem;
  background: var(--color-accent1);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.contact_input-wrap {
  flex: 1;
}

.contact_input-wrap input,
.contact_input-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0; 
  background-color: var(--background-main);
  font-family: var(--font-family-main);
  transition: border-color 0.3s;
}

.contact_input-wrap input:focus,
.contact_input-wrap textarea:focus {
  outline: none;
  border-color: var(--color-accent1);
}

.contact_btn-wrap {
  text-align: center;
  margin-top: 48px;
}

.contact_submit {
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-black);
  cursor: pointer;
  padding: 0 0 4px 0;
}

@media screen and (max-width: 768px) {
  .contact_form{
    max-width: 100%;
    width: 100%;
  }
  .contact_item {
    flex-direction: column;
    align-items: stretch; 
    width: 100%;
  }
  
  .contact_label {
    width: 100%;
    margin-bottom: 8px;
    padding-top: 0;
  }
  
  .contact_lead {
    font-size: 0.85rem;
    text-align: left; 
  }
}
