/* ===============================
  Design Tokens
  =============================== */

:root {
  /* Prima Gakki official color system */
  --prm-navy:    #18415b;  /* メイン見出し・ボタンなど */
  --prm-gold:    #876d4a;  /* サブ見出し・ライン・タイムライン */
  --prm-ivory:   #faf7f2;  /* やわらかい背景用 */
  --prm-gray:    #e5e5e5;  /* 枠線・区切り線など */
  --prm-text:    #3e3e3e;  /* 本文 */
  --prm-subtext: #666666;  /* 注釈・キャプション */
  --prm-alert:   #c53f3f;  /* NEWマークなど、ごく一部だけ */
}



/* ===============================
  Base / Reset
  =============================== */

html {
  height: 100%;
}

body {
  margin: 0;
  min-width: 1000px;
  height: 100%;
  text-align: left;
  font-family: "montserrat", "source-han-sans-japanese", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  font-style: normal;
  line-height: 170%;
  color: var(--prm-text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

p {
  margin-right: 8px;
}

a {
  color: #827a73;
  text-decoration: underline;
}

a:hover {
  color: #d7b4a3;
  text-decoration: underline;
}



/* ===============================
  Header
  =============================== */

header {
  height: 7.4em;
  background-color: #fff;
  margin: 0 auto;
}

.header_box {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.4em;
  width: auto;
  background-color: #002645;
}

.header_box a {
  line-height: 1;
}

.header_box .box_imageRight {
  position: absolute;
  right: 1em;
  margin-top: 0.3em;
  font-size: 11px;
  color: #fff;
  text-decoration: none;
}

.header_box .box_imageRight a {
  color: #fff;
  text-decoration: underline;
}

.header_box .box_imageRight a:hover {
  color: #ccc;
  text-decoration: underline;
}

.header_box2 {
  position: relative;
  display: flex;
  width: 1000px;
  height: 5em;
  margin: 0 auto;
}

.header_box2 .box_imageLeft {
  position: absolute;
  margin: 1.5em 0 0 1px;
}

.header_box2 .box_Right {
  position: absolute;
  margin: 2.1em 0 0 848px;
  text-align: right;
}

.header_box3 {
  position: relative;
  height: 1px;
  border-bottom: 1px solid #eee;
}

/* PC default: hide the mobile header text */
.header_sp {
  display: none;
}



/* ===============================
  Footer
  =============================== */

footer {
  height: 3.5em;
  background-color: #002645;
  margin: 0 auto;
}

.footer_box {
  position: relative;
  background-color: #002645;
}

.footer_box .box_imageRight {
  font-family: "p22-underground", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 11px;
  color: #fff;
  position: absolute;
  right: 1em;
  margin: 1.2em;
}



/* ===============================
  Main Container
  =============================== */

.container {
  display: flex;
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}



/* ===============================
  Navigation
  =============================== */

#left-nav a.is-current { font-weight: 700; }

nav {
  width: 250px;
  margin: 10px 0 0 0;
  background: #f7f7f7;
}

.bg_white {
  background: #fff;
}

/* Navigation Title Button */

.navi_title {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: 248px;
  height: 48px;
  margin: 0 0 5px 0;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: all .2s;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
  line-height: 46px;
  text-align: left;
  color: #8a6d4d;
}

.navi_title:hover {
  background-color: #8a6d4d;
  border-color: #8a6d4d;
  color: #fff;
  text-decoration: none;
}

.navi_title a:hover {
  color: #fff;
  text-decoration: none;
}

.navi_title span {
  position: absolute;
  left: 15px;
  top: 52.5% !important;
  transform: translate(0, -50%);
  display: block;
  white-space: nowrap;
  transition: all .5s;
}

.navi_title span:nth-child(2) {
  opacity: 0;
}

.navi_title:hover span:nth-child(1) {
  opacity: 0;
}

.navi_title:hover span:nth-child(2) {
  opacity: 1;
}



/* ===============================
  SNS
  =============================== */

.navi_sns {
  width: 226px;
  padding: 10px;
  margin: 1px 1px 6px 1px;
  background: #fff;
  border: solid 1px #876d4a;
  border-radius: 3px;
  font-weight: 500;
  color: #876d4a;
}

.navi_sns p {
  margin: 0;
  padding: 0;
}

.stripe {
  background: repeating-linear-gradient(
    -45deg,
    #ede4de,
    #ede4de 5px,
    #ecdac9 5px,
    #ecdac9 10px
  );
}

.box_sns {
  display: grid;
  grid-template-columns: 50px 50px 50px 50px;
  grid-template-rows: 40px 50px;
  margin: 0;
  gap: 10px 5px;
  padding: 0 10px;
  font-weight: 700;
}

.box_sns1 {
  grid-column: 1 / 5;
  align-self: center;
  justify-self: center;
  text-align: center;
  font-weight: 500;
  margin-left: -7px;
}

.box_sns2,
.box_sns3,
.box_sns4,
.box_sns5 {
  align-self: center;
  justify-self: center;
}



/* SNS Icons */

.follow-me {
  list-style: none;
  margin: 0 0 -8px;
  padding: 0;
  overflow: hidden;
}

.follow-me li {
  float: left;
  margin: 0 8px 8px 0;
  padding: 0;
}

.follow-me li a::before {
  display: inline-block;
  width: 46px;
  height: 46px;
  line-height: 49px;
  text-align: center;
  border-style: solid;
  border-width: 1px;
  border-radius: 50%;
  color: #fff;
  transition: all .3s ease;
  font-family: "Font Awesome 6 Brands";
  font-size: 18px;
}

.follow-me li a[href*="twitter.com"]::before {
  background-color: #000;
  border-color: #000;
  content: "\e61b";
}

.follow-me li a[href*="facebook.com"]::before {
  background-color: #1877f2;
  border-color: #1877f2;
  content: "\f39e";
}

.follow-me li a[href*="instagram.com"]::before {
  background: linear-gradient(
    to right,
    #5478f2 0%,
    #f23f79 60%,
    orange 100%
  );
  border-color: #f23f79;
  content: "\f16d";
}

.follow-me li a[href*="youtube.com"]::before {
  background-color: #ff0000;
  border-color: #ff0000;
  content: "\f167";
}

.follow-me li a:hover::before {
  background-color: #fff;
}

.follow-me li a[href*="twitter.com"]:hover::before {
  color: #000;
}

.follow-me li a[href*="facebook.com"]:hover::before {
  color: #1877f2;
}

.follow-me li a[href*="instagram.com"]:hover::before {
  color: #f23f79;
}

.follow-me li a[href*="youtube.com"]:hover::before {
  color: #ff0000;
}



/* ===============================
  Main
  =============================== */

main {
  width: 740px;
  flex: 1;
  margin: 0 0 0 10px;
  background-color: #fff;
}

.navilink_i {
  display: flex;
  align-items: center;
  justify-content: left;
  width: 724px;
  height: 23px;
  padding: 9px 8px 7px 8px;
  margin: 11px 0 23px 0;
  background-color: #f5f5f5;
  border: 1px solid #dcdcdc;
  border-left: none;
  border-right: none;
}

.navilink_i i {
  line-height: 1;
  margin-top: 1px;
}

.navilink_i i.fa-house {
  vertical-align: middle;
  position: relative;
  top: -1px;
}



/* ===============================
  Title Bar
  =============================== */

.box_mds {
  width: 724px;
  margin: 0;
  padding: 6px 8px 3px 8px;
  border-bottom: 1px solid #876d4a;
}

.box_mds p {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45 !important;
  color: #876d4a;
  margin: 0;
  padding: 0;
  position: relative;
  top: 1px;
}

.box_mds_s {
  width: 195px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #876d4a;
  top: 1px;
}

.box_mds_s p {
  font-weight: 600;
  font-size: 18px;
  color: #876d4a;
  margin: 0;
  padding: 0;
}



/* ===============================
  Typography Helpers
  =============================== */

.mds_jp {
  font-weight: 500;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

.mds_jpw {
  font-weight: 500;
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
}

.mds_en {
  font-weight: 700;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

.fpx12lb {
  font-weight: 500;
  font-size: 12px;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

.fpx12 {
  font-weight: 400;
  font-size: 12px;
}

.fpx12b {
  font-weight: 600;
  font-size: 12px;
}

.fpx13 {
  font-weight: 400;
  font-size: 13px;
}

.fpx13b {
  font-weight: 500;
  font-size: 13px;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
}

.fpx14 {
  font-weight: 400;
  font-size: 14px;
}

.fpx14b {
  font-weight: 600;
  font-size: 14px;
}

.fpx16 {
  font-weight: 400;
  font-size: 16px;
}

.fpx16b {
  font-weight: 500;
  font-size: 16px;
}

.fpx18 {
  font-weight: 400;
  font-size: 18px;
}

.fpx18b {
  font-weight: 500;
  font-size: 18px;
}

.fpx20 {
  font-weight: 400;
  font-size: 20px;
}

.fpx24 {
  font-weight: 400;
  font-size: 24px;
}

.fpx28 {
  font-weight: 400;
  font-size: 28px;
}

.fpx30 {
  font-weight: 600;
  font-size: 30px;
}

.fpx40_en {
  font-weight: 600;
  font-size: 40px;
}

.fpx8 { font-size: 8px; }
.fpx9 { font-size: 9px; }
.fpx10 { font-size: 10px; }
.fpx11 { font-size: 11px; }

.fpx6_sup {
  font-size: 6px;
  font-weight: normal;
  vertical-align: top;
}

.fpx8_sup {
  font-size: 8px;
  font-weight: normal;
  vertical-align: top;
}

.fpx10_red {
  font-size: 10px;
  font-weight: bold;
  color: #f05c45;
  vertical-align: top;
}

.fpx10b_red {
  font-size: 10px;
  font-weight: normal;
  font-style: italic;
  color: #f05c45;
  vertical-align: top;
}



/* ===============================
  Utilities
  =============================== */

/* reveal animation utilities */
.load-fade,
.scroll-up {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.load-fade { transform: none; }
.scroll-up { transform: translateY(16px); }

.load-fade.is-show,
.scroll-up.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .load-fade,
  .scroll-up {
    transition: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}



/* ===============================
  Colors
  =============================== */

.clr_white { color: #fff; }
.red, .clr_red { color: #d53a3e; }
.gold, .clr_gold { color: #876d4a; }
.grey, .clr_grey { color: #827a73; }
.fb-grey { color: #888f9d; }
.fb-blue { color: #1877f2; }
.tw-blue { color: #1da1f2; }
.tw-bk { color: #000; }
.ig-mlt {
  color: #ff8c00;
  background: -webkit-linear-gradient(
    45deg,
    rgba(254,212,117,1) 0%,
    rgba(229,61,93,1) 50%,
    rgba(194,49,134,1) 70%,
    rgba(156,56,187,1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.yt-red { color: #ff0000; }



/* ===============================
  Spacers
  =============================== */

.top0 { margin-top: 0; }
.top5 { margin-top: 5px; }
.top7 { margin-top: 7px; }
.top10 { margin-top: 10px; }
.top15 { margin-top: 15px; }
.top17 { margin-top: 17px; }
.top20 { margin-top: 20px; }
.top22 { margin-top: 22px; }
.top23 { margin-top: 23px; }
.top30 { margin-top: 30px; }
.top45 { margin-top: 45px; }
.top60 { margin-top: 60px; }
.top90 { margin-top: 90px; }
.top120 { margin-top: 120px; }
.top150 { margin-top: 150px; }
.top180 { margin-top: 180px; }
.top200 { margin-top: 200px; }
.top210 { margin-top: 210px; }
.top240 { margin-top: 240px; }
.ml8 { margin-left: 8px; }
.ml10 { margin-left: 10px; }
.ml16 { margin-left: 16px; }
.mr8 { margin-right: 8px; }
.mr10 { margin-right: 10px; }
.mr16 { margin-right: 16px; }



/* ===============================
  Share Button
  =============================== */

.sharebutton {
  text-align: left;
}

.sharebutton_h50 {
  height: 50px;
  margin-left: 10px;
  text-align: left;
}

.sharebutton_clm {
  display: grid;
  grid-template-columns: 460px 80px 180px;
  grid-template-rows: 490px 360px;
  margin-top: 20px;
  gap: 20px;
  text-align: left;
  height: 50px;
}


/* ===============================
  Page Top Button
  =============================== */

#page_top {
  position: fixed;
  right: 5px;
  bottom: 45px;
  width: 45px;
  height: 45px;
  background: #b2916e;
  opacity: 0.6;
  border-radius: 50%;
  z-index: 9999;
}

#page_top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

#page_top a::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 20px;
  color: #fff;
  content: "\f102";
}



/* ===============================
  Last Update
  =============================== */

.update {
  font-weight: 300;
  font-size: 12px;
  line-height: 170%;
  text-align: right;
  font-feature-settings: "palt";
}

.lastud {
  font-weight: 300;
  font-size: 11px;
  line-height: 170%;
}









