﻿@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    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
*/


/* ===== TOPページ 本番デザイン再現CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');

body {
  font-family: 'Sawarabi Mincho', sans-serif;
}

.w-header {
  width: 0%;
}

@media(max-width: 1024px) {
  .w-header {
    display: none;
  }
}

/* --- フルワイド化 --- */
body.page-id-41 .page-template_default,
body.home .page-template_default {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.page-id-41 .sec-inner,
body.home .sec-inner {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

body.page-id-41 .block_content,
body.home .block_content {
  padding: 0 !important;
  background: none !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.page-id-41 article.post-41,
body.home article.post-41 {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

body.page-id-41 .wp-block-html,
body.home .wp-block-html {
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-41 .head_txt,
body.home .head_txt {
  display: none !important;
}

/* --- MV --- */
body.page-id-41 .outline,
body.home .outline {
  padding: 0 !important;
  background: #fff;
}

body.page-id-41 .outline_main,
body.home .outline_main {
  position: relative !important;
  width: 100% !important;
  overflow: hidden;
  min-height: 300px;
}

body.page-id-41 .outline_main_image img,
body.home .outline_main_image img {
  width: 100% !important;
  height: 480px !important;
  object-fit: cover !important;
  display: block !important;
}

body.page-id-41 .outline_main_text,
body.home .outline_main_text {
  position: absolute !important;
  top: 50% !important;
  left: 40px !important;
  transform: translateY(-50%) !important;
  z-index: 2;
  background: rgba(255, 255, 255, 0.88) !important;
  padding: 24px 32px !important;
  border-left: 4px solid #9d2136 !important;
  font-family: 'Sawarabi Mincho', sans-serif !important;
  font-size: 22px !important;
  line-height: 1.9 !important;
  max-width: 480px;
}

.outline_main_text span {
  display: block;
}

.outline_main_text em {
  color: #9d2136;
  font-style: normal;
  font-weight: bold;
}

.service_guide {
  max-width: 860px;
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
}

.service_guide_main {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 20px;
  letter-spacing: .3em;
  line-height: 2.2;
  color: #000;
}

.service_guide_note {
  font-size: 13px;
  color: #555;
  margin-top: 16px;
}

/* --- CTA --- */
.service_entry {
  background-color: #e2ecf1;
  padding: 80px 20px;
  text-align: center;
}

.service_entry ._inner {
  max-width: 800px;
  margin: 0 auto;
}

.service_entry_heading {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 20px;
  letter-spacing: .4em;
  line-height: 2;
  color: #000;
  margin-bottom: 8px;
}

.service_entry_subheading {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1.8;
  color: #000;
  margin-bottom: 32px;
}

.service_entry_btn a {
  display: inline-block;
  background-color: #000;
  color: #fff !important;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 18px;
  letter-spacing: .2em;
  padding: 18px 60px;
  text-decoration: none !important;
  transition: opacity .2s;
}

.service_entry_btn a:hover {
  opacity: .75;
}

.service_entry_notes {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-size: 12px;
  color: #444;
  line-height: 2;
}

/*------TOPのMV------*/
.top-mv p {
  width: fit-content;
  padding: .1em;
}

/*------相談LINEのボタン------*/
/* 共通LINE導線 */
.button-contact::after {
  border: 1px solid #F4F3C3;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 1024px) {

  /* SP */
  .button-contact {
    width: 87.30159%;
    background-color: #9D2136;
    margin: 1em auto;
    position: relative;
  }

  .button-contact a {
    text-align: center;
    font-size: 1.3125em;
    padding: 1.8em 1em 1.8em 1.3em;
    color: #F4F3C3;
    line-height: 1;
    text-decoration: none;
    letter-spacing: .3em;
    display: block;
    position: relative;
    z-index: 2000;
  }

  .common_service_entry {
    padding: 30px 8%;
    background: #e2ecf1;
  }

  .common_service_entry_head {
    font-size: 1.1em;
    line-height: 2.0;
    letter-spacing: 0.4em;
    text-align: center;
  }

  .common_service_entry_head span {
    border-bottom: 5px double #9D2136;
  }

  .common_service_entry_caution {
    text-align: left;
    line-height: 1.5em;
    font-size: 0.8em;
    color: gray;
    padding: 15px 0;
    letter-spacing: 0.2em;
  }
}

@media print,
screen and (min-width: 1025px) {

  /* PC */
  .button-contact {
    width: 600px;
    background-color: #9D2136;
    margin: 3em auto;
    position: relative;
  }

  .button-contact a {
    text-align: center;
    font-size: 1.75em;
    padding: 1.2em 1em 1.2em 1.3em;
    color: #F4F3C3;
    line-height: 1;
    text-decoration: none;
    letter-spacing: .3em;
    display: block;
    position: relative;
    z-index: 2000;
  }

  .common_service_entry {
    padding: 80px 0;
    background: #e2ecf1;
  }

  .common_service_entry_head {
    font-size: 1.5em;
    line-height: 2.0;
    letter-spacing: 0.4em;
    text-align: center;
  }

  .common_service_entry_head>br:first-child {
    display: none;
  }

  .common_service_entry_head span {
    border-bottom: 5px double #9D2136;
    letter-spacing: 0.4em;
  }

  .common_service_entry_caution {
    color: gray;
    padding: 15px 0;
    letter-spacing: 0.2em;
    text-align: center;
    line-height: 1;
  }
}

.swell-block-accordion__title .swell-block-accordion__label {
  flex: 1 1 auto;
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0 1em 0 0;
  word-break: break-all;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: 'Sawarabi Mincho', sans-serif !important;
}

.swell-block-accordion__label img {
  vertical-align: bottom !important;
  width: 45px;
  margin-right: 0.5em;
}

@media(max-width: 768px) {
  .swell-block-accordion__label img {
    vertical-align: middle !important;
  }
}

.back-gray .swell-block-accordion__body {
  background: #c7c7c726 !important;
}

.back-gray p {
  background-color: #FFF;
  padding: .5em;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: 'Sawarabi Mincho', sans-serif !important;
}

.back-gray p a {
  text-decoration: underline;
  color: #000;
}

.is-style-icon_info {
  background-color: var(--color_icon_info_bg) !important;
  padding: 1em 1em 1em 4.25em !important;
  font-size: 1rem !important;
  font-weight: 400 !important
}

/* --- お客様の声 --- */
.customervoice {
  background: #faf8f5;
  padding: 80px 20px;
}

.customervoice ._inner {
  max-width: 900px;
  margin: 0 auto;
}

.customervoice_heading {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 26px;
  letter-spacing: .2em;
  color: #9d2136;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 2px solid #9d2136;
}

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

@media(max-width:768px) {
  .customervoice_list {
    grid-template-columns: 1fr;
  }
}

.customervoice_item {
  background: #fff;
  border: 1px solid #e0d8cc;
  padding: 28px 24px;
  border-radius: 4px;
}

.customervoice_item_title {
  font-size: 16px;
  font-weight: bold;
  color: #9d2136;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0d8cc;
}

.customervoice_item_text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
}

.customervoice_item_who {
  font-size: 13px;
  color: #888;
  text-align: right;
}

/* --- ご購入の流れ --- */
.flow {
  background: #fff;
  padding: 80px 20px;
}

.flow ._inner {
  max-width: 900px;
  margin: 0 auto;
}

.flow_heading {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 26px;
  letter-spacing: .2em;
  color: #9d2136;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 2px solid #9d2136;
}

.flow_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.flow_item {
  display: grid;
  grid-template-columns: 60px 200px 1fr;
  gap: 24px;
  align-items: center;
}

@media(max-width:768px) {
  .flow_item {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.flow_item_num {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 48px;
  color: #9d2136;
  line-height: 1;
  text-align: center;
}

.flow_item_image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border: 1px solid #eee;
}

.flow_item_text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.flow_item_text strong {
  display: block;
  font-size: 17px;
  color: #9d2136;
  margin-bottom: 8px;
}

/* ===== LP Header スタイル（reiyodo-inc 移植） ===== */
.header {
  text-align: center;
  background-color: #FFF;
  width: 100%;
  position: fixed;
  z-index: 9000;
  top: 0;
  left: 0;
}

@media screen and (max-width: 720px) {
  .header ._inner {
    position: relative;
  }
}

@media print,
screen and (min-width: 1025px) {
  .header ._inner {
    width: 900px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media screen and (max-width: 1024px) {
  .header_logo {
    width: 75px;
    height: 75px;
    margin: 0 auto;
  }
}

@media print,
screen and (min-width: 1025px) {
  .header_logo {
    width: 80px;
    height: 80px;
  }
}

.header_logo img {
  width: 100%;
}

@media print,
screen and (min-width: 1025px) {
  .header_nav {
    box-sizing: border-box;
    width: 820px;
    padding: 0 0 0 24px;
  }
}

.header_nav_list {
  transition: transform 400ms;
}

@media screen and (max-width: 428px) {
  .header_nav_list {
    width: 80%;
  }
}

@media screen and (min-width: 429px) and (max-width: 1024px) {
  .header_nav_list {
    width: 350px;
  }
}

@media screen and (max-width: 1024px) {
  .header_nav_list {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .header_nav_list._visible {
    transform: translateX(-100%);
    display: block;
  }
}

@media screen and (max-width: 1024px) {
  .header_nav_list ul {
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 74px;
    transform: translateX(100%);
  }

  .sp-menu-bottom {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding: 2em;
  }

  .sp-menu-bottom .wp-block-search .wp-block-search__input {
    background: #FFF;
  }
}

@media print,
screen and (min-width: 1025px) {
  .header_nav_list ul {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (max-width: 1024px) {
  .header_nav_list ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.8);
  }
}

@media print,
screen and (min-width: 1025px) {
  .header_nav_list ul li {
    padding: 0 22px;
  }
}

.header_nav_list ul li a {
  font-size: 1.4em;
  text-decoration: none;
  letter-spacing: .1em;
}

@media(min-width: 1025px) {
  .header_nav_list ul li a {
    font-size: 1em;
  }

  .sp-menu-bottom {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .header_nav_list ul li a {
    color: #FFF;
    box-sizing: border-box;
    padding: 1.8em;
    display: block;
  }
}

@media print,
screen and (min-width: 1025px) {
  .header_nav_list ul li a {
    color: #000;
    padding-bottom: .5em;
    display: inline-block;
    position: relative;
  }

  body:not([data-device="touchDevice"]) .header_nav_list ul li a:hover::after {
    width: 100%;
    transition: width 300ms;
  }

  .header_nav_list ul li a::after {
    background-color: #9D2136;
    width: 0;
    height: 1px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    content: "";
    transform: translateX(-50%);
  }
}

@media print,
screen and (min-width: 1025px) {
  .header_nav_list ul li._current a::after {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .header_nav_btn {
    width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    z-index: 1000;
    top: 8px;
    right: 4%;
    cursor: pointer;
  }

  .header_nav_btn-icon {
    background: #000;
    width: 30px;
    height: 3px;
    margin: -1px 0 0 -15px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: .2s;
  }

  .header_nav_btn-icon::before,
  .header_nav_btn-icon::after {
    background: #000;
    width: 30px;
    height: 3px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    content: "";
    transition: .3s;
  }

  .header_nav_btn-icon::before {
    margin-top: -12px;
  }

  .header_nav_btn-icon::after {
    margin-top: 8px;
  }

  .header_nav_btn ._close {
    background: transparent;
  }

  .header_nav_btn ._close::before,
  .header_nav_btn ._close::after {
    background: #FFF;
    margin-top: 0;
  }

  .header_nav_btn ._close::before {
    transform: rotate(-45deg);
  }

  .header_nav_btn ._close::after {
    transform: rotate(-135deg);
  }
}

@media print,
screen and (min-width: 1025px) {
  .header_nav_btn {
    display: none;
  }
}

/* ヘッダー分のパディング（固定ヘッダー対応） */
body {
  padding-top: 75px;
}

@media print,
screen and (min-width: 1025px) {
  body {
    padding-top: 80px;
  }
}

/* TOPヘッダー強制非表示 */
body.home header#header,
body.page-id-41 header#header {
  display: none !important;
}

/* TOPフッター非表示 */
body.home footer#footer,
body.page-id-41 footer#footer {
  display: none !important;
}

/* TOPフッター（reiyodo-inc）非表示 */
body.home footer#footer,
body.page-id-41 footer#footer {
  display: none !important;
}

/* 末尾CTAのスタイル強制適用 */
.service_entry {
  background-color: #e2ecf1 !important;
  padding: 80px 20px !important;
  text-align: center !important;
}

.service_entry_btn a {
  display: inline-block !important;
  background-color: #000 !important;
  color: #fff !important;
  padding: 18px 60px !important;
  text-decoration: none !important;
  font-size: 18px !important;
  letter-spacing: .2em !important;
}

/* SWELLボタン black_ スタイル（TOPページCTA用） */
.swell-block-button.black_ .swell-block-button__link {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
  padding: 16px 56px !important;
  font-size: 18px !important;
  letter-spacing: .15em !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.swell-block-button.black_ .swell-block-button__link:hover {
  opacity: .75 !important;
}

/* ==============================================
   TOPページ SWELLブロック カスタムスタイル v4
   本番（tokyo-reiyodo.jp）の実測値に基づく完全版
   ============================================== */
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');


/* コンセプト */
.top-concept.wp-block-loos-full-wide {
  background: #fff !important;
  padding: 60px 20px !important;
}

.top-concept__main {
  font-size: 24px !important;
  line-height: 48px !important;
  color: #000 !important;
}

.top-cta__heading {
  font-family: 'Sawarabi Mincho', sans-serif !important;
  font-size: 22px !important;
  letter-spacing: .35em !important;
  line-height: 2 !important;
  color: #000 !important;
  margin-bottom: 4px !important;
}

.top-cta__sub {
  font-size: 22px !important;
  font-weight: 500 !important;
  letter-spacing: .55em !important;
  line-height: 1.8 !important;
  color: #000 !important;
  text-decoration: underline double #9D2136;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  margin-bottom: 32px !important;
}

.top-cta .swell-block-button__link,
.top-cta .swell-block-button.black_ .swell-block-button__link {
  display: inline-block !important;
  background-color: #9d2136 !important;
  color: #f4f3c3 !important;
  border-color: #9d2136 !important;
  padding: 28px 60px !important;
  font-family: 'Sawarabi Mincho', sans-serif !important;
  font-size: 24px !important;
  letter-spacing: 8.4px !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  min-width: 500px !important;
  transition: opacity .2s !important;
}

.top-cta .swell-block-button__link:hover {
  opacity: .8 !important;
  color: #f4f3c3 !important;
}

h2.top-section__title,
.top-section__title.wp-block-heading {
  background-image: url('/wp-content/themes/reiyodo-inc/lp_assets/images/mark-heading.svg') !important;
  background-repeat: no-repeat !important;
  background-position: left 50% !important;
  background-size: 1.4em auto !important;
  padding-left: 2.2em !important;
}

@media(max-width:768px) {

  h2.top-section__title,
  .top-section__title.wp-block-heading {
    background-position: left 0 !important;
  }

  .top-concept__main {
    font-size: 1.1em !important;
    line-height: 25px !important;
  }

  .top-cta__heading {
    font-size: 1.3em !important;
    letter-spacing: .25em !important;
    line-height: 2 !important
  }

  .top-cta__sub {
    font-size: 1.3em !important;
    letter-spacing: .25em !important;
    line-height: 1.3 !important;
    line-height: 2 !important
  }

}

/* 共通見出し */
.top-section__title {
  font-family: 'Sawarabi Mincho', sans-serif !important;
  font-size: 36px !important;
  letter-spacing: 5.4px !important;
  color: #000 !important;
  border-bottom: none !important;
  padding-bottom: 16px !important;
  margin-bottom: 24px !important;
  text-align: left !important;
}

.top-section__sub {
  font-size: 13px !important;
  letter-spacing: .3em !important;
  color: #9d2136 !important;
  margin-bottom: 4px !important;
}

.top-section__lead {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: #444 !important;
  margin-bottom: 32px !important;
  text-align: left !important;
}

@media(max-width:768px) {
  .top-section__title {
    font-size: 1.7em !important;
    letter-spacing: .15em !important;
    margin-bottom: 16px !important;
  }

  .top-section__sub {
    font-size: 0.9em !important;
    letter-spacing: .25em !important;
    margin-bottom: 8px !important;
  }

  .top-section__lead {
    font-size: 0.9em !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }
}

/* お客様の声 */
.top-voice.wp-block-loos-full-wide {
  background: transparent !important;
  padding: 60px 20px !important;
}

.top-voice__grid.wp-block-loos-columns {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.top-voice__grid>.wp-block-loos-column {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.top-voice__card {
  background: #fff !important;
  border: 1px solid #e0d8cc !important;
  padding: 24px 20px !important;
  border-radius: 4px !important;
}

.top-voice__card-title {
  font-size: 15px !important;
  font-weight: bold !important;
  color: #9d2136 !important;
  border-bottom: 1px solid #e0d8cc !important;
  padding-bottom: 8px !important;
  margin-bottom: 10px !important;
}

.top-voice__card-text {
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: #333 !important;
}

.top-voice__card-who {
  font-size: 12px !important;
  color: #888 !important;
  margin-top: 8px !important;
}

@media(max-width:768px) {
  .top-voice__grid.wp-block-loos-columns {
    flex-direction: column !important;
  }
}

/* ==============================================
   コンテンツ幅 960px 制御
   (__innerラッパーが存在しないため直接子要素に適用)
   ============================================== */
.top-symptom>*,
.top-voice>*,
.top-flow>*,
.top-kanpou>*,
.top-faq>*,
.top-movie>*,
.top-supervision>*,
.top-concept>*,
.top-cta>* {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* CTAセクションは少し広めに */
.top-cta>* {
  max-width: 800px !important;
}

/* アコーディオン内の子要素は幅制限しない */
.swell-block-accordion__item,
.swell-block-accordion__body,
.swell-block-accordion__body>* {
  max-width: none !important;
}

/* カラムブロックの子要素は幅制限しない */
.top-voice__grid>*,
.top-supervision__inner>* {
  max-width: none !important;
}

/* フルワイドブロック自体のpaddingも統一 */
.top-symptom.wp-block-loos-full-wide,
.top-voice.wp-block-loos-full-wide,
.top-flow.wp-block-loos-full-wide,
.top-kanpou.wp-block-loos-full-wide,
.top-faq.wp-block-loos-full-wide,
.top-movie.wp-block-loos-full-wide,
.top-supervision.wp-block-loos-full-wide,
.top-concept.wp-block-loos-full-wide {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* ⑫ 薬局情報フッター */
.reiyodo-footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 40px 20px;
  font-size: 13px;
  line-height: 2;
  margin-top: 0;
}

.reiyodo-footer__inner {
  max-width: 960px;
  margin: 0 auto;
}

.reiyodo-footer__info p {
  margin: 0;
}

.reiyodo-footer__info a {
  color: #aaa;
  text-decoration: underline;
}

.reiyodo-footer__info a:hover {
  color: #fff;
}

.reiyodo-footer__nav {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #444;
}

.reiyodo-footer__nav a {
  color: #aaa;
  text-decoration: none;
}

.reiyodo-footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.reiyodo-footer__copy {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #444;
  color: #888;
  font-size: 12px;
}

.reiyodo-footer__copy a {
  color: #888;
  text-decoration: underline;
}

.reiyodo-footer__copy a:hover {
  color: #aaa;
}


/* ⑫ フッターナビ横並び修正 */
.reiyodo-footer__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 0 !important;
  align-items: center !important;
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid #444 !important;
}

.reiyodo-footer__nav a {
  color: #aaa !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.reiyodo-footer__nav a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}


/* ⑫ フッター細部調整 */
.reiyodo-footer__info p {
  display: block !important;
}

.reiyodo-footer__info a {
  color: #aaa !important;
  text-decoration: underline !important;
  display: inline !important;
}

/* 薬局管理事項の長い行の折り返し */
.reiyodo-footer__info p {
  word-break: break-all !important;
  overflow-wrap: break-word !important;
}


/* ==============================================
   ④〜⑨ 追加セクションCSS
   ============================================== */

/* ④ 見出しアイコン（wp-block-headingも対象に） */


/* ⑤ キーワード検索 */
.top_search .wp-block-search__inside-wrapper {
  display: flex;
  flex: auto;
  flex-wrap: nowrap;
  max-width: 500px;
  margin: 0 auto;
  padding: 1em;
}

.top_search .wp-block-search .wp-block-search__input,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  border: 1px solid var(--color_border);
  background: #FFF;
  padding: .75em 1.5em;
  border-radius: 50px;
}

.top_search .wp-block-search__button {
  color: #FFF;
  background: #9d2136;
  border: none !important;
  border-radius: 46px;
  box-shadow: 0 0 1px #aaa, inset 0 -1px 0 #ccc;
  flex-shrink: 0;
  font-size: 15px;
  padding: 1em;
}

/* ⑥ 感想・コラムリンク */
.reiyodo-links .is-style-btn_normal {
  border-radius: 5px !important;
}

.reiyodo-links [class*=is-style-btn_] a {
  border-radius: 5px;
}

/* ご購入までの流れ */
.flow::before {
  background-color: #FDFDF3;
  display: block;
  position: absolute;
  content: "";
  width: 701px;
  height: 1035px;
  top: 152px;
  left: 50%;
  transform: translateX(-245px);
}

.flow::after {
  background-color: #FAF4F5;
  display: block;
  position: absolute;
  content: "";
  width: 488px;
  height: 388px;
  top: 989px;
  left: 300px;
}

@media print,
screen and (max-width: 768px) {

  .flow::before {
    width: 74.13333vw;
    height: 63.06667vw;
    top: 36vw;
    left: 0;
    transform: none;
  }

  .flow::after {
    width: 54vw;
    height: 82.66667vw;
    top: 180vw;
    right: 15.46667vw;
    left: 21px;
  }
}

.flow_image {
  position: absolute;
  z-index: -1000;
  top: -140px;
  right: -300px;
}

@media screen and (max-width: 1499px) {
  .flow_image {
    right: -50px
  }
}

@media screen and (max-width: 1024px) {
  .flow_image {
    width: 30%;
    right: 0;
    top: -10px
  }
}

@media screen and (max-width: 1024px) {
  .flow_image img {
    width: 100%;
  }
}


/* ⑨ お届けする漢方 */
.kanpou::before {
  background-color: #FDFDF3;
  display: block;
  position: absolute;
  content: "";
}

@media screen and (max-width: 428px) {
  .kanpou::before {
    width: 74.13333vw;
    height: 63.06667vw;
    top: 18.66667vw;
    left: 0;
  }
}

@media screen and (min-width: 429px) and (max-width: 1024px) {
  .kanpou::before {
    width: 74.13333%;
    height: 63.06667%;
    top: 21.2%;
    left: 0;
  }
}

@media print,
screen and (min-width: 1025px) {
  .kanpou::before {
    width: 872px;
    height: 351px;
    top: 117px;
    left: 50%;
    transform: translateX(-515px);
  }
}

.kanpou::after {
  background-color: #FAF4F5;
  display: block;
  position: absolute;
  content: "";
}

@media screen and (max-width: 428px) {
  .kanpou::after {
    width: 46.93333vw;
    height: 82.66667vw;
    top: 63.06667vw;
    right: 15.46667vw;
  }
}

@media screen and (min-width: 429px) and (max-width: 1024px) {
  .kanpou::after {
    width: 46.93333%;
    height: 41.33333%;
    top: 65.33333%;
    right: 12%;
  }
}

@media print,
screen and (min-width: 1025px) {
  .kanpou::after {
    width: 391px;
    height: 222px;
    top: 445px;
    left: 50%;
    transform: translateX(24px);
  }
}

.kanpou_image {
  position: absolute;
  z-index: -1000;
  top: -200px;
  right: -300px;
}

@media screen and (max-width: 1499px) {
  .kanpou_image {
    right: -50px
  }
}

@media screen and (max-width: 1024px) {
  .kanpou_image {
    width: 30%;
    right: 0;
    top: -10px
  }
}

@media screen and (max-width: 1024px) {
  .kanpou_image img {
    width: 100%;
  }
}

/* ==============================================
   指摘対応 ①②③⑥⑦⑧
   ============================================== */

/* ① ナビメニュー（header.phpで実装、ここではSWELLヘッダーに上乗せ表示） */
.reiyodo-nav {
  background: #fff;
  border-bottom: 1px solid #e0d8cc;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 14px;
  letter-spacing: .1em;
}

.reiyodo-nav a {
  color: #333;
  text-decoration: none;
}

.reiyodo-nav a:hover {
  color: #9d2136;
}

.reiyodo-nav__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.reiyodo-nav__search input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  width: 200px;
}

.reiyodo-nav__search button {
  padding: 6px 14px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
}

/* =============================================
   ①ナビ・④フロー・⑤漢方・⑥FAQ?・⑦YouTube 修正
   ============================================= */

/* ① ナビメニュー（本番と同スタイル） */
.reiyodo-nav {
  background: #fff;
  border-bottom: 1px solid #e5e0d8;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 13px;
  letter-spacing: .05em;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.reiyodo-nav a {
  color: #333;
  text-decoration: none;
  padding: 0 20px;
  height: 52px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e5e0d8;
  white-space: nowrap;
}

.reiyodo-nav a:first-child {
  border-left: 1px solid #e5e0d8;
}

.reiyodo-nav a:hover {
  color: #9d2136;
  background: #faf8f5;
}

.reiyodo-nav__search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reiyodo-nav__search input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
  width: 180px;
}

.reiyodo-nav__search button {
  padding: 6px 14px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.reiyodo-nav__search button:hover {
  background: #9d2136;
}

@media(max-width:768px) {
  .reiyodo-nav {
    display: none;
  }
}

/* ① ナビ: SWELLのwp_body_open後に挿入されるため .top-mv の直後に配置 */
/* functions.phpのJS挿入が効かない場合のfallback: 先頭固定バー */
body.home .reiyodo-nav,
body.page-id-41 .reiyodo-nav {
  display: flex !important;
}

/* ① ナビ改善（1行化・本番に近いデザイン） */
.reiyodo-nav {
  background: #fff !important;
  border-bottom: 1px solid #e5e0d8 !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  font-size: 14px !important;
  letter-spacing: .05em !important;
  height: 60px !important;
  position: sticky !important;
  top: 32px !important;
  /* WP管理バー分 */
  z-index: 100 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06) !important;
}

.reiyodo-nav a {
  color: #333 !important;
  text-decoration: none !important;
  padding: 0 24px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  border-right: 1px solid #e5e0d8 !important;
  line-height: 1.3 !important;
  font-size: 13px !important;
}

.reiyodo-nav a:first-of-type {
  border-left: 1px solid #e5e0d8 !important;
}

.reiyodo-nav a br {
  display: none !important;
}

/* 1行に */
.reiyodo-nav a:hover {
  color: #9d2136 !important;
  background: #faf8f5 !important;
}

.reiyodo-nav__search {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.reiyodo-nav__search input {
  padding: 6px 10px !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  width: 180px !important;
}

.reiyodo-nav__search button {
  padding: 6px 14px !important;
  background: #333 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  cursor: pointer !important;
}

.reiyodo-nav__search button:hover {
  background: #9d2136 !important;
}

/* 管理バーなし時のtop調整 */
body:not(.admin-bar) .reiyodo-nav {
  top: 0 !important;
}

/* ⑤ フッター背景色強制上書き（本番：クリーム #f4f1de） */
footer.reiyodo-footer,
body footer.reiyodo-footer,
.reiyodo-footer {
  background-color: #f4f1de !important;
  background: #f4f1de !important;
  color: #333 !important;
}

footer.reiyodo-footer .reiyodo-footer__info p,
.reiyodo-footer .reiyodo-footer__info p {
  color: #333 !important;
  margin: 4px 0 !important;
}

footer.reiyodo-footer .reiyodo-footer__info a,
.reiyodo-footer .reiyodo-footer__info a {
  color: #555 !important;
}

footer.reiyodo-footer .reiyodo-footer__nav,
.reiyodo-footer__nav {
  border-top: 1px solid #ccc9b0 !important;
  margin-top: 16px !important;
  padding-top: 12px !important;
}

footer.reiyodo-footer .reiyodo-footer__nav a,
.reiyodo-footer__nav a {
  color: #444 !important;
}

footer.reiyodo-footer .reiyodo-footer__copy,
.reiyodo-footer__copy {
  border-top: 1px solid #ccc9b0 !important;
  color: #666 !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
}

footer.reiyodo-footer .reiyodo-footer__copy a,
.reiyodo-footer__copy a {
  color: #666 !important;
}


/* ③ ナビのリンクテキスト（2行化を本番に合わせてinlineブロックにしない） *
.reiyodo-nav a br {
  display: block !important;
  line-height: 1 !important;
}
*/
/* ポップアップモーダル */
.popup-modal {
  display: none;
  z-index: 9999;
  padding: 0;
  border-radius: 0;
}

.popup-modal img {
  display: block;
  width: 100%;
}

.popup-modal a.close-modal {
  width: 2.4rem;
  height: 2.4rem;
  opacity: 0.5;
  top: -2rem;
  right: -2rem;
}