/* ========================================
   Common
======================================== */

:root {
  --black: #333;
  --brown: #9a5752;
  --paper: #fcfbf8;
  --ivory: #f5f1ea;
  --blush: #f3e4e3;
  --rose: #996666;
  --dark: #8f5557;
  --ink: #2b2927;
  --muted: #999999;
  --line: rgba(143, 85, 87, 0.22);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --garamond: "Cormorant Garamond", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

/* ----------------------------------------
   Header
---------------------------------------- */

.header {
  position: relative;
  z-index: 100;
  min-height: 96px;
  padding: 0 max(30px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  gap: 60px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 2px solid var(--brown);
  backdrop-filter: blur(14px);
}


/* ----------------------------------------
   Logo
---------------------------------------- */

.header .logo {
  display: grid;
  flex: 0 0 auto;
  width: 176px;
  color: var(--black);
  line-height: 1;
}

.header .logo img {
  display: block;
  width: 176px;
  height: 80px;
  object-fit: contain;
}


/* ----------------------------------------
   PC Navigation
---------------------------------------- */

.header .pc-global-nav {
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  font-size: min(1.5vw, 18px);
  font-weight: 700;
}

.header .pc-global-nav a {
  color: var(--black);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header .pc-global-nav a::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin: 2px 0 0 min(2vw, 24px);
  background: var(--black);
  vertical-align: middle;
}

.header .pc-global-nav a:last-of-type::after {
  content: none;
}

.header .pc-global-nav a:hover {
  color: var(--rose);
}


/* ----------------------------------------
   SP Navigation
---------------------------------------- */

.header .sp-global-nav {
  display: none;
}


/* ----------------------------------------
   Tablet / SP
---------------------------------------- */

@media (max-width: 900px) {

  .header {
    min-height: 0;
    padding: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 0;
  }


  /* Logo */

  .header .logo {
    width: 120px;
    margin: 0 auto;
  }

  .header .logo img {
    width: 120px;
    height: 56px;
  }


  /* PC Navigation OFF */

  .header .pc-global-nav {
    display: none;
  }


  /* SP Navigation */

  .header .sp-global-nav {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    background: #fbf8f7;
    border-top: 1px solid rgba(154, 87, 82, 0.18);
    border-bottom: 1px solid rgba(154, 87, 82, 0.28);
  }

  .header .sp-global-nav a {
    position: relative;
    min-width: 0;
    min-height: 68px;
    padding: 8px 3px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--brown);
    text-align: center;
    transition:
      color 0.2s ease,
      background-color 0.2s ease;
  }


  /* 区切り線 */

  .header .sp-global-nav a + a::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 1px;
    background: rgba(154, 87, 82, 0.18);
  }


  /* Icon */

  .sp-global-nav__icon {
    width: 27px;
    height: 27px;
    margin-bottom: 3px;
    display: grid;
    place-items: center;
    color: #b27676;
  }

  .sp-global-nav__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }


  /* colomo icon */

  .sp-global-nav__icon--brand {
    font-family: var(--garamond);
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
  }


  /* Label */

  .sp-global-nav__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }


  /* Hover / Focus */

  .header .sp-global-nav a:hover,
  .header .sp-global-nav a:focus-visible {
    color: var(--dark);
    background: #f4e9e7;
  }

}


/* ----------------------------------------
   SP
---------------------------------------- */

@media (max-width: 780px) {

  .header .logo {
    width: 112px;
  }

  .header .logo img {
    width: 112px;
    height: 52px;
  }

}

/* ----------------------------------------
   Shared typography / buttons
---------------------------------------- */
.en {
  margin-top: 0;
  color: var(--rose);
  font-size: 36px;
  letter-spacing: 0.24em;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-width: 220px;
  min-height: 56px;
  padding: 0 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rose);
  border-radius: 999px;
  color: var(--dark);
  font-size: 18px;
  font-weight: bold;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--dark));
  box-shadow: 0 13px 30px rgba(143, 85, 87, 0.2);
}

.section {
  position: relative;
  padding: clamp(85px, 10vw, 145px) max(24px, calc((100vw - 1200px) / 2));
}

.title {
  margin-bottom: 55px;
  text-align: center;
}

.title h2 {
  margin: 10px;
  font: 500 clamp(30px, 3.2vw, 46px) / 1.5 var(--serif);
  letter-spacing: 0.05em;
}


/* ----------------------------------------
   Shared subpage FV
   products / multifocal / faq / about / suupport
---------------------------------------- */
.sub-fv {
  position: relative;
  min-height: 430px;
  padding: 78px max(30px, calc((100vw - 1140px) / 2)) 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
  background: #f3e9e6;
}

.sub-fv::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -34px;
  width: 82px;
  height: 35px;
  transform: translateX(-50%);
  background: #f3e9e6;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.sub-fv__ring {
  position: absolute;
  z-index: 0;
  top: -650px;
  left: 50%;
  width: min(920px, 82vw);
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.72;
  pointer-events: none;
}

.sub-fv__copy {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  margin-inline: auto;
  text-align: center;
}

.sub-fv__label {
  margin: 0 0 12px;
  color: var(--brown);
  font-family: var(--garamond);
  font-size: 36px;
  font-weight: 500;
}

.sub-fv h1 {
  margin: 0 0 22px;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: 0.075em;
}

.sub-fv__copy > p:last-of-type:not(.sub-fv__label) {
  margin: 0;
  color: var(--black);
  font-size: 24px;
  letter-spacing: 0.075em;
  font-weight: 500;
}

@media (max-width: 900px) {
  .sub-fv {
    min-height: 390px;
    padding: 64px 24px 52px;
  }

  .sub-fv__ring {
    left: 50%;
    width: min(760px, 96vw);
    transform: translateX(-50%);
  }
}

@media (max-width: 780px) {
  .sub-fv::after {
    bottom: -25px;
    width: 60px;
    height: 26px;
  }
}

@media (max-width: 560px) {
  .sub-fv {
    min-height: 0;
    padding: 54px 20px 42px;
  }

  .sub-fv__ring {
    top: -360px;
    width: 640px;
    opacity: 0.72;
  }

  .sub-fv__label {
    font-size: 15px;
  }

  .sub-fv h1 {
    margin-bottom: 16px;
    font-size: clamp(30px, 9vw, 40px);
  }

  .sub-fv__copy > p:last-of-type:not(.sub-fv__label) {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* ----------------------------------------
   Footer
----------------------------------------- */

.site-footer {
  position: relative;
  padding: 80px max(30px, calc((100vw - 1200px) / 2)) 32px;
  color: var(--black);
  background: #fbf8f7;
  border-top: 1px solid var(--line);
}


/* --------------------
   MAIN
-------------------- */

.site-footer__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: start;
  padding-bottom: 70px;
}


/* BRAND */

.site-footer__brand {
  padding-top: 6px;
}

.site-footer__brand img {
  display: block;
  width: 176px;
  height: auto;
}


/* NAV */

.site-footer__mainnav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  background: #f2e8e6;
  padding: 34px 40px;
  border-radius: 10px;
}

.site-footer__navgroup {
  min-width: 0;
}

.site-footer__navtitle {
  margin: 0 0 22px;
  color: var(--rose);
  font-family: var(--garamond);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site-footer__navgroup a {
  position: relative;
  display: block;
  padding: 14px 30px 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--black);
  font-size: 15px;
  letter-spacing: 0.04em;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}
@media (max-width: 780px) {
  .site-footer__mainnav {
    margin-top: 48px;
    padding: 10px 20px;
    background: #f2e8e6;
    border-radius: 10px;
  }
}

/* arrow */

.site-footer__navgroup a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--brown);
  border-right: 1px solid var(--brown);
  transform: translateY(-50%) rotate(45deg);
}


/* hover */

.site-footer__navgroup a:hover {
  padding-left: 6px;
  color: var(--rose);
}

/* SP：最後の「お問い合わせ」の下線を消す */
@media (max-width: 780px) {
  .site-footer__navgroup:last-child a:last-child {
    border-bottom: none;
  }
}
/* --------------------
   LEGAL
-------------------- */

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
  gap: 12px 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer__legal a {
  color: var(--black);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.site-footer__legal a:hover {
  color: var(--rose);
}


/* --------------------
   COPYRIGHT
-------------------- */

.site-footer__copy {
  margin-top: 24px;
  text-align: center;
}

.site-footer__copy small {
  color: var(--muted);
  font-family: var(--garamond);
  font-size: 11px;
  letter-spacing: 0.08em;
}


/* ----------------------------------------
   Footer SP
----------------------------------------- */

@media (max-width: 780px) {

  .site-footer {
    padding: 58px 24px 26px;
  }

  .site-footer__inner {
    display: block;
    padding-bottom: 48px;
  }


  /* BRAND */

  .site-footer__brand {
    padding: 0;
    text-align: center;
  }

  .site-footer__brand img {
    width: 150px;
    margin: 0 auto;
  }


  /* NAV */

  .site-footer__mainnav {
    display: block;
    margin-top: 48px;
  }

  .site-footer__navgroup {
    margin: 0;
  }

  .site-footer__navgroup + .site-footer__navgroup {
    margin-top: 0;
  }

  .site-footer__navtitle {
    display: none;
  }

  .site-footer__navgroup a {
    padding: 17px 28px 17px 2px;
    font-size: 14px;
  }

  .site-footer__navgroup a:hover {
    padding-left: 2px;
  }


  /* LEGAL */

  .site-footer__legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    padding-top: 26px;
    text-align: center;
  }

  .site-footer__legal a {
    font-size: 11px;
    line-height: 1.6;
  }


  /* COPYRIGHT */

  .site-footer__copy {
    margin-top: 28px;
    text-align: center;
  }

  .site-footer__copy small {
    font-size: 10px;
    line-height: 1.6;
  }

}

/*コンタクトお願い共通*/
.lens-request {
  max-width: 980px;
  margin: 54px auto 0;
  padding: 26px 20px;
  background: #ececec;
  color: var(--black);
  font-family: var(--sans);
  font-weight: 500;
}

.lens-request__text {
	text-align: center;
}

.lens-request h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.lens-request ul {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 1.4em;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

/*ページ上部に戻る*/
.common-backtop {
  margin: 42px 18px 32px;
  text-align: right;
}

.common-backtop a {
  color: var(--brown);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.br_sp {
  display: none;
}

.br_pc {
  display: inherit;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */

@media (max-width: 780px) {
  
  .buttons {
    display: grid;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }


  .br_sp {
    display: inherit;
  } 
  .br_pc {
    display: none;
  }
}

/* ----------------------------------------
   Responsive (min-width:781px)
---------------------------------------- */

@media (min-width:781px) {

	.lens-request__text {
		font-size: 18px;
	}
    
	.lens-request h3 {
	  font-size: 20px;
	}

	.lens-request ul {
	  font-size: 16px;
	}
	
	.common-backtop {
		width: min(100% - 56px, 1200px);
		margin: 40px auto;
	}
  
}

/* ----------------------------------------
   Responsive (max-width:980px)
---------------------------------------- */

@media (max-width:980px) {

    .sub-fv__ring {
        top: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
/* ABOUT：FVリング位置調整 */
@media (max-width: 980px) {

  .sub-fv--about .sub-fv__ring {
    top: -430px;
  }

}
/* ========================================
   SP ロゴサイズ調整
======================================== */
@media (max-width: 780px) {

  /* ヘッダー */
  .header .logo {
    width: 140px;
  }

  .header .logo img {
    width: 140px;
    height: auto;
  }

  /* フッター */
  .site-footer__brand img {
    width: 180px;
    height: auto;
    margin: 0 auto;
  }

}
