@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD (reminisce)
    Theme URI: https://swell-theme.com/
    Description: reminisce本番移行用SWELL子テーマ
    Version: 4.9.15
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* reminisce V4 — SWELL global header and mobile navigation */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Noto+Sans+JP:wght@500;600;700&display=swap");

:root {
  --rm-v4-navy: #061b39;
  --rm-v4-blue: #003a61;
  --rm-v4-accent: #0871a4;
  --rm-v4-line: rgba(7, 28, 60, 0.09);
}

/*
 * The custom top page supplies its own hero and content flow.
 * Keep SWELL's optional home main visual and post slider out of this page even
 * when the corresponding Customizer values differ between environments.
 */
#body_wrap > #main_visual,
#body_wrap > #post_slider {
  display: none !important;
}

/* Preserve the article components currently supplied by TheGem Child. */
.mk-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
}

.mk-bubble-icon {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

.mk-bubble-text {
  position: relative;
  flex: 1 1 auto;
  max-width: 640px;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.75;
}

.mk-bubble-text strong {
  display: block;
  margin-bottom: 3px;
  color: #7a7a7a;
  font-size: .78em;
  font-weight: 700;
}

.mk-bubble-sensei .mk-bubble-text { background: #eef3fa; }
.mk-bubble-sensei .mk-bubble-text::before {
  position: absolute;
  top: 20px;
  left: -7px;
  border: 7px solid transparent;
  border-right-color: #eef3fa;
  content: "";
}

.mk-bubble-research { justify-content: flex-end; }
.mk-bubble-research .mk-bubble-text { background: #edf6f0; }
.mk-bubble-research .mk-bubble-text::after {
  position: absolute;
  top: 20px;
  right: -7px;
  border: 7px solid transparent;
  border-left-color: #edf6f0;
  content: "";
}

.post_content .mk-cite {
  display: block;
  margin: .35em 0 2em;
  color: #8a8f98;
  font-size: .82em;
  line-height: 1.6;
}

.post_content .mk-cite a {
  color: #8a8f98;
  text-decoration: underline;
}

.post_content .mk-related {
  display: block;
  margin: -.8em 0 1.75em;
  color: #8a8f98;
  font-size: .84em;
  line-height: 1.7;
}

.post_content .mk-related::before {
  color: #8a8f98;
  content: "→ ";
}

.post_content .mk-related a {
  color: #2f5fa8;
  font-size: 1.03em;
  font-weight: 400;
  text-decoration: underline;
}

.post_content .mk-related a:hover { opacity: .8; }

@media (max-width: 600px) {
  .mk-bubble { gap: 8px; margin: 18px 0; }
  .mk-bubble-icon { width: 72px; height: 72px; }
  .mk-bubble-text { max-width: none; padding: 10px 12px; }
}

#header.l-header {
  color: var(--rm-v4-navy);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--rm-v4-line);
  box-shadow: 0 1px 0 rgba(12, 48, 76, 0.035);
}

#header .l-header__bar {
  display: none;
}

#header .l-header__inner {
  width: 100%;
  max-width: none;
  height: 72px;
  padding: 0 clamp(20px, 3.3vw, 52px);
  gap: clamp(18px, 2.2vw, 34px);
}

#header .l-header__logo {
  min-width: 150px;
  flex-shrink: 0;
}

#header .c-headLogo {
  line-height: 1;
}

#header .c-headLogo__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: max-content;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
}

#header .c-headLogo__link::before {
  content: "reminisce";
  color: var(--rm-v4-navy);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.035em;
}

#header .c-headLogo__link::after {
  content: "WEB MEDIA × SEO × CONTENT";
  margin-top: 8px;
  color: #46627e;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

#header #gnav {
  margin-left: auto;
}

#header .c-gnav {
  align-items: center;
  gap: clamp(15px, 1.75vw, 26px);
}

#header .c-gnav > li > a {
  position: relative;
  height: 72px;
  padding: 0;
  color: var(--rm-v4-navy);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#header .c-gnav > li:not(:last-child) > a .ttl::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--rm-v4-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

#header .c-gnav > li:not(:last-child) > a:hover .ttl::after,
#header .c-gnav > li:not(:last-child) > a:focus-visible .ttl::after {
  transform: scaleX(1);
  transform-origin: left;
}

#header .c-gnav > li:last-child {
  display: flex;
  align-items: center;
  margin-left: 2px;
}

#header .c-gnav > li:last-child > a {
  min-width: 168px;
  height: 44px;
  padding: 0 20px;
  justify-content: center;
  color: #fff;
  background: var(--rm-v4-blue);
  border-radius: 3px;
  font-size: 14px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#header .c-gnav > li:last-child > a:hover,
#header .c-gnav > li:last-child > a:focus-visible {
  color: #fff;
  background: #005985;
  transform: translateY(-1px);
}

#header .c-gnav > li:last-child > a::after,
#header .c-gnav > li:last-child > a .ttl::after {
  display: none;
}

/* SWELLのスクロール追従ヘッダーも通常ヘッダーと同じV4表現にする。 */
#fix_header.l-fixHeader {
  color: var(--rm-v4-navy);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--rm-v4-line);
  box-shadow: 0 5px 18px rgba(12, 48, 76, 0.06);
}

#fix_header .l-fixHeader__inner {
  width: 100%;
  max-width: none;
  height: 64px;
  padding: 0 clamp(20px, 3.3vw, 52px);
  gap: clamp(18px, 2.2vw, 34px);
}

#fix_header .l-fixHeader__logo {
  min-width: 150px;
  flex-shrink: 0;
}

#fix_header .c-headLogo__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: max-content;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
}

#fix_header .c-headLogo__link::before {
  content: "reminisce";
  color: var(--rm-v4-navy);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.035em;
}

#fix_header .c-headLogo__link::after {
  content: "WEB MEDIA × SEO × CONTENT";
  margin-top: 7px;
  color: #46627e;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

#fix_header .l-fixHeader__gnav {
  margin-left: auto;
}

#fix_header .c-gnav {
  align-items: center;
  gap: clamp(15px, 1.75vw, 26px);
}

#fix_header .c-gnav > li > a {
  height: 64px;
  padding: 0;
  color: var(--rm-v4-navy);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#fix_header .c-gnav > li:last-child {
  display: flex;
  align-items: center;
  margin-left: 2px;
}

#fix_header .c-gnav > li:last-child > a {
  min-width: 158px;
  height: 40px;
  padding: 0 18px;
  justify-content: center;
  color: #fff;
  background: var(--rm-v4-blue);
  border-radius: 3px;
  font-size: 13px;
}

#fix_header .c-gnav > li:last-child > a:hover,
#fix_header .c-gnav > li:last-child > a:focus-visible {
  color: #fff;
  background: #005985;
}

#fix_header .c-gnav > li:last-child > a::after {
  display: none;
}

@media (min-width: 960px) and (max-width: 1120px) {
  #header .l-header__inner {
    padding-inline: 22px;
    gap: 16px;
  }

  #header .l-header__logo {
    min-width: 140px;
  }

  #header .c-headLogo__link::before {
    font-size: 29px;
  }

  #header .c-headLogo__link::after {
    font-size: 8px;
  }

  #header .c-gnav {
    gap: 12px;
  }

  #header .c-gnav > li > a {
    font-size: 13px;
  }

  #header .c-gnav > li:last-child > a {
    min-width: 138px;
    padding-inline: 14px;
    font-size: 13px;
  }

  #fix_header .l-fixHeader__inner {
    padding-inline: 22px;
    gap: 16px;
  }

  #fix_header .l-fixHeader__logo {
    min-width: 140px;
  }

  #fix_header .c-headLogo__link::before {
    font-size: 27px;
  }

  #fix_header .c-headLogo__link::after {
    font-size: 7px;
  }

  #fix_header .c-gnav {
    gap: 12px;
  }

  #fix_header .c-gnav > li > a {
    font-size: 13px;
  }

  #fix_header .c-gnav > li:last-child > a {
    min-width: 138px;
    padding-inline: 14px;
    font-size: 13px;
  }
}

@media (max-width: 959px) {
  #header .l-header__inner {
    height: 66px;
    padding: 0 16px;
    gap: 8px;
  }

  #header .l-header__logo {
    min-width: 0;
    margin-right: auto;
  }

  #header .c-headLogo__link::before {
    font-size: 29px;
  }

  #header .c-headLogo__link::after {
    margin-top: 7px;
    font-size: 8px;
    letter-spacing: 0.18em;
  }

  #header .l-header__menuBtn,
  #header .l-header__customBtn {
    position: static;
  }

  #header .c-iconBtn {
    width: 42px;
    height: 42px;
    color: var(--rm-v4-navy);
  }

  #sp_menu .p-spMenu__inner {
    width: min(86vw, 360px);
    color: var(--rm-v4-navy);
    background: #fff;
  }

  #sp_menu .p-spMenu__body {
    padding: 28px 24px 36px;
  }

  #sp_menu .c-widget__title.-spmenu {
    padding-bottom: 14px;
    color: #46627e;
    border-bottom: 1px solid var(--rm-v4-line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.18em;
  }

  #sp_menu .c-spnav > li > a {
    padding: 15px 4px;
    color: var(--rm-v4-navy);
    border-bottom: 1px solid var(--rm-v4-line);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  #sp_menu .c-spnav > li:last-child > a {
    justify-content: center;
    margin-top: 20px;
    padding: 13px 18px;
    color: #fff;
    background: var(--rm-v4-blue);
    border: 0;
    border-radius: 3px;
  }
}

@media (max-width: 390px) {
  #header .l-header__inner {
    padding-inline: 12px;
  }

  #header .c-headLogo__link::before {
    font-size: 27px;
  }

  #header .c-headLogo__link::after {
    font-size: 7px;
    letter-spacing: 0.15em;
  }
}

/* V4 footer — SWELLの既存フッターメニューと著作権表記はそのまま利用する。 */
#footer.l-footer {
  color: #fff;
  background: #062b4b;
}

#footer .l-footer__foot {
  padding: 0;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(0, 42, 75, 0.96), rgba(4, 49, 79, 0.9)),
    radial-gradient(circle at 58% 30%, #527f99, #062b4b 60%);
}

#footer .l-footer__foot .l-container {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: none;
  min-height: 116px;
  padding: 18px clamp(24px, 3.5vw, 52px);
}

#footer .l-footer__foot .l-container::before {
  content: "reminisce";
  align-self: center;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

#footer .l-footer__foot .l-container::after {
  content: "WEB MEDIA × SEO × CONTENT";
  position: absolute;
  top: 66px;
  left: clamp(24px, 3.5vw, 52px);
  color: #c6dae8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.19em;
  white-space: nowrap;
}

#footer .l-footer__nav {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) repeat(6, auto);
  align-items: center;
  justify-content: stretch;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  text-align: left;
}

#footer .l-footer__nav::before {
  content: "Webメディアを、会社の中に育てる。";
  color: #fff;
  font-family: "Noto Serif JP", YuMincho, "Yu Mincho", serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  white-space: nowrap;
}

#footer .l-footer__nav a {
  padding: 6px 0;
  color: #d8e5ed;
  border: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

#footer .l-footer__nav a:hover,
#footer .l-footer__nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#footer .copyright {
  grid-column: 2;
  margin: 2px 0 0;
  color: #a9bfce;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  text-align: right;
}

@media (max-width: 959px) {
  #footer .l-footer__foot .l-container {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    min-height: 132px;
    padding: 20px 24px;
  }

  #footer .l-footer__foot .l-container::after {
    top: 70px;
    left: 24px;
    font-size: 7px;
  }

  #footer .l-footer__nav {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }

  #footer .l-footer__nav::before {
    grid-column: 1 / -1;
    font-size: 17px;
  }

  #footer .copyright {
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  /*
   * SWELL内では既存の投稿本文スタイルとV4のヒーロースタイルが重なるため、
   * 長い導入文が画面右端で欠けないよう、スマホ時の折り返しを明示する。
   */
  .reminisce-top .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .reminisce-top .hero-copy .eyebrow-jp,
  .reminisce-top .hero-copy .hero-lead {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  #footer .l-footer__foot .l-container {
    display: block;
    min-height: 0;
    padding: 22px 20px 18px;
  }

  #footer .l-footer__foot .l-container::before {
    display: block;
    font-size: 29px;
  }

  #footer .l-footer__foot .l-container::after {
    top: 60px;
    left: 20px;
  }

  #footer .l-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 18px;
    margin-top: 44px;
  }

  #footer .l-footer__nav::before {
    margin-bottom: 8px;
    font-size: 18px;
  }

  #footer .copyright {
    margin-top: 12px;
    text-align: left;
  }
}

/* v4.9.11 — align the footer wordmark with the navigation block. */
@media (min-width: 960px) {
  #footer .l-footer__foot .l-container::before {
    transform: translateY(-5px);
  }

  #footer .l-footer__foot .l-container::after {
    top: 53px;
  }
}

@media (min-width: 960px) and (max-width: 1280px) {
  #footer .l-footer__foot .l-container {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding-right: 70px;
  }

  #footer .l-footer__nav {
    grid-template-columns: minmax(170px, 1fr) repeat(6, auto);
    gap: 10px;
  }

  #footer .l-footer__nav::before {
    font-size: 17px;
  }

  #footer .l-footer__nav a {
    font-size: 11px;
  }
}

/* v4.9.11 typography manual: use the same Japanese display face in the footer. */
#footer .l-footer__nav::before {
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-weight: 600;
}

/*
 * v4.9.12 — keep company labels readable on narrow screens.
 * SWELL's default table sizing makes the first column too narrow and can
 * break Japanese labels one character at a time.
 */
@media (max-width: 560px) {
  .page-id-9057 .wp-block-table table {
    display: block;
    width: 100%;
    border: 0;
  }

  .page-id-9057 .wp-block-table tbody {
    display: block;
  }

  .page-id-9057 .wp-block-table tr {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .page-id-9057 .wp-block-table tr + tr {
    margin-top: -1px;
  }

  .page-id-9057 .wp-block-table th {
    display: block;
    width: auto !important;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .page-id-9057 .wp-block-table td {
    display: block;
    width: auto !important;
    min-width: 0;
    border-left: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}


/* ver4.0.4 — compact footer spacing */
#footer .l-footer__foot .l-container{
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 4px;
  min-height: 108px;
  padding-top: 14px;
  padding-bottom: 14px;
}

#footer .l-footer__foot .l-container::after{
  top: 58px;
}

#footer .copyright{
  margin-top: 0;
}

@media (max-width: 959px){
  #footer .l-footer__foot .l-container{
    row-gap: 4px;
    min-height: 118px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  #footer .l-footer__foot .l-container::after{
    top: 61px;
  }
}

@media (max-width: 560px){
  #footer .l-footer__foot .l-container{
    min-height: 0;
    padding: 18px 20px 14px;
  }

  #footer .l-footer__foot .l-container::after{
    top: 56px;
  }

  #footer .l-footer__nav{
    gap: 2px 18px;
    margin-top: 36px;
  }

  #footer .l-footer__nav::before{
    margin-bottom: 4px;
  }

  #footer .l-footer__nav a{
    padding: 3px 0;
    line-height: 1.5;
  }

  #footer .copyright{
    margin-top: 8px;
  }
}


/* ver4.2 — mobile menu and footer polish */
@media(max-width:959px){
#sp_menu .p-spMenu__inner{width:min(88vw,370px);box-shadow:18px 0 46px rgba(4,31,58,.14)}
#sp_menu .p-spMenu__body{padding:22px 22px 34px}
#sp_menu .c-widget__title.-spmenu{position:relative;margin:0 0 10px;padding:17px 18px 15px;color:#fff;background:linear-gradient(110deg,#073652,#00466b);border:0;border-radius:2px;font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;font-size:18px;font-weight:600;letter-spacing:.16em}
#sp_menu .c-widget__title.-spmenu::after{content:"WEB MEDIA PARTNER";display:block;margin-top:4px;color:rgba(255,255,255,.63);font-family:"Noto Sans JP",sans-serif;font-size:8px;font-weight:500;letter-spacing:.2em}
#sp_menu .c-spnav>li>a{position:relative;padding:14px 32px 14px 6px}
#sp_menu .c-spnav>li:not(:last-child)>a::after{content:"›";position:absolute;top:50%;right:7px;color:#6f94aa;font-size:21px;font-weight:400;transform:translateY(-52%)}
#sp_menu .c-spnav>li:not(:last-child)>a:hover,#sp_menu .c-spnav>li:not(:last-child)>a:focus-visible{padding-left:11px;color:#006493;background:#f5fafc}
#sp_menu .c-spnav>li:last-child>a{margin-top:18px;padding:14px 18px;background:linear-gradient(110deg,#00466b,#00638d);border-radius:4px;box-shadow:0 9px 22px rgba(0,58,97,.16)}
}
@media(max-width:560px){#footer .l-footer__nav::before{margin-bottom:6px;font-size:17px;line-height:1.65;white-space:nowrap}}


/* ver4.7 — smartphone menu title and arrow alignment */
@media (max-width: 959px) {
  .reminisce-top section[id] {
    scroll-margin-top: 83px;
  }

  #sp_menu .c-widget__title.-spmenu {
    min-height: 70px;
    padding: 14px 18px 13px;
    line-height: 1.25;
    overflow: visible;
  }

  #sp_menu .c-widget__title.-spmenu::after {
    position: static;
    inset: auto;
    display: block;
    width: auto;
    height: auto;
    margin: 6px 0 0;
    line-height: 1.4;
    transform: none;
  }

  #sp_menu .c-spnav > li > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    line-height: 1.5;
  }

  #sp_menu .c-spnav > li:not(:last-child) > a::after {
    top: 50%;
    line-height: 1;
    transform: translateY(-50%);
  }
}
