@charset "UTF-8";
svg {
  shape-rendering: geometricPrecision;
}

/* ===== ベース / テーマ標準要素の調整（このCSSはフロントページのみ読み込まれます） ===== */
/* 標準ヒーロー（vegas）を隠す */
.MainVisual {
  display: none !important;
}

/* パンくずを隠す */
#breadcrumbs {
  display: none !important;
}

/* 標準ボタン画像を隠す */
/* #content_wrapper .bootan,
footer .bootan {
  display: none !important;
} */

.np-home,
.np-home * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.np-home {
  --navy: #333367;
  --navy-d: #2a2a57;
  --ink: #333;
  --ink-soft: #555;
  --lav: #f1effb;
  --lav-2: #eceafa;
  --cream: #fbf7ec;
  --line: #e4e1d2;
  --serif: "游明朝","Yu Mincho",YuMincho,"Hiragino Mincho ProN","ヒラギノ明朝 ProN",serif;
  color: var(--ink);
  line-height: 1.9;
  overflow-x: hidden;
}

.np-inner {
  width: 92%;
  max-width: 1040px;
  margin: 0 auto;
}

/* 共通ボタン（ネイビーのピル・矢印アイコンを左に配置） */
.np-btn {
  position: relative;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 220px;
  padding: 15px 34px;
  background: var(--navy);
  color: #fff !important;
  border-radius: 40px;
  text-decoration: none !important;
  font-size: 0.95rem;
  letter-spacing: 1px;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.np-btn::before {
  content: "\f105";
  font-family: FontAwesome;
  font-size: 1rem;
  position: absolute;
  left: 24px;
}
.np-btn:hover {
  opacity: 0.85;
  color: #fff !important;
}

.np-eyebrow {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 0.6em;
  display: block;
}

/* 中央見出し（二本線アクセント） */
.np-cta-title {
  text-align: center;
  font-size: 1.7rem;
  letter-spacing: 4px;
  margin-bottom: 1.6em;
  position: relative;
  padding-bottom: 18px;
}
.np-cta-title::before, .np-cta-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
}
.np-cta-title::before {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 120px;
  background: #c7c9db;
}
.np-cta-title::after {
  left: 50%;
  -webkit-transform: translateX(-60px);
          transform: translateX(-60px);
  width: 60px;
  background: var(--navy);
}

/* =========================================================
   1. HERO
   ========================================================= */
.np-hero {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  color: #1a1a2e;
  background: -webkit-gradient(linear, left top, left bottom, from(#bfe3f5), color-stop(45%, #9fd0ee), to(#cfe6f2));
  background: -webkit-linear-gradient(top, #bfe3f5 0%, #9fd0ee 45%, #cfe6f2 100%);
  background: linear-gradient(180deg, #bfe3f5 0%, #9fd0ee 45%, #cfe6f2 100%);
  background-image: url("/wp/wp-content/themes/nihon/img/top/img_home_mv.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.np-hero__copy {
  width: 92%;
  max-width: 1040px;
  margin: 10% auto 0;
}

.np-hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin: 0 0 0.5em;
  color: #17182b;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.55);
}

.np-hero__lead {
  font-family: var(--serif);
  color: #2c2d44;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.6);
}

/* =========================================================
   2. ABOUT（日本開発の現在地）縦書き
   ========================================================= */
.np-about {
  background: var(--lav);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.np-about::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 46%;
  height: 240px;
  background: url("/wp/wp-content/themes/nihon/img/top/skyline.png") right bottom/contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.np-about__inner {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 40px;
  padding-bottom: 48px;
  max-width: 1000px;
  margin: auto;
}
.np-about__inner::before {
  content: "";
  display: block;
  width: 388px;
  height: 220px;
  background: url("/wp/wp-content/themes/nihon/img/top/bg_home_intro.png") center/contain no-repeat;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.np-about__photos {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 310px;
}
.np-about__photos img {
  width: 310px;
}

.np-about__text {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 34px;
}

.np-about__title {
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
}

.np-about__body {
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  margin-top: 40px;
  max-height: 300px;
  font-size: 1rem;
  color: var(--ink);
}
.np-about__body p {
  margin: 0;
}

.np-about__btn {
  text-align: center;
  margin-top: 8px;
  position: relative;
  z-index: 2;
}

/* =========================================================
   3. SERVICE 01（賃貸事業）
   ========================================================= */
.np-service {
  padding: 90px 0;
  background: #fff;
}

.np-service__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 60px;
}

.np-service__body {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 44%;
      -ms-flex: 1 1 44%;
          flex: 1 1 44%;
}

.np-service__media {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 56%;
      -ms-flex: 1 1 56%;
          flex: 1 1 56%;
}
.np-service__media img {
  width: 100%;
  border-radius: 4px;
  -webkit-box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
          box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.np-service__title {
  font-size: 2.3rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin: 0 0 0.5em;
  color: #222;
}

.np-service__desc {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.8em;
}

/* =========================================================
   4. SERVICE 02（宿泊施設事業）
   ========================================================= */
.np-service02 {
  position: relative;
  width: 100%;
  color: #222;
  padding: 188px 0;
  overflow: hidden;
}
.np-service02::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp/wp-content/themes/nihon/img/top/img_home_service_accommodation.jpg") center 35%/cover no-repeat;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transform-origin: center 35%;
          transform-origin: center 35%;
  -webkit-transition: -webkit-transform 15s ease-out;
  transition: -webkit-transform 15s ease-out;
  transition: transform 15s ease-out;
  transition: transform 15s ease-out, -webkit-transform 15s ease-out;
  will-change: transform;
}
.np-service02.is-zooming::before {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .np-service02::before,
  .np-service02.is-zooming::before {
    -webkit-transform: none;
            transform: none;
    -webkit-transition: none;
    transition: none;
  }
}
.np-service02__inner {
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: 1040px;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.np-service02__card {
  --np-bleed: calc((100vw - 100%) / 2);
  -webkit-box-flex: 0;
  -webkit-flex: none;
      -ms-flex: none;
          flex: none;
  width: calc(500px + var(--np-bleed));
  margin-right: calc(var(--np-bleed) * -1);
  padding: 46px max(48px, var(--np-bleed) - 48px) 46px 48px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.np-service02__title {
  font-size: 2.1rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin: 0 0 0.55em;
  color: #1f1f2e;
}

.np-service02__desc {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 1.6em;
}

/* =========================================================
   5. MAP（全国の宿泊施設）
   ========================================================= */
.np-map {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(90%, var(--lav)), to(var(--cream)));
  background: -webkit-linear-gradient(top, var(--lav) 90%, var(--cream) 100%);
  background: linear-gradient(180deg, var(--lav) 90%, var(--cream) 100%);
  padding: 90px 0 100px;
}

.np-map__grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.np-map__list {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.np-loc {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 16px 20px;
  -webkit-box-shadow: 0 6px 18px rgba(51, 51, 103, 0.08);
          box-shadow: 0 6px 18px rgba(51, 51, 103, 0.08);
}

.np-loc__pref {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1rem;
}
.np-loc__pref::before {
  content: "\f041";
  font-family: FontAwesome;
  color: #d94b3b;
}

.np-loc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.np-loc li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.8;
  padding-left: 1em;
  position: relative;
}
.np-loc li::before {
  content: "・";
  position: absolute;
  left: -2px;
  color: #b9b7cf;
}

.np-loc--wide {
  grid-column: 1/-1;
}

/* =========================================================
   6. MEMORY（セルテと歩んだ半世紀）＋ギャラリー
   ========================================================= */
.np-memory {
  background: var(--cream);
  padding: 80px 0 60px;
}

.np-memory__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 50px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.np-memory__bootan {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 376px;
      -ms-flex: 0 0 376px;
          flex: 0 0 376px;
}
.np-memory__bootan .np-bootan {
  width: 376px;
  max-width: 100%;
  aspect-ratio: 1/1;
  background: url("/wp/wp-content/themes/nihon/img/top/img_bootan_mosaic.png") center/contain no-repeat;
}

.np-memory__text {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.np-memory__title {
  line-height: 1.3;
  font-size: 2rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.8em;
  color: #2a2a3a;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
}
.np-memory__title .foot {
  color: #b98a4b;
  font-size: 1.4rem;
}

.np-memory__desc {
  font-size: 1rem;
  color: var(--ink-soft);
}

.np-gallery {
  margin-top: 40px;
  overflow: hidden;
}

.np-gallery__row + .np-gallery__row {
  margin-top: 6px;
}
.np-gallery__row img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}

.np-gallery__row:not(.is-initialized) .splide__list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}

.np-gallery__row:not(.is-initialized) .splide__slide {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 20%;
      -ms-flex: 0 0 20%;
          flex: 0 0 20%;
}

/* =========================================================
   7. HISTORY（セルテの歩み）
   ========================================================= */
.np-history {
  background: var(--cream);
  padding: 80px 0 90px;
}

.np-history__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
}

.np-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  -webkit-box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
          box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.np-card__tag {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 8px;
  border-radius: 30px;
  margin: -34px auto 16px;
  width: 78%;
  -webkit-box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.np-card__photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.np-card__photo > img {
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.np-card__year {
  position: absolute;
  left: 16px;
  top: 24px;
}
.np-card__year img {
  -webkit-filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.5));
          filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.5));
}

.np-card__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.85;
  padding: 0 4px 6px;
}

.np-card--navy .np-card__tag {
  background: #333367;
}

.np-card--teal .np-card__tag {
  background: #26a99a;
}

.np-card--orange .np-card__tag {
  background: #ef9d24;
}

.np-card--pink .np-card__tag {
  background: #e85fa0;
}

.np-card--purple .np-card__tag {
  background: #8a4fbf;
}

.np-card--green .np-card__tag {
  background: #8bc34a;
}

.np-history__btn {
  text-align: center;
  margin-top: 50px;
}

.np-thanks {
  text-align: center;
  margin-top: 80px;
}
.np-thanks p {
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #555;
  margin-bottom: 10px;
}

/* =========================================================
   8. CONTACT
   ========================================================= */
.np-contact {
  position: relative;
  padding: 70px 0;
  background: #1c2440;
  background-image: url("/wp/wp-content/themes/nihon/img/top/bg_home_contact.jpg");
  background-size: cover;
  background-position: center;
}

.np-contact__card {
  width: 92%;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  padding: 46px 20px 52px;
}

.np-contact__desc {
  margin-bottom: 1.8em;
  letter-spacing: 1px;
}

/* =========================================================
   レスポンシブ（テーマは端末で viewport=640 固定 → 640px がSP断点）
   ========================================================= */
@media (max-width: 960px) {
  .np-map__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .np-hero {
    min-height: 700px;
    background-image: url("/wp/wp-content/themes/nihon/img/top/img_home_mv_sp.jpg");
    background-position: bottom;
  }
  .np-hero__title {
    font-size: 2.75rem;
    margin-bottom: 0.25em;
  }
  .np-hero__lead {
    font-size: 1.6rem;
  }
  .np-about {
    padding: 128px 0 70px;
  }
  .np-about__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 56px;
  }
  .np-about::after {
    width: 90%;
    height: 160px;
    opacity: 0.35;
  }
  .np-about__photos {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 10px;
  }
  /* SPは横書きに切替 */
  .np-about__text {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .np-about__title {
    -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
            writing-mode: horizontal-tb;
    font-size: 3rem;
    text-align: center;
    letter-spacing: 0.18em;
  }
  .np-about__body {
    -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
            writing-mode: horizontal-tb;
    max-height: none;
    text-align: justify;
    width: 92%;
    margin: 0 auto;
    text-wrap: pretty;
  }
  .np-service {
    padding: 60px 0 96px;
  }
  .np-service__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 28px;
  }
  .np-service__title {
    font-size: 3rem;
  }
  .np-service02 {
    padding: 80% 0 60px;
    -webkit-clip-path: none;
            clip-path: none;
  }
  .np-service02__inner {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-left: auto;
    margin-right: 0;
  }
  /* SPは中央寄せなので、右への伸ばしは解除して素直に横幅いっぱい */
  .np-service02__card {
    width: 100%;
    margin-right: 0;
    padding: 36px;
  }
  .np-service02__title {
    font-size: 2.7rem;
  }
  .np-map {
    padding: 60px 0 96px;
  }
  .np-map__grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 48px;
  }
  /* SPは地図画像の下にテキスト一覧を表示（画像の施設名は小さくて読めないため） */
  .np-map__list {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .np-memory {
    padding: 56px 0 40px;
  }
  .np-memory__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 26px;
    text-align: center;
  }
  .np-memory__pig {
    -webkit-flex-basis: auto;
        -ms-flex-preferred-size: auto;
            flex-basis: auto;
  }
  .np-memory__pig .np-pig {
    width: 260px;
  }
  .np-memory__title {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 2.55rem;
  }
  .np-memory__title .foot {
    width: 75px;
  }
  .np-memory__desc {
    text-align: justify;
    text-wrap: pretty;
  }
  /* SPの表示枚数は Splide 側の breakpoints（footer.php）で切り替え */
  .np-gallery__row:not(.is-initialized) .splide__slide {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
  }
  .np-history {
    padding: 56px 0 70px;
  }
  .np-history__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .np-card__tag {
    width: 70%;
  }
  .np-card__year {
    width: 180px;
  }
  .np-thanks img {
    max-width: 200px;
  }
  .np-cta-title {
    font-size: 2.25rem;
  }
  .np-contact {
    padding: 50px 0;
  }
  .np-contact__desc {
    word-break: auto-phrase;
  }
  .np-btn {
    font-size: 1.5rem;
  }
  .np-eyebrow {
    font-size: 1.7rem;
  }
  .np-about__body {
    font-size: 1.6rem;
  }
  .np-service__desc {
    font-size: 1.6rem;
  }
  .np-service02__desc {
    font-size: 1.55rem;
  }
  .np-loc__pref {
    font-size: 1.5rem;
  }
  .np-loc li {
    font-size: 1.35rem;
  }
  .np-memory__desc {
    font-size: 1.6rem;
  }
  .np-card__tag {
    font-size: 1.5rem;
  }
  .np-card__desc {
    font-size: 1.6rem;
  }
  .np-thanks p {
    font-size: 1.85rem;
  }
}
