/* ===========================
   Reset & Base
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Override WordPress admin-bar spacing (prevents extra space on Shifter) */
html {
  margin-top: 0 !important;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  color:var(--gray700);
  margin-top: 0 !important;
  padding-top: 0 !important;
}
a {
  text-decoration: none;
  color: inherit;
	transition: 0.3s;
}
a:hover {
	filter: brightness(1.1);
}
ul {
  list-style: none;
}
img{
  display:block;
  max-width:100%;
  height:auto;
}
hr{
  margin: 20px auto;
  border: none;
  border-top: 1px solid var(--gray200);
}
button{
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
:is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])){
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
:is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])){
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.bold {
  font-weight: 600;
}
.medium{
  font-size: 18px;
  font-weight: bold;
}
.big{
  font-size: 24px;
  font-weight: bold;
}
.center{
  text-align: center;
  margin: 0 auto;
}
.center-pc{
  text-align: left;
  margin: 0;
}
.center-sp{
  text-align: center;
  margin: 0 auto;
}
@media (min-width: 834px) {
  .center-pc{
    text-align: center;
    margin: 0 auto;
  }
  .center-sp{
    text-align: left;
    margin: 0;
  }
}
.right{
  text-align: right;
}
.left{
  text-align: left;
}
.float-right{
  float: right;
  margin-left: 20px;
  margin-bottom: 0 !important;
}
.float-right::after{
  content: "";
  display: block;
  clear: both;
}
.float-left img{
  max-width: 100%;
  width: 100%;
}
.clearfix{
  clear: both;
}
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}
.mt10 {
    margin-top: 10px;
}
.mb10 {
    margin-bottom: 10px;
}
.mt20 {
    margin-top: 20px;
}
.mb20 {
    margin-bottom: 20px;
}
.mt40{
  margin-top: 40px;
}
.mb40{
  margin-bottom: 40px;
}
.mt60 {
    margin-top: 60px !important;
}
.mb60 {
    margin-bottom: 60px;
}
@media (min-width: 640px) {
  #column .float-left img{
    width: auto;
    max-width: 200px;
  }
  .float-left{
    float: left;
    margin-right: 20px;
    margin-bottom: 0 !important;
  }
  .float-left::after{
    content: "";
    display: block;
    clear: both;
  }
}
@media (min-width: 834px) {
  hr{
    margin: 40px auto;
  }
}
@media (min-width: 1020px) {
  #column .float-left img{
    max-width: 300px;
  }
}
/* ===========================
   Colors
=========================== */
:root{
  --MS_blue: #006EB2;
  --MS_black: #221815;
  --MS_blue_light: #1A92DC;
  --MS_blue_dark: #23577D;
  --blue000: #F6FBFF;
  --blue100: #E6F0F7;
  --blue200: #C4DDED;
  --blue300: #84BEE2;
  --blue400: #1A92DC;
  --blue500: #006EB2;
  --blue800: #2B5A7C;
  --gray000: #FCFCFC;
  --gray020: #F5F5F5;
  --gray050: #EDEDED;
  --gray100: #DEDEDE;
  --gray200: #CCCCCC;
  --gray300: #ABABAB;
  --gray400: #999999;
  --gray500: #787878;
  --gray600: #666666;
  --gray700: #454545;
  --gray800: #333333;
  --gray900: #121212;
  --gold900: #4E341B;
  --gold800: #856220;
  --gold550: #B69200;
  --gold500: #BF923D;
  --gold400: #D7B94A;
  --gold300: #F4E683;
  --gold200: #FFFBE6;
  --gold100: #FFFCF2;
  --gold000: #FFFDF7;
  --wood000: #FAF8F6;
  --wood900: #4E341B;
  --wood800: #462809;
  --wood600: #6B492E;
  --wood300: #DEB794;
  --wood200: #EFE9E3;
  --wood100: #F8F2ED;
  --wood000: #FAF8F6;
  --white: #ffffff;
}
.red{
  color: #EC0000;
}
.blue{
  color: var(--MS_blue);
}
.blue_dark{
  color: var(--MS_blue_dark) !important;
}
.brown{
  color: var(--gold800);
}
.wood{
  color: var(--wood600);
}
.note{
  color: var(--gray600);
  font-size: 14px;
  font-weight: normal;
}
/* ===========================
   Background
=========================== */
.bg-wood000 {
  padding: 10px 0;
  background: var(--wood000);
}
.bg-wood100 {
  padding: 10px 0;
  background: var(--wood100);
}
/* ===========================
   Containers
=========================== */
.container{
	width: 100%;
	margin: 0 auto;
}
.sp{
  display: block;
}
.pc{
  display: none;
}
#content{/*
  margin-top: 100px;
  margin-bottom: 60px;*/
  margin-top: 0;
  padding: 0 16px;
}
/* 2 column for content */
#flex-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;/*
  margin-top: 80px;
  margin-top: 60px;*/
}
#flex-content .container { 
  display: flex;
  max-width: 1240px;
  width: 100%;
  gap: 20px;
  flex-direction: column;
  justify-content: space-between;
}
#sidebar .filter-section{
    display: none;
}
#sidebar.open .filter-section{
    display: block;
}
#sidebar.open .listmenu{
    width: 100%;
    position: absolute;
    top: 0;
    left: auto;
    background: var(--gray800);
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
    z-index: 9999999999;
}
#sidebar .listmenu .listmenu-close {
    display: none;
}
#sidebar.open .listmenu .listmenu-close {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray800);
    cursor: pointer;
    z-index: 10;
}
#main {
    flex-grow: 1;
    padding: 0 16px;
    margin-bottom: 40px;
}
@media (min-width: 835px) {
  #content{/*
    margin-top: 180px;*/
    margin-top: 0;
  }
  .sp{
    display: none;
  }
  .pc{
    display: block;
  }
    #flex-content {
    padding: 20px;
    margin-top: 30px;
    }
    #flex-content .container {
    flex-direction: row;/*
    margin-bottom: 60px;*/
    }
    #sidebar{
    width: 286px;
    flex-shrink: 0;
    position: relative;
    background: var(--white);
    }
    #sidebar.open .listmenu{
        z-index: 999;
    }
}
@media (min-width: 1240px) {
  .container{
    width: 1240px;
    margin: 0 auto;
}
}
/* ===========================
   Header
=========================== */
.site-header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.site-header .header-main{
  display: flex;
  justify-content: space-between;
}
.site-header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 10px;
  justify-content: center;
  margin-bottom: 0;
}
.site-header .logo img {
  max-width: 180px;
  height: auto;
  margin-left: 10px;
}
.top-logo .site-logo {
  content: url("../images/logo_white.svg");
}
.site-header.scrolled .top-logo .site-logo {
  content: url("../images/logo.svg");
}
.logo:not(.top-logo) .site-logo {
  content: url("../images/logo.svg");
}
.site-header.scrolled .main-nav .top-links .btn-info::before {
  background: url("../images/icon_info_blue.svg") no-repeat center;
}
.site-header.scrolled .main-nav .top-links .btn-shop::before {
  background: url("../images/icon_cart_blue.svg") no-repeat center;
}
.site-header.scrolled .main-nav li a.btn-location{
  color: var(--white);
}
.header-controls {
  display: flex;
  align-items: center;
  background: var(--white);
  height: 52px;
}
.top-links-sp {
  display: flex;
}
.top-links-sp li {
  display: flex;
  align-items: center;
}
.top-links-sp li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
  color: #454545;
  text-decoration: none;
  padding: 8px;
}
.top-links-sp img {
  width: 26px;
  height: 26px;
  padding: 3px;
}
.top-links-sp .icon-cart{
  background: url("../images/icon_cart.svg") no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 4px;
}
.top-links-sp .icon-location {
  background: url("../images/icon_place.svg") no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 4px;
}
@media screen and (min-width: 1200px) {
  .site-header {
      display: flex;
      justify-content: space-between;
  }
  .site-header .header-main {
    flex-direction: row;
    gap: 20px;
    text-align: center;
  }
  .site-header .logo {
      padding: 20px 0;
      align-items: flex-start;
      justify-content: flex-start;
  }
  .site-header .logo img  {
    height: 35px;
    max-width: 218px;
  }
  .header-controls {
    display: none;
  }
  .top-links-sp{
    display: none;
  }
}
/* ===========================
   Hamburger Menu
=========================== */
.menu-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  background-color: var(--MS_blue);
}
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  height: 2px;
  width: 16px;
  background: white;
  margin: 0;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle::before {
  transform: translate(-50%, calc(-50% - 7px));
}
.menu-toggle::after {
  transform: translate(-50%, calc(-50% + 7px));
}
.menu-toggle.active::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-toggle.active::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.menu-toggle.active span {
  opacity: 0;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* ★ オーバーレイ背景 */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.7);
  z-index: 0;
  transition: opacity 0.3s ease;
}
.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* main-nav */
.main-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
}
.main-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  flex-direction: column;
}
.main-nav ul li a {
  font-size: 20px;
  color: var(--white);
  padding: 10px 20px;
  font-weight: 600;
}
.main-nav.open {
  display: flex;
}
@media (min-width: 1200px) {
  .menu-toggle {
    display: none;
  }
  .main-nav{
    display: block;
    background: none;
    padding: 0;
  }
  .main-nav ul{
    flex-direction: row;
    gap: 10px;
    justify-content: space-evenly;
  }
  .main-nav .top-links {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }
  .main-nav .top-links li a {
    font-size: 15px;
    font-weight: 600;
  }
  .main-nav .top-links .btn-info,
  .main-nav .top-links .btn-shop {
    position: relative;
    margin-left: 30px;
  }
  .main-nav .top-links .btn-info::before,
  .main-nav .top-links .btn-shop::before {
    position: absolute;
    content: '';
    left: -15px;
    bottom: 7px;
    width: 25px;
    height: 25px;
    margin: 0;
    background-size: contain;
  }
  .main-nav .top-links .btn-info::before {
    background: url(../images/icon_info.svg) no-repeat center;
  }
  .main-nav .top-links .btn-shop::before {
    background: url(../images/icon_cart.svg) no-repeat center;
  }
  .main-nav .top-links .btn-location {
    background: #0078C3;
    color: var(--white);
    padding: 9px 20px 10px 55px;
    border-radius: 0 0 0 15px;
    font-size: 17px;
    font-weight: 600;
    display: block;
    position: relative;
  }
  .main-nav .top-links .btn-location::before {
    position: absolute;
    content: '';
    left: 15px;
    bottom: 10px;
    width: 25px;
    height: 25px;
    margin: 0;
    background: url(../images/icon_place.svg) no-repeat center;
    background-size: contain;
  }
  .main-nav .main-links{
    border-bottom: 1px solid var(--white);
    margin-top: 0;
    justify-content: flex-end;
    column-gap: clamp(26px, calc(5.8333vw - 44px), 40px);
    padding-inline: 20px;
  }
  .main-nav .main-links > li {
    flex-shrink: 0;
  }
  .main-nav .main-links > li > a {
    white-space: nowrap;
  }
  .main-nav .main-links li a{
    padding: 10px 0;
    display: block;
  }
  /* Tighten only the gap between header rows; preserve fonts and submenu links. */
  .main-nav .main-links > li > a { padding-top: 4px; }
}
/* Child Header */
#child .site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray200);/*
  position: relative;*/
  z-index: 9999;
}
#child .main-nav .top-links .btn-info,
#child .main-nav .top-links .btn-shop {
    color: var(--MS_blue);
}
#child .main-nav .top-links .btn-info::before {
    background: url(../images/icon_info_blue.svg) no-repeat center;
}
#child .main-nav .top-links .btn-shop::before {
    background: url(../images/icon_cart_blue.svg) no-repeat center;
}
#child .main-nav > ul > li > a {
  color: var(--gray800);
}
#child .main-nav .top-links .btn-location{
  color: var(--white);
}
@media (min-width: 834px) {
    #child .main-links li.active{
        border-bottom: 5px solid var(--MS_blue);
    }
    .main-nav .main-links li a.active {
        border-bottom: 4px solid var(--MS_blue);
        padding-bottom: 6px;
    }
    .main-nav .main-links li a.active-white {
        border-bottom: 4px solid var(--white);
        padding-bottom: 6px;
    }
}
@media (min-width: 1200px) {
    #child .main-nav .main-links {
        border-bottom: none;
    }
}
/* ===========================
   Submenu
=========================== */
.submenu {
  border-bottom: 1px solid var(--gray100);
  margin-top: 50px;
}
.submenu .submenu-title{ /* 2026-09-17 h2 → p（見出し順序の修正。見た目は同じ） */
    font-size: 20px;
    font-weight: 700;
    padding: 20px 10px 10px;
    margin: 0;
    text-align: center;
}
.submenu-box ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;;
    gap: 20px;
    list-style: none;
    margin: 0;
    overflow-x: auto;
    padding-left: 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
.submenu-box ul::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.submenu-box ul li {
    flex-shrink: 0;
}
.submenu-box ul li span{
    display: none;
}
.submenu-box ul li a {
  color: var(--gray800);
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  padding: 10px 7px;
}
.submenu-box ul li a.active,
.submenu-box ul li a:hover {
  border-bottom: 5px solid var(--MS_blue);
  font-weight: bold;
}

/* Contact submenu only: inner horizontal scroll + mobile start / tablet (<834px) centered row */
.submenu--contact .submenu-box > .submenu-scroll > ul {
  overflow-x: visible;
  padding-left: 0;
}
.submenu--contact .submenu-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: left;
}
.submenu--contact .submenu-scroll::-webkit-scrollbar {
  display: none;
}
.submenu--contact .submenu-scroll ul {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0 10px;
}
@media (min-width: 768px) and (max-width: 833px) {
  .submenu--contact .submenu-scroll {
    text-align: center;
  }
}

@media (min-width: 834px) {
    .submenu {
        background-color: #f5f5f5;
    }
    .submenu .submenu-title{
        display: none;
    }
    .submenu-box {
        display: flex;
        justify-content: center;
        overflow-x: auto;
        padding-left: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: -1px;
    }
    .submenu-box ul{
        padding: 10px 0 0;
        overflow: visible;
    }
    .submenu-box ul li span{
        display: block;
    }
    .submenu-box ul li a {
        color: var(--gray800);
        font-weight: bold;
        padding: 10px 30px;
        border-bottom: none;
        display: flex;
        border-top: 1px solid transparent;
        border-right: 1px solid transparent;
        border-left: 1px solid transparent;
    }
    .submenu-box ul li a.active,
    .submenu-box ul li a:hover {
        border-bottom: none;
        border-top: 1px solid var(--gray200);
        border-right: 1px solid var(--gray200);
        border-left: 1px solid var(--gray200);
        border-radius: 5px 5px 0 0;
        color: var(--gray800);
        background: var(--white);
        border-bottom: none;
        margin-bottom: -1px;
    }
    .submenu--contact .submenu-box {
        overflow-x: visible;
        padding-left: 0;
    }
    .submenu--contact .submenu-scroll {
        overflow: visible;
        width: 100%;
        text-align: inherit;
    }
    .submenu--contact .submenu-scroll ul {
        display: flex;
        justify-content: center;
        width: auto;
        padding: 10px 0 0;
    }
}
@media (min-width: 1200px) {
    .submenu-box ul{
        overflow: visible;
    }
    .submenu {
        margin-top: 98px;
    }
}
/* ===========================
   Breadcrumb
=========================== */
#breadcrumbs {
  padding: 4px 12px;
  color: #999999;
  font-size: 11px;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
#breadcrumbs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
#breadcrumbs a {
  display: inline;
  color: #999999;
}
#breadcrumbs span {
  display: inline;
  color: #454545;
}
#breadcrumbs a:after,
#breadcrumbs .breadcrumb-category:after {
  /* Keep separator padding inside the line to prevent selection-driven vertical scrolling. */
  padding: 0 8px;
  color: var(--MS_black);
  content: "";
  width: 5px;
  height: 8px;
  background: url(../images/icon_arrow_gray_right.svg) no-repeat center;
  margin-left: 10px;
}
#breadcrumbs .breadcrumb-category {
  color: #999999;
  font-weight: inherit;
}
#breadcrumbs .breadcrumb_last {
    color: #454545;
}
#breadcrumbs {
  display: none;
}
/* When submenu is present */
.submenu + #breadcrumbs {
  display: none;
}
@media (min-width: 834px) {
  #breadcrumbs {
        display: var(--MS_black);
        font-size: 13px;
        color: var(--gray600);
        margin: 10px 0 5px;
        padding: 0 15px;
        display: inline-block;
        top: 50px;
    }
    #breadcrumbsa {
        color: var(--gray400);
        text-decoration: none;
    }
    #breadcrumbs a:hover {
        text-decoration: underline;
    }
    #breadcrumbs span {
        margin: 0;
        color: var(--gray600);
        font-weight: 500;
    }
    .submenu + #breadcrumbs {
      display: block;
      margin-top: 65px;
    }
}
@media (min-width: 1200px) {
  #breadcrumbs {
    display: block;
    top: 93px;
  }
}
/* ===========================
   Boxes
=========================== */
/*  box-cards: pefectfitting */
.box-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.box-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  padding: 15px;
}
.box-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.box-text {
  font-size: 14px;
  color: #0078C3;
  font-weight: bold;
  margin: 7px auto;
}
.box-note {
  font-size: 14px;
  margin: 20px 0;
  color: #666;
}
@media (min-width: 834px) {
  .box-cards {
    gap: 20px;
  }
  .box-card {
    width: calc(96% / 3);
    margin-bottom: 20px;
  }
  .box-text{
    font-size: 28px;
  }
}
/*  square-cards: pefectfitting */
.square-card-box{
  margin: 0 auto 60px;
  max-width: 1149px;
}
.square-cards {
  display: flex;
  margin-bottom: 30px;
  flex-direction: row;
  gap: 10px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.square-card-box :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
  font-size: 24px;
  text-align: center;
  color: var(--gold900);
  padding: 20px 0;
}
.square-cards {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.square-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #ddd;
  text-align: center;
  align-items: center;
  width: 48%;
}
.square-card img {
  width: 100px;
  height: auto;
  margin: 10px auto;
}
.square-card .lens-card-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}
.square-text {
  font-size: 14px;
  margin-bottom: 10px;
  position: relative;
  color: var(--gold900);
  font-weight: bold;
}
@media (min-width: 834px) {
  .square-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
  max-width: 922px;
  }
  .square-card {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    flex-direction: column;
    width: 100%;
  }
  .square-card img{
    width: 135px;
    margin: 0 0 10px 0;
  }
  .square-text{
    font-size: 18px;
  }
}
/* box-clm: glassed service 
.box-clm{
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.box-clm-right,
.box-clm-left,
.box-clm.rev .box-clm-left,
.box-clm.rev .box-clm-right{
  max-width: 100%;
}
.box-clm ol {
    margin-left: 30px;
    font-size: 17px;
    font-weight: bold;
    line-height: 2;
    color: var(--gold900);
}
#child #column .box-clm img{
  margin: 0;
  padding: 0;
}
@media (min-width: 834px) {
  .box-clm{
    flex-direction: row;
  gap: 30px;
  }
  .box-clm-right{
    max-width: 40%;
  }
  .box-clm.rev .box-clm-left{
    max-width: 40%;
  }
  .box-clm.rev .box-clm-right{
    max-width: 60%;
  }
}*/
/* box-gold */
.box-gold{
  background: var(--gold100);
  padding: 20px;
  margin-bottom: 20px;
}
.box-gold li{
  line-height: 2;
  list-style: disc;
  margin-left: 20px;
}
/* box-gray */
.box-gray{
  background: #FAFAFA;
  border: solid 1px var(--gray200);
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}
.box-img.box-gray{
  justify-content: flex-start;
  align-items: center;
}
/* box-blue : column, service page */
.box-blue{
  border: 1px solid var(--MS_blue);
  border-radius: 8px;
  background: var(--blue000);
  padding: 20px;
  margin: 20px 0;
}
#column .box-blue img{
  margin: 0;
}
.box-blue li{
  list-style: disc;
  font-size: 15px;
  margin-left: 20px;
}
.box-blue .title{
  font-size: 18px;
  font-weight: bold;
  color: var(--MS_blue_dark);
  margin-bottom: 10px;
  margin-top: 0;
}
.box-blue .btn-all{
  font-size: 15px;
  width: 100%;
  border: 1px solid var(--MS_blue);
  display: block;
  padding: 5px 10px;
  border-radius: 30px;
  background: var(--white);
  text-align: center;
  position: relative;
}
.box-blue .btn-all span{
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  background: url(../images/icon_arrow_right_blue.svg) no-repeat right;
  position: relative;
  display: inline-block;
  margin-left: 10px;
}
@media (min-width: 834px) {
  .box-blue{
    padding: 30px;
  }
  .box-blue .btn-all{
    max-width: 300px;
  }
  .pc-center{
    text-align: center;
  }
}
/* ===========================
   Titles 
=========================== */
.ejh2 {
  display: flex;
  flex-direction: column-reverse;
}
.ejh2 .jp{
  font-size: 18px;
  color: #454545;
  font-weight: 500;
}
.ejh2 .en{
  font-size: 16px;
  font-family: "Shippori Mincho", serif;
  color: var(--gray600);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.1rem;
}
.gold{
  font-size: 36px;
  font-family: "Shippori Mincho", serif;
  background-image: linear-gradient(180deg, #856220, #F4E683, #BF923D, #4E341B);
  color: transparent;
  background-clip: text;
}
.title_serif{
  font-size: 20px;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--wood800);
}

/* Title with lines */
.title_line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 20px;
  margin: 20px auto;
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  color: var(--gray600);
  font-weight: 500;
}
.title_line::before,
.title_line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray200);
}
#service .title_line {
  margin: 30px -20px;
}

/* Page Header (subtitle + title) */
header.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  padding: 0 20px;
  gap: 20px;
}
.header :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
  font-size: 28px;
  font-family: "Shippori Mincho", serif;
  text-align: left;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
}
.header :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])).center {
  text-align: center;
}
.header .subtitle {
  color: var(--gold800);
  font-size: 16px;
  font-family: "Shippori Mincho", serif;
  text-align: center;
}
.header .lead {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray800);
}
/* Title Page (child pages, news) */
.title_page {
  margin-top: 60px;
  text-align: center;
}
.title_page .ejh2 :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}
.title_page .ejh2 .subtitle {
  font-size: 14px;
  color: var(--gray500);
}
.title_page .lead {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray700);
}
.title_page .cat_name {
  margin-bottom: 10px;
}
.title_page .cat_name a {
  color: var(--MS_blue);
  text-decoration: none;
}
.title_page img {
  width: 100%;
}
.title_page .title_page_text {
  padding: 0 20px 20px;
  text-align: center;
  font-size: 13px;
}
.title_page .title_page_text :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 0;
}
.title_page :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) span {
  font-size: 14px;
  font-weight: normal;
  display: block;
}
.title_page .btn-view-all-blue {
  margin-top: 20px;
  padding: 5px 50px;
}
.title_page p {
  padding: 20px;
}
.title_page .title_page_text p {
  padding: 0;
  text-align: left;
}
@media (min-width: 834px) {
  .ejh2 .en {
    font-size: 32px;
  }
  .title_serif {
    font-size: 40px;
  }
  .title_line {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.1em;
  }
  #service .title_line {
    margin: 30px 0;
  }
  header.header :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
    text-align: center;
    font-size: 42px;
  }
  .header .subtitle {
    font-size: 28px;
  }
  body.blog .header {
    margin-top: 180px;
  }
  .title_page .ejh2 :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
    font-size: 32px;
  }
  .title_page .ejh2 .subtitle {
    font-size: 18px;
  }
  header.header .lead,
  .title_page .lead {
    font-size: 16px;
  }
  .title_page :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
    text-align: left;
  }
  .title_page :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) span {
    display: inline;
    font-size: inherit;
    font-weight: bold;
  }
  .title_page .title_page_text {
    text-align: left;
    font-size: 14px;
  }
  .title_page .btn-view-all-blue {
    font-size: 15px;
  }
}
/* ===========================
   Page Headers
=========================== */
/* When submenu is present, reduce top margin */
.submenu ~ #content {
  margin-top: 16px;
}
/* Header margin - when submenu is present */
.submenu ~ .header,
.submenu ~ #content .header,
.submenu ~ main .header {
  margin-top: 30px;
}

/* Page Header - no submenu */
.page-header {
  margin-top: 80px;
}

/* Page Header - post/page template (no submenu) */
.post-template-default .page-header {
  margin-top: 80px;
}

/* Page Header with submenu */
.submenu ~ .page-header,
.submenu ~ #content .page-header,
.submenu ~ main .page-header {
  margin-top: 30px;
}
/* No Page Header when submenu is present */
.submenu ~ .page-header.header-top,
.submenu ~ main .page-header.header-top{ 
  margin-top: 0;
}
/* No page-header on Mobile when submenu is present */
.submenu ~ .page-header.header-top-sp,
.submenu ~ main .page-header.header-top-sp{ 
  margin-top: 0;
}
.page-header.header-top :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])),
.page-header.header-top-sp :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])){
  display: none;
}
@media (min-width: 834px) {
  /* When submenu is present, reduce top margin */
  .submenu ~ #content {
    margin-top: 40px;
  }
  header.header {
    margin-top: 100px;
  }
  .post-template-default .page-header {
    margin-top: 100px;
  }
  .submenu ~ .page-header,
  .submenu ~ #content .page-header,
  .submenu ~ main .page-header,
  .submenu ~ .page-header.header-top,
  .submenu ~ .page-header.header-top-sp {
    margin-top: 80px;
  }
  .page-header.header-top-sp :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
    display: flex;
  }
  .page-template-page-frame .submenu ~ .page-header,
  .archive-sunglass_item .submenu ~ .page-header,
  .archive-frame_item .submenu ~ .page-header,
  .page-template-page-brands .submenu ~ .page-header {
    margin-top: 60px;
  }
}
@media (min-width: 1200px) {
  header.header {
    margin-top: 168px;
  }
  .submenu ~ .header,
  .submenu ~ #content .header,
  .submenu ~ main .header {
    margin-top: 80px;
  }
  .page-header {
    max-width: 1240px;
    margin: 148px auto 0;
  }
  .post-template-default .page-header,
  .page-template-default .page-header {
    max-width: 1240px;
    margin: 168px auto 0;
  }
  .post-template-default .submenu ~ .page-header,
  .page-template-default .submenu ~ .page-header {
    margin-top: 80px;
  }
}


/* ===========================
   Buttons
=========================== */
/* View All Buttons  */
.view-all {
  padding-top: 40px;
}
.btn-view-all {
  display: inline-flex;
  background: var(--MS_blue);
  color: var(--white);
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.3s;
  width: 100%;
  position: relative;
  width: 90%;
  max-width: 385px;
  justify-content: center;
  gap: 20px;
}
.btn-view-all::after {
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  background: url(../images/icon_arrow_right_white.svg) no-repeat right;
  background-size: contain;
  position: absolute;
  right: 10px;
  bottom: 50%;
  margin-bottom: -6px;
}
.btn-view-all:hover {
  background: var(--MS_blue_light);
}
/* View All Buttons Blue */
.btn-view-all-blue,
#column a.btn-view-all-blue  {
  display: inline-block;
  background: var(--white);
  color: var(--MS_blue);
  border: 1px solid var(--MS_blue);
  padding: 5px 30px 5px 15px;
  border-radius: 30px;
  font-size: 14px;
  transition: background 0.3s;
  position: relative;
  text-decoration: none;
  letter-spacing: 2px;
}
.btn-view-all-blue:after,
#column a.btn-view-all-blue:after {
    content: "";
    display: block;
    width: 7px;
    height: 12px;
    background: url(../images/icon_arrow_right_blue.svg) no-repeat right;
    position: absolute;
    right: 10px;
    bottom: 50%;
    margin-bottom: -6px;
}
.btn-view-all-blue.external{
  padding-right: 20px;
    display: inline-flex;
    gap: 20px;
}
.btn-view-all-blue.external:after{content: none;}
.btn-view-all-blue.external:hover img {
  filter: brightness(0) invert(1);
}
.btn-view-all-blue.shop{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
}
.btn-view-all-blue.shop img{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-view-all-blue.shop:hover img{
  filter: brightness(0) invert(1);
}
.btn-view-all-blue:hover,
#column a.btn-view-all-blue:hover {
  background: var(--MS_blue);
  color: var(--white);
  text-decoration: none;
}
.btn-view-all-blue:hover:after,
#column a.btn-view-all-blue:hover:after {
    background: url(../images/icon_arrow_right_white.svg) no-repeat right;
}
/* Back Buttons Blue */
.btn-back-blue {
  display: inline-block;
  background: var(--white);
  color: var(--MS_blue);
  border: 1px solid var(--MS_blue);
  padding: 5px 15px 5px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.3s;
  position: relative;
}
.btn-back-blue:after {
    content: "";
    display: block;
    width: 7px;
    height: 12px;
    background: url(../images/icon_arrow_left_blue.svg) no-repeat left;
    position: absolute;
    left: 10px;
    bottom: 50%;
    margin-bottom: -6px;
}
.btn-back-blue:hover {
  background: var(--MS_blue);
  color: var(--white);
}
.btn-back-blue:hover:after {
    background: url(../images/icon_arrow_left_white.svg) no-repeat left;
}
.btn-back-blue.fill {
  background: var(--MS_blue);
  color: var(--white);
  display: flex;
  justify-content: center;
  margin: 0 auto;
    max-width: 350px;
}
.btn-back-blue.fill:after {
    background: url(../images/icon_arrow_left_white.svg) no-repeat left;
}
.btn-back-blue.fill:hover {
  background: var(--white);
  color: var(--MS_blue);
}
.btn-back-blue.fill:hover:after {
    background: url(../images/icon_arrow_left_blue.svg) no-repeat left;
}
/* CTA Buttons  */
.box-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.box-buttons .btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--white);
  font-size: 18px;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  width: 90%;
  text-align: center;
}
.box-buttons .pc {
    display: none;
}
.box-buttons .btn-blue {
  background: #0078C3;
}
.box-buttons .btn-blue:hover {
  background: var(--MS_blue_light);
}
.box-buttons .btn-gold {
  background: linear-gradient(180deg, #856220, #d8bb5c);
}
.box-buttons img{
  margin-right: 10px;
}
@media (min-width: 834px) {
  .btn-view-all{
    width: 385px;
  }
  .box-buttons .btn {/*
    width: 165px;*/
    width: 300px;
  }
  .box-buttons .btn.btn-wide {
    width: 450px;
  }
}
/* ===========================
   Slider
=========================== */
.topslider,
.contact-slider,
.brand-slider {
  margin-top: 10px;
}
.topslider .slick-slide,
.contact-slider .slick-slide,
.brand-slider .slick-slide {
  margin-right: 20px;
}
.slick-slide img {
  width: 100%;
  height: auto;
}
.topslider .slick-dots,
.contact-slider .slick-dots {
  bottom: -35px;
}
.topslider .slick-dots li button,
.contact-slider .slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
}
.topslider .slick-dots li button:before,
.contact-slider .slick-dots li button:before {
  content: none;
}
.topslider .slick-dots li.slick-active button,
.contact-slider .slick-dots li.slick-active button {
  background: var(--MS_blue, #0078c3);
}
@media (min-width: 834px) {
	.topslider .slick-dots,
.contact-slider .slick-dots {
  bottom: -45px;
}
}
/* ===========================
   Products Section
=========================== */
.prod_box_section {
  padding: 40px 0;
  text-align: center;
  overflow: hidden;
}
.prod_box_section .container {
}
.prod_box{
  margin-top: 40px;
  max-width: 100%;
  width: 100%;
}
.prod_box_tabs {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 10px;
  margin: 40px 0 28px;
  border-bottom: 1px solid var(--gray200);
}
.prod_box_tabs::-webkit-scrollbar,
.prod_box_list::-webkit-scrollbar {
  display: none;
}
.prod_box_section.contact .prod_box_tabs {
  margin: 40px 0 28px 10px;
}
.prod_box_tabs li {
  cursor: pointer;
  margin: 0 15px;
  padding: 16px 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  white-space: nowrap;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.prod_box_tabs li.active {
  border-bottom: 4px solid #0078C3;
  font-weight: bold;
}
.prod_box_container{
  max-width: 1240px;
  margin: 0px auto !important;
}
.prod_box_contents {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow: visible;
	width: calc(100% + (50vw - 50%));
}
.prod_box_section.contact .prod_box_contents {
  margin-left: 10px;
}
.prod_box_list {
  padding: 0 10px 20px;
  overflow: scroll;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;/*
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overflow: visible;*/
}
#top .prod_box_list {
  display: none;
}
#top .prod_box_list.active {
  display: flex;
  min-width: fit-content;
}
/* slick
.prod_box_list.slick-slider {
  box-sizing: border-box;
}
.prod_box_list .slick-track {
  display: flex !important;
}
.prod_box_list .slick-slide {
  width: 292px !important;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0 10px;
}
.prod_box_card {
  width: 100%;
  max-width: 292px;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
}*/
.prod_box_card {
  flex: 0 0 auto;
  width: 292px;
  height: auto;
  text-align: center;
  position: relative;
}
.prod_box_section.contact .prod_box_card {
  width: 148px;
}
.prod_box_card:first-child {
  margin-left: 20px;
}
.prod_box_card:last-child {
  margin-right: 20px;
}
.prod_box_card .rank {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 18px;
  color: transparent;
  width: 32px;
  height: 32px;
}
.prod_box_section.contact .prod_box_card .rank {
  width: 16px;
  height: 16px;
	z-index:1;
}
.prod_box_card .rank.no1 {
  background: url(../images/icon_no1.svg) no-repeat;
  background-size: contain;
}
.prod_box_card .rank.no2 {
  background: url(../images/icon_no2.svg) no-repeat;
  background-size: contain;
}
.prod_box_card .rank.no3 {
  background: url(../images/icon_no3.svg) no-repeat;
  background-size: contain;
}
.prod_box_card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;
}
.prod_box_section.contact .prod_box_card img {
  border: 1px solid #DEDEDE;
}
.prod_box_card a img {
  border: 1px solid #DEDEDE;
	transition: 0.3s;
}
.prod_box_card a:hover img {
  border: 1px solid var(--MS_blue_light);
}

.prod_box_section.contact .prod_box_card a img {
  border: 1px solid #DEDEDE;
	transition: 0.3s;
}
.prod_box_section.contact .prod_box_card a:hover img {
  border: 2px solid var(--MS_blue_light);
}


.product-name {
  font-size: 10px;
  text-align: left;
}
/* 共通 */
.product_colors {
	position: relative;
  margin: 8px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -40px;
	z-index: 1;
}
.color_circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--gray200);
    display: inline-block;
    cursor: pointer;
    border: 1px solid #F0F0F0;
    box-shadow: 0 0 0 2px #fff inset;
}

.color_circle.black { background-color: #000; }
.color_circle.brown { background-color: #6F4A22; }
.color_circle.gold { background-color: #B69200;background-clip: unset;background-image: none; }
.color_circle.silver { background-color: #CCCCCC; }
.color_circle.red { background-color: #D26B6B; }
.color_circle.blue { background-color: #5380AD; }
.color_circle.green { background-color: #587B48; }
.color_circle.gray { background-color: #9C9C9C; }
.color_circle.white { background-color: #fff; border: 1px solid #ccc; }
.color_circle.pink { background-color: #E969A5; }
.color_circle.purple { background-color: #BA69E9; }
.color_circle.navy { background-color: #3D4AA8; }
.color_circle.clear { background-color: #fff; border: 1px solid #ccc; }



.color_circle.selected {
  border: 1px solid #444;
}/* end */
.prod_box_card .product_info {
  text-align: left;
    margin-top: 16px;
	line-height:150%;
}
.prod_box_card .product_info .brand {
  font-weight: normal;
  font-size: 14px;
}
.prod_box_card .product_info .name {
  font-weight: bold;
  font-size: 16px;
}
.prod_box_card .product_info .code {
  font-size: 14px;
  color: var(--gray300);
}
.prod_box.recommend {
    padding-top: 0px;
    margin-top: 10px;
}
@media (min-width: 834px) {
  .prod_box_tabs {
    justify-content: center;
  }
  .prod_box_list {/*
    overflow: visible;*/
  }
  .prod_box_tabs li {
    margin: 0 20px;
  }
  .prod_box_card {
    width: 286px;
  }
  .prod_box.recommend {
    padding-top: 20px;
      margin-top: 20px;
  }
  .prod_box_section.contact .prod_box_card {
    width: 296px;
  }
  .prod_box_section.contact .prod_box_card .rank {
    width: 32px;
    height: 32px;
  }
  .product-name {
    font-size: 16px;
	  line-height:1.5;
  }
}
@media (min-width: 1240px) {
  .prod_box_container{
    max-width: 1240px;
    margin: 0px auto !important;
  }
}

/* ===========================
   Brands Section
=========================== */
.brands-section {
  background: var(--wood100);
  padding: 40px 0 60px;
  text-align: center;
}
.brand-slider {
  margin: 20px 0;
  gap: 15px;
}
.brand-slide img {
  width: 100%;
  height: auto;
}
.brand-slider .slick-dots {
  bottom: -35px;
}
.brand-slider .slick-dots li button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
}
.brand-slider .slick-dots li button:before {
  content: none;
}
.brand-slider .slick-dots li.slick-active button {
  background: var(--MS_blue, #0078c3);
}
/* ===========================
   Banners
=========================== */
.banner {
  background-image: linear-gradient(180deg, #462809, #9B8874);
  color: var(--white);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}
.banner .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 500px;
}
.banner .btn-view-all {
  background: transparent;
  border: 1px solid var(--white);
  padding: 8px 30px 8px 20px;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  width: auto;
  margin: 0 auto;
}
@media (min-width: 1029px) {
  .banner {
    max-width: 1028px;
    max-height: 300px;
    border-radius: 12px;
  }
}
/* Eye Check Banner */
.banner.eye_check .container {
  gap: 10px;
  padding: 40px 20px;
}
.banner.eye_check .banner-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #F4E683;
  text-align: center;
}
.banner.eye_check .banner-title .title_serif{
  font-size: 22px;
  color: var(--white);
}
.banner.eye_check .banner-text {
  font-size: 14px;
  margin-bottom: 20px;
  text-align: left;
}
.banner.eye_check .banner-image {
    line-height: 0;
}
.banner.eye_check .banner-image img {
  max-width: 510px;/*
  padding: 0 20px;*/
  width: 100%;
}
@media (min-width: 834px) {
  .banner.eye_check {
    flex-direction: row;
    max-height: 300px;
  }
  .banner.eye_check .container{
    width: 50%;
    align-items: flex-start;
    padding: 20px 0 20px 40px;
  }
  .banner.eye_check .banner-title{
    text-align: left;
    width: 100%;
  }
  .banner.eye_check .banner-image{
    width: 50%;
    display: flex;
    justify-content: flex-end;
  }
  .banner.eye_check .banner-image img {
    max-height: 300px;
  }
  .banner.eye_check .btn-view-all{
    margin: 0;
  }
}
/*  Subscription Banner */
.banner.subscription {
  padding: 20px;
}
.banner.subscription .title_serif {
  font-size: 22px;
  color: var(--white);
  text-align: center;
}
.banner.subscription .title_serif span {
  display: none;
}
.banner.subscription .subscription-box {
  display: flex;
  flex-direction: column;
}
.banner.subscription .subscription-box .subscription-first {
  font-size: 25px;
  font-weight: 400;
  text-align: center;
}
.banner.subscription .subscription-box .subscription-off {
  font-size: 55px;  
  font-weight: bold;
  font-family: "Shippori Mincho", serif;
  background-image: linear-gradient(170deg, #856220, #F4E683, #BF923D);
  color: transparent;
  background-clip: text;
  line-height: 1;
  text-align: center;
}
.banner.subscription .subscription-box .subscription-off em {
  font-size: 107px;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: normal;
}
.banner.subscription .subscription-note {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: right;
}
.banner.subscription .contact-display {
  display: none;
}
@media (min-width: 834px) {
  .banner .container{
    max-width: 550px;
  }
  .banner.subscription {
    flex-direction: row;
    align-items: flex-end;
    max-height: 300px;
  }
  .banner.subscription .subscription-note{
    margin-bottom: 0;
  }
.banner.subscription .title_serif {
  font-size: 28px;
  color: #FFFBE6;
}
.banner.subscription .title_serif span {
  display: inline;
}
.banner.subscription .subscription-box{
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.banner.subscription .subscription-box .subscription-first{
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.banner.subscription .subscription-box .subscription-first span{
  display: block;
}
.banner.subscription .subscription-box .subscription-off{
  font-size: 70px;
}
.banner.subscription .subscription-box .subscription-off em{
  font-size: 127px;
}
}
@media (min-width: 1029px) {
  .banner.subscription {
    margin-bottom: 50px;
  }
}
/* ===========================
   Service Section
=========================== */
.service {
  padding: 30px 20px;
  text-align: center;
}
.service .service-cards {/*
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(392px, 1fr));
  gap: 30px;
  margin: 30px auto;*/
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 30px auto;
}
.service .service-card {/*
  background: var(--white);
  text-align: left;
  padding-bottom: 5px;*/
  background: var(--white);
  width: 392px;
  text-align: left;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;/*
  justify-content: space-between;*/
  justify-content: flex-start;
}
.service .service-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.service .service-card :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  font-size: 18px;
  color: var(--MS_blue);
  text-align: center;
}
.service .service-card p {
  font-size: 13px;
  color: #666;
  padding: 20px;
}
.service .service-button{
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
@media (min-width: 834px) {
  .service {
    padding: 30px 0;
  }
  .service .service-card :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
    font-size: 20px;
  }
  .service .service-card p {
    font-size: 14px;
  }
  .service .service-button .btn-view-all {
    width: 100%;
    max-width: 300px;
  }
  .service .service-button{
    flex-direction: row;
    justify-content: center;
  }
}

/* ===========================
   Eye Care Contents Section
=========================== */
.eyecare-contents {
  padding: 60px 20px;
}
.eyecare-contents .header{
  text-align: center;
}
.eyecare-contents .view-more{
  text-align: center;
}
.eyecare-contents .articles {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px auto;
  max-width: 1028px;
}
.eyecare-contents .article-card {
  display: flex;
  gap: 20px;
  text-align: left;
  flex-wrap: wrap;
  flex-direction: column;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--gray200);
}
.eyecare-contents .article-image {
  position: relative;
}
.eyecare-contents .article-image img {
  width: 100%;
  height: auto;
}
.eyecare-contents .article-image .pickup {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #BF923D;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
}
.eyecare-contents .article-content {
  flex: 1;
}
.eyecare-contents .article-content :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  font-size: 20px;
  margin-bottom: 10px;
}
.eyecare-contents .cat {
  font-size: 10px;
}
.eyecare-contents .cat a{
  font-size: 14px;
  font-weight: 600;
  color: var(--MS_blue);
}
.eyecare-contents .tags {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}
.eyecare-contents .tags li {
  background: #E6F0F7;
  padding: 3px 10px;
  font-size: 13px;
  border-radius: 3px;
  color: var(--MS_blue);
}
.eyecare-contents .info {
  display: flex;
  font-size: 12px;
  color: #454545;
  margin-bottom: 10px;
  line-height: 1.6;
  gap: 20px;
  flex-direction: row;
}
.eyecare-contents .article-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  border-top: 1px solid var(--gray200);
  padding-top: 20px;
}
.eyecare-contents .article-text--no-border {
  border-top: none;
  padding-top: 0;
}
.eyecare-contents .article-content .btn-view-all-blue {
  font-size: 16px;
  font-weight: 600;
}
@media (min-width: 834px) {
  .eyecare-contents .article-card {
    flex-direction: row;
  }
  .eyecare-contents .article-content :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
    font-size: 22px;
  }
  .eyecare-contents .article-image {
    flex: 0 0 434px;
  }
  .eyecare-contents .lead {
    font-size: 14px;
    line-height: 1.8;
    margin: 40px 0;
    color: #555;
    display: block;
  }
  .eyecare-contents .cat-box {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
  }
  .eyecare-contents .info{
      flex-direction: column;
      gap: 0;
  }
}
/* ===========================
   Top Page: Glasses Guide Section, 
   Frame page, Sunglasses page
=========================== */
.guide-section {
  text-align: center;
  background: var(--wood000);
}
.guide-section .container{
  padding: 60px 20px;
}
.guide-section .guide-box {
  font-size: 14px;
  line-height: 1.8;
  margin: 20px auto 40px;
  text-align: left;
  max-width: 1026px;
}
.guide-section .title_serif{
  text-align: center;
  font-family: "Shippori Mincho", serif;
  color: var(--gold900);
  margin: 0 -16px;
}
.guide-section .guide-box .lead{
  color: var(--gray600);
  margin-top: 15px;
}
.guide-section .guide-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 20px auto;
}
.guide-section .guide-card {
  position: relative;
  box-sizing: border-box;
  height: 97px;
  margin-bottom: 5px;
  padding: 0;
  border: 1px solid var(--gray200);
  border-radius: 8px;
  font-size: 16px;
  color: var(--gray800);
  line-height: 1.5;
  background: url(../images/glasses/guide-img.jpg) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card > a {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 20px 20px 20px 100px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.guide-section .guide-card:not(:has(> a)) {
  display: flex;
  align-items: center;
  padding: 20px 20px 20px 100px;
}
.guide-section .guide-card.parts{
  background: url(../images/glasses/guide-parts.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.frame{
  background: url(../images/glasses/guide-frame.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.lends{
  background: url(../images/glasses/guide-lends.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.use{
  background: url(../images/glasses/guide-use.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.maintenance{
  background: url(../images/glasses/guide-mentenance.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.fit{
  background: url(../images/glasses/guide-fit.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.scene{
  background: url(../images/glasses/guide-scene.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.faq{
  background: url(../images/glasses/guide-faq.webp) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card:hover {
  background-color: var(--gray000);
}
.guide-section .guide-subtitle {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}
.guide-section .guide-text {
  font-size: 14px;
  color: var(--gray600);
  line-height: 1.8;
  margin-bottom: 40px;
}
.guide-section .guide-bottom-text {
  font-size: 12px;
  color: var(--gray600);
  margin-top: 20px;
  line-height: 1.6;
}
/* frame page */
.page-template-page-frame .guide-section{
  padding: 0;
}
@media (min-width: 834px) {
  .guide-section .title_serif{
    font-size: 24px;
  }
  .guide-section p{
      font-size: 15px;
  }
  .guide-section .guide-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
  .guide-section .guide-card {
    font-size: 19px;
    font-weight: 600;
    color: var(--gray800);
  }
  .guide-section .guide-card > a {
    font-weight: inherit;
  }
  .page-template-page-frame .guide-section{
    padding: 80px 20px;
  }
}
@media (min-width: 1026px) {
  .guide-section .container{
    width: 1026px;
  }
  .guide-section .guide-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px auto;
  }
  .guide-section .guide-card {
    max-width: 320px;
    min-width: 320px;
  }
}
/* ===========================
   Store CTA
=========================== */
.store-cta {
  background: var(--MS_blue_dark);
  color: var(--white);
  position: relative;
}
.store-cta .cta-inner {
  display: flex;
  flex-direction: column;
}
.store-cta .cta-image img {
  width: 100%;
}
.store-cta .cta-text {
    padding: 20px;
}
.store-cta .cta-text :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).title_serif {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
  color: var(--white);
}
.store-cta .cta-text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}
.store-cta .box-buttons {
  flex-wrap: wrap;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin: 20px auto;
}
@media (min-width: 834px) {
  .store-cta .cta-text :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).title_serif {
    font-size: 24px;
  }
}
@media (min-width: 850px) {
  .store-cta .cta-text :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).title_serif {
    font-size: 32px;
  }
}
@media (min-width: 834px) {
  .store-cta .cta-inner {
    text-align: center;
    flex-direction: row;
    max-height: 500px;
  }
  .store-cta .cta-image,
  .store-cta .cta-text {
    width: 50%;
    padding: 0;
  }
  .store-cta .cta-image img {
    max-width: 100%;
    object-fit: cover;
    height: 100%;
  }
  .store-cta .consultation-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
   .store-cta .cta-text {
    width: 50%;
    padding: 20px;
    background-color: #005b7f;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.store-cta .cta-text p {
  font-size: 16px;
}
   .store-cta .cta-text .cta-description {
    max-width: 500px;
    text-align: left;
    letter-spacing: 0.5px;
}
}
/* ===========================
   News Section
=========================== */
.news-section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  background: #fff;
}
.news-section .container {
  display: flex;
  flex-direction: column;
  position: relative;
}
.news-section .news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.news-section .news-list li {
  border-bottom: 1px solid var(--gray200);
  padding: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: column;
}
.news-section .news-list li .news-header {
  display: flex;
  justify-content: space-between;
}
.news-section .news-date {
  flex: 0 0 90px;
  font-size: 15px;
  color: #808080;
}
.news-section .news-label {
  background: #888;
  color: var(--white);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  display: block;
  text-align: center;
  width: 156px;
}
.news-section .news-text {
  flex: 1;
  font-size: 15px;
  color: #1C1C1C;
}
@media (min-width: 1170px) {
  .news-section .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    justify-content: space-around;
  }
  .news-section .news-title {
    font-size: 32px;
  }
  .news-section .news-subtitle {
    font-size: 16px;
    font-weight: normal;
  }
  .news-section .news-list li {
      flex-direction: row;
      gap: 20px;
  }
  .news-section .news-list li .news-header {
    min-width: 200px;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
}
  .news-section .container .news-more {
    position: absolute;
    left: 0;
    top: 100px;
  }
}
/* news-top page */
.news-section.news-top .news-list {
  max-width: 1024px;
  width: 100%;
}
.news-section.news-top .news-list li{
  display: block;
}
.news-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  width: 100%;
}
.news-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 100%;
}
.news-link img {
  width: 24px;
  height: 24px;
}
.news-link span{
  font-size: 12px;
  color: var(--gray400);
}
@media (min-width: 834px) {
  .news-sectionn.news-top .news-list .news-content {
    display: flex;
      flex-direction: column; 
      gap: 0;
  }
}
/* ===========================
   Footer
=========================== */
.site-footer {
  text-align: center;
  padding-bottom: 150px;
  position: relative;
  background: #fff;
}
.site-footer .footer-nav {
    border-top: 1px solid var(--gray200);
}
.site-footer .footer-logo {
    display: flex;
    justify-content: center;
}
.site-footer .footer-logo img{
    width: 175px;
    height: auto;
    padding: 20px 0;
}
.site-footer .footer-nav li {
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray200);
}
.site-footer .footer-nav li:first-child {
  border-top: 1px solid var(--gray200);
}
.site-footer .footer-nav li a {
  color: #333;
  font-size: 16px;
  text-decoration: none;
}
.site-footer .footer-links {
  display: none;
}
.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}
.site-footer .footer-social a {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin: 5px 10px;
}
.site-footer .footer-social a.insta{
  background: url(../images/icon_instagram.svg) no-repeat center;
}
.site-footer .footer-social a.x{
  background: url(../images/icon_x.svg) no-repeat center;
}
.site-footer .footer-social a.face{
  background: url(../images/icon_facebook.svg) no-repeat center;
}
.site-footer .footer-social a.line{
  background: url(../images/icon_line.svg) no-repeat center;
}
.site-footer .footer-social a.you{
  background: url(../images/icon_youtube.svg) no-repeat center;
}
.site-footer .footer-social a span{
  display: none;
}
.site-footer .footer-copy {
  font-size: 12px;
  border-top: 1px solid #ABABAB;
  padding-top: 20px;
  color: #ABABAB;
}
@media (min-width: 834px) {
  .site-footer {
    padding-bottom: 100px;
  }
  .site-footer .footer-logo{
    display: none;
  }
  .site-footer .footer-nav {
    flex-direction: column;
    gap: 15px;
    border: none;
  }
  .site-footer .footer-nav ul{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    flex-direction: row;
    border-top: 1px solid var(--gray200);
    border-bottom: 1px solid var(--gray200);
  }
  .site-footer .footer-nav li{
    border-bottom: none;
  }
  .site-footer .footer-nav li a{
    width: 100%;
    display: block;
    border-left: 1px solid var(--gray200);
  }
  .site-footer .footer-nav li:first-child{
    border: none;
    border-left: none;
  }
  .site-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 0 20px 60px;
    text-align: left;
  }
  .site-footer .footer-column .footer-heading { /* 2026-09-17 h3 → p */
    font-size: 18px;
    font-family: "Shippori Mincho", serif;
    font-weight: normal;
    margin-bottom: 10px;
    color: #666;
  }
  .site-footer .footer-column a {
    font-size: 12px;
    padding: 5px 0;
    color: #000;
    width: 100%;
    display: block;
  }
}

/* ===========================
   Footer logos
=========================== */
  .group-logos {
    display: block;
    background: #ffffff;
  }
  .group-logos .container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px 20px 30px;
  }
  .group-logos img {
    height: auto;
    width: calc((100% - 30px) / 3);
  }
  #top .group-logos {
    display: none;
  }
  footer .group-logos,
  #top footer .group-logos {
    display: block;
  }
@media (min-width: 834px) {
  footer .group-logos,
  #top footer .group-logos {
    display: none;
  }
  #top .group-logos {
    display: block;
  }
  .group-logos .container{
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px;
    margin-top: 0;
  }
  .group-logos img {
    width: calc(90% / 6);
  }
}
/* ===========================
   Fixed Bottom Box
=========================== */
.fixed-bottom-box {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #23577D;
  color: var(--white);
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
.fixed-bottom-box .box-content {
  max-width: 1200px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.fixed-bottom-box .box-texts {
  display: flex;
  gap: 0;
  font-size: 16px;
  align-items: center;
  padding-left: 60px;
  position: relative;
  border-radius: 10px;
  line-height: 1.5;
  font-weight: bold;
  flex-direction: row;
  margin: 0 auto;
  text-wrap: nowrap;
  margin: 0 auto 7px;
}
.fixed-bottom-box .box-texts::before{
  position: absolute;
  content: '';
  left: 35px;
  bottom: 3px;
  width: 18px;
  height: 18px;
  margin: 0;
  background: url(../images/icon_eye.svg) no-repeat center;
  background-size: contain;
}
.fixed-bottom-box .box-pc{
  display: none;
}
.fixed-bottom-box .box-pc .line1{
  font-size: 20px;
  font-weight: bold;
  text-wrap: nowrap;
}
.fixed-bottom-box .box-pc .line2{
  font-size: 16px;
}
.fixed-bottom-box .box-buttons{
  flex-direction: row;
}
.fixed-bottom-box .box-buttons .btn{
  width: calc(50% - 5px);
  padding: 5px;
}
@media (min-width: 834px) {
  .fixed-bottom-box {
    flex-direction: row;
  }
  .fixed-bottom-box .box-content {
    align-items: center;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .fixed-bottom-box .box-texts {
    font-size: 16px;
    background: var(--MS_blue);
    flex-direction: column;
    padding: 7px 20px 5px 60px;  
  }
  .fixed-bottom-box .box-texts::before{
    bottom: 15px;
    width: 40px;
    height: 40px;
    left: 15px;
  }
  .fixed-bottom-box .box-buttons .btn{
    width: 240px;
  }
  .fixed-bottom-box .box-buttons{
    width: auto;
  }
  .fixed-bottom-box .sp {
    display: none;
  }
  .fixed-bottom-box .pc {
    display: block;
  }
}
@media (min-width: 1024px) {
  .fixed-bottom-box .box-pc{
    display: block;
  }
}
@media (min-width: 1280px) {
  .fixed-bottom-box {
    left: 50%;
    right: auto;
    margin-left: -625px;
    width: 1250px;
    max-width: 1250px;
    border-radius: 10px 10px 0 0;
  }
}
/* ===========================
   Pagination - Circular Design
=========================== */
.nav-links,
.custom-pagination .pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 12px;
  list-style: none;
  padding: 0;
}

/* Page numbers - circular */
.nav-links a.page-numbers,
.nav-links span.page-numbers,
.custom-pagination .page-num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #EFEFEF;
  color: var(--MS_blue, #3179b5);
  text-decoration: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-links a.page-numbers:hover,
.custom-pagination a.page-num:hover {
  background: #e0e0e0;
}

/* Current page */
.nav-links span.current,
.custom-pagination .page-num.current {
  background: var(--MS_blue, #3179b5);
  color: var(--white);
}

/* Next/Prev/First/Last arrow buttons */
.nav-links a.page-numbers.next,
.nav-links a.page-numbers.prev,
.custom-pagination .pagination-next,
.custom-pagination .pagination-prev,
.custom-pagination .pagination-first,
.custom-pagination .pagination-last {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #EFEFEF;
  color: var(--MS_blue, #3179b5);
  text-decoration: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-links a.page-numbers.next:hover,
.nav-links a.page-numbers.prev:hover,
.custom-pagination .pagination-next:hover,
.custom-pagination .pagination-prev:hover,
.custom-pagination .pagination-first:hover,
.custom-pagination .pagination-last:hover {
  background: #e0e0e0;
}

.custom-pagination .pagination-next img,
.custom-pagination .pagination-prev img {
  width: 8px;
  height: auto;
}

.custom-pagination .pagination-first img,
.custom-pagination .pagination-last img {
  width: 16px;
  height: auto;
}
@media (min-width: 834px) {
    #sidebar .filter-header {
    padding: 20px 0;
    text-align: left;
    }
    .result-count .title{
        display: inline;
    }
    #sidebar .filter-section{
        width: 100%;
        background: var(--white);
        margin: 0;
        padding: 0;
        border-top: 1px solid var(--gray200);
    }
    .nav-links,
    .custom-pagination .pagination-list {
        margin-top: 60px;
        gap: 15px;
    }
    .custom-pagination .pagination-first img,
    .custom-pagination .pagination-last img {
        width: 14px;
    }
    .custom-pagination .pagination-next img,
    .custom-pagination .pagination-prev img {
        width: 7px;
    }
}

/* ===========================
   LP
=========================== */
  .lp-main{
    margin-top: 0;
    overflow: hidden;
  }
  .lp-main :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])){
   display: none;
  }
  /* 2026-09-15 ヒーロー画像を囲んだ h1 だけは表示する（h1 自体は枠を持たせず、レイアウトを変えない） */
  .lp-main :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])).lp-hero-h1{
   display: contents;
  }
  body:not(:has(.submenu)) .lp-main{
  margin-top: 53px;
}
.page-template-page-lp .submenu{
  display: none;
  margin-top: 50px;
}
.page-template-page-lp .lp-main{
  margin-top: 50px;
}
@media (min-width: 834px) {
  .lp-main{
    margin-top: 40px;
  }
  /* サブメニューがある場合のみ150px */
  body:not(:has(.submenu)) .lp-main{
    margin-top: 90px;
  }
  .page-template-page-lp .submenu{
    display: block;
  }
}
@media (min-width: 1200px) {
  body:not(:has(.submenu)) .lp-main{
    margin-top: 138px;
  }
  .page-template-page-lp .submenu{
    margin-top: 98px;
  }
  .page-template-page-lp .submenu + #breadcrumbs{
    margin-top: 65px;
  }
}
/* ============================
    FAQ 
=============================== */
#faq {
  margin-bottom: 40px;
}
#faq .btn-back-blue {
  margin-left: 20px;
  font-weight: revert;
    font-size: 14px;
}
#faq :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])).title_line {
  font-size: 18px;
  margin: 20px 0;
}
#faq .toc {
  margin: 0 20px 32px;
}
#faq .toc.accordion {
  margin-bottom: 0;
}
#faq .toc.accordion.open {
  margin-bottom: 32px;
}
#faq .toc .toc-title{
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 0;
  cursor: pointer;
  text-align: left;
}
#faq .toc .toc-title::before{
  content: "";
  background: url(../images/icon_arrow_down_bottom.svg) no-repeat;
  background-size: contain;
  width: 14px;
  height: 7px;
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease;
}
#faq .toc .toc-title[aria-expanded="true"]::before {
  transform: rotate(180deg);
}
#faq .toc .accordion-content {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#faq .toc.open .accordion-content {
  max-height: 3000px;
}
#faq li {
  border-bottom: 1px solid #ccc;
  position: relative;
  font-size: 14px;
  list-style: none;
}
#faq .toc li::after{
  display: none;
}
#faq li span{
  font-size: 16px;
  font-family: "Shippori Mincho", serif;
  margin-right: 1em;
  color: var(--MS_blue);
}
#faq .toc a {
  display: flex;
  padding: 10px 0;
  color: var(--MS_blue_dark);
  text-decoration: none;
  font-weight: 600;
}
#faq .toc a:hover {
  background-color: #f0f8ff;
}
.faq-box {
    border-bottom: 1px solid var(--gray100);
    padding: 20px 0;
    background: var(--white);
}
.faq-box dt{
    padding: 0 20px;
    color: var(--MS_blue);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    text-align: left;
}
.faq-box dd{
  padding: 0 20px;
  font-size: 15px;
  display: flex;
  margin-top: 10px;
}
.faq-box dt span,
.faq-box dd .faq-num{
  font-size: 20px;
  font-family: "Shippori Mincho", serif;
  margin-right: 1em;
  color: var(--MS_blue);
  font-weight: 600;
}
.faq-box dd .faq-num{
  color: var(--gold800);
}
.faq-box dd .faq-answer{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.faq-box dd .faq-answer span{
  display: none;
}
@media screen and (min-width: 834px) {
 #faq {
    flex: 1;
    max-width: 1026px;
    margin: 0 auto 60px;
  }
  #faq .page-header {
    margin-top: 110px;
  }
  .submenu ~ #faq .page-header,
  .submenu ~ #content #faq .page-header,
  .submenu ~ main #faq .page-header {
    margin-top: 80px;
  }
  #faq .btn-back-blue {
    margin-left: 0;
    font-weight: bold;
    font-size: 18px;
  }
  #faq :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])).title_line {
    font-size: 26px;
  }
  #faq .toc .toc-title{
    display: none;
  }
  #faq .toc .accordion-content,
  #faq .toc.open .accordion-content {
    max-height: none;
    overflow: visible;
  }
  #faq .toc a::after {
    content: '';
    background: url(../images/icon_round_arrow_down_blue.svg) no-repeat right;
    background-size: contain;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 16px;
    top: 12px;
  }
  #faq li span{
    font-size: 20px;
  }
  #faq .toc a {
    align-items: center;
    font-size: 16px;
  }
  .faq-box {
    border: 1px solid var(--gray100);
    margin-bottom: 20px;
  }
  .faq-box dt{
      align-items: center;
  }
  .faq-box dt span,
  .faq-box dd .faq-num{
    font-size: 24px;
  }
  .faq-box dd .faq-answer span{
    display: inline-block;
  }
}
@media (min-width: 1200px) {
  #faq .page-header {
    margin-top: 180px;
  }/*
  .submenu ~ #faq .page-header,
  .submenu ~ #content #faq .page-header,
  .submenu ~ main #faq .page-header {
    margin-top: 80px;
  }*/
}
/* glasses hyperwarranty */
#glasses .technician-faq .container {
  padding: 30px 0;
}
#glasses .bg-wood000 .container {
  padding: 20px 12px 40px;
}
#glasses .faq-box{
  border: 1px solid var(--gray100);
  margin-bottom: 20px;
}
#glasses .faq-box a{
  display: inline-block;
  text-decoration: underline;
}
#glasses .faq-box dd .faq-answer{
  display: inline;
}
@media (min-width: 834px) {
  #glasses .bg-wood000 .container{
    max-width: 1024px;
    padding-top: 40px;
    margin: 0 auto;
  }
}
/* ========================================
   Contact knowledge Section
======================================== */
/* Store CTA - extends store-cta */
.cl-store-cta {
  background: #F8F2ED;
    padding: 32px 20px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--white);
}
.cl-store-cta .cta-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}
.cl-store-cta .cta-image {
  display: flex;
    justify-content: center;
    margin-bottom: 15px;
    max-width: 160px;
}
.cl-store-cta .cta-image img {
  width: 140px;
  height: auto;
  border-radius: 50%;
}
.cl-store-cta .cta-text {
  padding: 0 20px;
  color: var(--wood800);
}
.cl-store-cta .cta-text :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) { 
  font-size: 28px; 
  line-height: 1.3;
}
.cl-store-cta .cta-text p {
  font-size: 14px;
    color: #666;
    margin-bottom: 0;
    font-weight: 600;
    text-align: left;
}
.cl-store-cta .box-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
  margin: 20px auto 0;
}
.cl-store-cta .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  width: 100%;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.cl-store-cta .btn img { width: 18px; height: 18px; }
@media (min-width: 834px) {
  .cl-store-cta{
    max-width: 1024px;
    padding: 32px;
    margin: 0 auto;
  }
  .cl-store-cta .cta-image{
    margin-bottom: 0;
  }
  .cl-store-cta .cta-image img {
    width: 203px;
    height: auto;
  }
  .cl-store-cta .cta-text {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .cl-store-cta .cta-text :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) { 
    font-size: 40px;
    text-align: left;
 }
  .cl-store-cta .cta-text p { font-size: 15px; }
  .cl-store-cta .box-buttons {
    display: none;
  }
}
@media (min-width: 1080px) {
  .cl-store-cta .cta-inner {
    flex-direction: row;
    max-height: 918px;
    gap: 30px;
  }
}
/* Contact knowledge Page */
#column .cl-store-cta{ 
  margin: 60px 0;
 }
#column .cl-store-cta .cta-text :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) { 
  font-size: 24px;
 }
@media (min-width: 1080px) {
  #column .cl-store-cta .cta-text :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) { 
    font-size: 32px;
   }
  }
/* ===========================
   SPメニュー（ハンバーガー）：Figma準拠
   Figma: NWS999NGNoQI05qQcUWnU9 ／ ノード 26968:83224「SP_メニュー」
   2026-09-07 上野
   ※ 1200px未満のみに適用。PCのグローバルナビには影響しない。
   ※ 各カテゴリの「+」によるサブメニュー展開は未実装（PC版のドロップダウンと合わせて別途対応）。
      そのためアイコンは「>」とし、カード全体をカテゴリトップへのリンクにしている。
=========================== */
.main-nav .sp-links {
  display: none;
}
@media screen and (max-width: 1199px) {
  /* 半透明の白オーバーレイは不要。ドロワー自体が画面を覆う */
  .menu-overlay,
  .menu-overlay.active {
    display: none;
  }

  /* ドロワー本体：ヘッダー直下に固定し下端まで。背景は不透明の白 */
  .main-nav {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 1000;
  }

  /* Figmaはカテゴリが先、リンク一覧が後。HTMLの並びと逆なので order で入れ替える */
  .main-nav .main-links { order: 1; }
  .main-nav .sp-links   { order: 2; }
  /* PC用の一覧はSPでは出さない（sp-links に置き換わる） */
  .main-nav .top-links  { display: none; }

  .main-nav .main-links li,
  .main-nav .sp-links li {
    list-style: none;
  }
  .main-nav .main-links li a,
  .main-nav .sp-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #666666;
    font-weight: 700;
    text-decoration: none;
  }
  #child .main-nav .main-links > li > a,
  #child .main-nav .sp-links > li > a {
    color: #666666;
  }
  /* 右端の「>」 */
  .main-nav .main-links li a::after,
  .main-nav .sp-links li a::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--MS_blue);
    border-right: 2px solid var(--MS_blue);
    transform: rotate(45deg);
  }

  /* カテゴリ：グレーの帯に白いカードを並べる */
  .main-nav .main-links {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 17px 12px;
    background: #EDEDED;
    border-bottom: 1px solid #DEDEDE;
  }
  .main-nav .main-links li a,
  .main-nav .main-links li a.active,
  .main-nav .main-links li a.active-white {
    min-height: 56px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid #DEDEDE;
    font-size: 20px;
    line-height: 1.2;
  }

  /* 下部のリンク一覧：白地に区切り線 */
  .main-nav .sp-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    background: var(--white);
  }
  .main-nav .sp-links li a {
    min-height: 48px;
    padding: 10px 24px 10px 28px;
    border-bottom: 1px solid #DEDEDE;
    font-size: 16px;
    line-height: 1.25;
  }

  /* メニューを開いている間はヘッダーを白地＋カラーロゴにする
     （top.css で .site-header は transparent、ロゴは logo_white.svg のため） */
  .site-header:has(.main-nav.open) {
    background: var(--white);
  }
  .site-header:has(.main-nav.open) .top-logo .site-logo {
    content: url("../images/logo.svg");
  }
}


/* ===========================
   2026-09-07 先方MTG対応（上野）
=========================== */

/* --- ボタン内で意図した位置に改行させる ---
   「コンタクトレンズの基礎知識について／詳しく見る」のように、
   .btn-view-all は inline-flex のため、ラベルを span で1つのフレックスアイテムにまとめてから改行する。 */
.btn-view-all .btn-2line {
  display: block;
  line-height: 1.5;
  text-align: center;
}

/* --- TOP「メガネスーパーのこだわり」からのアンカー着地位置 ---
   ヘッダーが position:fixed のため、そのぶん上に余白を確保して見出しが隠れないようにする。 */
#afterfollow {
  scroll-margin-top: 130px;
}
@media screen and (max-width: 1199px) {
  #afterfollow {
    scroll-margin-top: 70px;
  }
}


/* ===========================
   グローバルナビ ドロップダウン（メガメニュー）
   サイトマップ「ページ一覧」535〜542行目 ／ Figma 26966:49527 ほか
   2026-09-07 上野（Claude作成）

   PC（1200px以上） … ヘッダー直下に全幅のパネルを開く。ホバーでもクリックでも開く。
   SP（1199px以下） … カテゴリ右端の「＋」でアコーディオン展開する。
   中身は inc/gnav-menus.php が出力する。

   ※ セレクタは必ず .main-nav から書き、リンクは a.mega-xxx と要素名を付けること。
      既存の `.main-nav ul`（display:flex）と `.main-nav .main-links li a`（display:block ほか）
      に負けて、SPリストがPCでも展開されてしまうため。
=========================== */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 既定はどちらも隠す。ブレークポイントごとに片方だけ出す */
.main-nav .mega-panel,
.main-nav .mega-sp {
  display: none;
}
.main-nav .mega-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* ---------- PC（1200px以上） ---------- */
@media (min-width: 1200px) {

  .main-nav .main-links > li {
    position: static;
  }

  /* パネルは .site-header（position:fixed）を基準に全幅で開く */
  .main-nav .mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #DEDEDE;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
  }
  .main-nav .main-links > li.mega-open > .mega-panel {
    display: block;
  }

  /* パネルの下に敷く黒40%のシェード（Figma準拠）。クリックはJSのdocument側で拾う */
  .main-nav .mega-panel::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
  }

  .main-nav .mega-inner {
    display: flex;
    gap: 32px;
    max-width: 1368px; /* 1328px（240px×5＋32px×4）＋ 左右padding 20px×2 */
    margin: 0 auto;
    padding: 20px 20px 24px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  .main-nav .mega-inner.mega-align-right {
    justify-content: flex-end;
  }
  /* --span 列ぶんの幅（240px × span ＋ 列間32px） */
  .main-nav .mega-col {
    flex: 0 0 auto;
    width: calc(240px * var(--span, 1) + 32px * (var(--span, 1) - 1));
  }
  .main-nav .mega-block + .mega-block {
    margin-top: 18px;
  }

  /* 列見出し */
  .main-nav .mega-panel .mega-head,
  .main-nav .mega-panel a.mega-head {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    color: var(--MS_blue);
    text-decoration: none;
    padding: 0;
    background: none;
    border: 0;
  }
  .main-nav .mega-panel a.mega-head::before {
    content: "";
    order: -1;                     /* 9/8小崎FB: 矢印はテキストの前 */
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--MS_blue);
    border-right: 2px solid var(--MS_blue);
    transform: rotate(45deg);
  }
  .main-nav .mega-panel .mega-head.is-plain {
    color: var(--gray800);
  }
  .main-nav .mega-panel a.mega-head:hover {
    text-decoration: underline;
  }

  /* 子リンク。--sub の数だけ段組みにする（Figmaと同じ縦流し） */
  .main-nav .mega-panel .mega-list {
    display: block;
    columns: var(--sub, 1);
    column-gap: 32px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    gap: 0;
  }
  .main-nav .mega-panel .mega-list li {
    break-inside: avoid;
    list-style: none;
    margin: 0;
  }
  .main-nav .mega-panel .mega-item,
  .main-nav .mega-panel a.mega-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 31px;
    padding: 5px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #221815;                /* Figma I26968:52347 の本文色 */
    text-decoration: none;
    background: none;
    border: 0;
  }
  .main-nav .mega-panel a.mega-item::before {
    content: "";
    order: -1;                     /* 9/8小崎FB: 矢印はテキストの前 */
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #84BEE2;   /* Figma I26968:52347 の矢印色 */
    border-right: 1.5px solid #84BEE2;
    transform: rotate(45deg);
  }
  .main-nav .mega-panel a.mega-item:hover {
    color: var(--MS_blue);
    text-decoration: underline;
  }

  /* 開いている間はカテゴリ名を青くして、どれを開いているか分かるようにする */
  .main-nav .main-links > li.mega-open > a {
    color: var(--MS_blue);
  }
}

/* ---------- SP（1199px以下） ---------- */
@media screen and (max-width: 1199px) {

  .main-nav .main-links > li,
  .main-nav .sp-links > li {
    position: relative;
  }

  /* カテゴリ名のリンクは「＋」のぶん右を空ける */
  .main-nav .main-links > li:has(.mega-toggle) > a,
  .main-nav .sp-links > li:has(.mega-toggle) > a {
    padding-right: 56px;
  }
  /* 「＋」を持つ行では、リンク右端の「>」は出さない（「＋」と重なるため） */
  .main-nav .main-links > li:has(.mega-toggle) > a::after,
  .main-nav .sp-links > li:has(.mega-toggle) > a::after {
    display: none;
  }

  .main-nav .mega-toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
  }
  .main-nav .sp-links .mega-toggle {
    height: 48px;
  }
  .main-nav .mega-toggle::before,
  .main-nav .mega-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--MS_blue);
    transform: translate(-50%, -50%);
  }
  .main-nav .mega-toggle::before {
    width: 14px;
    height: 2px;
  }
  .main-nav .mega-toggle::after {
    width: 2px;
    height: 14px;
    transition: transform 0.2s ease;
  }
  /* 開いているときは「−」にする */
  .main-nav li.mega-open > .mega-toggle::after {
    transform: translate(-50%, -50%) scaleY(0);
  }

  /* 展開されるリスト：左端に青いバー */
  .main-nav li.mega-open > .mega-sp {
    display: block;
  }
  .main-nav .mega-sp {
    flex-direction: column;
    margin: 6px 0 0;
    padding: 0;
    gap: 0;
    list-style: none;
    background: var(--white);
    border: 1px solid #DEDEDE;
    border-left: 5px solid var(--MS_blue);
  }
  .main-nav .mega-sp li {
    list-style: none;
    margin: 0;
  }
  /* 9/8小崎FB「メニューテキストのカラー」: 既存の
     .main-nav .main-links li a（0,3,2）に負けて灰色になっていたため、
     .site-header を足して優先度を上げる。 */
  .site-header .main-nav .mega-sp .mega-sp-item,
  .site-header .main-nav .mega-sp a.mega-sp-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--MS_blue);
    text-decoration: none;
    background: var(--white);
    border: 0;
    border-bottom: 1px solid #DEDEDE;
  }
  .main-nav .mega-sp li:last-child a.mega-sp-item {
    border-bottom: 0;
  }
  .main-nav .mega-sp a.mega-sp-item::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--MS_blue);
    border-right: 2px solid var(--MS_blue);
    transform: rotate(45deg);
  }
}


/* --- パネルを開いている間はヘッダーを白地＋濃色にする（mega-open-header） ---
   TOPページは top.css でヘッダーが transparent・ナビ文字が白のため、
   パネルの白背景の上で文字が読めなくなる。.scrolled と同じ見た目に寄せる。 */
@media (min-width: 1200px) {
  .site-header:has(.mega-open) {
    background: var(--white);
  }
  .site-header:has(.mega-open) .top-logo .site-logo {
    content: url("../images/logo.svg");
  }
  /* 9/8小崎FB「青テキストの問題」: li a だとパネル内の見出し・子リンクまで当たり、
     .mega-head の青が #333 に潰れていた。ヘッダーの行そのものだけに絞る。 */
  .site-header:has(.mega-open) .main-nav .main-links > li > a {
    color: var(--gray800);
  }
  .site-header:has(.mega-open) .main-nav .main-links > li.mega-open > a {
    color: var(--MS_blue);
  }
  .site-header:has(.mega-open) .main-nav .main-links li a.active-white {
    border-bottom-color: var(--MS_blue);
  }
  .site-header:has(.mega-open) .main-nav .top-links li a {
    color: var(--MS_blue);
  }
  .site-header:has(.mega-open) .main-nav .top-links .btn-info::before {
    background: url("../images/icon_info_blue.svg") no-repeat center;
  }
  .site-header:has(.mega-open) .main-nav .top-links .btn-shop::before {
    background: url("../images/icon_cart_blue.svg") no-repeat center;
  }
  .site-header:has(.mega-open) .main-nav .top-links li a.btn-location {
    color: var(--white);
  }
}

/* ===========================
   グローバルナビ ドロップダウン「特集」（サムネイル付き）
   Figma 26968:52374（メガネ）／ 26968:56128（コンタクト）
   2026-09-07 上野（Claude作成）

   Figmaの実寸: サムネイル72px角・枠線1px #DEDEDE・画像とテキストの間12px・行間11px。
   画像はFigmaから2倍（144px角）で書き出し、themes/MS/images/gnav-feature-*.jpg に置いてある。
   セレクタを .main-nav .mega-panel から書くのは、既存の .main-nav .main-links li a
   （display:block）に負けないようにするため。
=========================== */
@media (min-width: 1200px) {

  .main-nav .mega-panel .mega-list.mega-feature {
    columns: 1;
    margin-top: 11px;
  }
  .main-nav .mega-panel .mega-list.mega-feature li + li {
    margin-top: 11px;
  }

  .main-nav .mega-panel .mega-feature-item,
  .main-nav .mega-panel a.mega-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--gray800);
    text-decoration: none;
    background: none;
    border: 0;
  }
  .main-nav .mega-panel a.mega-feature-item:hover {
    color: var(--MS_blue);
  }
  .main-nav .mega-panel a.mega-feature-item:hover .mega-thumb-label {
    text-decoration: underline;
  }

  .main-nav .mega-panel .mega-thumb {
    flex: 0 0 auto;
    box-sizing: border-box; /* 枠線1pxを含めて72px角にする（Figma実寸） */
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #DEDEDE;
  }

  /* min-height はコンテンツボックスに効くため、border-box にしないと
     上下パディング14pxぶん背が高くなる（Figmaの29px行が49pxになっていた）。
     ドロップダウン6つ全部の行の高さがこの1行で決まる。 */
  .main-nav .mega-panel a.mega-head,
  .main-nav .mega-panel a.mega-item,
  .main-nav .mega-panel a.mega-feature-item,
  .main-nav .mega-panel .mega-thumb {
    box-sizing: border-box;
  }
}


/* SP review, 2026-09-11: shared controls and page-specific layout corrections. */
@media (max-width: 1199px) {
  .site-header .logo { flex: 1; min-width: 0; padding: 5px 8px; }
  .site-header .logo a { max-width: 100%; }
  .site-header .logo img { width: 180px; max-width: 100%; margin-left: 0; }
  .site-header .header-controls { flex: 0 0 auto; }
  .site-header .top-links-sp li a { width: 44px; padding: 4px; white-space: nowrap; }
  .site-header .menu-toggle { flex: 0 0 52px; }
}
.lens-top-v2 .lt-slider-shell { position: relative; }
.lens-top-v2 .lt-slider-prev, .lens-top-v2 .lt-slider-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 1px solid #0071bc; border-radius: 50%;
  background: #fff; color: #0071bc; cursor: pointer;
}
.lens-top-v2 .lt-slider-prev { left: 4px; }
.lens-top-v2 .lt-slider-next { right: 4px; }
.lens-top-v2 .lt-slider-prev::before, .lens-top-v2 .lt-slider-next::before {
  content: ''; display: block; width: 10px; height: 10px; margin: auto;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.lens-top-v2 .lt-slider-prev::before { transform: rotate(-135deg); }
.lens-top-v2 .lt-slider-shell button:focus-visible { outline: 3px solid #0071bc; outline-offset: 3px; }
.lens-coating-diagram-scroll { overflow-x: auto; }
.lens-coating-diagram figcaption { display: none; }
@media (max-width: 833px) {
  body.home .contact-problems .problem-title { font-size: clamp(12px, 3.7vw, 16px); white-space: nowrap; }
  body.home .store-consultation { margin-bottom: 0; }
  body.home .commitment { border-top: 0; }
  body .point-label .point-number { flex: 0 0 52px; white-space: nowrap; }
  body .point-label .box-clm-title { min-width: 0; }
  #glasses.flow .box-clm-content > .btn-view-all-blue { margin-top: 12px; max-width: 100%; }
  body #mscl-page th.shop { display: table-cell; vertical-align: middle; }
  body .problems-slider .slick-prev, body .problems-slider .slick-next,
  body .company-links-slider .slick-prev, body .company-links-slider .slick-next {
    display: block; z-index: 2; width: 44px; height: 44px;
    background: #fff; border: 1px solid #0071bc; border-radius: 50%;
  }
  body .problems-slider .slick-prev, body .company-links-slider .slick-prev { left: 0; }
  body .problems-slider .slick-next, body .company-links-slider .slick-next { right: 0; }
  body .company-links { margin-left: 0; margin-right: 0; }
  body .problems-slider .slick-prev::before, body .problems-slider .slick-next::before,
  body .company-links-slider .slick-prev::before, body .company-links-slider .slick-next::before {
    content: ''; display: block; width: 10px; height: 10px; margin: auto;
    border-top: 2px solid #0071bc; border-right: 2px solid #0071bc; transform: rotate(45deg);
  }
  body .problems-slider .slick-prev::before, body .company-links-slider .slick-prev::before { transform: rotate(-135deg); }
  body .problem-card-new .btn-view-all-blue { margin: 16px 20px 20px; max-width: calc(100% - 40px); }
  body .lens-coating-diagram { margin: 24px 0; }
  body #column .lens-coating-diagram img { width: 720px; min-width: 720px; max-width: none; }
  body .lens-coating-diagram figcaption { display: block; margin-top: 8px; font-size: 12px; }
  body .lens-coating-diagram figcaption a { display: block; text-decoration: underline; }
  body #glasses.technician-page .technician-hero { margin: 0 12px; padding: 24px 16px 0; }
  body #glasses.technician-page .technician-hero.bottom { margin: 0; padding-bottom: 24px; }
  body #glasses.technician-page .hero-content { min-width: 0; padding: 0; }
  body #glasses.technician-page .hero-subtitle { font-size: 13px; line-height: 1.7; }
  body #glasses.technician-page .hero-badge { gap: 10px; justify-content: center; }
  body #glasses.technician-page .hero-badge .badge-img { width: 48px; flex: 0 0 48px; }
  body #glasses.technician-page .badge-label { font-size: 18px; }
  body #glasses.technician-page .badge-title { font-size: clamp(22px, 6.5vw, 30px); white-space: nowrap; line-height: 1.4; }
  body #glasses.technician-page .badge-en { font-size: 9px; letter-spacing: 1px; }
  body #glasses.technician-page .hero-note { font-size: 12px; }
  body #glasses.technician-page .box-buttons .btn {
    width: 100%; max-width: 100%; padding: 12px 16px; font-size: 14px;
    line-height: 1.5; white-space: normal; gap: 8px;
  }
  body #glasses.technician-page .box-buttons .btn img { width: 18px; flex: 0 0 18px; }
  body #glasses.technician-page .hero-image { margin-top: 24px; }
  body.page-id-93045 .name-menu-lead { padding: 0 20px; margin: 24px auto; text-align: left; font-size: 14px; line-height: 1.8; }
  body.page-id-93045 #service article.name-menu { padding: 0 20px 48px; }
  body.page-id-93045 #service .title_line { margin: 32px 0 24px; }
  body.page-id-93045 .name-menu-content { padding: 20px; border: 1px solid #d5c6b6; border-radius: 8px; }
  body.page-id-93045 .name-menu-content p { font-size: 16px; line-height: 1.8; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid #d5c6b6; }
  body.page-id-93045 .name-menu-content p:last-child { margin: 0; padding: 0; border: 0; }
  body.page-id-93045 .name-menu .name-menu-note { margin: 16px 0 24px; font-size: 13px; }
  body.page-id-93045 .name-menu img { width: 100%; height: auto; margin: 0 auto; }
  body.archive-eyecare .eyecare-contents .info, body.archive-eyecare .eyecare-contents #column .info {
    flex-direction: column; align-items: flex-start; gap: 2px;
  }
}


/* 2026-09-17: Figma bottom_cta (PC) / Frame 282 (SP), with collapse controls. */
.fixed-bottom-box {
  --ms-cta-offset: 0px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  width: min(100%, 1248px);
  max-width: 1248px;
  left: 50%; right: auto; margin-left: 0;
  padding: 6px 47px 6px 10px;
  border-radius: 8px 8px 0 0;
  transform: translateX(-50%);
  transition: transform .25s ease;
}
.fixed-bottom-box.is-collapsed {
  transition: transform .25s ease, visibility .25s;
  transform: translate(-50%, calc(100% + var(--ms-cta-offset) + 2px));
  visibility: hidden;
  pointer-events: none;
}
.fixed-bottom-box .box-content { min-width: 0; flex-direction: row; flex-wrap: nowrap; gap: 24px; justify-content: flex-start; align-items: center; }
.fixed-bottom-box .box-texts { box-sizing: border-box; flex: 0 0 210px; width: 210px; min-height: 53px; margin: 0; padding: 5px 16px 5px 59px; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-radius: 8px; background: #006eb2; font-size: 16px; line-height: 19.2px; white-space: nowrap; }
.fixed-bottom-box .box-texts p { margin: 0; line-height: inherit; }
.fixed-bottom-box .box-texts::before { left: 14px; top: 50%; bottom: auto; transform: translateY(-50%); width: 40px; height: 40px; }
.fixed-bottom-box .box-pc { display: none; min-width: 0; }
.fixed-bottom-box .box-pc p { margin: 0; line-height: 27.8px; white-space: nowrap; }
.fixed-bottom-box .box-pc .line1 { font-size: 20px; }
.fixed-bottom-box .box-pc .line2 { font-size: 16px; }
.fixed-bottom-box .box-buttons { display: flex; gap: 16px; width: auto; margin: 0; }
.fixed-bottom-box .box-buttons .btn { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 240px; width: 240px; min-height: 48px; height: 48px; padding: 0 12px; margin: 0; border: 1px solid #fff; font-size: 18px; line-height: 21.6px; white-space: nowrap; transition: filter .3s, background-color .3s, color .3s, border-color .3s; }
.fixed-bottom-box .box-buttons .btn img { width: 28px; height: 28px; margin: 0; }
.fixed-bottom-box .box-buttons .sp { display: none; }
.fixed-bottom-box .box-buttons .pc { display: inline; }
.fixed-bottom-box .fixed-cta-close, .fixed-cta-reopen { box-sizing: border-box; appearance: none; display: flex; align-items: center; justify-content: center; border: 0; margin: 0; padding: 0; color: #fff; background: transparent; cursor: pointer; }
.fixed-bottom-box .fixed-cta-close { position: absolute; right: 1px; top: 0; width: 36px; height: 36px; }
.fixed-cta-close span { position: relative; display: block; width: 28px; height: 28px; border-radius: 50%; background: rgba(34,24,21,.6); font-size: 0; }
/* Draw the close mark geometrically so font metrics cannot shift it below center. */
.fixed-cta-close span::before, .fixed-cta-close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.fixed-cta-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.fixed-cta-reopen { position: fixed; z-index: 1000; right: max(0px, calc((100% - 1248px) / 2)); bottom: 0; width: 32px; height: 28px; border-radius: 8px 8px 0 0; background: rgba(34,24,21,.6); transform: translateY(calc(100% + var(--ms-cta-offset, 0px) + 2px)); visibility: hidden; pointer-events: none; transition: transform .25s ease, visibility .25s; }
.fixed-cta-reopen::before { content: ''; width: 8px; height: 8px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: translateY(2px) rotate(45deg); }
.fixed-cta-reopen.is-visible { transition: transform .25s ease; transform: translateY(0); visibility: visible; pointer-events: auto; }
.fixed-cta-close:focus-visible, .fixed-cta-reopen:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.fixed-cta-spacer { height: var(--ms-cta-reserved-height, 0px); }
body:has(.main-nav.open) .fixed-bottom-box, body:has(.main-nav.open) .fixed-cta-reopen { visibility: hidden; opacity: 0; pointer-events: none; transition: none; }
@media (min-width: 1280px) { .fixed-bottom-box .box-pc { display: block; } }
@media (max-width: 833px) {
  .fixed-bottom-box { grid-template-columns: 1fr; gap: 7px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 0; }
  .fixed-bottom-box .box-content { display: flex; width: 100%; }
  body .fixed-bottom-box .box-texts { flex: 0 1 auto; width: max-content; max-width: calc(100% - 32px); min-height: 18px; padding: 0 0 0 22px; margin: 0 auto; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0; font-size: 14px; line-height: 18px; background: none; white-space: nowrap; }
  body .fixed-bottom-box .box-texts::before { left: 0; width: 18px; height: 18px; }
  .fixed-bottom-box .box-texts p { flex: 0 0 auto; }
  .fixed-bottom-box .box-pc { display: none; }
  .fixed-bottom-box .box-buttons { width: 100%; gap: 12px; }
  .fixed-bottom-box .box-buttons .btn { flex: 1 1 0; width: 0; min-width: 0; min-height: 38px; height: 38px; padding: 0 6px; }
  .fixed-bottom-box .box-buttons .pc { display: none; }
  .fixed-bottom-box .box-buttons .sp { display: inline; }
  .fixed-bottom-box .fixed-cta-close { width: 32px; height: 32px; right: 0; top: 0; }
  .fixed-cta-close span { width: 24px; height: 24px; }
  .fixed-cta-close span::before, .fixed-cta-close span::after { width: 14px; }
  .fixed-cta-reopen { width: 44px; height: calc(44px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (max-width: 479px) {
  body.page-id-1242 .fixed-bottom-box, body.page-id-1242 .fixed-cta-reopen { --ms-cta-offset: 62px; bottom: 62px; }
}
@media (prefers-reduced-motion: reduce) { .fixed-bottom-box, .fixed-bottom-box.is-collapsed, .fixed-cta-reopen, .fixed-cta-reopen.is-visible { transition: none; } }

/* Animate desktop menus and the entire CTA together; no child visibility delays. */
@media (min-width: 1200px) {
  .main-nav .mega-panel {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav .main-links > li.mega-open > .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  /* Changing category must not stack two menus or flash the CTA. */
  .main-nav:has(.mega-open) .main-links > li:not(.mega-open) > .mega-panel {
    opacity: 0;
    visibility: hidden;
    transition: none;
  }
  .main-nav .mega-panel a {
    transition: color .2s ease, background-color .2s ease, filter .2s ease;
  }
  .fixed-bottom-box {
    opacity: 1;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear;
  }
  .fixed-bottom-box.is-collapsed {
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
  }
  .fixed-cta-reopen {
    opacity: 1;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
  }
  .fixed-cta-reopen.is-visible {
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear;
  }
  body:has(.main-nav li.mega-open) .fixed-bottom-box,
  body:has(.main-nav li.mega-open) .fixed-cta-reopen {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .2s;
  }
}
@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  .main-nav .mega-panel,
  .main-nav .main-links > li.mega-open > .mega-panel,
  .fixed-bottom-box, .fixed-bottom-box.is-collapsed,
  .fixed-cta-reopen, .fixed-cta-reopen.is-visible,
  body:has(.main-nav li.mega-open) .fixed-bottom-box,
  body:has(.main-nav li.mega-open) .fixed-cta-reopen {
    transition: none;
  }
}

/* よくあるご質問: 質問を h3.faq-q、答えを div.faq-a として出す（functions.php の the_content 置換）。見た目は上の dt/dd と同じにする（2026-09-17） */
.faq-box .faq-q{
    margin: 0;
    padding: 0 20px;
    color: var(--MS_blue);
    font-size: 18px;
    font-weight: 600;
    line-height: inherit;
    display: flex;
    align-items: flex-start;
    text-align: left;
}
.faq-box .faq-a{
  margin: 10px 0 0;
  padding: 0 20px;
  font-size: 15px;
  display: flex;
}
.faq-box .faq-q span,
.faq-box .faq-a .faq-num{
  font-size: 20px;
  font-family: "Shippori Mincho", serif;
  margin-right: 1em;
  color: var(--MS_blue);
  font-weight: 600;
}
.faq-box .faq-a .faq-num{
  color: var(--gold800);
}
.faq-box .faq-a .faq-answer{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.faq-box .faq-a .faq-answer span{
  display: none;
}
@media screen and (min-width: 834px) {
  .faq-box .faq-q{
      align-items: center;
  }
  .faq-box .faq-q span,
  .faq-box .faq-a .faq-num{
    font-size: 24px;
  }
  .faq-box .faq-a .faq-answer span{
    display: inline-block;
  }
}
#glasses .faq-box .faq-a .faq-answer{
  display: inline;
}



/* 2026-09-29: 記事一覧の余白・タグの折り返し、追従CTAの配置。 */
.eyecare-contents .tags {
  flex-wrap: wrap;
}
.eyecare-contents .tags li {
  flex: 0 0 auto;
  white-space: nowrap;
}
.fixed-bottom-box { column-gap: 24px; }
.fixed-bottom-box .box-texts {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  padding: 5px 14px;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.fixed-bottom-box .box-texts::before {
  position: static;
  flex: 0 0 40px;
  transform: none;
}
.fixed-bottom-box .box-label {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fixed-bottom-box .box-pc p { white-space: normal; }
@media (max-width: 833px) {
  .eyecare-contents .pagination + .view-more,
  .eyecare-contents .custom-pagination + .view-more { margin-top: 40px; }
  body .fixed-bottom-box .box-texts {
    padding: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
  }
  body .fixed-bottom-box .box-texts::before {
    position: static;
    flex: 0 0 18px;
    transform: none;
  }
  body .fixed-bottom-box .box-label { flex-direction: row; }
  body .fixed-bottom-box .box-label--stacked { flex-direction: column; }
}

/* 2026-09-29: compact desktop features for glasses and contact menus. */
@media (min-width:1200px) {
  .main-nav :is([data-menu="glasses"], [data-menu="contact"]) .mega-list.mega-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .main-nav :is([data-menu="glasses"], [data-menu="contact"]) .mega-list.mega-feature li + li { margin-top: 0; }
  .main-nav :is([data-menu="glasses"], [data-menu="contact"]) a.mega-feature-item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
}
