@charset "utf-8";

/* 参照: https://www.shotoku-netsushori.co.jp/ （レイアウト・配色・タイポ・動きのトーン合わせ） */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  color: #000;
  line-height: 1.8;
  letter-spacing: 0.1em;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #000;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

/* ---------- loading ---------- */
#contents-wrap {
  opacity: 0;
  transition: opacity 0.8s ease;
}

#contents-wrap.fade-in {
  opacity: 1;
}

.loading-img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.loading-img.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-img::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #eaf3f3;
  border-top-color: #005657;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- page visual (sub) ---------- */
.page-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 230px;
  color: #fff;
  text-align: center;
  background: #004041 center center no-repeat;
  background-size: cover;
}

.page-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.page-visual-ttl {
  position: relative;
  padding-bottom: 50px;
  z-index: 1;
}

.page-visual .jpn {
  display: block;
  margin-bottom: 3px;
  font-size: 24px;
  font-weight: 600;
}

.page-visual .eng {
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  display: block;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.page-visual-ttl::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 25px;
  margin-left: -1px;
  background-color: #fff;
}

.page-visual-ttl::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  width: 2px;
  height: 25px;
  margin-left: -1px;
  background-color: #005657;
}

body#course .page-visual { background-image: url(../images/studio-classroom.jpg); }
body#gallery .page-visual { background-image: url(../images/gallery-works.jpg); }
body#studio .page-visual { background-image: url(../images/studio-classroom.jpg); }
body#about .page-visual { background-image: url(../images/hero-pottery.jpg); }
body#philosophy .page-visual { background-image: url(../images/hero-pottery.jpg); }
body#experience .page-visual { background-image: url(../images/experience-handbuilding.jpg); }
body#contact .page-visual { background-image: url(../images/gallery-works.jpg); }

/* ---------- typography blocks ---------- */
.page-sub-ttl {
  margin: 48px 0 28px;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
}

.page-sub-ttl span {
  color: #005657;
}

.sec-ttl-vertical {
  position: relative;
  padding: 48px 0 0 48px;
  margin: 0 0 28px 24px;
}

.sec-ttl-vertical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 1px;
  height: 72px;
  background-color: #005657;
  transform: rotate(45deg);
}

.sec-ttl-vertical .eng {
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.sec-ttl-vertical .jpn {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.sec-ttl-vertical .ttl-let-green {
  color: #005657;
}

/* ---------- line button ---------- */
.line-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 55px;
  margin: 28px auto 0;
  background-color: #fff;
}

.line-btn-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-btn-inner span {
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
}

.line-btn-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 46px;
  background-color: #005657;
}

.line-btn-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 46px;
  background-color: #005657;
}

.line-btn-inner span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 202px;
  height: 1px;
  background-color: #005657;
}

.line-btn-inner span::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 202px;
  height: 1px;
  background-color: #005657;
}

.line-btn {
  transition: transform 0.25s ease;
}

.line-btn:hover {
  transform: translateY(-2px);
}

.line-btn:hover .line-btn-inner::before {
  height: 52px;
}

.line-btn:hover .line-btn-inner::after {
  height: 52px;
}

.line-btn:hover .line-btn-inner span::before {
  width: 214px;
}

.line-btn:hover .line-btn-inner span::after {
  width: 214px;
}

/* ---------- header (top) ---------- */
#top #header {
  position: relative;
  height: 100vh;
  min-height: 500px;
}

.header-inner {
  position: relative;
  height: 100%;
}

.header-logo {
  width: auto;
  max-width: 200px;
  position: absolute;
  top: 22px;
  left: 18px;
  z-index: 50;
}

.header-logo a {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.header-logo .logo-en {
  display: block;
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-top: 4px;
}

/* sp menu */
.slide-menu-btn {
  position: absolute;
  top: 26px;
  right: 22px;
  z-index: 10000;
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.3s;
  box-sizing: border-box;
}

.menu-trigger {
  position: relative;
  width: 25px;
  height: 16px;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

.menu-trigger span:nth-of-type(1) { top: 5px; }
.menu-trigger span:nth-of-type(2) { top: 12px; }

.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(4px) rotate(-45deg);
  background-color: #000;
}

.menu-trigger.active span:nth-of-type(2) {
  transform: translateY(-3px) rotate(45deg);
  background-color: #000;
}

.slide-menu-nav {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 76px 0 40px;
  background-color: rgba(255, 255, 255, 0.96);
  z-index: 9000;
  text-align: center;
}

.slide-menu-nav.is-open {
  display: block;
}

.slide-menu-nav .gnav li {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 18px;
  list-style: none;
}

.slide-menu-nav .gnav li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 3px;
  height: 1px;
  margin-left: -2px;
  background-color: #000;
}

.slide-menu-nav .gnav li:last-child::after {
  display: none;
}

.slide-menu-nav .gnav a {
  display: inline-block;
  font-size: 15px;
  color: #000;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

/* hero slides */
.main-bg-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 0;
}

.main-bg-slide li {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.main-bg-slide li.is-active {
  opacity: 1;
}

.main-bg-slide .m-slide01 { background-image: url(../images/hero-pottery.jpg); }
.main-bg-slide .m-slide02 { background-image: url(../images/studio-classroom.jpg); }
.main-bg-slide .m-slide03 { background-image: url(../images/gallery-works.jpg); }

/* main copy（ヒーロー中央） */
.main-copy-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.main-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  width: max-content;
  max-width: min(92vw, 400px);
  transform: translate(-50%, -50%);
  z-index: 40;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.main-copy-inner {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0.28em;
  margin: 0;
}

.main-copy .sub {
  display: block;
  margin: 0;
  font-size: 11px;
  font-family: "Overpass", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.95;
  writing-mode: horizontal-tb;
  text-align: center;
  white-space: nowrap;
}

/* scroll line */
.scroll-area {
  position: absolute;
  left: 28px;
  bottom: 36px;
  z-index: 40;
}

.scroll-text {
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  position: absolute;
  top: -4.5em;
  left: -8px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 65px;
  background-color: rgba(255, 255, 255, 0.3);
}

.scroll-line::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 65px;
  width: 1px;
  background-color: #fff;
  animation: lineMove 4s ease infinite;
}

@keyframes lineMove {
  0%   { bottom: 65px; height: 0; }
  20%  { bottom: 0; height: 65px; }
  40%  { bottom: 0; height: 0; }
  100% { bottom: 0; height: 0; }
}

.main-credo-btn {
  display: none;
}

/* ---------- intro ---------- */
.intro-copy-sec {
  background: #fff;
}

.intro-img {
  margin: 0;
}

.intro-text {
  padding: 44px 26px 36px;
}

.intro-text h2 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.6;
}

.intro-text p {
  margin: 0;
  font-size: 13px;
  line-height: 2.35;
}

/* ---------- strong points ---------- */
.strong-point-sec {
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}

.strong-point-sec > li {
  margin-bottom: 1px;
}

.strong-point-sec .s-point01 { background-color: #0c6c6d; }
.strong-point-sec .s-point02 { background-color: #005657; }
.strong-point-sec .s-point03 { background-color: #004041; }

.s-point-img {
  margin: 0;
}

.s-point-text-area {
  position: relative;
  padding: 0 26px 40px;
  z-index: 2;
}

.s-point-ttl {
  margin: -0.5em 0 18px;
  font-size: 22px;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

.s-point-ttl span {
  position: relative;
}

.strong-point-sec .s-point01 .s-point-ttl span::before { content: "01"; }
.strong-point-sec .s-point02 .s-point-ttl span::before { content: "02"; }
.strong-point-sec .s-point03 .s-point-ttl span::before { content: "03"; }

.s-point-ttl span::before {
  position: absolute;
  top: -16px;
  left: -16px;
  color: #fff;
  font-size: 14px;
}

.s-point-text {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 2.15;
  color: #fff;
}

.s-point-text-area .line-btn {
  background: transparent;
}

.s-point-text-area .line-btn-inner span {
  color: #fff;
}

.s-point-text-area .line-btn-inner::before,
.s-point-text-area .line-btn-inner::after,
.s-point-text-area .line-btn-inner span::before,
.s-point-text-area .line-btn-inner span::after {
  background-color: #fff;
}

/* ---------- news ---------- */
.news-sec {
  padding: 0 26px 48px;
  text-align: center;
}

.news-sec .slash-ttl-wapper {
  text-align: center;
  margin-bottom: 8px;
}

.slash-ttl {
  position: relative;
  display: inline-block;
  margin: 0 0 28px;
  padding: 48px 0 0 48px;
  font-size: 20px;
  line-height: 1.2;
}

.slash-ttl span {
  color: #005657;
}

.slash-ttl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 1px;
  height: 72px;
  background-color: #005657;
  transform: rotate(45deg);
}

.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  border-top: 1px solid #eaeaea;
}

.news-list li {
  border-bottom: 1px solid #eaeaea;
}

.news-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}

.news-list .date {
  font-family: "Overpass", sans-serif;
  font-weight: 600;
  color: #005657;
  white-space: nowrap;
}

/* ---------- subpage content blocks ---------- */
.sub-content {
  padding: 0 26px 56px;
}

.sub-content p {
  margin: 0 0 1.2em;
  font-size: 13px;
  line-height: 2.25;
}

.text-list01 {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}

.text-list01 li {
  width: 100%;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 12px;
}

.info-table {
  margin: 0 0 40px;
}

.info-table li {
  display: flex;
  font-size: 12px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid #eaeaea;
}

.info-table li span.label {
  width: 28%;
  padding-right: 10px;
  border-bottom: 1px solid #005657;
  margin-bottom: -1px;
  font-weight: 600;
}

.info-table li div.value {
  flex: 1;
  padding-left: 10px;
}

.gmap {
  margin-top: 10px;
  border: 1px solid #005657;
}

.gmap iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

/* ---------- experience: calendar ---------- */
.cal-wrap {
  max-width: 520px;
  margin: 0 auto 40px;
  border: 1px solid #eaeaea;
  background: #fff;
}

.cal-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 16px;
  background: #f7f7f7;
}

.cal-head .cal-nav:first-child {
  justify-self: start;
}

.cal-head .cal-nav:last-child {
  justify-self: end;
}

.cal-month {
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-align: center;
}

.cal-nav button {
  font-family: "Overpass", sans-serif;
  background: #fff;
  border: 1px solid #005657;
  color: #005657;
  width: 36px;
  height: 32px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.cal-nav button:hover {
  background: #005657;
  color: #fff;
}

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 10px 12px 12px;
}

.cal-weekdays span {
  font-family: "Overpass", sans-serif;
  font-size: 10px;
  text-align: center;
  color: #666;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Overpass", sans-serif;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: default;
  color: #bbb;
  background: #fafafa;
}

.cal-day.other {
  opacity: 0.35;
}

.cal-day.open {
  color: #000;
  background: #fff;
  border-color: #e5e5e5;
  cursor: pointer;
}

.cal-day.open:hover {
  border-color: #005657;
}

.cal-day.selected {
  background: #005657;
  color: #fff;
  border-color: #005657;
}

.cal-day.closed {
  background: #f0f0f0;
  color: #ccc;
}

.booking-panel {
  max-width: 520px;
  margin: 0 auto 48px;
  padding: 22px;
  background: #eaf3f3;
  border: 1px solid #d6e4e4;
}

.booking-panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #005657;
}

.booking-panel .note {
  font-size: 12px;
  margin-bottom: 14px;
}

.form-row {
  margin-bottom: 12px;
}

.form-row label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
}

.form-actions {
  margin-top: 18px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  background: #005657;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
}

.submit-btn:hover {
  background: #0c6c6d;
}

.form-msg {
  margin-top: 12px;
  font-size: 12px;
  color: #005657;
  min-height: 1.5em;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.time-slots button {
  flex: 1 1 42%;
  padding: 10px;
  font-family: "Overpass", sans-serif;
  font-size: 12px;
  border: 1px solid #005657;
  background: #fff;
  color: #005657;
  cursor: pointer;
}

.time-slots button.is-on {
  background: #005657;
  color: #fff;
}

/* ---------- footer ---------- */
#footer {
  position: relative;
  margin-top: 40px;
  padding-top: 64px;
}

.page-top {
  display: block;
  position: absolute;
  top: 0;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid #005657;
  text-align: center;
  line-height: 42px;
  font-family: "Overpass", sans-serif;
  font-size: 10px;
  color: #005657;
}

.footer-gnav {
  margin: 0 0 32px;
  padding: 0 28px;
  list-style: none;
}

.footer-gnav li {
  margin-bottom: 14px;
  font-size: 12px;
}

.footer-inner {
  padding: 36px 26px 16px;
  background-color: #f7f7f7;
  border-top: 1px solid #eaeaea;
}

.footer-links {
  margin: 0 0 16px;
  font-size: 12px;
}

.footer-links a {
  text-decoration: underline;
  margin-right: 14px;
}

.footer-address {
  margin-bottom: 28px;
  font-size: 11px;
}

.copyright {
  font-family: "Overpass", sans-serif;
  font-weight: 400;
  display: block;
  font-size: 10px;
  text-align: center;
  color: #666;
  letter-spacing: 0.06em;
}

/* ---------- subpage header overrides ---------- */
body:not(#top) .header-logo a {
  color: #000;
  text-shadow: none;
}

body:not(#top) .header-logo .logo-en {
  color: #005657;
  opacity: 1;
}

body:not(#top) .menu-trigger span {
  background-color: #000;
}

body:not(#top) #header {
  position: relative;
  background: #fff;
}

body:not(#top) .header-inner {
  padding-bottom: 0;
}

/* ---------- smartphone: ヒーロー画像を正方形 ---------- */
@media only screen and (max-width: 599px) {
  #top #header {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  #top .header-inner {
    height: 100%;
    min-height: 0;
  }

  /* スマホ：ヒーローキャッチをエリア内でflex中央（translateずれ対策） */
  #top .main-copy {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 84px 18px 102px;
    box-sizing: border-box;
    pointer-events: none;
  }

  #top .main-copy .main-copy-stack {
    pointer-events: auto;
    max-width: 100%;
    gap: 10px;
  }

  #top .main-copy-inner {
    font-size: clamp(11px, 3.15vw, 15px);
    line-height: 1.32;
    letter-spacing: 0.08em;
  }

  #top .main-copy .sub {
    font-size: clamp(8px, 2.05vw, 10px);
    letter-spacing: 0.14em;
  }

  .page-visual {
    height: auto;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    padding: 32px 16px 40px;
  }

  .page-visual-ttl {
    padding-bottom: 36px;
  }

  .sub-content > .intro-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0 0 1em;
  }

  .sub-content > .intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .s-point-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .s-point-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ---------- tablet / PC ---------- */
@media only screen and (min-width: 600px) {

  .pc { display: block !important; }
  .sp { display: none !important; }

  .page-visual {
    height: 260px;
  }

  .intro-text {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 40px 48px;
  }

  .intro-text h2 {
    flex: 0 0 320px;
    font-size: 28px;
    margin: 0;
  }

  .intro-text p {
    flex: 1;
  }

  .intro-img img {
    max-height: 420px;
    object-fit: cover;
  }

  .strong-point-sec {
    display: flex;
    margin-bottom: 80px;
  }

  .strong-point-sec > li {
    flex: 1;
    margin: 0;
  }

  .strong-point-sec > li section {
    height: 100%;
  }

  .s-point-text-area {
    padding: 0 28px 48px;
  }

  .s-point-ttl {
    font-size: 24px;
  }

  .footer-gnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    padding: 0 40px;
  }

  .footer-gnav li {
    margin: 0;
  }

  .text-list01 li {
    width: 47%;
    margin-right: 6%;
  }

  .text-list01 li:nth-child(even) {
    margin-right: 0;
  }

  .sub-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 40px 72px;
  }

  #top #header {
    min-height: 720px;
  }

  .header-logo {
    top: 32px;
    left: 32px;
    max-width: 240px;
  }

  .header-logo a {
    font-size: 15px;
  }

  .header-logo .logo-en {
    font-size: 10px;
  }

  .main-copy {
    max-width: min(88vw, 400px);
  }

  .main-copy-inner {
    font-size: 26px;
  }

  .main-copy .sub {
    font-size: 12px;
  }

  .scroll-area {
    left: 36px;
    bottom: 56px;
  }

  .scroll-text {
    font-size: 13px;
    left: -10px;
  }

  .scroll-line {
    height: 80px;
  }

  @keyframes lineMove {
    0%   { bottom: 80px; height: 0; }
    20%  { bottom: 0; height: 80px; }
    40%  { bottom: 0; height: 0; }
    100% { bottom: 0; height: 0; }
  }

  .header-nav-pc {
    position: absolute;
    top: 44px;
    right: 0;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    list-style: none;
    margin: 0;
    z-index: 60;
  }

  .header-nav-pc li {
    position: relative;
    display: inline-block;
    margin-right: 32px;
  }

  .header-nav-pc li:last-child {
    margin-right: 48px;
  }

  .header-nav-pc li a {
    display: inline-block;
    color: #fff;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
  }

  .header-nav-pc li a:hover {
    color: #999;
  }

  .header-nav-pc li a::after {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 0;
    width: 100%;
    height: 1px;
    opacity: 0;
    background-color: #fff;
    transition: opacity 0.3s;
  }

  .header-nav-pc li a:hover::after {
    opacity: 1;
  }

  .header-nav-pc a span {
    display: block;
    font-family: "Overpass", sans-serif;
    font-weight: 700;
    padding-top: 12px;
    opacity: 0.3;
    font-size: 10px;
    letter-spacing: 0.02em;
    line-height: 1;
  }

  .header-contact {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    top: 300px;
    right: 0;
    width: 56px;
    height: 150px;
    padding-top: 36px;
    background-color: #005657;
    z-index: 60;
    transition: background 0.3s;
  }

  .header-contact:hover {
    background-color: #0c6c6d;
  }

  .header-contact span {
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
  }

  .main-credo-btn {
    display: block;
    position: absolute;
    top: 470px;
    right: 0;
    width: 56px;
    height: 150px;
    background: #004041;
    color: #fff;
    z-index: 60;
    text-align: center;
    padding-top: 28px;
    transition: background 0.3s;
  }

  .main-credo-btn:hover {
    background: #005657;
  }

  .main-credo-eng {
    font-family: "Overpass", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    margin: 0 0 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-left: auto;
    margin-right: auto;
  }

  .main-credo-jpn {
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin-left: auto;
    margin-right: auto;
  }

  /* subpage: dark nav */
  body:not(#top) .header-nav-pc {
    border-bottom-color: rgba(0, 0, 0, 0.15);
  }

  body:not(#top) .header-nav-pc li a {
    color: #000;
  }

  body:not(#top) .header-nav-pc li a::after {
    background-color: #005657;
  }

  body:not(#top) .header-nav-pc a span {
    color: #005657;
    opacity: 0.55;
  }

  body:not(#top) .header-contact {
    top: 36px;
    height: 148px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* active nav underline */
  #course .header-nav-pc .gnav01 a::after,
  #gallery .header-nav-pc .gnav02 a::after,
  #studio .header-nav-pc .gnav03 a::after,
  #about .header-nav-pc .gnav04 a::after,
  #philosophy .header-nav-pc .gnav05 a::after,
  #experience .header-nav-pc .gnav06 a::after {
    opacity: 1;
  }
}

@media only screen and (min-width: 1000px) {

  .header-nav-pc li {
    margin-right: 44px;
  }

  .main-copy {
    max-width: min(86vw, 440px);
  }

  .main-copy-inner {
    font-size: 28px;
  }

  .main-copy .sub {
    font-size: 13px;
  }

  .intro-text {
    padding: 80px 60px 64px;
  }
}
