/*
Theme Name: Jakushi
Theme URI: https://jakushi.mimir.ne.jp/
Author URI: https://www.mimir.ne.jp/
Author: mimir sun-bow
Description: 
Version: 1.0.0
Text Domain: Jakushi
*/
.checking {
    display: none!important;
}

:root {
    --bs-body-font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Helvetica Neue", Arial;
    --jakushi-pink: #f4495d;
    --jakushi-pink-bg: #ffedf0;
    --jakushi-pink-hover: #b32a3a;
    --jakushi-off-pink: #f8a9b2;
    --jakushi-bg-pink: #ffeaed;
    /*--jakushi-blue: #7ecdde;*/
    --jakushi-blue: #40bdb3;
    --jakushi-bg-blue: #dbf6fb;
    --jakushi-blue-hover: #2d9990;
    --jakushi-blue-active: #257972;
    --jakushi-blue-active-rgb: 37, 121, 114;
    --jakushi-yellow: #ea9e4c;
    --jakushi-yellow-hover: #af7231;

    --jakushi-footer-bg: #232323;
    --bs-body-line-height: 1.75;
    --bs-border-width: 2px;

    --bs-link-color: #207e8d;
    --bs-link-color-rgb: 32, 126, 141;

    --bs-link-hover-color: #1B7C8E;
    --bs-link-hover-color-rgb: 27, 124, 142;

    --bs-primary-bg-subtle: #e5f6f9;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(36, 173, 199, 0.25);

    --bs-warning: #b67702;
    --bs-warning-rgb: 182, 119, 2;
}

::placeholder {
  color: rgba(0, 0, 0, 0.3)!important;
}
a.btn {
    text-decoration: none!important;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--jakushi-blue);
    --bs-btn-border-color: var(--jakushi-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--jakushi-blue-hover);
    --bs-btn-hover-border-color: var(--jakushi-blue-hover);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--jakushi-blue-hover);
    --bs-btn-active-border-color: var(--jakushi-blue-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--jakushi-blue);
    --bs-btn-disabled-border-color: var(--jakushi-blue);
}
.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: var(--jakushi-blue-active);
    border-color: var(--jakushi-blue-active);
    box-shadow: 0 0 0 .25rem rgba(var(--jakushi-blue-active-rgb), .5);
}
.btn-check:active+.btn-primary:focus, .btn-check:checked+.btn-primary:focus, .btn-primary.active:focus, .btn-primary:active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .25rem rgba(var(--jakushi-blue-active-rgb), .5);
}
.btn-warning {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--jakushi-yellow);
    --bs-btn-border-color: var(--jakushi-yellow);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--jakushi-yellow-hover);
    --bs-btn-hover-border-color: var(--jakushi-yellow-hover);
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: var(--jakushi-yellow-hover);
    --bs-btn-active-border-color: var(--jakushi-yellow-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--jakushi-yellow);
    --bs-btn-disabled-border-color: var(--jakushi-yellow);
}
.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--jakushi-pink);
    --bs-btn-border-color: var(--jakushi-pink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--jakushi-pink-hover);
    --bs-btn-hover-border-color: var(--jakushi-pink-hover);
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--jakushi-pink-hover);
    --bs-btn-active-border-color: var(--jakushi-pink-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--jakushi-pink);
    --bs-btn-disabled-border-color: var(--jakushi-pink);
}
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
form.post-password-form {
    padding-top: 8rem;
}
#Navber {
    width: calc(100% - 200px);
}
#Navber .navbar-nav .nav-link {
    color: #fff;
    padding-bottom: 0;
    padding-top: 0;
}
#drawer-bt {
    border: none;
    position: fixed;
    top: .5rem;
    right: 1rem;
    z-index: 2000;
    font-size: 2rem;
    color: var(--jakushi-pink);
    padding: 4px 12px;
    transition: background-color .5s ease;
}
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.offcanvas .offcanvas-header .close-bt {
    border: none;
    font-size: 2rem;
    color: #fff;
}
.offcanvas .offcanvas-body {
    padding: 1rem 2rem;
}
.offcanvas .offcanvas-body .navbar-nav {
    font-weight: bold;
    color: #fff;
}
.offcanvas .offcanvas-body .navbar-nav .btn {
    border: 2px solid #fff;
    width: 100%;
    margin-bottom: .5rem;
    text-align: left;
}
.offcanvas .offcanvas-footer {
    margin-top: 2rem;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    color: #fff;
}
.offcanvas .offcanvas-footer img {
    margin-bottom: .5rem;
}

.pt160 {
    padding-top: 120px!important;
}
.offcanvas {
    background: var(--bs-offcanvas-color);
    z-index: 2001;
    max-width: 80%;
    color: #fff;
}
.offcanvas .offcanvas-header {
    justify-content: end;
}

html {
    font-size: 16px;
}
body {
    font-family: var(--bs-body-font-family);
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: bold;
    line-height: 1.2;
}
a {
    text-decoration: none;
}
a.btn:hover {
    text-decoration: none;
}
.border-link:hover::after {
    width: 100%;
}
.border-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width .5s ease;
}

.accordion.qanda .text-warning {
    color: var(--jakushi-pink) !important;
}
.accordion {
    box-shadow: 4px 4px 0 rgba(1, 1, 1, 0.05);
    border-top-left-radius: var(--bs-accordion-inner-border-radius);
    border-top-right-radius: var(--bs-accordion-inner-border-radius);
    border-bottom-right-radius: var(--bs-accordion-border-radius);
    border-bottom-left-radius: var(--bs-accordion-border-radius);
}
.accordion-item {
    border-bottom: 1px solid #eee;
}
.accordion-item:last-of-type {
    border-bottom: 2px solid var(--bs-accordion-border-color);
}
.accordion-button {
    color: rgba(var(--bs-link-color-rgb));
}
.accordion-button:hover {
    background: rgb(221 221 221 / 40%);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(36, 173, 199, 0.25);
}

.accordion .accordion-body blockquote {
    margin-bottom: 0;
}

.accordion .accordion-body p.small {
    margin-bottom: 0;
    padding: .25rem .75rem;
    background: #f1f1f1;
    display: inline-block;
    border-radius: 1rem;
    font-style: italic;
}

p:empty {
    display: none;
}

main {
    /*padding-top: 100px;*/
    flex: 1;
}
.home main {
    /*padding-top: 20px;*/
}

h1.soudan-title {
    margin-bottom: 2rem;
}

.soudan-content h2 {
    color: var(--jakushi-pink);
    margin-bottom: 1rem;
}

.soudan-content .question .wrap {
    background: var(--bs-gray-200);
    padding: 2rem 1rem;
    border-radius: .5rem;
    margin-bottom: 3rem;
}
.soudan-content .question .wrap p:last-of-type,
.soudan-content .answer p:last-of-type {
    margin-bottom: 0;
}

.soudan-content .answer blockquote {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--bs-gray-200);
}

.soudan-list ul {
    list-style-type: none;
    padding-left: 0;
}

h4.soudan-title {
    font-weight: bold;
}

.soudan-card {
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    align-items: start;
    background: #eee;
}
.soudan-card .wrap {
    color: var(--bs-gray-500);
    display: inline-block;
    font-size: .8rem;
    text-transform: uppercase;
}
.soudan-card .soudan-title a {
    text-decoration: none;
}
.soudan-card p.wp-block-post-excerpt__excerpt {
    margin-bottom: 0;
}
.soudan-card .soudan-tags .text-bg-success {
    background-color:var(--bs-link-color)!important;
}


footer {
    border-top: 8px solid var(--jakushi-off-pink);
    background: var(--jakushi-footer-bg);
    color: #fff;
}
#upper-footer {
    padding-top: 4rem;
    padding-bottom: 1rem;
}

#lower-footer {
    color: var(--jakushi-footer-bg);
    background: var(--jakushi-blue);
}
footer .copyright {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: .8rem;
}
.back-to-top {
    background: #999;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
footer .footer-menu-wrap {
    display: flex;
    justify-content: center;
}
footer .main-menu {
    margin-right: 4rem;
}
footer .main-menu ul li,
footer .sub-menu ul li {
    margin-bottom: 1rem;
}
footer figure.footer-rogo {
    margin-bottom: 0;
    text-align: center;
}
footer .footer-rogo img {
    margin-bottom: 2rem;
    width: 300px;
}
footer ul.footer-ex-menu-class {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    flex-direction: column;
    text-align: center;
}
footer ul.footer-ex-menu-class li {
    margin-left: 1rem;
    margin-right: 1rem;
}

footer p {
    margin-bottom: 0;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer ul {
    list-style: none;
    padding-left: 0;
}
footer .wp-block-navigation ul li {
    margin-bottom: 1rem;
}
footer .footer-nav ul.bts {
    padding-top: 1rem;
    display: flex;
    justify-self: center;
}
footer .footer-nav ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}
footer .footer-nav ul.bts li {
    margin-left: .125rem;
    margin-right: .125rem;
    margin-bottom: .5rem;
}
footer .footer-nav ul.bts .btn {
    font-size: .8rem;
}
#header {
    z-index: 2000;
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    /*padding-top: .75rem;
    padding-bottom: .75rem;*/
    transition: background-color .5s ease, padding .5s ease;
}
.home #header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: transparent;
    transition: background-color .5s ease, padding .5s ease;
}
#header.view-back,
.home #header.view-back {
    background: rgba(0, 0, 0, .8);
    padding-top: 0;
    padding-bottom: 0;
}
#header .header-nav {
    display: none;
}
#header ul.header-nav li a.btn-primary {
    margin-right: .5rem;
}
#header ul.header-nav li a.btn {
    --bs-btn-border-radius: 50rem;
    font-weight: bold;
}
#header ul.header-nav li a.btn {
    color: #fff;
    margin-right: .5rem;
}
#header ul.header-nav li:last-child a.btn {
    margin-right: 0;
}

i.cirlce {
    background: #fff;
    padding: .35em;
    border-radius: 100%;
    height: 2em;
    width: 2em;
    color: #000;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: .5em;
}
.header-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 80px;
    width: 100%;
    position: relative;
    z-index: 2000;
}
.header-rogo {
    width: 100px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}
.header-nav {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

#contact-info, #tradelaw-info {
    background: #fff;
    padding: 2rem;
    border-radius: .5rem;
}
#tradelaw-info .table th {
    white-space: nowrap;
}
#contact-info .contact-wrap {
    margin-bottom: 3rem;
}
#contact-info a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin-bottom: .5rem;
}
#contact-info .phone-number {
    font-size: 2rem;
    font-weight: bold;
    padding-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1;
}
#contact-info .phone-number small {
    font-size: 1rem;
    display: block;
    padding-top: 0.5rem;
    margin-bottom: 1rem;
}
#contact-info .contact-message small {
    display: block;
}
.sns-wrap {
    display: flex;
    justify-content: center;
}
.sns-wrap a {
    color: #fff;
    margin: .5rem 1rem;
    font-size: 1.2rem;
}

.bg_skew_border {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: var(--jakushi-pink-bg);
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.2509803922), rgba(255, 255, 255, 0.2509803922) 7px, transparent 0, transparent 14px);
}
.bg_skew_border::before {
    position: absolute;
    content: '';
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: inherit;
    transform: translateX(-50%) translateY(50%);
    bottom: 0px;
    z-index: 1;
}
.bg_skew_border-none::before {
    content: none;
}

.card {
    border: none;
}

.main-visual {
    width: 100%;
    height: 100vh;
    position: relative;
    padding-top: 2rem;
    padding-bottom: calc(100vh + 4rem);
    background: #fff;
}

.main-catch-area {
    position: absolute;
    top: 0;
    z-index: 101;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main-catch-area > .wrap {
    height: 2rem;
    margin-bottom: 2rem;
}
.main-catch-area > .card {
    background-color: rgb(255 255 255 / 80%);
}
.sub-catch-area {
    position: absolute;
    bottom: -50px;
    z-index: 100;
    right: 0;
}
.sub-catch,
.sub-catch-bg {
    font-size: 1.2rem;
    right: 0;
    left: 0;
    position: absolute;
    margin: 0 auto;
    text-align: center;
    z-index: 201;
}
.sub-catch-bg {
    -webkit-text-stroke: 6px white;
    z-index: 200;
}

.mainvisual-rogo {
    width: 300px;
}
.mainvisual-character {
    width: 250px;
}

#carouselMain {
    height: 100%;
    z-index: 11;
}
.carousel-inner {
    height: 100vh;
    border-bottom-left-radius: 50% 5%;
    border-bottom-right-radius: 50% 5%;
    border-top-left-radius: 50% 5%;
    border-top-right-radius: 50% 5%;
    min-height: 840px;
}
.carousel-item {
    height: 100%;
    width: 100%;
    position: absolute;
    display: block;
}
.inner-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/*--------------
 Main
---------------*/
.main-h2 {
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    line-height: 1.5;
}
.main-h2 span {
    font-size: 1.2rem;
    color: var(--jakushi-pink);
}
.home .btn-success,
.amblyopia .btn-success {
    text-decoration: none;
    padding: 1rem;
    box-shadow: 0 12px 0 #ddd;
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--jakushi-pink);
    --bs-btn-border-color: var(--jakushi-pink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--jakushi-pink-hover);
    --bs-btn-hover-border-color: var(--jakushi-pink-hover);
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--jakushi-pink-hover);
    --bs-btn-active-border-color: var(--jakushi-pink-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--jakushi-pink);
    --bs-btn-disabled-border-color: var(--jakushi-pink);
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--jakushi-pink-rgb), .5);
    
}
.home .btn-success:focus,
.amblyopia .btn-success:focus {
    background-color: var(--bs-btn-active-bg);
    border-color: var(--bs-btn-active-bg);
    box-shadow: var(--bs-btn-focus-box-shadow);
}
#objective,
.bg-white-ex {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: #fff;
    position: relative;
}
#objective::before,
.bg-white-ex::before {
    position: absolute;
    content: '';
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: inherit;
    transform: translateX(-50%) translateY(50%);
    bottom: 0px;
    z-index: 1;
}

#old-product {
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: #C5C1FF;
    position: relative;
}
#old-product::before {
    position: absolute;
    content: '';
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: inherit;
    transform: translateX(-50%) translateY(50%);
    bottom: 0px;
    z-index: -1;
}
#old-product img {
    width: 100%;
    height: auto;
}
#old-product > .container > .row > div {
    background: #fff;
    border-radius: 2rem;
    padding: 2rem;
}
#old-product h2 {
    padding-top: 3rem;
}
#old-product .intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#old-product .wrap-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#etc-menu {
    margin-top: 8rem;
    margin-bottom: 8rem;
}
.wrap-contents01 {
    display: flex;
    margin-bottom: 6rem;
    background: #fff;
    border-top-left-radius: 49% 76%;
    border-top-right-radius: 51% 20%;
    border-bottom-right-radius: 91% 80%;
    border-bottom-left-radius: 9% 24%;
    position: relative;
    margin-top: 8rem;
}
#objective .wrap-contents01,
.amblyopia .wrap-contents01 {
    background: #fff8e5;
}
.wrap-contents-01-reverse {
    flex-direction: row-reverse;
    margin-right: auto;
    border-top-left-radius: 51% 20%;
    border-top-right-radius: 49% 76%;;
    border-bottom-right-radius: 9% 24%;
    border-bottom-left-radius: 91% 80%;
}
.wrap-contents01-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
}
.wrap-contents01-body-reverse {
    margin-right: auto;
}
.wrap-contents01-body h3,
.amblyopia .h3 {
    color: var(--jakushi-blue);
}

.wrap-contents01-img {
    height: auto;
    max-width: 320px;
    border-radius: 1rem;
    position: absolute;
    top: -11rem;
    right: 0;
    box-shadow: -6px 6px 0px 0px rgb(0 0 0 / 10%);
}
.wrap-contents01-img-reverse {
    right: auto;
    left: 0;
    box-shadow: 12px 12px 0px 0px rgb(0 0 0 / 10%);
}
.wrap-contents01-img-nosadow {
    box-shadow: none;
}
#new-function {
    margin-bottom: 6rem;
}
#new-function h3 {
    text-align: center;
    font-size: 1.8rem;
}
#new-function h3 + p {
    text-align: center;
    font-size: 1.2rem;
}
ul.new-item-list {
    margin: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
ul.new-item-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    min-width: 150px;
}
ul.new-item-list li i {
    font-size: 3rem;
    width: 6rem;
    height: 6rem;
    background: var(--jakushi-pink);
    border-radius: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
#supervision h3 {
    text-align: center;
    font-size: 1.8rem;
}
#supervision h3 + p {
    text-align: center;
    font-size: 1.2rem;
}
.wrap-supervision {
    margin-left: calc(var(--bs-gutter-x)* -.5);
    margin-right: calc(var(--bs-gutter-x)* -.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    position: relative;
    overflow: hidden;
}
.wrap-contents01 .img-001 {
    top: -15rem;
    left: -1rem;
}
.wrap-contents01 .img-002 {
    top: -18rem;
}
.amblyopia .wrap-contents01 .img-003 {
    top: -16rem;
    right: 0;
    width: 300px;
}
.wrap-general {
    color: #fff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h4.general {
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.5;
}
h4.general strong {
    font-size: 1.8rem;
}
h4.general span {
    margin-left: 1rem;
}
h4.general + ul {
    font-size: .8rem;
}
div.circle-1,
div.circle-2,
div.circle-3 {
    position: absolute;
    width: 360px;
    height: 320px;
    mix-blend-mode: multiply;
}
/* Circles */
.circle-1 {
    background: #f3e2ff;
    border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
    animation: border-animation 18s infinite linear;
}
.circle-2 {
    background: #c6f3f0;
    border-radius: 80% 30% 50% 50%/50%;
    animation: border-animation 12s infinite linear;
}
.circle-3 {
    background: #edb1b8;
    border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
    animation: border-animation 9s infinite linear;
}

label {
    font-weight: bold;
}
form {
    padding: 3rem 1rem;
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, .1);
}
form em {
    font-style: normal;
    font-weight: bold;
}
form .form-group {
    margin-bottom: 2rem;
}
form .form-control {
    border-width: 2px;
    padding: .5rem;
}
input[type="checkbox"],
input[type="radio"] {
    transform: scale(1.8);
    margin-top: 0.5em;
    margin-right: 0.75rem;
}

#info-sec {
    padding-top: 6rem;
    margin-bottom: 6rem;
}
.info-list {
    list-style: none;
    padding-left: 0;
}
.info-list-wrap {
    border-bottom: 2px dotted var(--bs-gray-300);
    margin-bottom: 1rem;
}
.info-list-date {
    font-size: .8rem;
    color: var(--bs-gray-500);
    margin-bottom: .25rem;
}
/*-----------------------
 form
 -----------------------*/
form #terms-of-use {
    background: var(--bs-primary-bg-subtle);
    border-radius: 0.5rem;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}
form #terms-of-use .h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}
form #terms-check {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 4rem;
    font-size: 1.2rem;
}
form #demo-application:disabled {
    opacity: .5;
}
form #privacy-policy {
    height: 400px;
    overflow-y: scroll;
    text-align: left;
    padding: 2rem 1rem;
    line-height: 2;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 0.25rem;
    box-shadow: 0px 0px 4px 4px rgb(0 0 0 / 10%) inset;
}
form #privacy-policy .h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}
form #privacy-policy .h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: inherit;
}
form #acceptPolicy {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}
form #acceptPolicy:disabled {
    opacity: .5;
}
legend {
    font-weight: bold;
}
.mw_wp_form_input .productBlock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.mw_wp_form_input .productBlock .productNum {
    display: flex;
    flex-direction: column;
    align-items:end;
}
.mw_wp_form_confirm .productBlock {
    display: flex;
    justify-content:start;
    align-items: center;
    margin-bottom: 1.5rem;
}
.mw_wp_form_confirm .productBlock .form-check {
    width: 20rem;
}
.mw_wp_form_confirm .productBlock .productNum::after {
	content: "本";
    padding-left: .5rem;
}
.mw_wp_form_input label[for="tel"],
.mw_wp_form_input label[for="fax"] {
    width: 4rem;
}
.mw_wp_form_input .input-only {
    display: block!important;
}
.mw_wp_form_confirm .input-only,
.mw_wp_form_complete .input-only {
    display: none!important;
}
.mw_wp_form_input .confirm-only {
    display: none!important;
}
.mw_wp_form_input .form-check span.mwform-radio-field {
    margin-right: 2rem;
}

.mw_wp_form_confirm .confirm-only {
    display: block!important;
}
.mw_wp_form_confirm .confirm-only-flex {
    display: flex!important;
}
.mw_wp_form_confirm form .form-group {
    margin-bottom: 1rem;
}
.mw_wp_form_confirm label {
    display: block;
}
.mw_wp_form_confirm em {
    display: none;
}
.mw_wp_form_confirm .form-check {
    padding: 0;
    margin: 0;
}
.mw_wp_form_confirm #terms-check {
    text-align: left;
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0;
}
.mw_wp_form_confirm #acceptPolicy {
    text-align: left;
    font-size: 1rem;
}
.mw_wp_form .error {
    font-size: 1rem;
    background: var(--bs-form-invalid-color);
    color: #fff;
    margin-top: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: inline-block;
    line-height: 1;
}
.mw_wp_form_complete {
    padding: 3rem 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, .1);
}

/*contact form7*/
.wpcf7-checkbox {
    border: none;
}
.form-check {
    padding-left: 1em;
}
.productBlock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: .5rem;
}
.w-6rem {
    width: 6rem;
}
#acceptPolicy .form-check-label {
    margin-top: .75rem;
    margin-left: .5rem;
    display: inline-block;
}

#agree .form-check-label {
    display: inline-block;
    margin-top: .25rem;
    margin-left: .5rem;
}

.btn:disabled, .btn.disabled, fieldset:disabled .btn {
    color: var(--bs-btn-disabled-color);
    pointer-events: none;
    background-color: var(--bs-btn-disabled-bg);
    border-color: var(--bs-btn-disabled-border-color);
    opacity: var(--bs-btn-disabled-opacity);
}
.btn-lg, .btn-group-lg>.btn {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.25rem;
    --bs-btn-border-radius: var(--bs-border-radius-lg);
}

nav.breadcrumb-nav {
    margin-top: 5.5rem;
    margin-bottom: 2rem;
}


/* 親ナビゲーションをBootstrap風中央寄せに */
.wp-block-query-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ページ番号ブロックをBootstrap風にまとめる */
.wp-block-query-pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

/* 通常ページリンク */
.wp-block-query-pagination-numbers .page-numbers {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    background: #fff;
    color: var(--jakushi-blue);
    text-decoration: none;
    font-size: 0.9rem;
}
.wp-block-query-pagination-numbers .page-numbers.dots {
    color: gray;
    border:none;
}
.wp-block-query-pagination-numbers .page-numbers.dots:hover {
    background-color: inherit;
    color: gray;
    border-color: inherit;
}

/* ホバー風 */
.wp-block-query-pagination-numbers .page-numbers:hover {
    background-color: var(--jakushi-blue-hover);
    color: #fff;
    border-color: var(--jakushi-blue-hover);
}

/* 現在ページ */
.wp-block-query-pagination-numbers .current {
    background-color: var(--jakushi-blue-active);
    color: #fff;
    border-color: var(--jakushi-blue-active);
}



/* 「次のページ」「前のページ」リンク */
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    border: 1px solid var(--jakushi-blue);
    border-radius: .25rem;
    background: var(--jakushi-blue);
    color: #fff;
    margin: 0 .25rem;
    text-decoration: none;
    font-size: 0;
}

.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
    background-color: var(--jakushi-blue-hover);
    color: #fff;
    border-color: var(--jakushi-blue-hover);
    text-decoration: none;
}

.wp-block-query-pagination-next-arrow,
.wp-block-query-pagination-previous-arrow {
    display: none !important;
}

/* arrow-right */
.wp-block-query-pagination-next::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f061"; /* fa-arrow-right */
    font-size: 1.2rem;
}

/* arrow-left */
.wp-block-query-pagination-previous::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f060"; /* fa-arrow-left */
    font-size: 1.2rem;
}

.w3eden {
    display: flex;
    flex: auto;
}
.amazon a {
    font-size: .8rem;
    text-decoration: none!important;
}
.amazon a .card-img-top {
    height: 150px;
    object-fit: contain;
}
.amazon a .card-body {
    color:var(--bs-link-color);
    padding: 1rem .25rem;
    line-height: 1.3;
}





/* Animation */
@keyframes border-animation {
    to { transform: rotate(360deg); }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    nav.breadcrumb-nav {
        margin-top: 9rem;
    }

    form.post-password-form {
        padding-top: 12rem;
    }
    .pt160 {
        padding-top: 180px !important;
    }

    html {
        font-size: 18px;
    }
    .header-rogo {
        width: 200px;
    }
    /* ハンバーガーメニューの非表示 */
    .wp-block-navigation__responsive-container-open,
    .wp-block-navigation__responsive-container-close {
        display: none;
    }
    #header.view-back, .home #header.view-back {
        padding-top: .75rem;
        padding-bottom: .75rem;
    }
    #header .header-nav {
        display: flex;
        justify-content: center;
    }
    footer .content-fit {
        width: fit-content;
        margin: auto;
    }
    footer .footer-rogo img {
        width: 100%;
    }
    #contact-info, #tradelaw-info {
        padding: 4rem;
        border-radius: 1rem;
    }
    #contact-info .phone-number {
        font-size: 2.4rem;
    }
    form {
        padding: 4rem;
        border-radius: 1rem;
    }
    form .form-control {
        padding: 1rem 0.75rem;
    }
    #objective::before,
    #old-product::before,
    .bg_skew_border::before,
    .bg-white-ex::before {
        width: 200px;
        height: 200px;
    }
    .mainvisual-rogo {
        width: 800px;
    }
    .sub-catch, .sub-catch-bg {
        font-size: 2rem;
    }
    .mainvisual-character {
        width: 500px;
    }
    .main-h2 {
        font-size: 3rem;
    }
    #new-function h3,
    #supervision h3 {
        font-size: 2.4rem;
    }
    #new-function h3 + p,
    #supervision h3 + p {
        font-size: 1.4rem;
    }
    ul.new-item-list li i {
        font-size: 6rem;
        width: 12rem;
        height: 12rem;
    }
    ul.new-item-list li {
        font-size: 1.4rem;
    }
    .wrap-contents01-img {
        max-width: 600px;
        border-radius: 2rem;
        right: -4rem;
        top: -2rem;
        box-shadow: -12px 12px 0px 0px rgb(0 0 0 / 10%);
    }
    .wrap-contents01 {
        display: flex;
        margin-bottom: 6rem;
        background: #fff;
        border-top-left-radius: 49% 76%;
        border-top-right-radius: 51% 20%;
        border-bottom-right-radius: 91% 80%;
        border-bottom-left-radius: 9% 24%;
        position: relative;
        margin-top: 2rem;
        margin-right: 4rem;
    }
    .wrap-contents01 .img-001 {
        top: -4rem;
        left: 0;
    }
    .wrap-contents01 .img-002 {
        top: -6rem;
    }
    .amblyopia .wrap-contents01 .img-003 {
        right: -4rem;
        top: -2rem;
        width: auto;
    }
    .wrap-contents01-img-nosadow {
        box-shadow: none;
    }
    .wrap-contents-01-reverse {
        flex-direction: row-reverse;
        margin-right: auto;
        margin-left: 4rem;
        border-top-left-radius: 51% 20%;
        border-top-right-radius: 49% 76%;;
        border-bottom-right-radius: 9% 24%;
        border-bottom-left-radius: 91% 80%;
    }
    .wrap-contents01-body {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 360px;
        margin-right: 600px;
    }
    .wrap-contents01-body-reverse {
        margin-left: 600px;
        margin-right: auto;
    }
    .wrap-supervision {
        width: 600px;
        height: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    div.circle-1,
    div.circle-2,
    div.circle-3 {
        width: 500px;
        height: 460px;
    }
    h4.general {
        font-size: 1.5rem;
        line-height: 1.5;
    }
    h4.general strong {
        font-size: 2.4rem;
    }
    h4.general + ul {
        font-size: 1rem;
    }
    footer .footer-menu-wrap {
        justify-content: flex-end;
    }
    footer ul.footer-ex-menu-class {
        flex-direction: row;
    }
    .carousel-inner {
        border-bottom-left-radius: 50% 20%;
        border-bottom-right-radius: 50% 20%;
        border-top-left-radius: 50% 20%;
        border-top-right-radius: 50% 20%;
    }
}