/* ============================
    メガネの基礎知識 Top 
=============================== */
#child .guide-section{
  background: none;
}
#child .guide-section .container{
  padding: 0;
}
#child .guide-section .guide-card > a{
 font-weight: bold;
}
/* ============================
    メガネの基礎知識 Posts 
=============================== */
/* Common */
#column {
  margin-top: 10px;
}
#column p{
  letter-spacing: 1.6px;
}
#column :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
  font-size: 28px;
  font-weight: 400;
  margin: 10px 0;
  font-family: "Shippori Mincho", serif;
  line-height: 1.3;
}
#column a {
  color: var(--MS_blue);
  text-decoration: underline;
}
#column a.outlink::before{
  content: ">";
  margin-left: 5px;
  display: inline-block;
  width: 12px;
  height: 12px;
}
#column a:hover {
  color: var(--MS_blue_dark);
  text-decoration: underline;
}
#column .cat_name{
  font-size: 13px;
  color: var(--MS_blue);
}
#column .cat_name a{
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  color: var(--gold800);
  margin: 10px 0;
  text-decoration: none;
}
#column .cat_name::before {
  padding: 8px;
  color: var(--MS_black);
  content: "";
  width: 5px;
  height: 8px;
  background: url(../images/icon_arrow_left_blue.svg) no-repeat center;
  margin-right: 10px;
}

#column .eyecatch {
  margin-top: 20px;
}
#column .eyecatch img{
  width: 100%;
  height: auto;
}
#column .lead {
  background-color: var(--wood100);
  padding: 15px;
  margin: 10px 0;
  font-size: 14px;
}
#column #main .lead p {
  margin-bottom: 0;
}
#column #main :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])) {
  font-size: 24px;
  margin: 30px 0;
  border-left: 10px solid var(--MS_blue);
  padding-left: 10px;
}
#column #main :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  font-size: 22px;
  margin-top: 20px;
  border-bottom: 3px solid var(--gray200);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
#column #main.expertcolumn :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  font-size: 18px;
}
#column #main :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  font-weight: bold;
  font-size: 18px;
  color: var(--gold800);
  padding: 10px 0;
}
#column img {
  max-width: 100%;
  height: auto;
  text-align: center;
  margin: 16px 0;
  display: inline-block;
}
#column p {
  margin-bottom: 20px;
  line-height: 1.7;
}
@media screen and (min-width: 834px) {
  #column {
    margin-top: 0;
  }
  #column #main {
    padding: 0;
    max-width: 848px;
  }
  #column #main :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
    font-size: 36px;
  }
  #column #main :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])) {
    font-size: 28px;
    margin: 40px 0;
  }
  #column #main :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
    font-size: 24px;
    margin-top: 30px;
  }
  #column .cat_name{
    display: block;
  }
  #column .cat_name a{
  }
  #column .cat_name::before {
    display: none;
  }
  #column .cat_name span{
    display: none;
  }
}
@media (min-width: 1240px) {
  #column #main :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
    font-size: 42px;
  }
}
/* boxes */
.box-img {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
    flex-direction: column-reverse;
}
.box-img.rev_sp{
  flex-direction: column;
}
.box-img a{
    margin-top: 20px;
    display: inline-block;
}
.box-img li{
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.8;
}
#column .box-img picture{
  max-width: 100%;
  min-width: 300px;
}
#column .box-img picture img {
    margin: 0;
    width: 100%;
}
.box-img.line-top{
  border-top: 1px solid var(--gray100);
  padding-top: 20px;
}
.recommend-tag{
  display: flex;
  gap: 20px;
  padding: 10px 20px;
  font-weight: 600;
  flex-wrap: wrap;
  align-items: flex-start;
}
.recommend-tag dt{
  color: #005C9F;
  font-size: 16px;
  width: 100%;
}
.recommend-tag dd{
  color: var(--MS_blue_dark);
  background: var(--white);
  border: 1px solid var(--MS_blue);
  padding: 7px 15px;
  font-size: 18px;
}
#column .recommend-tag dd a{
  text-decoration: none;
}
@media screen and (min-width: 834px) {
  .box-img.tb_block{
    display: block;
  }
  #column .box-img picture.big{
    max-width: 400px;
    min-width: 400px;
  }
  .box-img.start {
      justify-content: flex-start;
  }
  .recommend-tag{
    align-items: center;
  }
  .recommend-tag dt{
    width: auto;
  }
}
@media screen and (min-width: 920px) {
  .box-img,
  .box-img.rev_sp {
      flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  #column .box-img picture{
    max-width: 300px;
    min-width: 300px;
  }
  #column .box-img picture.small{
    max-width: 224px;
    min-width: 224px;
  }
  #column .box-img picture.medium{
    max-width: 300px;
    min-width: 300px;
  }
  #column .box-img picture.large{
    max-width: 400px;
    min-width: 400px;
  }
}
@media screen and (min-width: 1120px) {
  .box-img.tb_block{
    display: flex;
  }
}
.box-clm{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.box-clm picture,
#column .box-img .box-clm picture {
  max-width: 300px;
  min-width: 300px;
  display: block;
}
@media screen and (min-width: 834px) {
  .box-clm{
    flex-direction: row;
    gap: 30px;
  }
  .box-clm-left{
    flex: 1;
  }
  .box-clm-right{
    flex: 1;
  }
  .box-clm picture,
  #column .box-img .box-clm picture {
    display: inline;
  }
}
/* Bottom contents */
.bottom-contents{
    padding: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    border-top: 1px solid var(--gray200);
}
/* Related posts */
.related-info {
}
#column :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).related-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 20px;
  padding: 0;
  color: var(--gray900);
  text-align: center;
  border-left: none;
}
#column .related-list {
  list-style: none;
  padding: 0;
}
#column .related-list li {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid var(--gray100);
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
#column .related-list li:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#column .related-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--gray800);
  gap: 10px;
}
#column .related-list img {
  width: 88px;
  height: 58px;
  object-fit: cover;
  margin: 0 !important;
}
#column .related-list .text {
  flex: 1;
  margin-right: 16px;
  line-height: 1;
  padding: 5px;
}
#column .related-list .text strong {
  font-size: 16px;
  font-weight: normal;
  color: var(--MS_blue_dark);
}
#column .related-list .text span {
  display: none;
}
@media screen and (min-width: 834px) {
  .bottom-contents{
    padding: 0;
  }
  .related-info {
    margin: 20px 0 60px;
  }
  #column :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).related-title {
    font-size: 24px;
  }
  #column .related-list a {
    gap: 20px;
  }
  #column .related-list img {
    width: 200px;
    height: 133px;
    margin: 0;
  }
  #column .related-list .text strong {
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--gray900);
  }
  #column .related-list .text span {
    display: block;
    font-size: 14px;
    color: var(--gray600);
    line-height: 1.6;
  }
}
/* Glasses sidebar */
.knowledge-sidebar {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray100);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 0 20px 30px;
}
.knowledge-sidebar::before{
  height: 200px;
  content: "";
  display: block;
  max-height: 240px;/*
  aspect-ratio: 16 / 9;*/
}
.knowledge-sidebar.glasses::before{
  background-image: url('../images/glasses-sidetop.png');
  background-size: cover;
}
.knowledge-sidebar.contact::before{
  background-image: url('../images/contact/contact-sidetop.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.knowledge-sidebar :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  background: var(--blue500);
  color: var(--white);
  font-size: 20px;
  padding: 10px 20px;
  margin: 0;
  font-family: "Shippori Mincho", serif;
}
.knowledge-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.knowledge-sidebar li {
  border-top: 1px solid var(--gray100);
}
.knowledge-sidebar li:first-child {
  border-top: none;
}
.knowledge-sidebar a {
  display: flex;
  align-items: center;
  padding: 16px;
  text-decoration: none;
  color: var(--gray800);
  font-size: 16px;
  transition: background 0.3s;
  position: relative;
}
.knowledge-sidebar .sidebar-thumb {
  width: 50px;
  height: 50px;
  margin-right: 12px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.knowledge-sidebar .sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Eyecare sidebar thumbnails - 80x80 with rounded corners */
.knowledge-sidebar.eyecare .sidebar-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}
.knowledge-sidebar .sidebar-title {
  flex: 1;
  line-height: 1.5;
}
.knowledge-sidebar a.active {
  background: var(--gold100);
  font-weight: bold;
  color: var(--gold800);
}
@media screen and (min-width: 834px) {
  .knowledge-sidebar {
    margin: 50px 0 0;
  }
  .knowledge-sidebar::before {
  height: 110px;
  content: "";
  display: block;
  }
}

/* Hide submenu on mobile for knowledge detail pages */
.single-knowledge .submenu {
  display: none;
}
.single-knowledge #column .cat_name a{
  color: var(--MS_blue);
  font-weight: normal;
}
/* Add margin-top to flex-content on mobile for knowledge pages */
.single-knowledge #flex-content {
  margin-top: 60px;
}
@media screen and (min-width: 834px) {
  .single-knowledge #breadcrumbs {
    display: none;
  }
  .single-knowledge #column .cat_name a{
    color: var(--gold800);
    font-weight: 600;
  }
}
@media (min-width: 1024px) {
  .single-knowledge #breadcrumbs,
  .single-knowledge .submenu {
    display: block;
  }
  .single-knowledge #flex-content {
    margin-top: 30px;
  }
}
/* Sticky sidebar on desktop for knowledge pages */
@media (min-width: 834px) {
  .single-knowledge #sidebar,
  .single-knowledge_contact #sidebar {
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .single-knowledge #sidebar::-webkit-scrollbar,
  .single-knowledge_contact #sidebar::-webkit-scrollbar {
    display: none;
  }
}
/* レンズの基礎知識 */ 
#column #main .box-grid-lends {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
} 
#column #main .box-grid-lends .box-column {
  border: 1px solid #e0e0e0;
  padding: 0;
  background: #fff;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#column #main .box-grid-lends .box-column div{
  padding: 16px;
}
#column #main .box-grid-lends .box-column .box-title {
  border-bottom: none;
  padding: 8px;
  background: var(--gold550);
  color: #fff;
  margin: 0 0 10px;
  text-align: center;
  line-height: 1.2;
  min-height: 63px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 20px;
}
#column #main .box-grid-lends .box-column .box-column-text {
  padding: 0 16px;
}
#column #main .box-grid-lends .box-column .box-title .small {
  display: block;
  font-size: 16px;
}
#column .lens_contents_box .box-title {
  font-size: 15px;
  color: var(--white);
  font-weight: bold;
  background-color: var(--gold550);
  padding: 10px;
}
#column .lens_contents_box .box-title-box ul {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}
#column .lens_contents_box .box-title-box ul li {
  color: var(--gold900);
  font-size: 16px;
  font-weight: bold;
}
#column .lens_contents_box .box-title-box ul li img{
  width: 32px;
  height: 24px;
  margin: 5px 0;
}
.lens_contents_box .mb60 {
  margin-bottom: 60px !important;
}
#column #main .lens_contents_box :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray800);
  margin-bottom: 0;
  text-align: left;
}
#column .lens_contents_box .h5_box {
  color: #c6a52b;
  border: solid 1px #c6a52b;
  padding: 0 0.4em 0.1em;
  margin-right: 1em;
  background-color: #fff;
}
.lens_contents_box .common_box ul {
  margin: 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
#column .lens_contents_box .common_box .animation_2n img{
  margin: 0;
}
.lens_contents_box .fadein_up {
  opacity: 0;
  transition: 1s;
  transform: translateY(30px);
}
.lens_contents_box .fadein.active, 
.lens_contents_box .fadein_up.active {
  transform: translateY(0);
  opacity: 1;
  text-align: center;
}
.lens_contents_box img {
  vertical-align: middle;
  border-style: none;
}
.lens_contents_box .common_box ul li:last-child {
  margin-right: 0;
}
.lens_contents_box .common_box ul li p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  text-align: center;
}
.lens_contents_box .common_box__1 {
  display: flex;
  justify-content: space-between;
}
.lens_contents_box .mb30 {
  margin-bottom: 30px !important;
}
#column .lens_contents_box .common_box__1 div:first-child {
  margin-right: 30px;
  position: relative;
  margin-bottom: 0;
}
.common_box__1 div:first-child:before {
    position: absolute;
    content: "";
    top: 34%;
    right: -25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 13px;
    border-color: transparent transparent transparent #453f24;
 }
 #column .common_box__1 img {
  margin: 5px;
}
#column .lens_contents_box .common_box .oj-txt {
  margin: 20px auto;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background-color: #c6a52b;
  padding: 10px;
}
.common_box__1 .circle{
  display: none;
}
#column .lens_contents_box .common_box__2 .ttl{
  font-size: 20px;
  color: var(--gold900);
  font-weight: bold;
  background-color: var(--gold200);
  padding: 10px;
  border: 1px solid var(--gold900);
  margin-bottom: 20px;
}
@media only screen and (min-width: 600px) {
  #column #main .box-grid-lends {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
  }
  #column #main .box-grid-lends.three {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media only screen and (min-width: 834px) {
  #column #main .box-grid-lends {
    gap: 30px;
  }
  .lens_contents_box .common_box ul li {
    margin-right: 30px;
  }
  #column .lens_contents_box .box-title-box ul {
    flex-direction: row;
    gap: 30px;
  }
  .sp_img {
      display: none !important;
  }
  .lens_contents_box .common_box ul {
    flex-direction: row;
  }
  .common_box__1 .circle {
    width: 110px;
    height: 110px;
    aspect-ratio: 1/1;
    color: #fff;
    background-color: #c6a52b;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1.5rem;
    margin-top: 5px;
  }
}
@media (max-width: 1000px) {
}

/* ============================
    Newsletter Posts 
=============================== */
#flex-content.newsletter #column{
  margin: 10px 15px;
}
#flex-content.newsletter #column :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
  font-size: 28px;
  font-family: inherit;
  color: var(--MS_black);
  font-weight: 800;
  line-height: 1.2;
}
#flex-content.newsletter #column #main :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])){
  font-size: 16px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: none;
  padding: 15px;
  margin: 0 -20px 20px;
  clear: both;
}
#flex-content.newsletter #column #main :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
  font-size: 16px;
  border-bottom: 1px solid #594C40;
  color: #594C40;
  padding-bottom: 5px;
  clear: both;
}
#flex-content.newsletter img{
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}
.newsletter #column p{
  font-size: 14px;
}
.wp-caption-text{
  font-size: 12px;
  text-align: right;
}
.aligncenter{
  display: block;
  margin: 0 auto;
  text-align: center;
}
#column img.alignleft,
#column img.alignright{
  float: none;
  padding: 0;
  clear: both;
  display: block;
}
.wp-caption {
  max-width: 100%;
}
@media screen and (min-width: 834px) {
  #flex-content.newsletter #column #main{
    max-width: 788px;
    margin: 0 auto;
  }
  #flex-content.newsletter #column :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])).mid-title{
    background: #F6F5F0;
    padding: 20px 10px;
    color: #725236;
    border-top: solid 1px #725236;
    border-bottom: solid 1px #725236;
    margin-bottom: 30px;
  }
  #flex-content.newsletter #column #main :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])){
    font-size: 20px;
    border-bottom: 1px solid #00A2E0;
    padding: 5px 10px 5px;
    border-top: none;
  }
  #flex-content.newsletter #column #main :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"]))::before{
    content: "■";
    display: inline-block;
    color: #00A2E0;
    font-size: 16px;
    margin-right: 10px;
  }
  #flex-content.newsletter #column #main :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
    font-size: 18px;
    border-left: 12px solid #594C40;
    padding-left: 10px;
    border-bottom: none;
    padding-bottom: 0;
  }
  #flex-content.newsletter .eyecatch img{
    margin-bottom: 20px;
  }
  #column img.alignleft{
    float: left;
    padding: 0 20px 10px 0;
  }
  #column img.alignright{
    float: right;
    padding: 0 0 10px 20px;
  }
  #column img.alignleft::after,
  #column img.alignright::after{
    content: "";
    display: block;
    clear: both;
  }
}
/* Header Box - Newsletter style */
#column .header-box {
  background-color: #F6F5F0;
  padding: 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid #D7D5C9;
  color: var(--MS_black);
}
#column .header-box .header-meta {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
#column .header-box .subtitle {
  font-size: 14px;
  margin: 0;
}
#column .header-box .article-date {
  font-size: 10px;
  color: var(--gray600);
}
#column .header-box :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
  font-size: 22px;
  font-weight: bold;
  margin: 15px 0;
  font-family: inherit;
}
#column .header-box .lead {
  font-size: 14px;
  line-height: 1.8;
  color: var(--MS_black);
  background: none;
  padding: 0;
  margin: 0;
}
@media screen and (min-width: 834px) {
  #column .header-box {
    padding: 30px;
  }
  #column .header-box .header-meta {
    flex-direction: row;
  }
  #column .header-box .subtitle {
    font-size: 14px;
    font-weight: bold;
  }
  #column .header-box .article-date {
    font-size: 14px;
  }
  #column .header-box :is(h1:where(:not([data-ms-h])), :where([data-ms-h="1"])) {
    font-size: 32px !important;
    margin: 20px 0;
  }
}
/* ========================================
   Contact Knowledge Top Page
   Uses existing: guide-section, box-clm, square-cards, store-cta
======================================== */
.contact-knowledge .container {
  margin-top: 32px;
}
@media (min-width: 834px) {
  .contact-knowledge .container {
    padding: 0 ;
    max-width: 1024px;
    margin-bottom: 180px;
  }
}
/* Hero Section - uses box-clm for layout */
.cl-hero-section{
  margin-bottom: 32px;
}
.cl-hero-section .box-clm.cl-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cl-hero-section .cl-hero-image {
  text-align: center;
}
.cl-hero-section .cl-hero-image img {
  max-width: 100%;
  height: auto;
}
.cl-hero-section .cl-hero-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--gray700);
}
.cl-hero-section .cl-hero-text p:last-child {
  margin-bottom: 0;
}
@media (min-width: 834px) {
  .cl-hero-section{
    margin-bottom: 48px;
  }
  .cl-hero-section .box-clm.cl-hero-content {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
  .cl-hero-section .cl-hero-image { 
    flex: 0 0 420px;
  }
  .cl-hero-section .cl-hero-image img { max-width: 100%; }
  .cl-hero-section .cl-hero-text { flex: 1; }
}
/* Guide Section */
.contact-knowledge .guide-section .guide-card{
  font-size: 18px;
}
.guide-section .guide-card.type{
  background: url(../images/contact/contact-menu-type.png) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.choose{
  background: url(../images/contact/contact-menu-choose.png) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.howto{
  background: url(../images/contact/contact-menu-howto.png) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.troubles{
  background: url(../images/contact/contact-menu-troubles.png) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.care{
  background: url(../images/contact/contact-menu-care.png) no-repeat 10px var(--white);
  background-size: 72px;
}
.guide-section .guide-card.faq{
  background: url(../images/contact/contact-menu-faq.png) no-repeat 10px var(--white);
  background-size: 72px;
}
/* Clinic Section + Types Section */
.cl-clinic-section,
.cl-types-section{
  margin-bottom: 32px;
  margin-top: 32px;
}
.cl-clinic-section :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])),
.cl-types-section :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])){
  font-size: 20px;
}
.cl-clinic-section .lead,
.cl-types-section .lead {
  margin: 32px 0;
}
.cl-steps-box {
  border: 1px solid var(--gold800);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 25px;
}
.cl-steps-box :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  font-size: 22px;
  font-weight: bold;
  color: var(--gold800);
}
.cl-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
}
.cl-steps li {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray800);
}
.cl-steps-box .cl-steps-image {
  text-align: center;
}
.cl-steps-box .cl-steps-image img {
  margin: 0;
}
.contact-knowledge .box-blue p {
  margin-bottom: 16px;
}
.contact-knowledge .box-blue p:last-child {
  margin-bottom: 0;
}
@media (min-width: 834px) {
  .contact-knowledge .guide-section .title_serif{
    font-size: 32px;
  }
  .contact-knowledge .header .subtitle{
    font-size: 20px;
  }
  .cl-clinic-section,
  .cl-types-section{
    margin-top: 60px;
  }
  .cl-clinic-section :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])),
  .cl-types-section :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])){
    font-size: 30px;
  }
  .cl-steps-box {
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 30px 40px; 
    justify-content: space-between;
  }
  .cl-steps-box .cl-steps-image{
    max-width: 300px;
  }
}

/* Contact Type: Card Layout */
.cl-types-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.cl-type-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.cl-type-card .cl-type-header,
.cl-types-table .col-header {
  background: var(--MS_blue);
  color: #fff;
  padding: 15px;
  text-align: center;
}
.cl-type-card .cl-type-header :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])),
.cl-types-table .col-header :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) { 
  font-size: 16px; 
  font-weight: bold;
  margin-bottom: 5px; 
  color: #fff; 
}
.cl-type-card .cl-type-header p,
.cl-types-table .col-header p { 
  font-size: 12px; 
  opacity: 0.9; 
  margin: 0;
  line-height: 1.4;
}
.cl-type-card .cl-type-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}
.cl-type-card .cl-type-row:last-child {
  border-bottom: none;
}
.cl-type-card .cl-type-row .row-label {
  flex: 0 0 70px;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  border-left: 3px solid;
  background: #f5f5f5;
}
.cl-type-card .cl-type-row.merit .row-label {
  border-left-color: var(--MS_blue);
  color: var(--MS_blue);
}
.cl-type-card .cl-type-row.demerit .row-label {
  border-left-color: #c62828;
  color: #c62828;
}
.cl-type-card .cl-type-row.recommend .row-label {
  border-left-color: #f57c00;
  color: #f57c00;
}
.cl-type-card .cl-type-row p {
  flex: 1;
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: var(--gray700);
}

/* Mobile: Table as Cards Layout */
.cl-table{
  display: flex;
  flex-direction: column;
}
.cl-types-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 30px;
}
.cl-types-table thead,
.cl-types-table tbody {
  display: contents;
}
.cl-types-table thead tr,
.cl-types-table tbody tr {
  display: contents;
}
/* Hide empty row header in thead */
.cl-types-table thead th.row-header {
  display: none;
}
/* Hide row-header cells in tbody */
.cl-types-table tbody td.row-header {
  display: none;
}
/* Card Headers (Column Headers) */
.cl-types-table .col-header {
  border: 1px solid var(--gray200);
  background: var(--blue000);
  color: var(--MS_blue_dark);
  padding: 15px;
  text-align: center;
}
.cl-types-table .col-header :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--MS_blue_dark);
}
.cl-types-table .col-header p {
  font-size: 12px;
  opacity: 0.9;
  margin: 0;
  font-weight: normal;
}
/* Content Cells - styled as rows within cards */
.cl-types-table tbody td:not(.row-header) {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray200);
  border-top: none;
  padding: 12px 15px 12px 95px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray700);
  min-height: 60px;
}
/* Content row cells ::before (label area) */
.cl-types-table tbody td:not(.row-header)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  padding: 12px 5px;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  background: var(--blue000);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-right: 1px solid var(--gray200);
}
/* Merit row cells */
.cl-types-table .merit-row td:nth-child(2)::before,
.cl-types-table .merit-row td:nth-child(3)::before,
.cl-types-table .merit-row td:nth-child(4)::before {
  content: "メリット";
  background: var(--gold800);
  color: var(--white);
}
/* Demerit row cells */
.cl-types-table .demerit-row td:nth-child(2)::before,
.cl-types-table .demerit-row td:nth-child(3)::before,
.cl-types-table .demerit-row td:nth-child(4)::before {
  content: "デメリット";
  background: var(--gray500);
  color: var(--white);
}
/* Recommend row cells */
.cl-types-table .recommend-row td:nth-child(2)::before,
.cl-types-table .recommend-row td:nth-child(3)::before,
.cl-types-table .recommend-row td:nth-child(4)::before {
  content: "こんな方に\Aオススメ";
  white-space: pre-wrap;
  background: var(--blue400);
  color: var(--white);
}
/* Grid positioning for card layout */
/* Card 1: 使い捨てソフトレンズ */
.cl-types-table thead th:nth-child(2) { grid-row: 1; grid-column: 1; }
.cl-types-table .merit-row td:nth-child(2) { grid-row: 2; grid-column: 1; background: var(--gold100); }
.cl-types-table .demerit-row td:nth-child(2) { grid-row: 3; grid-column: 1; background: var(--gray020); }
.cl-types-table .recommend-row td:nth-child(2) { grid-row: 4; grid-column: 1; margin-bottom: 20px; }
/* Card 2: 定期交換のソフトレンズ */
.cl-types-table thead th:nth-child(3) { grid-row: 5; grid-column: 1; }
.cl-types-table .merit-row td:nth-child(3) { grid-row: 6; grid-column: 1; background: var(--gold100);}
.cl-types-table .demerit-row td:nth-child(3) { grid-row: 7; grid-column: 1; background: var(--gray020);}
.cl-types-table .recommend-row td:nth-child(3) { grid-row: 8; grid-column: 1; margin-bottom: 20px; }
/* Card 3: ハードレンズ */
.cl-types-table thead th:nth-child(4) { grid-row: 9; grid-column: 1; }
.cl-types-table .merit-row td:nth-child(4) { grid-row: 10; grid-column: 1; background: var(--gold100); }
.cl-types-table .demerit-row td:nth-child(4) { grid-row: 11; grid-column: 1;  background: var(--gray020);}
.cl-types-table .recommend-row td:nth-child(4) { grid-row: 12; grid-column: 1; }

/* PC: Table Layout */
@media (min-width: 834px) {
  .cl-table{
    flex-direction: row;
  }
  .cl-types-table .none{
    display: none;
  }
  .cl-types-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    gap: 0;
  }
  .cl-types-table thead,
  .cl-types-table tbody {
    display: table-header-group;
  }
  .cl-types-table tbody {
    display: table-row-group;
  }
  .cl-types-table thead tr,
  .cl-types-table tbody tr {
    display: table-row;
  }
  .cl-types-table thead th.row-header {
    display: table-cell;
  }
  .cl-types-table tbody td.row-header {
    display: table-cell;
    width: 180px;
  }
  .cl-types-table thead tr {
    background: var(--MS_blue);
  }
  .cl-types-table th,
  .cl-types-table td {
    padding: 15px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #e0e0e0;
  }
  .cl-types-table th.row-header {
    width: 100px;
    background: var(--blue000);
    text-align: center;
    vertical-align: middle;
  }
  .cl-types-table td.row-header {
    width: 100px;
    background: #f5f5f5;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
  }
  .cl-types-table .col-header {
    border: none;
    border-right: 1px solid var(--gray200);
    border-bottom: 1px solid var(--gray200);
    border-radius: 0;
    margin-top: 0;
  }
  .cl-types-table .col-header:last-child {
    border-right: none;
  }
  .cl-types-table tbody tr:nth-child(odd) {
    background: #f9f9f9;
  }
  .cl-types-table tbody tr:nth-child(even) {
    background: #fff;
  }
  .cl-types-table tbody td {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray700);
    display: table-cell;
    border-radius: 0;
    padding: 15px;
  }
  .cl-types-table tbody td::before {
    display: none;
  }
  .cl-types-table .row-label {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 3px;
  }
  .cl-types-table .merit-row .row-header {
    background: var(--gold800);
    color: var(--white);
  }
  .cl-types-table .demerit-row .row-header {
    background: var(--gray500);
    color: var(--white);
  }
  .cl-types-table .recommend-row .row-header {
    background: var(--blue400);
    color: var(--white);
  }
  .cl-types-table .merit-row td:nth-child(2)::before,
  .cl-types-table .merit-row td:nth-child(3)::before,
  .cl-types-table .merit-row td:nth-child(4)::before,
  .cl-types-table .demerit-row td:nth-child(2)::before,
  .cl-types-table .demerit-row td:nth-child(3)::before,
  .cl-types-table .demerit-row td:nth-child(4)::before,
  .cl-types-table .recommend-row td:nth-child(2)::before,
  .cl-types-table .recommend-row td:nth-child(3)::before,
  .cl-types-table .recommend-row td:nth-child(4)::before {
    display: none;
  }
  .cl-types-table tbody td:not(.row-header){
    padding: 16px;
  }
  /* Reset grid positioning for PC */
  .cl-types-table thead th:nth-child(2),
  .cl-types-table thead th:nth-child(3),
  .cl-types-table thead th:nth-child(4),
  .cl-types-table .merit-row td,
  .cl-types-table .demerit-row td,
  .cl-types-table .recommend-row td {
    grid-row: auto;
    grid-column: auto;
    margin-top: 0;
  }
}
/* ============================
   Contact Choose page - Spec Table
=============================== */
#column .spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
#column .spec-table th,
#column .spec-table td {
  border: 1px solid var(--gray200);
  padding: 12px 15px;
  text-align: left;
  vertical-align: top;
}
#column .spec-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  white-space: nowrap;
  width: 70px;
  text-align: center;
}
#column .spec-table .spec-name {
  font-weight: bold;
  white-space: nowrap;
  width: 100px;
}
#column .spec-table td:last-child {
  line-height: 1.7;
}
@media screen and (max-width: 767px) {
  #column .spec-table th,
  #column .spec-table .spec-name {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  #column .spec-table th {
    background-color: #f5f5f5;
    padding: 10px;
  }
  #column .spec-table .spec-name {
    background-color: transparent;
    padding: 10px 10px 5px;
    border-top: none;
  }
  #column .spec-table td:last-child {
    display: block;
    width: 100%;
    padding: 5px 10px 15px;
    border-top: none;
  }
  #column .spec-table tr {
    display: block;
    margin-bottom: 0;
  }
}
/* Note */
#column .note {
  font-size: 13px;
  color: var(--gray600);
  margin-top: 20px;
}

/* ============================
    Contact Howto Page - Styles
=============================== */
/* Text Red */
#column .text-note {
  color: var(--gold800);
}

/* OK/NG Boxes */
#column .okng-boxes {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  border: 1px solid var(--gray200);
}
#column .okng-box {
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 15px;
  gap: 20px;
}
#column .okng-box picture {
  display: block;
  flex: 0 0 150px;
  width: 150px;
  max-width: 150px;
  margin: 0;
}
#column .okng-box picture img {
  margin: 0;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
#column .okng-box p {
  flex: 1 1 0;
  min-width: 0;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: left;
}
@media screen and (min-width: 834px) {
  #column .okng-boxes {
    flex-direction: row;
  }
  #column .okng-box {
    flex: 1;
  }
  #column .okng-boxes.ng-only {
    max-width: 100%;
  }
}
#column .box-blue p.blue.info{
  font-size: 20px;
  margin: 0;
  color: #005C9F;
  font-weight: bold;
}
/* ============================
    Contact Trouble - Styles
=============================== */
#column .box-blue.contact-trouble {
	display: flex;
	flex-direction: row;
	position: relative;
	padding: 16px 20px;
	overflow: hidden;
	margin-top: 60px;
}
#column .contact-trouble-text p{
	margin-bottom: 6px;
}
#column .box-blue.contact-trouble .contact-trouble-img {
	display: none;
	}
@media screen and (min-width: 1040px) {
#column .box-blue.contact-trouble .contact-trouble-img {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	max-width: 320px;
	height: 100%;
}
}

/* ============================
    Night Vision (夜間視力)
=============================== */
.nv-page {
  --nv-navy: #1C344F;
  --nv-gold: #e8d48b;
  --nv-ok: #2e8b57;
  --nv-ng: #c0392b;
}
.nv-page ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nv-page .nv-lead {
  text-align: center;
  margin-bottom: 20px;
}
#column #main .nv-page :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  color: inherit;
  font-size: 15px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 8px;
}

/* Stats */
.nv-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 40px;
}
.nv-stats li {
  background: var(--nv-navy);
  border-radius: 8px;
  padding: 20px 12px;
  text-align: center;
  color: var(--white);
}
.nv-stats-num {
  font-size: 36px;
  font-weight: bold;
  color: var(--gold300);
  line-height: 1.2;
  margin: 0 0 8px !important;
  letter-spacing: 0.02em;
}
.nv-stats-txt {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 !important;
  color: var(--white);
  letter-spacing: 0.04em;
  font-weight: bold;
}

/* Symptom grid */
.nv-symptom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 40px;
}
.nv-symptom-grid li {
  border: 1px solid var(--gray100);
  background: var(--white);
  overflow: hidden;
}
.nv-symptom-grid :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  background: var(--MS_blue_dark);
  color: var(--white) !important;
  text-align: center;
  padding: 14px 12px !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.5;
  font-weight: bold;
}
.nv-symptom-grid p {
  font-size: 14px;
  line-height: 1.7;
  padding: 14px 16px;
  margin: 0 !important;
}

/* Mechanism */
.nv-mech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 20px 0 40px;
}
.nv-mech-head {
  padding: 16px 14px;
}
.nv-mech-day .nv-mech-head {
  background: var(--gold100);
}
.nv-mech-night .nv-mech-head {
  background: var(--gray800);
  color: var(--white);
}
.nv-mech-title {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 6px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nv-mech-night .nv-mech-title {
  color: var(--gray050);
}
.nv-mech-icon {
  width: 24px;
  height: 24px;
  margin: 0 !important;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.nv-mech-note {
  font-size: 14px;
  margin: 0 !important;
  opacity: 0.85;
  letter-spacing: 0;
}
.nv-mech-table {
  margin: 0;
  border: 1px solid var(--gray100);
  border-top: none;
}
.nv-mech-table > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray100);
  font-size: 14px;
}
.nv-mech-table > div:last-child {
  border-bottom: none;
}
.nv-mech-table dt {
  font-weight: normal;
  color: var(--gray700);
  flex: 1;
}
.nv-mech-table dd {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  flex: 1.5;
}
.nv-mech-table dd.ok {
  color: var(--nv-ok);
}
.nv-mech-table dd.ng {
  color: var(--nv-ng);
}
.nv-mech-day .nv-cell-detail {
  border-top: 6px solid var(--gold400);
  padding-top: 20px;
  margin-top: 16px;
}
.nv-mech-night .nv-cell-detail {
  border-top: 6px solid var(--MS_blue_light);
  padding-top: 20px;
  margin-top: 16px;
}
.nv-cell-detail :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  font-size: 18px !important;
  margin-bottom: 4px !important;
}
.nv-cell-sub {
  font-size: 13px;
  color: var(--gray600);
  margin-bottom: 12px !important;
}
.nv-cell-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--gray100);
  font-size: 14px;
  line-height: 1.6;
}
.nv-cell-list li:last-child {
  border-bottom: none;
}
.nv-cell-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--gold500);
}

/* Causes */
.nv-cause-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 40px;
}
.nv-cause-grid li {
  border: 1px solid var(--gray100);
  padding: 24px 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nv-cause-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold500);
  color: var(--white);
  font-weight: bold;
  font-size: 24px;
  margin: 0 0 12px !important;
  flex: none;
}
.nv-cause-grid :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  font-size: 16px !important;
  margin-bottom: 10px !important;
  line-height: 1.5;
}
.nv-cause-grid li > :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) + p {
  font-size: 14px;
  color: var(--gray700);
  line-height: 1.7;
  margin-bottom: 16px !important;
  flex: 1;
  text-align: left;
}
.nv-cause-badge {
  display: inline-block;
  background: var(--gold300);
  color: var(--MS_black);
  font-size: 13px;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin: 0 !important;
  flex: none;
}

/* Traffic */
.nv-traffic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 24px;
}
.nv-traffic-grid li {
  border: 1px solid var(--gray100);
  overflow: hidden;
  background: var(--white);
}
.nv-traffic-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
#column .nv-traffic-img img,
.nv-traffic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  display: block;
}
.nv-traffic-img .nv-traffic-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.28);
  letter-spacing: 0.06em;
  margin: 0 !important;
  padding: 0;
}
.nv-traffic-grid > li > p {
  font-size: 13px;
  line-height: 1.7;
  padding: 16px;
  margin: 0 !important;
}
.nv-note-box {
  background: var(--gold100);
  padding: 20px 18px;
  margin: 0 0 40px;
}
.nv-note-title {
  color: var(--gold800);
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 12px !important;
  line-height: 1.6;
}
.nv-note-box p {
  font-size: 14px;
  margin-bottom: 12px !important;
}
.nv-note-box p:last-child {
  margin-bottom: 0 !important;
}

/* Lens table */
.nv-lens-table-wrap {
  border: 1px solid var(--gray200);
  margin: 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nv-lens-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
.nv-lens-table thead th {
  background: var(--MS_black);
  color: var(--gold300);
  font-weight: bold;
  padding: 12px 10px;
  text-align: center;
  white-space: nowrap;
}
.nv-lens-table th:nth-child(1),
.nv-lens-table td:nth-child(1) {
  width: 20%;
}
.nv-lens-table th:nth-child(2),
.nv-lens-table td:nth-child(2) {
  width: 28%;
}
.nv-lens-table th:nth-child(3),
.nv-lens-table td:nth-child(3) {
  width: 20%;
}
.nv-lens-table th:nth-child(4),
.nv-lens-table td:nth-child(4) {
  width: 16%;
}
.nv-lens-table th:nth-child(5),
.nv-lens-table td:nth-child(5) {
  width: 16%;
}
.nv-lens-table tbody td {
  padding: 16px 12px;
  border-top: 1px solid var(--gray100);
  vertical-align: middle;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}
.nv-lens-name {
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin: 0 0 6px !important;
}
.nv-lens-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid;
  line-height: 1.4;
  margin: 0 !important;
}
.nv-lens-tag.gold {
  color: var(--gold550);
  border-color: var(--gold550);
  background: var(--gold200);
  font-family: 'Noto Sans JP', sans-serif;
}
.nv-lens-tag.blue {
  color: var(--MS_blue_dark);
  border-color: var(--MS_blue_light);
  background: var(--blue100);
}
.nv-stars {
  color: var(--gold500);
  letter-spacing: 1px;
  font-size: 16px;
  white-space: nowrap;
}
.nv-lens-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--gray100);
}
.nv-lens-promo picture {
  display: block;
  width: 100%;
  max-width: 240px;
}
.nv-lens-promo img {
  width: 100%;
  height: auto;
  margin: 0 !important;
  display: block;
}
.nv-caution {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff5f5;
  border: 1px solid #f0c8c8;
  padding: 16px;
  margin: 20px 0 40px;
  border-radius: 4px;
}
.nv-caution img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0 !important;
}
.nv-caution p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 !important;
  color: var(--gray700);
}

/* Exam */
.nv-exam-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 24px;
}
.nv-exam-points li {
  border: 1px solid var(--gray100);
  padding: 20px 16px;
}
.nv-exam-points :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
  font-size: 15px !important;
  margin-bottom: 10px !important;
  text-align: center;
}
.nv-exam-points p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 !important;
  color: var(--gray700);
}
.nv-flow {
  background: #0A1628;
  border-radius: 16px;
  padding: 24px 18px;
  margin: 40px 0;
  color: var(--white);
}
.nv-flow-title {
  color: var(--gold300);
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 20px !important;
}
.nv-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.nv-flow-steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  flex-direction: column;
}
.nv-flow-num {
  width: 40px;
  height: 40px;
  background: var(--gold550);
  color: var(--white);
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 !important;
  padding: 0;
}
.nv-flow-name {
  font-weight: bold;
  font-size: 15px;
  margin: 0 0 4px !important;
  color: var(--white);
  text-align: center;
}
.nv-flow-desc {
  font-size: 12px;
  line-height: 1.5;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0;
  max-width: 90%;
  text-align: center;
}

/* CTA */
.nv-cta {
  background: var(--blue000);
  border: 1px solid var(--blue300);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin: 40px 0 20px;
  display: block;
}
.nv-cta-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--MS_blue_dark);
  margin: 0 0 16px !important;
  line-height: 1.5;
}
.nv-cta-title strong {
  color: var(--gold550);
  font-weight: bold;
  display: block;

}
.nv-cta-text {
  font-size: 14px;
  color: var(--blue800);
  line-height: 1.8;
  margin: 0 0 24px !important;
}
.nv-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
#column a.btn,
.nv-cta-btns .btn {
  width: 100%;
  max-width: 300px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 23px;
  font-weight: bold;
  color: var(--white);
  font-size: 18px;
}
.nv-cta-btns .btn img {
  width: 18px;
  height: 18px;
  margin: 0 !important;
}
.nv-cta-btns .btn-blue {
  background: var(--MS_blue);
}
.nv-cta-btns .btn-gold {
  background: linear-gradient(90deg, #8b6508, #d4af37);
}

@media screen and (min-width: 834px) {
  .nv-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .nv-stats-num {
    font-size: 42px;
  }
  .nv-symptom-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .nv-symptom-grid :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])) {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nv-mech-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .nv-cause-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .nv-traffic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .nv-note-box {
    padding: 28px 32px;
  }
  .nv-lens-promo {
    flex-direction: row;
    padding: 20px 24px;
  }
  .nv-exam-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .nv-flow {
    padding: 28px 32px;
  }
  .nv-flow-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .nv-flow-steps li:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: -10px;
    top: 50%;
    margin-top: -30px;
    color: var(--gold400);
    font-weight: bold;
    font-size: 28px;
  }
  .nv-cta-title {
    font-size: 28px;
  }
  .nv-cta-btns {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  .nv-cta-title strong{
    display: inline;
  }
}
/* シーンに合わせて：見る距離カード */
#column #main .scene-distance-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
#column #main .scene-distance-card {
  border: 1px solid var(--gray100);
  background: #fff;
  padding: 16px;
  text-align: center;
  box-sizing: border-box;
}
#column #main .scene-distance-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  border-radius: 8px;
  aspect-ratio: 480 / 308;
  object-fit: cover;
}
#column #main .scene-distance-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}
#column #main .scene-distance-range {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--gray400);
  line-height: 1.4;
}
#column #main .scene-distance-uses {
  margin: 0;
  font-size: 15px;
  color: var(--gray800);
  line-height: 1.7;
}
@media only screen and (min-width: 600px) {
  #column #main .scene-distance-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  #column #main .scene-distance-card {
    padding: 16px 12px 20px;
  }
  #column #main .scene-distance-title {
    font-size: 18px;
  }
  #column #main .scene-distance-uses {
    font-size: 14px;
  }
}
@media only screen and (min-width: 834px) {
  #column #main .scene-distance-cards {
    gap: 24px;
    margin-bottom: 40px;
  }
  #column #main .scene-distance-card {
    padding: 20px 16px 24px;
  }
  #column #main .scene-distance-title {
    font-size: 22px;
  }
  #column #main .scene-distance-range {
    font-size: 15px;
  }
  #column #main .scene-distance-uses {
    font-size: 15px;
  }
}

/* シーンに合わせて：生活シーンカード */
#column #main .scene-lifestyle-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
#column #main .scene-lifestyle-card {
  border: 1px solid var(--gray100);
  background: #fff;
  padding: 16px;
  text-align: center;
  box-sizing: border-box;
}
#column #main .scene-lifestyle-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 16px;
  aspect-ratio: 480 / 308;
  object-fit: cover;
  max-width: 240px;
}
#column #main .scene-lifestyle-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}
#column #main .scene-lifestyle-text {
  margin: 0;
  font-size: 14px;
  color: var(--gray800);
  line-height: 1.7;
}
@media only screen and (min-width: 600px) {
  #column #main .scene-lifestyle-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  #column #main .scene-lifestyle-card {
    padding: 20px 16px 24px;
  }
  #column #main .scene-lifestyle-title {
    font-size: 18px;
  }
}
@media only screen and (min-width: 834px) {
  #column #main .scene-lifestyle-cards {
    gap: 24px;
    margin-bottom: 40px;
  }
  #column #main .scene-lifestyle-title {
    font-size: 22px;
  }
  #column #main .scene-lifestyle-text {
    font-size: 15px;
  }
}

/* シーンに合わせて：選び方一覧テーブル */
#column #main .scene-guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 30px;
  -webkit-overflow-scrolling: touch;
}
#column #main .scene-guide-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  table-layout: fixed;
}
#column #main .scene-guide-table th,
#column #main .scene-guide-table td {
  padding: 16px 14px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
  font-size: 14px;
  border-bottom: 1px solid var(--gray100);
}
#column #main .scene-guide-table thead th {
  background: var(--wood100);
  color: var(--gold900);
  font-weight: bold;
  border-bottom: none;
}
#column #main .scene-guide-table tbody td {
  background: #fff;
  color: var(--gray800);
}
#column #main .scene-guide-table tbody tr:nth-child(even) td {
  background: var(--gray000);
}
#column #main .scene-guide-table tbody tr:last-child td {
  border-bottom: 1px solid var(--gray100);
}
@media only screen and (min-width: 834px) {
  #column #main .scene-guide-table-wrap {
    margin-bottom: 40px;
    overflow-x: visible;
  }
  #column #main .scene-guide-table {
    min-width: 0;
  }
  #column #main .scene-guide-table th {
    padding: 18px 20px;
    font-size: 18px;
  }
  #column #main .scene-guide-table td {
    padding: 18px 20px;
    font-size: 15px;
  }
}

/* シーンに合わせて：店頭相談ポイント */
#column #main .scene-consult-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
#column #main .scene-consult-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray100);
  font-size: 15px;
  font-weight: bold;
  color: var(--gray800);
  line-height: 1.6;
}
#column #main .scene-consult-list li img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  display: block;
}
#column #main .scene-consult-list li span {
  flex: 1;
}
@media only screen and (min-width: 834px) {
  #column #main .scene-consult-list {
    margin-bottom: 40px;
    max-width: 688px;
    margin: auto;
  }
  #column #main .scene-consult-list li {
    padding: 18px 0;
    font-size: 16px;
    gap: 14px;
  }
  #column #main .scene-consult-list li img {
    width: 27px;
    height: 27px;
  }
}
/* ===========================
   Glasses knowledge — fit page
   Mobile first
=========================== */
.gk-fit {
  --gk-black: #121212;
  --gk-blue: #006EB2;
  --gk-blue-soft: #e8f3fb;
  --gk-blue-border: #9ec5e8;
  --gk-gold: #8c6239;
  --gk-cream: #fef8e6;
  --gk-gray: #666666;
  --gk-gray-border: #e5e5e5;
  margin-top: 8px;
}

.gk-fit img {
  display: block;
  max-width: 100%;
  height: auto;
}

.gk-fit-section {
  margin: 0 0 48px;
}
.gk-fit-section .box-blue{
  font-size: 21px;
  font-weight: bold;
  color: #121212;
}
.gk-fit__heading {
  position: relative;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--gk-blue);
  color: var(--gray900);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
}
/*
.gk-fit__formula {
  margin: 0 0 16px;
  padding: 16px 14px;
  border: 1px solid var(--gk-blue-border);
  background: #f3f9fd;
  border-radius: 8px;
  text-align: center;
}

.gk-fit__formula p {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.7;
  color: var(--gray900);
}*/

.gk-fit__points {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.gk-fit__points li {
  padding: 14px 12px;
  border: 1px solid var(--gk-blue-border);
  background: #fff;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  color: var(--gk-black);
  text-align: center;
  line-height: 1.5;
}

.gk-fit__points span {
  display: block;
  margin-bottom: 4px;
  color: var(--gk-blue);
  font-size: 15px;
  font-weight: bold;
}

.gk-fit__tip {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--gk-cream);
  border-radius: 10px;
  font-size: 16px;
}
.gk-fit__tip p,
#column .gk-fit__tip p {
  position: relative;
  margin: 0;
  padding-left: 38px;
  text-align: left;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: left;
}
.gk-fit__tip p::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: center / contain no-repeat url("../images/icon_lightbulb.svg");
  position: absolute;
  left: 0;
}

.gk-fit__tip span {
  font-size: 20px;
}
/* Point 1 size */
.gk-fit__size-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.gk-fit__size-card >p:first-child {
  margin: 0 0 8px;
  color: var(--gk-blue);
  line-height: 1.5;
  letter-spacing: 0 !important;
}
.gk-fit__size-card{

}
.gk-fit__size-card img {
  width: 100%;
  border-radius: 8px;
}

/* Point 2 position */
.gk-fit__pos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.gk-fit__pos-card {
  padding: 16px 14px;
  border: 1px solid var(--gk-gray-border);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.gk-fit__pos-card p {
  text-align: left;
  font-size: 14px;
}
#column .gk-fit__pos-card p.gk-fit__pos-card-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: bold;
  color: var(--gk-gray);
  line-height: 1.5;
}
.gk-fit__pos-card img.iconx, 
.gk-fit__pos-card img.iconcheck {
  width: 28px;
  height: 28px;
}
.gk-fit__pos-card--ok {
  border: 2px solid var(--gk-blue-border);
  background: #f7fbfe;
}

.gk-fit__pos-card :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--gray800);
}

.gk-fit__pos-card--ok :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  color: var(--gk-blue);
}

.gk-fit__pos-card :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 12px;
  line-height: 1;
}

.gk-fit__pos-card--ok :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) span {
  background: var(--gk-blue);
  border-color: var(--gk-blue);
  color: #fff;
}

.gk-fit__pos-card img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 8px;
}

/* Point 3 face map */
.gk-fit__face-map {
  position: relative;
  margin-top: 8px;
  padding: 0;
}
#column .gk-fit__face-map p{
  margin-bottom: 0;
}
/* Axis labels: PC only */
.gk-fit__axis {
  display: none;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #999999;
}

.gk-fit__face-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gk-fit__face-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}

.gk-fit__face-grid img,
#column .gk-fit__face-grid img {
  flex: 0 0 120px;
  width: 120px;
  max-width: 120px;
  height: auto;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;
}

.gk-fit__face-grid p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray700);
  text-align: left;
}

.gk-fit__face-grid strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--gk-blue);
}

/* Point 4 shapes */
.gk-fit__shape-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gk-fit__shape-grid li {
  padding: 18px 16px;
  background: var(--gk-blue-soft);
  border-radius: 10px;
}

.gk-fit__shape-grid :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  margin: 0 0 8px;
  color: var(--gk-blue);
  font-size: 18px;
}

.gk-fit__shape-grid p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray800);
}
.gk-fit__shape-grid p strong{
  color: var(--gk-blue);
}
.gk-fit__shape-frame {
  background: #fff;
  border-radius: 6px;
  text-align: center;
}
#column #main .gk-fit__shape-grid :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0;
}
#column .gk-fit__shape-frame img {
  width: 100%;
  margin: 0 auto;
}

/* Details compare */
.gk-fit__subhead {
  margin: 28px 0 12px;
  color: var(--gk-blue);
  font-size: 16px;
}
#column #main :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])).gk-fit__subhead{
  border-bottom: none;
  margin-bottom: 0;
}
.gk-fit__compare {
  display: grid;
  grid-template-columns: 1fr ;
  gap: 10px;
}

.gk-fit__compare--3 {
  grid-template-columns: 1fr;
}

.gk-fit__compare figure {
  margin: 0;
  text-align: center;
  border: 1px solid var(--gk-gray-border);
  padding: 12px;
  border-radius: 10px;
}

#column .gk-fit__compare img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
  margin-top: 0;
}

.gk-fit__compare figcaption strong {
  display: block;
  margin-bottom: 2px;
  font-size: 20px;
  color: var(--gk-black);
  line-height: 1;
}

.gk-fit__compare figcaption span {
  display: block;
  font-size: 18px;
  color: var(--gold550);
  font-weight: bold;
}

/* Summary */
.gk-fit__summary-lead {
  margin: -8px 0 16px;
  font-size: 14px;
  color: var(--gray800);
}

.gk-fit__steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
#column #main .gk-fit__steps li :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 20px;
}
.gk-fit__steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--gk-blue-border);
  background: #f7fbfe;
  border-radius: 10px;
  font-size: 14px;
}
.gk-fit__steps li.gk-fit__steps-item--accent{
  background: var(--gold200);
  border-color: var(--gold500);
}
.gk-fit__steps-item--accent {
  border-color: #d8bb5c;
  background: var(--gk-cream);
}

.gk-fit__step-num {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gk-blue);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.gk-fit__steps-item--accent .gk-fit__step-num {
  background: var(--gold800);
}

.gk-fit__steps :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--gk-blue);
}

.gk-fit__steps-item--accent :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
  color: #8c6239;
}

#column .gk-fit__steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray700);
}
#column #main .gk-fit .cl-store-cta :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])){
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0;
}
/*
.gk-fit__staff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  background: #f8f4f0;
  border-radius: 10px;
  text-align: center;
}

.gk-fit__staff img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.gk-fit__staff p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray800);
}*/

@media screen and (min-width: 834px) {
  .gk-fit__heading {
    font-size: 24px;
    padding-left: 16px;
  }

  .gk-fit__formula p {
    font-size: 16px;
  }

  .gk-fit__tip p,
  #column .gk-fit__tip p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    text-align: left;
    letter-spacing: 0;
    text-align: center;
  }
  .gk-fit__tip p::before {
    position: relative;
    content: "";
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    background: center / contain no-repeat url("../images/icon_lightbulb.svg");
  }
  
  .gk-fit__points {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .gk-fit__size-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gk-fit__size-card :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
    font-size: 15px;
    min-height: 2.8em;
  }

  .gk-fit__pos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .gk-fit__shape-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .gk-fit__shape-grid :is(h3:where(:not([data-ms-h])), :where([data-ms-h="3"])) {
    font-size: 20px;
  }
  .gk-fit__compare {
    grid-template-columns: 1fr 1fr;
  }
  
  .gk-fit__compare--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gk-fit__steps {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .gk-fit__staff {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    padding: 24px 32px;
    text-align: left;
  }

  .gk-fit__staff p {
    font-size: 18px;
  }
}

/* Face map 2x2 + axes: PC from 990px (SP layout below) */
@media screen and (min-width: 990px) {
  .gk-fit__face-map {
    padding: 20px 0;
  }

  .gk-fit__axis--top,
  .gk-fit__axis--bottom {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0;
  }

  .gk-fit__axis--top {
    top: 30px;
  }

  .gk-fit__axis--bottom {
    bottom: 30px;
  }

  .gk-fit__axis--left,
  .gk-fit__axis--right {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }

  .gk-fit__axis--left {
    left: 4px;
  }

  .gk-fit__axis--right {
    right: 4px;
  }

  .gk-fit__face-grid {
    position: relative;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .gk-fit__face-grid::before,
  .gk-fit__face-grid::after {
    content: "";
    position: absolute;
    background: #cfcfcf;
    pointer-events: none;
    z-index: 1;
  }

  .gk-fit__face-grid::before {
    left: 50%;
    top: 10%;
    width: 1px;
    height: 80%;
    transform: translateX(-50%);
  }

  .gk-fit__face-grid::after {
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
    transform: translateY(-50%);
  }

  .gk-fit__face-grid li {
    padding: 28px 24px;
  }

  .gk-fit__face-grid img,
  #column .gk-fit__face-grid img {
    flex: 0 0 150px;
    width: 150px;
    max-width: 150px;
  }
}

/* 遠近両用コンタクト（bifocals） */
#column #main .cl-bifocals-recommend ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#column #main .cl-bifocals-recommend li {
  position: relative;
  margin: 0 0 10px;
  padding: 0 0 0 1.4em;
  list-style: none;
  font-size: 15px;
  font-weight: bold;
  color: var(--MS_blue_dark);
  line-height: 1.7;
}
#column #main .cl-bifocals-recommend li:last-child {
  margin-bottom: 0;
}
#column #main .cl-bifocals-recommend li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--MS_blue);
}
#column #main .cl-bifocals-recommend li.highlight {
  background: #FFFDCF;
  border-radius: 4px;
}
#column #main .cl-bifocals-diagram {
  margin: 0 0 20px;
  padding: 12px;
  border: 1px solid var(--gray100);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
#column #main .cl-bifocals-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 24px;
}
#column #main .cl-bifocals-compare figure {
  margin: 0;
}
#column #main .cl-bifocals-compare img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
#column #main .cl-bifocals-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--blue200);
  border-radius: 8px;
  background: var(--blue000);
}
#column #main .cl-bifocals-tip img {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
}
#column #main .cl-bifocals-tip p {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--MS_blue_dark);
  line-height: 1.6;
}
#column #main .cl-bifocals-img {
  margin: 0 auto 20px;
  max-width: 665px;
  text-align: center;
}
#column #main :is(h4:where(:not([data-ms-h])), :where([data-ms-h="4"])).blue_dark {
  color: var(--MS_blue_dark);
  margin-top: 8px;
}
@media only screen and (min-width: 600px) {
  #column #main .cl-bifocals-compare {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media only screen and (min-width: 834px) {
  #column #main .cl-bifocals-recommend li {
    font-size: 16px;
  }
  #column #main .cl-bifocals-tip {
    padding: 16px 20px;
    gap: 14px;
  }
  #column #main .cl-bifocals-tip p {
    font-size: 15px;
  }
}

/* コンタクトの選び方：商品画像2枚並び */
#column #main .choose-products {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 10px 0 30px;
}
#column #main .choose-products figure {
  margin: 0;
  text-align: center;
}
#column #main .choose-products figure img {
  margin: 0;
  width: auto;
  max-width: 100%;
  height: auto;
}
#column #main .choose-products figcaption {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray800);
}
@media screen and (min-width: 834px) {
  #column #main .choose-products {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
  }
  #column #main .choose-products figure img {
    max-height: 160px;
  }
}


/* --- コンタクトの選び方：パッケージ記載例のキャプション（デザインチェック・FB D43）---
   小崎さん「本画像のキャプションが挿入されていないようです」。
   Figma（7835:21240）には対応するテキストノードが無く、FBのスクショを正として実装している。 2026-09-07 上野 */
#column #main .choose-package-labels {
  display: flex;
  gap: 16px;
  margin: -6px 0 30px;
  padding: 0;
  list-style: none;
}
#column #main .choose-package-labels li {
  flex: 1 1 0;
  margin: 0;
  padding: 8px 12px;
  background: var(--MS_blue_dark);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
#column #main .choose-package-labels li::before {
  content: none;
}
@media screen and (max-width: 833px) {
  #column #main .choose-package-labels {
    gap: 8px;
  }
  #column #main .choose-package-labels li {
    padding: 6px 4px;
    font-size: 12px;
  }
}

/* Personal color article: keep CTA label readable on its white button. */
body.postid-1166 #column .box-blue a.btn-view-all-blue { color: var(--MS_blue); }
body.postid-1166 #column .box-blue a.btn-view-all-blue:hover,
body.postid-1166 #column .box-blue a.btn-view-all-blue:focus-visible { color: var(--white); background: var(--MS_blue); }

/* 2026-09-15 アイケア研究所レポート: 本文中の小見出しを h1→h2（.nl-subhead）にしたため、h1 だったときの見た目を保つ（h1 は記事タイトル1つにする） */
#flex-content.newsletter #column :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).nl-subhead{font-size:28px!important;font-family:inherit!important;color:var(--MS_black)!important;font-weight:800!important;line-height:1.2!important;margin:10px 0!important;padding:0!important;background:none!important;border:0!important;letter-spacing:normal!important}
#flex-content.newsletter #column :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).nl-subhead::before,#flex-content.newsletter #column :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).nl-subhead::after{content:none!important}
@media screen and (min-width:834px){#flex-content.newsletter #column :is(h2:where(:not([data-ms-h])), :where([data-ms-h="2"])).nl-subhead.mid-title{background:rgb(246,245,240)!important;padding:20px 10px!important;color:rgb(114,82,54)!important;border-top:1px solid rgb(114,82,54)!important;border-bottom:1px solid rgb(114,82,54)!important;margin-bottom:30px!important}}
