@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* =====================================
   BEYOND NIPPON
   NEW HOME DESIGN
===================================== */

:root {
  --bn-bg: #f7f5f0;
  --bn-white: #ffffff;
  --bn-text: #1c1c1a;
  --bn-muted: #716e67;
  --bn-accent: #c64d2d;
  --bn-border: #e2ded6;

  --bn-serif: "DM Serif Display", Georgia, serif;
  --bn-sans: "Inter", Arial, sans-serif;

  --bn-width: 1280px;
}


/* BASE */

.bn-home {
  background: var(--bn-bg);
  color: var(--bn-text);
  font-family: var(--bn-sans);
}

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

.bn-home a {
  text-decoration: none;
  color: inherit;
}

.bn-section {
  max-width: var(--bn-width);
  margin: 0 auto;
  padding: 88px 32px 0;
}


/* HEADINGS */

.bn-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.bn-section-heading h2 {
  margin: 0;
  font-family: var(--bn-serif);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.bn-section-heading a {
  font-size: 13px;
  font-weight: 600;
}


/* HERO */

.bn-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;

  background:
    url("/wp-content/uploads/beyond-nippon-hero.webp")
    center 52% / cover no-repeat;

  color: white;
}

.bn-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.68) 0%,
      rgba(0,0,0,.40) 44%,
      rgba(0,0,0,.08) 76%
    );
}

.bn-hero-inner {
  position: relative;
  z-index: 2;

  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.bn-eyebrow {
  margin: 0 0 18px;

  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
}

.bn-hero h1 {
  max-width: 730px;

  margin: 0;

  font-family: var(--bn-serif);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 400;
  line-height: .98;
}

.bn-hero-description {
  max-width: 510px;

  margin: 28px 0 34px;

  font-size: 18px;
  line-height: 1.75;
}

.bn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 30px;

  background: var(--bn-accent);
  color: white !important;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;

  transition: .25s ease;
}

.bn-button:hover {
  transform: translateY(-2px);
  opacity: .93;
}


/* FEATURED */

.bn-featured-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, .8fr);

  grid-template-rows:
    240px 240px;

  gap: 16px;
}

.bn-feature-card {
  position: relative;

  min-height: 240px;

  overflow: hidden;

  background-size: cover;
  background-position: center;

  color: white !important;
}

.bn-featured-main {
  grid-row: 1 / 3;
}

.bn-card-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0,0,0,.72),
      rgba(0,0,0,.06) 70%
    );
}

.bn-card-content {
  position: absolute;
  z-index: 2;

  left: 30px;
  right: 30px;
  bottom: 28px;
}

.bn-card-label,
.bn-latest-category {
  color: var(--bn-accent);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.bn-feature-card .bn-card-label {
  color: white;
}

.bn-card-content h3 {
  max-width: 540px;

  margin: 10px 0 18px;

  font-family: var(--bn-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
}

.bn-featured-main h3 {
  font-size: clamp(38px, 4vw, 58px);
}

.bn-readmore {
  font-size: 10px;
  letter-spacing: .12em;
}


/* DESTINATIONS */

.bn-destination-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.bn-destination-card {
  position: relative;

  min-height: 295px;

  overflow: hidden;

  background-position: center;
  background-size: cover;

  color: white !important;
}

.bn-destination-content {
  position: absolute;

  z-index: 2;

  bottom: 20px;
  left: 18px;
  right: 16px;
}

.bn-destination-content h3 {
  margin: 0 0 5px;

  font-family: var(--bn-serif);
  font-size: 25px;
  font-weight: 400;
}

.bn-destination-content p {
  margin: 0;

  font-size: 11px;
  line-height: 1.45;
}


/* FIND YOUR JAPAN */

.bn-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--bn-border);
}

.bn-topic-grid > a {
  display: grid;

  grid-template-columns:
    34px minmax(0,1fr) auto;

  gap: 14px;

  padding: 26px 18px 26px 0;

  border-bottom:
    1px solid var(--bn-border);

  transition: .2s ease;
}

.bn-topic-grid > a:hover {
  padding-left: 8px;
}

.bn-topic-grid span {
  color: var(--bn-accent);

  font-size: 11px;
  font-weight: 800;
}

.bn-topic-grid h3 {
  margin: 0 0 5px;

  font-family: var(--bn-serif);
  font-size: 22px;
  font-weight: 400;
}

.bn-topic-grid p {
  margin: 0;

  color: var(--bn-muted);

  font-size: 12px;
}


/* LATEST */

.bn-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.bn-latest-image {
  aspect-ratio: 1.45;
  overflow: hidden;
  background: #ddd;
}

.bn-latest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform .4s ease;
}

.bn-latest-card:hover img {
  transform: scale(1.035);
}

.bn-latest-content {
  padding-top: 15px;
}

.bn-latest-content h3 {
  margin: 8px 0;

  font-family: var(--bn-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.22;
}

.bn-latest-content p {
  margin: 0;

  color: var(--bn-muted);

  font-size: 12px;
  line-height: 1.65;
}


/* BRAND CTA */

.bn-brand-cta {
  max-width: 1280px;

  margin: 100px auto 0;

  padding: 85px 70px;

  background: #201f1c;
  color: white;
}

.bn-brand-cta > div {
  max-width: 650px;
}

.bn-brand-cta h2 {
  margin: 0 0 20px;

  font-family: var(--bn-serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
}

.bn-brand-cta p:not(.bn-eyebrow) {
  max-width: 520px;

  font-size: 16px;
  line-height: 1.7;

  color: #d5d2ca;
}

.bn-text-link {
  display: inline-block;

  margin-top: 18px;

  color: white !important;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}


/* TABLET */

@media (max-width: 1024px) {

  .bn-destination-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bn-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* MOBILE */

@media (max-width: 767px) {

  .bn-section {
    padding:
      56px 20px 0;
  }

  .bn-section-heading {
    margin-bottom: 20px;
  }

  .bn-section-heading h2 {
    font-size: 30px;
  }


  /* HERO */

  .bn-hero {
    min-height: 570px;

    align-items: flex-end;

    background-position: center;
  }

  .bn-hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(0,0,0,.76) 0%,
        rgba(0,0,0,.28) 85%
      );
  }

  .bn-hero-inner {
    width: 100%;

    padding:
      0 24px 54px;
  }

  .bn-hero h1 {
    font-size: 53px;
    line-height: .97;
  }

  .bn-hero-description {
    margin:
      19px 0 25px;

    font-size: 15px;
    line-height: 1.65;
  }


  /* FEATURED */

  .bn-featured-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;

    gap: 10px;
  }

  .bn-featured-main {
    grid-column: 1 / 3;
    grid-row: auto;

    min-height: 360px;
  }

  .bn-featured-small {
    min-height: 210px;
  }

  .bn-card-content {
    left: 17px;
    right: 17px;
    bottom: 17px;
  }

  .bn-featured-main h3 {
    font-size: 36px;
  }

  .bn-featured-small h3 {
    font-size: 22px;
  }

  .bn-readmore {
    display: none;
  }


  /* DESTINATIONS */

  .bn-destination-grid {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 10px;
  }

  .bn-destination-card {
    min-height: 205px;
  }

  .bn-destination-content {
    left: 14px;
    bottom: 14px;
  }

  .bn-destination-content h3 {
    font-size: 23px;
  }


  /* FIND */

  .bn-topic-grid {
    grid-template-columns: 1fr;
  }

  .bn-topic-grid > a {
    padding: 18px 4px;
  }


  /* LATEST */

  .bn-latest-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .bn-latest-card > a {
    display: grid;

    grid-template-columns:
      38% minmax(0, 1fr);

    gap: 15px;

    padding: 15px 0;

    border-bottom:
      1px solid var(--bn-border);
  }

  .bn-latest-image {
    aspect-ratio: 1.15;
  }

  .bn-latest-content {
    padding: 0;
  }

  .bn-latest-content h3 {
    margin: 4px 0;

    font-size: 19px;
  }

  .bn-latest-content p {
    display: none;
  }


  /* CTA */

  .bn-brand-cta {
    margin-top: 65px;

    padding:
      65px 24px;
  }

  .bn-brand-cta h2 {
    font-size: 42px;
  }

}

.home .breadcrumb,
.home .sidebar,
.home .entry-title,
.home .date-tags,
.home .sns-share,
.home .sns-follow {
  display: none !important;
}

.home #main {
  width: 100%;
  padding: 0;
  margin: 0;
}

.home .main {
  width: 100%;
}

.home .content {
  margin: 0;
}

.home .wrap {
  width: 100%;
  max-width: none;
}

/* =====================================
   BN HEADER
===================================== */

.bn-header {
  position: relative;
  z-index: 1000;

  width: 100%;
  height: 82px;

  background: #fff;

  border-bottom: 1px solid #ece9e2;
}

.bn-header-inner {
  max-width: 1380px;
  height: 100%;

  margin: 0 auto;
  padding: 0 32px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}


/* LOGO */

.bn-logo {
  display: flex;
  flex-direction: column;

  min-width: 230px;

  color: #1c1c1a !important;
}

.bn-logo-main {
  font-family: "DM Serif Display", Georgia, serif;

  font-size: 24px;
  line-height: 1;

  letter-spacing: -.02em;
}

.bn-dot {
  color: #c64d2d;
}

.bn-logo-sub {
  margin-top: 5px;

  font-family: "Inter", sans-serif;

  font-size: 8px;
  color: #77736d;
}


/* DESKTOP NAV */

.bn-desktop-nav {
  display: flex;
  align-items: center;

  gap: clamp(20px, 2.6vw, 42px);

  margin-left: auto;
}

.bn-desktop-nav a {
  position: relative;

  color: #1c1c1a !important;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.bn-desktop-nav a::after {
  content: "";

  position: absolute;

  bottom: -8px;
  left: 0;

  width: 0;
  height: 1px;

  background: #c64d2d;

  transition: width .25s ease;
}

.bn-desktop-nav a:hover::after {
  width: 100%;
}


/* HEADER BUTTONS */

.bn-header-actions {
  display: flex;
  align-items: center;

  gap: 22px;
}

.bn-search-toggle,
.bn-menu-toggle {
  appearance: none;

  border: 0;
  background: transparent;

  padding: 0;

  cursor: pointer;
}


/* SEARCH ICON */

.bn-search-toggle {
  width: 22px;
  height: 22px;

  position: relative;
}

.bn-search-toggle::before {
  content: "";

  position: absolute;

  left: 2px;
  top: 2px;

  width: 12px;
  height: 12px;

  border: 1.5px solid #1c1c1a;
  border-radius: 50%;
}

.bn-search-toggle::after {
  content: "";

  position: absolute;

  width: 7px;
  height: 1.5px;

  background: #1c1c1a;

  transform: rotate(45deg);

  right: 2px;
  bottom: 4px;
}


/* MENU ICON */

.bn-menu-toggle {
  width: 24px;
  height: 18px;

  position: relative;
}

.bn-menu-toggle span {
  display: block;

  position: absolute;
  left: 0;

  width: 24px;
  height: 1.5px;

  background: #1c1c1a;

  transition:
    transform .3s ease,
    top .3s ease;
}

.bn-menu-toggle span:first-child {
  top: 4px;
}

.bn-menu-toggle span:last-child {
  top: 13px;
}

.bn-menu-toggle.is-open span:first-child {
  top: 9px;
  transform: rotate(45deg);
}

.bn-menu-toggle.is-open span:last-child {
  top: 9px;
  transform: rotate(-45deg);
}


/* SEARCH OVERLAY */

.bn-search-panel {
  position: fixed;
  z-index: 2000;

  inset: 0;

  background: rgba(247,245,240,.98);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: .25s ease;
}

.bn-search-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.bn-search-inner {
  width: min(760px, calc(100% - 48px));
}

.bn-search-inner > p {
  margin-bottom: 25px;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .16em;

  color: #c64d2d;
}

.bn-search-inner form {
  display: flex;

  border-bottom: 1px solid #1c1c1a;
}

.bn-search-inner input {
  flex: 1;

  border: 0;
  background: transparent;

  padding: 12px 0 20px;

  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(28px,5vw,52px);

  outline: none;
}

.bn-search-inner button {
  border: 0;
  background: transparent;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .12em;
}

.bn-search-close {
  position: absolute;

  top: 30px;
  right: 40px;

  border: 0;
  background: transparent;

  font-size: 38px;
  font-weight: 300;

  cursor: pointer;
}


/* MOBILE MENU */

.bn-mobile-menu {
  display: none;
}


/* MOBILE */

@media (max-width: 900px) {

  .bn-header {
    height: 72px;
  }

  .bn-header-inner {
    padding: 0 20px;
  }

  .bn-desktop-nav {
    display: none;
  }

  .bn-logo {
    min-width: 0;
  }

  .bn-logo-main {
    font-size: 21px;
  }

  .bn-logo-sub {
    font-size: 7px;
  }

  .bn-header-actions {
    gap: 18px;
  }


  .bn-mobile-menu {
    display: block;

    position: fixed;
    z-index: 900;

    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;

    background: #f7f5f0;

    overflow-y: auto;

    transform: translateX(100%);

    transition: transform .35s ease;
  }

  .bn-mobile-menu.is-open {
    transform: translateX(0);
  }

  .bn-mobile-menu-inner {
    padding: 40px 24px 50px;
  }

  .bn-mobile-primary {
    border-top: 1px solid #dcd8cf;
  }

  .bn-mobile-primary a {
    display: grid;

    grid-template-columns: 38px 1fr;

    align-items: center;

    padding: 22px 0;

    border-bottom: 1px solid #dcd8cf;

    font-family: "DM Serif Display", Georgia, serif;

    font-size: 30px;

    color: #1c1c1a !important;
  }

  .bn-mobile-primary span {
    font-family: "Inter", sans-serif;

    font-size: 10px;
    font-weight: 700;

    color: #c64d2d;
  }

  .bn-mobile-secondary {
    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    margin-top: 35px;
  }

  .bn-mobile-secondary a {
    font-size: 12px;
  }

  .bn-mobile-tagline {
    margin-top: 55px;

    font-family: "DM Serif Display", Georgia, serif;

    font-size: 34px;
    line-height: 1.08;
  }

}

/* =====================================
   ARTICLE
===================================== */

.bn-article {
  background: #f7f5f0;

  color: #1c1c1a;
}


/* HEADER */

.bn-article-header {
  padding: 90px 24px 65px;
}

.bn-article-header-inner {
  max-width: 920px;
  margin: 0 auto;
}

.bn-article-category {
  display: inline-block;

  margin-bottom: 22px;

  color: #c64d2d !important;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .14em;

  text-transform: uppercase;
}

.bn-article-title {
  margin: 0;

  font-family: "DM Serif Display", Georgia, serif;

  font-size: clamp(48px, 6vw, 82px);

  font-weight: 400;

  line-height: .99;

  letter-spacing: -.025em;
}

.bn-article-lead {
  max-width: 760px;

  margin: 30px 0 0;

  color: #5e5b55;

  font-size: 19px;
  line-height: 1.65;
}

.bn-article-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 10px 25px;

  margin-top: 35px;

  font-size: 11px;

  color: #77736d;
}


/* HERO */

.bn-article-hero {
  max-width: 1280px;

  margin: 0 auto 85px;

  padding: 0 24px;
}

.bn-article-hero img {
  display: block;

  width: 100%;
  height: auto;

  max-height: 720px;

  object-fit: cover;
}


/* LAYOUT */

.bn-article-layout {
  display: grid;

  grid-template-columns:
    210px minmax(0, 720px);

  justify-content: center;

  gap: 80px;

  max-width: 1100px;

  margin: 0 auto;

  padding: 0 24px 100px;
}


/* TOC */

.bn-article-side {
  position: relative;
}

.bn-article-side > div {
  position: sticky;
  top: 120px;
}

.bn-side-label {
  margin-bottom: 20px;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: .14em;

  color: #77736d;
}

.bn-auto-toc a {
  display: block;

  padding: 6px 0;

  color: #77736d !important;

  font-size: 11px;
  line-height: 1.5;

  transition: .2s;
}

.bn-auto-toc a:hover {
  color: #c64d2d !important;
}


/* BODY */

.bn-article-body {
  max-width: 720px;

  font-size: 17px;
  line-height: 1.95;
}

.bn-article-body > p {
  margin: 0 0 27px;
}

.bn-article-body h2 {
  margin: 80px 0 25px;

  font-family: "DM Serif Display", Georgia, serif;

  font-size: 38px;
  line-height: 1.15;

  font-weight: 400;
}

.bn-article-body h3 {
  margin: 48px 0 18px;

  font-family: "DM Serif Display", Georgia, serif;

  font-size: 28px;

  font-weight: 400;
}

.bn-article-body img {
  max-width: 100%;
  height: auto;
}

.bn-article-body figure {
  margin: 42px 0;
}

.bn-article-body blockquote {
  margin: 50px 0;

  padding: 30px 35px;

  border-left: 2px solid #c64d2d;

  background: #efede7;

  font-family: "DM Serif Display", Georgia, serif;

  font-size: 24px;
  line-height: 1.5;
}


/* LINKS */

.bn-article-body a {
  color: inherit !important;

  text-decoration: underline;

  text-decoration-color: #c64d2d;

  text-underline-offset: 4px;
}


/* CTA */

.bn-article-end {
  max-width: 1000px;

  margin: 0 auto 100px;

  padding: 70px;

  background: #201f1c;

  color: white;
}

.bn-article-end h2 {
  margin: 0 0 18px;

  font-family: "DM Serif Display", Georgia, serif;

  font-size: 50px;

  font-weight: 400;
}

.bn-article-end > p:not(.bn-eyebrow) {
  max-width: 520px;

  margin-bottom: 30px;

  color: #cfccc4;

  line-height: 1.7;
}


/* MOBILE ARTICLE */

@media (max-width: 767px) {

  .bn-article-header {
    padding:
      55px 20px 38px;
  }

  .bn-article-title {
    font-size: 43px;
    line-height: 1.02;
  }

  .bn-article-lead {
    margin-top: 20px;

    font-size: 16px;
  }

  .bn-article-meta {
    margin-top: 25px;

    font-size: 10px;
  }


  .bn-article-hero {
    margin-bottom: 45px;

    padding: 0;
  }


  .bn-article-layout {
    display: block;

    padding:
      0 20px 70px;
  }


  .bn-article-side {
    margin-bottom: 45px;

    padding: 20px;

    border: 1px solid #ddd9d1;

    background: #f3f1eb;
  }

  .bn-article-side > div {
    position: static;
  }


  .bn-article-body {
    font-size: 16px;
    line-height: 1.9;
  }

  .bn-article-body h2 {
    margin-top: 60px;

    font-size: 32px;
  }

  .bn-article-body h3 {
    font-size: 25px;
  }


  .bn-article-end {
    margin: 0 20px 70px;

    padding: 45px 24px;
  }

  .bn-article-end h2 {
    font-size: 38px;
  }

}

.single .entry-title,
.single .eye-catch,
.single .date-tags,
.single .toc,
.single .breadcrumb,
.single .article-header {
  display: none;
}