@charset "UTF-8";

/*  
Theme Name: mirukiku2025
Theme URI: https://miru-kiku.jp
Description: 大塚補聴器ホームページ
Version: 1.0.0
Author: Revision , Three-count , 5ba
Author URI: https://miru-kiku.jp
*/

/* Custom Properties */
:root {
    --color-primary: #C8161D; /* red */
    --color-dark-primary: #8F0404; /* brown */
    --color-secondary: #06C755; /* green */
    --color-text-dark: #251B1B; /* black */
    --color-text-light: #787878; /* gray */
    --color-background-light: #FFFFFF; /* white */
    --color-background-dark: #ECECEC; /* light_gray */
    --color-border-light: #ECECEC; /* light_gray */
    --color-border-dark: rgb(255 255 255 / 0.3);
    --color-white: #FFFFFF; /* white */
    --color-cream: #FFF5E0; /* cream */

    --font-family-base: "Noto Sans JP", sans-serif, "Hiragino Kaku Gothic ProN", Meiryo, Arial, Helvetica;
    --max-width-container: 1160px;
    --section-padding-lg: 100px 0;
    --section-padding-md: 80px 0;
    --section-padding-sm: 60px 0;
    --margin-lg: 100px;
    --margin-md: 80px;
    --margin-sm: 60px;
    --margin-xs: 30px;

/* html(font-size: 100%;) 用
    --fsizepc-11: 0.688rem;
    --fsizepc-12: 0.750rem;
    --fsizepc-13: 0.813rem;
    --fsizepc-14: 0.875rem;
    --fsizepc-16: 1.000rem;
    --fsizepc-18: 1.125rem;
    --fsizepc-20: 1.250rem;
    --fsizepc-22: 1.375rem;
    --fsizepc-28: 1.750rem;
    --fsizepc-32: 2.000rem;
    --fsizepc-42: 2.625rem;
*/
/* html(font-size: 62.5%;) 用 */
    --fsizepc-11: 1.1rem;
    --fsizepc-12: 1.2rem;
    --fsizepc-13: 1.3rem;
    --fsizepc-14: 1.4rem;
    --fsizepc-16: 1.6rem;
    --fsizepc-18: 1.8rem;
    --fsizepc-20: 2.0rem;
    --fsizepc-22: 2.2rem;
    --fsizepc-28: 2.8rem;
    --fsizepc-32: 3.2rem;
    --fsizepc-42: 4.2rem;

/* html(font-size: 62.5%;) 用 */
    --rem0_5: 0.8rem;
    --rem0_8: 1.28rem;
    --rem1: 1.6rem;
    --rem1_5: 2.25rem;
    --rem1_6: 2.56rem;
    --rem1_8: 2.88rem;
    --rem2: 3.2rem;
    --rem2_6: 4.16rem;
    --rem3: 4.8rem;
    --rem4: 6.4rem;
    --rem5: 8.0rem;
    --rem6: 9.6rem;
    --rem8: 12.8rem;
    --rem10: 16.0rem;

    --fsizepc-22-vw: min( 1.83vw , 22px );
    --fsizepc-28-vw: min( 2.33vw , 28px );
    --fsizepc-32-vw: min( 2.67vw , 32px );

    --fsizesp-11: 2.82vw;
    --fsizesp-12: 3.08vw;
    --fsizesp-13: 3.33vw;
    --fsizesp-14: 3.59vw;
    --fsizesp-16: 4.10vw;
    --fsizesp-18: 4.60vw;
    --fsizesp-20: 5.13vw;
    --fsizesp-22: 5.64vw;
    --fsizesp-28: 7.18vw;
    --fsizesp-32: 8.00vw;
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: none; /* iOS用 */
    text-size-adjust: none; /* Android用 */
    font-size: 62.5%; /* 旧デザインの互換用 */
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 110px; 
    font-size: var(--rem1);
}

.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 10px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 0.8em;
    font-feature-settings: "palt";
}

h1,.h1 { font-size: var(--fsizepc-28); }
h2,.h2 { font-size: var(--fsizepc-28); }
h3,.h3 { font-size: var(--fsizepc-22); }
h4,.h4 { font-size: var(--fsizepc-18); }
h5,.h5 { font-size: var(--fsizepc-16); }
p { font-size: var(--fsizepc-16); }
p.small { font-size: var(--fsizepc-14); }
@media (max-width: 1200px) {
    h1,.h1 { font-size: var(--fsizepc-28-vw); }
    h2,.h2 { font-size: var(--fsizepc-28-vw); }
    h3,.h3 { font-size: var(--fsizepc-22-vw); }
}
@media (max-width: 768px) {
    h1,.h1 { font-size: var(--fsizesp-28); }
    h2,.h2 { font-size: var(--fsizesp-28); }
    h3,.h3 { font-size: var(--fsizesp-22); }
    h4,.h4 { font-size: var(--fsizesp-18); }
    h5,.h5 { font-size: var(--fsizesp-16); }
    p { font-size: var(--fsizesp-16); }
    p.small { font-size: var(--fsizesp-14); }
}

/* Headings Classes */
.redbar_left{
    text-align: left;
    position: relative;
    color: var(--color-text-dark);
    /* margin-bottom: 0; */
}
.redbar_left:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    display: inline-block;
    /* width: 1.5em; */
    width: var(--rem1_5);
    height: 4px;
    border-radius: 2px;
    background-color: var(--color-primary);
}

/* Display Classes */
@media (min-width: 993px) {
	/* .pconly { display: block; } */
	.tabonly{ display: none !important; }
	.mvonly ,
	.sponly { display: none !important; }
}
@media (min-width: 769px) and (max-width: 992px) {
    .pconly { display: none !important; }
    /* .tabonly{ display: block; } */
	.mvonly ,
	.sponly { display: none !important; }
}
@media (max-width: 768px) {
    .pconly { display: none !important; }
	/* .tabonly{ display: none !important; } */
    /* .sponly { display: block; } */
}

.m10{margin:10px;}
.ml10{margin-left:10px;}
.mr10{margin-right:10px;}
.mlr10{margin-left:10px;margin-right:10px;}
.mt10{margin-top:10px;}
.mb10{margin-bottom:10px;}
.mtb10{margin-top:10px;margin-bottom:10px;}

.m20{margin:20px;}
.ml20{margin-left:20px;}
.mr20{margin-right:20px;}
.mlr20{margin-left:20px;margin-right:20px;}
.mt20{margin-top:20px;}
.mb20{margin-bottom:20px;}
.mtb20{margin-top:20px;margin-bottom:20px;}
.mt50{margin-top:50px;}
.mb50{margin-bottom:50px;}
.mtb50{margin-top:50px;margin-bottom:50px;}
.mt100{margin-top:100px;}
.mb100{margin-bottom:100px;}
.mtb100{margin-top:100px;margin-bottom:100px;}

/* Button Parts */
.center-btn {
    display: flex !important;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.btn-outline ,
.btn-noborder ,
.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    /* font-size: 0.95em; */
    font-size: calc(var(--rem1) * 0.95);
}
.btn-outline i ,
.btn-noborder i ,
.btn-primary i {
    margin-left: 8px;
}
.btn-outline {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    opacity: 1;
}
.btn-noborder {
    background-color: var(--color-white);
    color: var(--color-text-light);
    border: none !important;
}
.btn-noborder span {
    text-decoration: underline;
}
.btn-noborder i {
    text-decoration: none;
    color: var(--color-primary);
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: var(--color-dark-primary);
    border: 1px solid var(--color-dark-primary);
    opacity: 1;
}
@media (max-width: 1200px) {
    .btn-outline ,
    .btn-noborder ,
    .btn-primary {
        font-size: var(--fsizepc-16);
    }
}
@media (max-width: 768px) {
    .btn-outline ,
    .btn-noborder ,
    .btn-primary {
        font-size: var(--fsizesp-13);
    }
}

/* Scroll Grid Parts */
.scroll-grid{
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Enable horizontal scrolling */
    gap: 20px;
    padding-bottom: 20px; /* Space for scrollbar */
}
.scroll-grid::-webkit-scrollbar {
    height: 8px;
}
.scroll-grid::-webkit-scrollbar-track {
    background: var(--color-border-light);
    border-radius: 10px;
}
.scroll-grid::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}
.scroll-grid::-webkit-scrollbar-button {
    display: none;
}

/* Breadcrumb Section */
section.breadcrumb {
	padding:15px 0 10px;
	background-color: var(--color-background-dark);
}

/* Header Section */
.main-header {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
}

.header-top {
    border-top: 2px solid var(--color-dark-primary);
    border-bottom:1px solid var(--color-border-light);
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0;
    max-width: none;
}

.header-top .logo {
    margin: 20px 0 0 20px;
} 

.header-top nav {
    width: calc(100% - 150px - 184px) ;
}
.header-top nav > ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap-reverse;
    flex-direction: row
}
.header-top nav > ul > li {
    position: relative;
}
.header-top nav > ul > li:last-child {
    width: 100%;
}
.header-top nav > ul > li:last-child a {
    padding: 10px 25px;
    margin-left: auto;
    width: fit-content;
}

.header-top nav > ul > li a {
    color: black;
    padding: 10px;
    display: block;
    font-weight: bold;
    /* font-size: 0.9em; */
    font-size: calc(var(--rem1) * 0.9);
    transition: background-color 0.3s ease;
    white-space: nowrap;
}
.header-top nav > ul > li a span {
    display: inline-block;
    margin-left: 2px;
    /* font-size: 1.2em; */
    font-size: calc(var(--rem1) * 1.2);
}
.header-top nav > ul > li a:hover {
    color: var(--color-dark-primary);
    opacity: 1;
}

/* Submenu */
.header-top nav > ul > li ul{
    position: absolute;
    z-index: 300;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 影 */
}
.header-top nav > ul > li#menu1 ul{
    width: 300px;
    top: 42px;
    left: calc( 50% - 150px );
}
.header-top nav > ul > li#menu2 ul{
    width: 240px;
    top: 42px;
    left: calc( 50% - 120px );
}
.header-top nav > ul > li#menu3 ul {
    width: calc( 220px * 3 + 2em );
    top: 42px;
    left: calc( 50% - 110px * 3 - 1em );
}
.header-top nav > ul > li ul li{
    background-color: var(--color-white);
    display: block;
    border-radius: 3px;
}
.header-top nav > ul > li ul li a{
    background-color: var(--color-white);
    color: var(--color-text-dark);
    border-radius: 3px;
}
.header-top nav > ul > li ul li a:hover{
    background-color: var(--color-dark-primary);
    color: var(--color-white);
}
.header-top nav ul li ul{
    display: none;
}
.header-top nav ul li:hover ul{
    display: grid;
    grid-template-columns: 1fr;
}
.header-top nav ul li:hover ul.menu-shopgrid{
    grid-template-columns: 2em 1fr 1fr 1fr;
    grid-template-rows: auto;
}
.header-top nav ul li:hover ul.menu-shopgrid li.shoparea{
    writing-mode: vertical-rl;
    padding: 35px 3px 0px;
    color: var(--color-primary);
}
.header-top nav ul li:hover ul.menu-shopgrid li.shoparea img {
    /* width: 1.5em; */
    width: var(--rem1_5);
    height: auto;
    aspect-ratio: 1;
}
.header-top nav ul li:hover ul.menu-shopgrid li a {
    padding-top: 30px;
}
.header-top nav ul li:hover ul.menu-shopgrid li a p {
    position: relative;
}
.header-top nav ul li:hover ul.menu-shopgrid li a p i{
    position: absolute;
    bottom: 4px;
    right: 0;
    color: var(--color-primary);
}
.header-top nav ul li:hover ul.menu-shopgrid li img {
    width: 200px;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 5px;
}

/* Header button */
.header-top .headerbtn {
    padding: 0;
    display: block;
    text-align: center;
    align-items: center;
}
.header-top .headerbtn img{
    margin:15px 35px 10px;
}
.header-top .headerbtn-tel ,
.header-top .headerbtn-menu {
    display: none;
}
.header-top .headerbtn-contact {
    background-color: var(--color-dark-primary);
    color: var(--color-white);
    border-radius: 0 0 0 15px;
}
#spmenu_toggle {
    display: none;
}

/* Nav Styles */
.sp-nav {
    position: fixed;
    max-width: 640px;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-primary);
    border-left: 1px solid var(--color-border-dark);
    top: -100%; right: -100%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    transform: scale(0);
}
.sp-nav-wrapper {
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
    text-align: left;
    color: white;
    font-size: 16px;
    padding: 60px 20px 0;
}
.sp-nav-title{
    text-align:center;
}
.sp-nav-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
}
.sp-nav-contact a {
    display:block;
    text-align:center;
    background-color: white;
    width:45%;
    border-radius: 5px;
    color:black;
    padding: 10px 0;
}
.sp-nav-contact a.sp-nav-contact-mail img {
    width: 36px;
    height: 36px;
}
.sp-nav-contact a.sp-nav-contact-line img {
    width: 32px;
    height: 32px;
    margin: 2px;
}
/* Animations */
#spmenu_toggle:checked + .headerbtn-menu .hbgline1 {
  transform: rotate(-45deg);
  margin-top: 20px;
}
#spmenu_toggle:checked + .headerbtn-menu .hbgline3 {
  opacity: 0;
  transform: rotate(45deg);
}
#spmenu_toggle:checked + .headerbtn-menu .hbgline2 {
  transform: rotate(45deg);
  margin-top: -4px;
}
#spmenu_toggle:checked + .headerbtn-menu + .sp-nav {
  top: 0;
  right: 0;
  transform: scale(1);
}
/* Bottom CTA Section */
.bottom-cta-section {
    background-color: var(--color-dark-primary);
    color: var(--color-white);
    padding: var(--section-padding-sm);
    text-align: center;
}

.bottom-cta-section .bottom-cta-guide-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: var(--margin-sm);
}
.bottom-cta-section .bottom-cta-guide-sections a {
    display: block;
    position: relative;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    border-radius: 8px;
    height: 120px;

    font-weight: bold;
    align-items: center;
    /* font-size: 1.2em; */
    font-size: calc(var(--rem1) * 1.2);
    overflow: hidden; /* はみ出た部分を隠す */
}
.bottom-cta-section .bottom-cta-guide-sections a {
    background-repeat: no-repeat;
    background-size: 180px 100%;
}
.bottom-cta-section .bottom-cta-guide-sections a#bottom-guide-start {
    background-image: url(img/top/guide/guide01.jpg);
}
.bottom-cta-section .bottom-cta-guide-sections a#bottom-guide-before-buy {
    background-image: url(img/top/guide/guide02.jpg);
}
.bottom-cta-section .bottom-cta-guide-sections a#bottom-guide-subsidy {
    background-image: url(img/top/guide/guide03.jpg);
}
.bottom-cta-section .bottom-cta-guide-sections a#bottom-guide-family {
    background-image: url(img/top/guide/guide04.jpg);
}
.bottom-cta-section .bottom-cta-guide-sections a .guide-icon{
    position: relative;
    width: 100px;
    aspect-ratio: 1;
    color: var(--color-cream);
    background-color: var(--color-primary); /* 丸の背景色 */
    border-radius: 50%; /* 円形にする（で、隠す） */
    z-index: 100;
    top: -45px;
    left: -45px;
}
.bottom-cta-section .bottom-cta-guide-sections a .guide-icon img{
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: auto;
    aspect-ratio: 1;
    z-index: 300;
}
.bottom-cta-section .bottom-cta-guide-sections a .guide-text-content {
    position: absolute;
    top: 0;
    right: 0;
    text-align: left;
    width: 60%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.bottom-cta-section .bottom-cta-guide-sections a .guide-text-content i{
    position: absolute;
    color: var(--color-primary);
    top: calc(50% - 0.5em);
    right: 30px;
}
.bottom-cta-section .cta-small-text {
    margin-bottom: var(--margin-xs);
}

.bottom-cta-section .cta-contact-box {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    padding: 0;
    border-radius: 8px;
}
.bottom-cta-section .cta-contact-box .cta-heading img {
    margin-top: var(--margin-xs);
}
.bottom-cta-section .cta-heading img{
    width: 75vw;
    max-width: 334px;
    height: auto;
}

.cta-contact-flex {
    display: flex;
    align-items: center;
    gap: var(--rem1);
    padding: var(--rem2) var(--rem1);
    margin: 0;
    flex-direction: row;
}
.cta-contact-item {
    flex: 1;
}
.cta-contact-flex:before ,
.cta-contact-flex:after {
    content: "";
	border: 1px solid var(--color-dark-primary); /*--縦線の色--*/
    align-self: stretch;
}
.cta-contact-item:nth-child(1) {
  order: -1;
}
.cta-contact-item:nth-child(3) {
  order: 4;
}
.cta-contact-item i {
    font-size: 3em;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-contact-item h3 {
    margin-bottom: 10px;
    white-space: nowrap;
    display:block;
}
.cta-contact-item h3 img {
    display: block;
    margin: 0 auto;
}

.cta-contact-item p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-contact-item .phone-number {
    display: block;
    margin: 10px 0;
}

.cta-contact-item .hours,
.cta-contact-item .closed {
    margin-bottom: 5px;
}
.cta-contact-item .hours {
    font-weight: bold;
    margin: 0;
}

@media screen and (max-width: 768px){
    .cta-contact-item h3 {
        display:flex;
        align-items: center;
        justify-content: center;
    }
    .cta-contact-item h3 img {
        margin: 0;
    }
}

/* Footer Section */
.main-footer {
    background-color: var(--color-dark-primary);
    color: var(--color-white);
    padding: 0;
    font-size: var(--rem1);
}
.footer-grid {
	display: grid;
	grid-template-columns: 2.5fr 1.5fr 1.5fr 1.5fr;
	grid-template-rows: auto;
    gap: 20px;
    padding-bottom: 40px;
    position: relative;
}
.footer-shoplogo{
	grid-column: 1;
	grid-row: 1 / 4;
}
.footer-tohome{
    grid-column: 2 / 4;
    grid-row: 1;
}
.footer-thinking{
    grid-column: 2;
    grid-row: 2;
}
.footer-otsuka{
    grid-column: 3;
    grid-row: 2;
}
.footer-hearingaids{
    grid-column: 4;
    grid-row: 2;
}
.footer-news{
    grid-column: 2;
    grid-row: 3;
}
.footer-shoplist{
    grid-column: 3;
    grid-row: 3;
}
.footer-recruit{
	grid-column: 2 / 4;
	grid-row: 4;
}


.footer-shoplist ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    padding: 0;
    margin: 0;
}
.footer-shoplist ul li{
    width: 40%;
    padding: 0;
    margin: 0;
}
.footer-line{
    position: absolute;
	bottom: 0;
	right: 0;
}
.footer-line img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.footer-shoplogo {
    text-align: left;
    line-height: 1em;
}
.footer-shoplogo img {
    margin-bottom: 0;
}
.footer-shoplogo p {
    font-size: 0.9em;
    line-height: 1.5;
    color: var(--color-white);
    margin-bottom: 10px;
    text-align: left;
}
.footer-shoplogo .footer-address-heading{
    margin-top: var(--margin-xs);
    font-size: 1em;
}
.footer-recruit img {
	width: 100%;
	max-width: min-content;
}
/* footer menu accordion */
.sp-nav .sp-nav-menu-title,
.footer-grid .footer-menu-title{
	pointer-events: none;
    display: block;
    position: relative;
    color: var(--color-cream);
    font-size: 1.05em;
    font-weight: bold;
    margin-bottom: 0.8em;
    white-space: nowrap;
}
.sp-nav .sp-nav-foot a,
.sp-nav .sp-nav-menu-title a,
.footer-grid .footer-menu-title a{
    color: var(--color-cream);
}
.sp-nav input,
.footer-grid input{
    display: none;
}

@media screen and (max-width: 992px){
    .sp-nav .sp-nav-menu {
        padding: 10px 0;
        border-bottom:1px solid var(--color-border-dark);
    }
    .sp-nav .sp-nav-foot {
        display: flex;
        justify-content: right;
        padding-bottom: 30vw;
    }
    .sp-nav .sp-nav-foot a {
        color: var(--color-white);
        padding: 10px 0 10px 10px;
    }
    .sp-nav .sp-nav-menu-title {
		pointer-events: all;
        margin-bottom: 0;
	}
    .sp-nav .sp-nav-menu-title::after {
        transform: translateY(-25%) rotate(45deg);
        width: 7px;
        height: 7px;
        border-bottom: 3px solid var(--color-white);
        border-right: 3px solid var(--color-white);
        content: '';
        transition: transform .3s;
        position: absolute;
        top: 0.5em;
        right: 0;
    }
    .sp-nav a.sp-nav-menu-title::after {
        transform: rotate(-45deg);
    }
    .sp-nav ul.toggle-list {
		height: 0;
		transition: .2s;
	}
	.sp-nav input:checked + .toggle ul.toggle-list {
		height: auto;
	}
	.sp-nav input:checked + .toggle .sp-nav-menu-title::after {
        transform: rotate(225deg);
    }
    .sp-nav .toggle li{
		line-height: 0;
		visibility: hidden;
		opacity: 0;
		transition: 
			padding .2s,
			line-height .2s,
			visibility .1s,
			opacity .1s;
	}
	.sp-nav input:checked + .toggle li {
		line-height: 1.5;
		visibility: visible;
		opacity: 1;
	}
    /* Bottom CTA Section */
    .bottom-cta-section .bottom-cta-guide-sections a .guide-text-content {
        width: 55%;
    }
    .bottom-cta-section .bottom-cta-guide-sections a {
        background-repeat: no-repeat;
        background-size: 40% 100%;
    }
    .cta-contact-flex {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px){
    /* Bottom CTA Section */
    .bottom-cta-section .bottom-cta-guide-sections {
        grid-template-columns: 1fr;
    }
    .bottom-cta-section .bottom-cta-guide-sections a {
        height: 24vw;
        align-items: center;
        font-weight: bold;
        font-size: 4vw;
        overflow: hidden; /* はみ出た部分を隠す */
    }
    /* footer menu accordion */
    .footer-menu {
        padding: 10px 0;
        border-bottom:1px solid var(--color-border-dark);
    }
	.footer-grid .footer-menu-title {
		pointer-events: all;
        margin-bottom: 0;
	}
	.footer-grid .footer-menu-title::after {
        transform: translateY(-25%) rotate(45deg);
        width: 7px;
        height: 7px;
        border-bottom: 3px solid var(--color-white);
        border-right: 3px solid var(--color-white);
        content: '';
        transition: transform .3s;
        position: absolute;
        top: 0.5em;
        right: 0;
    }
	.footer-grid a.footer-menu-title::after {
        transform: rotate(-45deg);
    }
    .footer-grid ul.toggle-list {
		height: 0;
		transition: .2s;
	}
	.footer-grid input:checked + .toggle ul.toggle-list {
		height: auto;
	}
	.footer-grid input:checked + .toggle .footer-menu-title::after {
        transform: rotate(225deg);
    }
    .footer-grid .toggle li{
		line-height: 0;
		visibility: hidden;
		opacity: 0;
		transition: 
			padding .2s,
			line-height .2s,
			visibility .1s,
			opacity .1s;
	}
	.footer-grid input:checked + .toggle li {
		line-height: 1.5;
		visibility: visible;
		opacity: 1;
	}
}
.sp-nav ul li ,
.footer-grid ul li {
    margin:0;
    margin-bottom: 0;
/*    padding-left: 1em;*/
}
.sp-nav ul li a ,
.footer-grid ul li a {
    font-size: 0.9em;
    transition: color 0.3s ease;
    color: var(--color-white);
}
.sp-nav ul li a:hover ,
.footer-grid ul li a:hover {
    color: var(--color-cream);
    opacity: 1;
}
.footer-bottom {
    background-color: var(--color-white);
    color: var(--color-text-dark);
}
.footer-bottom .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    padding: 20px;
}
.footer-links a {
    color: var(--color-text-dark);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--color-primary);
    opacity: 1;
}
.footer-spbanner{
    display: none;
}

/* Responsive Design */
@media (min-width: 1600px) {
	.main-nav {
		margin: 20px 0;
	}
	.header-top nav > ul > li:last-child {
		width:fit-content;
	}
}
@media (max-width: 992px) {
    body{
        padding-top: 60px;
    }
    nav.main-nav ul{
        display: none;
    }
    .header-top {
        border-top: none;
        border-bottom: none;
    }
    .header-top .logo {
        margin: 10px 0 0 20px;
    }
    .header-top .logo img {
        width: 152px;
        height: 43px;
    }
    .header-top .headerbtn  {
        display: block;
        width: 60px;
        height: 60px;
    }
    .header-top .headerbtn img {
        display: block;
        width: 32px;
        height: 32px;
        margin: 16px;
    }
    .header-top .headerbtn-tel {
        background-color: var(--color-primary);
        border-radius: 0 0 0 15px;
        display: block;
    }
    .header-top .headerbtn-contact {
        background-color: var(--color-dark-primary);
        color: var(--color-white);
        border-radius: 0;
    }
    .header-top .headerbtn-menu {
        background-color: var(--color-text-dark);
        border-radius: 0;
        display: block;
        padding: 11px 14px;
        z-index: 1000;
    }
    .header-top .headerbtn-menu div{
        position: relative;
        width: 32px;
        height: 3px;
        background-color: var(--color-background-light);
        margin-top: 8px;
        transition: all 0.3s ease-in-out;
    }
    /* Footer Section */
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .footer-tohome{
        grid-column: 1 / 4;
        grid-row: 1;
    }
    .footer-thinking{
        grid-column: 1;
        grid-row: 2;
    }
    .footer-otsuka{
        grid-column: 2;
        grid-row: 2;
    }
    .footer-hearingaids{
        grid-column: 3;
        grid-row: 2;
    }
    .footer-shoplist{
        grid-column: 1 ;
        grid-row: 3;
    }
    .footer-news{
        grid-column: 2;
        grid-row: 3;
    }
    .footer-shoplogo{
        grid-column: 1 / 3;
        grid-row: 4;
    }
    .footer-recruit{
        grid-column: 1 / 3;
        grid-row: 5;
        text-align: center;
    }
}
@media (max-width: 768px) {
    /* Footer Section */
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-tohome{
        grid-row: 1;
        grid-column: 1;
    }
    .footer-thinking{
        grid-row: 2;
        grid-column: 1;
    }
    .footer-otsuka{
        grid-row: 3;
        grid-column: 1;
    }
    .footer-shoplist{
        grid-row: 4;
        grid-column: 1;
    }
    .footer-hearingaids{
        grid-row: 5;
        grid-column: 1;
    }
    .footer-news{
        grid-row: 6;
        grid-column: 1;
    }
    .footer-recruit{
        grid-row: 8;
        grid-column: 1;
        padding-top: 10px;
    }
    .footer-shoplogo{
        grid-row: 9;
        grid-column: 1;
        text-align: center;
        margin-top: 30px;
    }
    .footer-bottom .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .sp-nav ul li ,
    .footer-grid ul li {
        padding-left: 1em;
    }
}
@media (max-width: 640px) {
    .sp-nav {
        border-left: none;
    }
    .sp-nav-wrapper {
        font-size: 3vw;
    }
    .footer-recruit{
        padding-top: 0;
    }
    .footer-line{
        position: static;
        grid-row: 7;
        grid-column: 1;
        text-align: center;
        margin-top: 20px;
    }
    .footer-bottom {
        padding-bottom: 20vw;
    }
    .footer-spbanner{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        padding-top: 10px;
        background-color: var(--color-white);
        color: var(--color-text-dark);
        border-radius: 10px 10px 0 0;
        box-shadow: 0 0 20px rgba(0,0,0,0.5); /* 影 */
        z-index: 1000;
    }
    .footer-spbanner a{
        display: block;
        text-align: center;
        padding: 5px 10px;
        font-size: 3vw;
        font-weight: bold;
        color: var(--color-text-dark);
    }
    .footer-spbanner a img {
        width: 100%;
        height: auto;
        aspect-ratio: 180 / 40;
        margin-top: 5px;
    }
}


/* 共通パーツ */
.clear {
  clear: both;
}
.txt-center {
    text-align: center;
    justify-content: center;
}
.img-responsive {
    width: 100%;
    height: auto;
}

/* 強調囲み：https://saruwakakun.com/html-css/reference/box */
.pointbox {
	position: relative;
	margin: 2em 1em;
	padding: 1em 1em 0.5em;
	border: solid 3px #95ccff;
	border-radius: 8px;
	letter-spacing: 0;
	text-align:left;
}
@media (max-width: 768px) {
	.pointbox {
		padding: 1.2em 1em 0.5em;
		font-size: var(--fsizesp-18);
	}
	.pointbox2line {
		padding: 2em 1em 0.5em;
	}
	.pointbox2line .box-title {
		top: -23px !important;
		line-height: 1.25 !important;
	}
	.pointbox3line {
		padding: 2.5em 1em 0.5em;
	}
	.pointbox3line .box-title {
		top: -33px !important;
		line-height: 1.25 !important;
	}
}
.pointbox .box-title {
	position: absolute;
	display: inline-block;
	top: -13px;
	left: 10px;
	padding: 0 9px;
	line-height: 1;
    font-size: var(--fsizepc-20);
	background: #FFF;
	color: #0066ff;
	font-weight: bold;
	letter-spacing: -0.3px;
}
.pointbox > p {
	margin: 0 !important;
	padding: 0 0 10px 0 !important;
	font-weight: normal;
	line-height: 1.3;
    font-size: var(--fsizepc-20);
}
@media (max-width: 768px) {
	.pointbox .box-title {
		font-size: var(--fsizesp-20);
		letter-spacing: -0.3px;
	}
	.pointbox > p {
		font-size: var(--fsizesp-20);
		letter-spacing: -1px;
	}
}
.pointbox p a{
	text-decoration: underline;
	text-underline-offset: 0.1em;
	text-decoration-thickness: 1px;
}

/* 箇条書き囲み */
.listbox {
	border:2px solid #aaaaff;
	border-radius: 4px;
	background-color:#f0f9ff;
	color:black;
	font-size: var(--fsizepc-16);
	font-weight:bold;
	padding:10px;
	margin: 2em 1em;
	letter-spacing: 0;
	text-align:left;
}
.listbox b {
    font-weight: bold;
}
.listbox ul ,
.listbox ol {
	font-weight:normal;
	display: block;
	margin-block-start: 1em;
	margin-block-end: 0.5em;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
	padding-inline-start: 1em;
	padding-inline-end: 1em;
	line-height: 1.3;
	font-size:var(--fsizepc-16);
}
@media (max-width: 768px) {
    .listbox {
    	font-size: var(--fsizesp-16);
	}
	.listbox ul ,
	.listbox ol {
		font-size:var(--fsizesp-16);
	}
}
.listbox ul {
	list-style-type: disc;
}
.listbox ol {
	list-style-type: decimal;
}
.listbox ul li a,
.listbox ol li a{
	text-decoration: underline;
	text-underline-offset: 0.1em;
	text-decoration-thickness: 1px;
}

/* ボタン */
.btn {
	font-size: var(--fsizepc-20);
	display: block;
	width: fit-content;
	text-align: center;
	font-weight: bold;
	padding: var(--fsizepc-18) var(--rem8);
	margin:  var(--fsizepc-16) auto;
	text-decoration: none;
	color: #ffffff;
	background: #FF2200;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 4px;
}
.btn-type-base {
	display: flex;
	justify-content: center;
	align-items: center;
    gap: var(--fsizepc-16);
}
.btn-type2 {
	color: #000;
	background: linear-gradient(#fff,#ffc 40%,#ffff39);
	border: 1px solid #aaa;
	box-shadow: 3px 3px 6px #777;
	padding: var(--rem1_8) var(--rem5);
}
/*
.btn-lg {
	min-width: 600px;
	font-size: 120%;
	padding:  var(--rem2);
}
*/
.btn:hover {
	background: #ff9999;
}
.btn-type2:hover {
	background: linear-gradient(#ffff39,#ffc 70%,#fff);
}
.btn-yoyaku {
	background: #ff6600;
	line-height:1;
}
.btn-yoyaku:hover {
	background: #cc5200;
}
.btn-green {
	background: #35b81c;
}
.btn-green:hover {
	background: #2d8b1c;
}
.btn-submit {
	border-radius: 8px;
	border-style: none;
}
.btn-2line {
	font-size: 150%;
	line-height: 2;
	padding: var(--rem1_6) var(--rem6);
}
.btn-100 {
	width: 100%;
	padding: var(--rem1_6) auto;
	margin: 0;
}
.btn img {
    vertical-align: baseline;
    width: var(--fsizepc-22);
    height: auto;
    /* padding-right: var(--fsizepc-16);*/
}
.btn-yoyaku img {
	vertical-align:middle;
	/* width: 27px; */
	width: 1.8em;
	height: auto;
	padding-top: 0;
	padding-right: var(--rem1);
	float: left;
}
hr.dotted {
    border-top:1px dotted var(--color-text-dark);
    border-bottom: none;
    margin: 4px 0;
}
hr.solid {
    border-top:1px solid var(--color-text-light);
    border-bottom: none;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .btn {
    	font-size: var(--fsizesp-20);
        width: 85%;
        display: block;
        text-align: center;
        font-weight: bold;
        padding: var(--rem1_6) 5px;
        margin: var(--rem1_6) auto;
        text-decoration: none;
        color: #ffffff;
        background: #FF2200;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 4px;
    }
    .btn-type-base {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--fsizesp-16);
    }
    .btn-type2 {
        color: #000;
        background: linear-gradient(#fff,#ffc 40%,#ffff39);
        border: 1px solid #aaa;
        box-shadow: 3px 3px 6px #777;
    }
    /*
    .btn-lg {
        width: 100%;
		min-width: unset;
        font-size: 120%;
        padding: var(--rem2) 0;
    }
    */
    .btn:hover {
        background: #ff9999;
    }
    .btn-type2:hover {
        background: linear-gradient(#ffff39,#ffc 70%,#fff);
    }
    .btn-yoyaku {
        background: #ff6600;
    }
    .btn-yoyaku:hover {
        background: #cc5200;
    }

    .btn-green {
        color: #ffffff;
        font-size: var(--rem2);
        background: #35b81c;
    }
    .btn-green:hover {
        background: #2d8b1c;
    }
    .btn-submit {
        border-radius: 8px;
        border-style: none;
    }
    .btn-2line {
        font-size: var(--rem1_5);
        line-height: 1.6;
        padding: var(--rem0_8) 0;
    }
    .btn img {
        width: var(--fsizesp-22);
        /* padding-right: var(--fsizesp-16); */
    }
    /*
    .btn img {
        vertical-align: middle;
        width: 22px;
        height: auto;
        margin-right: var(--rem1);
        float: left;
    }
    */
    .btn-yoyaku img {
        vertical-align: middle;
        /* width: 27px; */
        width: 1.8em;
        height: auto;
        padding-top: 0;
        padding-right: var(--rem1);
        /* float: left; */
        float: none;
    }
    .btn-green img {
        vertical-align: middle;
        width: 29px;
        height: auto;
        padding-right: var(--rem1);
    }
}

/* ページネーション */
.pagenavi {
  color: var(--color-background-dark);
  margin: 1em auto;
  line-height:2em;
  text-align:center;
  font-size: var(--rem1);
}

a.page-numbers, .pagenavi .current {
  color: #666666;
  display: inline-block;
  padding: 0;
  width: var(--rem2);
  height: var(--rem2);
  border-radius: var(--rem1);
  border:solid 1px var(--color-background-dark);
  text-decoration:none;
  font-size:smaller;
  background:white;
}

a.page-numbers:hover {
  color:white;
  background: var(--color-dark-primary);
}

.pagenavi .current {
  color: white;
  background:var(--color-dark-primary);
  border-color:var(--color-primary);
  font-weight:bold;
}

.pagenavi .next, .pagenavi .prev {
  border:0 none;
  background:transparent;
  font-size:smaller;
  width: fit-content;
  padding: 0 var(--rem0_5);
}

/* 従来のページとの互換用 */
.entry_body {
	line-height: 1.5;
}
.entry_body img {
	height: auto;
	max-width: 100%;
}
.entry_body p {
	line-height: 1.5;
	margin-top: 10px;
	margin-bottom: 15px;
}
.entry_body h2 ,
.entry_body .yarpp-related h2 {
	position: relative;
	padding: var(--rem2) 0;
	background-color: #cc0000;
	color: white;
	text-align: center;
	line-height: 1.6;
	margin-bottom: var(--rem2_6);
}
.entry_body h2 > span{
	display: block;
}
.entry_body h2 a ,
.entry_body .yarpp-related h2 a {
	color: white;
}

.entry_body h3 {
	height: auto;
	border-top: solid 1px #2b140c;
	border-bottom: solid 1px #2b140c;
	border-left: none;
	border-right: none;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	box-sizing: border-box;
	padding: 1em 1em 1em 1em;
	line-height: 1.5;
	letter-spacing: -1px;
	color: #2b140c;
	font-weight: bold;
}
.entry_body h4 {
	margin: 20px 0;
	padding: var(--rem1) 0 var(--rem1) var(--rem1);
	border-left: 5px solid #c00;
	border-bottom: 1px solid #ddd;
}
.entry_body h5 {
	font-weight: bold;
	padding: 5px 10px;
	margin: 0;
}
.entry_body h5:before {
	content: "● ";
	vertical-align: middle;
	color: #a71a29;
}
