@charset "utf-8";
/*
Theme Name: dxway
Theme URI: https://dxway.jp/
Description: dxway
Author: dxway
Author URI: https://dxway.jp/
Text Domain: dxway
Version: 0.6.1
*/
/* import */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+2:wght@100..700&display=swap');

/* colors */
:root {
    --main-color: #03A0B3;
}
:root {
    --base-color: #03a0b31c;
}
:root {
    --action-color: #E97C6D;
}
:root {
    --light-color: #C1BABA;
}
:root {
    --text-color: #707070;
}

/* body */
body {
    font-family: "M PLUS Rounded 1c", serif;
    font-size: 16px;
    line-height: 1.2;
    color: var(--text-color);
    background: #fff url('/wp-content/themes/dxway/images/bg.png') no-repeat center top / 100% auto;
}

#content {
    position: relative;
}

/* 比較ページ */
body.home, body.page[class*="page_comparison"], body.page[class*="page_start"] {
    background: #fff;
}

a {
    color: var(--main-color);
}
img {
    max-width: 100%;
    height: auto;
}
hr {
    border-color: var(--main-color);
}
/* h1, h2, h3, h4, h5 {
    font-weight: bold;
} */
.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
}
.alert {
    max-width: 1000px;
    margin: auto;
}
.small, small {
    font-size: 14px;
}
.w-fit {
    max-width: 75%;
}

/* header */
.navbar {
    position: relative;
    z-index: 9;
    width: 100%;
    background-color: transparent;
    margin-bottom: 0;
    padding-top: 0;
}

.navbar-brand {
    display: flex;
    width: 180px;
    padding: 0 1rem;
}

/* 比較ページ */
.home .navbar, .page[class*="page_comparison"] .navbar, body.page[class*="page_start"] .navbar {
    position: absolute;
}
.home .navbar-brand, .page[class*="page_comparison"] .navbar-brand, body.page[class*="page_start"] .navbar-brand {
    display: none;
}

.navbar-nav {
    align-items: center;
}

.nav-item a {
    display: block;
    color: #fff;
    font-size: 90%;
    text-decoration: none;
    padding: .25rem 1rem;
    border: 1px solid #fff;
    border-radius: 5px;
    margin-right: .75rem;
}
.nav-item a:hover {
    filter: brightness(90%);
}
.nav-item .logo_itagent {
    width: 180px;
    height: auto;
}

.navbar-toggler {
    border: 0 none;
    z-index: 10;
    position: absolute;
    top: 20px;
    right: 10px;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0;
}
.navbar-toggler-icon {
    background: none;
}
.navbar-toggler-icon .icon-bar {
    content: '';
    width: 30px;
    display: block;
    height: 3px;
    background-color: #fff;
    transition: all 0.2s;
}
.navbar-toggler-icon .icon-bar:nth-child(2) {
    margin-top: 8px;
}
.navbar-toggler-icon .icon-bar:nth-child(3) {
    margin-top: 8px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .icon-bar:nth-child(1) {
    transform: rotate(45deg);
    transform-origin: 0 6px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .icon-bar:nth-child(2) {
    background-color: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon .icon-bar:nth-child(3) {
    transform: rotate(-45deg);
    transform-origin: 2px -2px;
}

.navbar-toggler[aria-expanded="true"] + .navbar-collapse {
    position: fixed;
    display: block;
    right: 5px;
    top: 5px;
    margin: 0;
    background-color: #333;
    border-radius: 20px;
    padding: 2rem;
}
.navbar-toggler[aria-expanded="true"] + .navbar-collapse .nav-item a {
    padding: 1rem 0;
    border: 0 none;
}

.nav_account, .nav_cart, .nav_productlist {
    display: none;
}
.logged-in .nav_register, .logged-in .nav_login {
    display: none;
}
.logged-in .nav_account, .logged-in .nav_cart, .logged-in .nav_productlist {
    display: list-item;
}

.nav_register a {
    background-color: #fff;
    color: var(--main-color);
}
.nav_cart {
    border-right: 1px solid #fff;
    background: transparent url('/wp-content/themes/dxway/images/icon_cart.svg') no-repeat left center;
    background-size: auto 95%;
}
.nav_account {
    margin-left: 1rem;
    background: transparent url('/wp-content/themes/dxway/images/icon_member.svg') no-repeat left center;
    background-size: auto 95%;
}
.nav_account a, .nav_cart a {
    display: inline-block;
    border: 0 none;
    padding-left: 2rem;
    margin-right: 0;
}
.nav_itagent a {
    border: 0 none;
}
.nav_itagent a:hover {
    filter: none;
}

/* comparison */
.cover {
    position: relative;
}
.cover .overlap {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}
.cover .fade_in {
    opacity: 0;
    animation: fadeInFly 0.5s ease-out 0.5s forwards;
}
.cover .fade_in_2 {
    opacity: 0;
    animation: fadeIn 0.5s ease-in 0.9s forwards;
}
.cover .fade_in_3 {
    opacity: 0;
    animation: fadeIn 0.5s ease-in 1.3s forwards;
}
.cover .fade_in_4 {
    opacity: 0;
    animation: fadeIn 0.5s ease-in 1.7s forwards;
}
@keyframes fadeInFly {
    0% {
        opacity: 0;
        transform: translate(30px, 30px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.cover .start {
    position: absolute;
    z-index: 2;
    display: inline-block;
    margin: auto;
    width: 16vw;
    height: 3.5vw;
    top: 24vw;
    left: 0;
    right: 0;
    color: transparent;
}

/* button */
.btn {
    font-family: "M PLUS 2", serif;
}
.btn.btn-primary {
    color: #fff;
    background-color: var(--action-color);
    border-color: var(--action-color);
    padding: 0.75rem 2rem;
    font-size: large;
    font-weight: bold;
    line-height: 1.5;
}
.btn.btn-primary:hover {
    filter: brightness(90%);
}

.btn.btn-secondary {
    display: block;
    background-color: var(--main-color);
    border-color: var(--main-color);
    padding: 0.75rem;
    font-size: large;
    font-weight: bold;
    line-height: 1.5;
}
.btn.btn-secondary:hover {
    filter: brightness(90%);
}

.btn.btn-light {
    display: block;
    background-color: var(--light-color);
    border-color: var(--light-color);
    padding: 0.75rem;
    font-size: large;
    font-weight: bold;
    color: #fff;
}
.btn.btn-light:hover {
    filter: brightness(90%);
}

.btn.btn-outline-primary {
    border-color: var(--main-color);
    background-color: #fff;
    color: var(--main-color);
    border-radius: 10px;
    padding: 0.25rem;
}

.btn.btn-outline-primary:hover {
    border-color: var(--main-color);
    background-color: var(--main-color);
    color: #fff;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    border-color: var(--main-color);
    background-color: var(--main-color);
}

/* 比較選定 */
.container {
    position: relative;
}
.home .compare {
    display: none;
}
.compare {
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    background-color: #6666666b;
    backdrop-filter: blur(1px);
}
.compare .container {
    position: relative;
    margin: 6rem auto;
    padding: 4rem 2rem;
    background-color: #ffffffe6;
    border-radius: 20px;
    max-width: 1000px;
}
.compare .bg-light {
    background-color: var(--base-color) !important;
    border-radius: 20px;
}
.compare h3 {
    color: var(--main-color);
    font-size: large;
    font-family: "M PLUS 2", serif;
    font-weight: bold;
    margin-right: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}
.compare .form-control {
    border-color: var(--main-color);
    border-radius: 10px;
}
.compare .form-control::placeholder {
    color: #ccc;
}
.compare .input-group-text {
    color: var(--main-color);
    border-color: var(--main-color);
    border-radius: 10px;
    font-family: "M PLUS 2", serif;
    font-weight: bold;
    background-color: transparent;
}
.compare .logo_app {
    border-radius: 10px;
}

/* ボタンを最大4個まで横並びで折り返し */
.compare .d-flex.flex-wrap {
    gap: 0.5rem;
}

.compare .btn.btn-outline-primary {
    flex: 0 1 calc(25% - 0.5rem); /* ボタンの幅を1行に4個 */
}
.compare h2, .compare h3 {
    color: var(--main-color);
    font-family: "M PLUS 2", serif;
}
.compare h3 {
    letter-spacing: -1px;
}

/* comparison */
.comparison .swiper-wrapper {
    align-items: stretch;
}
.comparison .swiper-container {
    overflow: hidden;
    position: relative;
}
.comparison .swiper-slide {
    text-align: center;
    height: auto;
}
.comparison .swiper-button-prev {
    top: 30vh;
    bottom: auto;
    width: 60px;
    height: 60px;
    left: -60px;
}
.comparison .swiper-button-next {
    top: 30vh;
    bottom: auto;
    width: 60px;
    height: 60px;
    right: -60px;
}
.comparison .swiper-button-prev:after, .comparison .swiper-button-next:after {
    display: none;
}
.comparison .swiper-button-next.swiper-button-disabled, .comparison .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}

.ttl_overlay {
    position: absolute;
    top: -1.5rem;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    display: block;
    width: fit-content;
    background-color: var(--main-color);
    color: #fff !important;
    padding: 1rem 4rem;
    border-radius: 10px;
}
.comparison h3 {
    color: var(--text-color);
    font-size: large;
}
.comparison h3.ttl {
    margin: -1.5rem;
    background-color: var(--main-color);
    color: #fff;
    padding: .5rem;
    border-radius: 20px 20px 0 0;
}
.comparison h4 {
    font-size: 14px;
    letter-spacing: -.5px;
}
.comparison .tariff {
    table-layout: fixed;
}
.comparison .tariff td {
    padding: .25rem;
}
.comparison .tariff b {
    font-size: large;
}
.comparison .tariff label {
    display: block;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    background: #fff url('/wp-content/themes/dxway/images/icon_circle.svg') no-repeat .25rem center;
    background-size: auto 80%;
    padding: .25rem .5rem .25rem 2rem;
    margin-bottom: .5rem;
    border-radius: 5px;
    letter-spacing: -.5px;
    text-align: left;
    clear: both;
}
.comparison .tariff label b {
    float: right;
}
.comparison .tariff img {
    width: 30px;
}
.comparison .tariff small {
    font-size: small;
}
.comparison .subttl {
    background-color: var(--main-color);
    color: #fff;
    border-radius: 5px;
    padding: .25rem;
}
.comparison .fee {
    font-size: x-large;
    font-family: "M PLUS 2", serif;
    color: var(--main-color);
    letter-spacing: -0.3px;
}
.comparison .fee small {
    font-size: 12px;
    color: var(--text-color);
}
.comparison .details small {
    font-size: 14px;
}

/* match-circle */
.match-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: auto;
    --percent: 90; /* デフォルト% */
}
.match-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}
.match-circle circle {
    fill: none;
    stroke-width: 15; /* 太さ */
    stroke-linecap: butt; /* round or butt */
}
.match-circle .background {
    stroke: #ccc; /* 背景円（グレー） */
}
.match-circle .progress {
    stroke: var(--main-color); /* 進捗円 */
    stroke-dasharray: calc(var(--percent) * 2.51) 251; /* 自動計算% */
    filter: drop-shadow(0 0  2px rgba(0, 0, 0, 0.3));
}
.match-ratio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: "M PLUS 2", serif;
    font-size: 48px;
    font-weight: bold;
}
.match-ratio small {
    font-size: small;
    font-weight: bold;
}
.match-text {
    font-size: 12px;
    font-weight: normal;
}

/* comparison-more  */
.comparison-more .table {
    table-layout: fixed;
    margin: 0;
    /* 列数による */
    width: 160%;
    border-collapse: separate;
    border-spacing: 0;
}
.comparison-more table th,
.comparison-more table td {
    vertical-align: middle;
    color: var(--text-color);
    border-bottom: 1px dashed #ccc;
}
.comparison-more table th:first-child {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2); 
}
.comparison-more thead th,
.comparison-more thead td {
    background-color: #fafafa;
}
.comparison-more thead tr:first-child > th {
    vertical-align: top;
    z-index: 4;
    box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}
.comparison-more .ttl_th {
    position: absolute;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    padding: 1rem;
    background-color: #e5e5e5;
    border-radius: 10px 0 0 0;
    font-size: medium;
    font-weight: bold;
}

.comparison-more .match-circle {
    width: 120px;
    height: 120px;
}
.comparison-more .match-ratio {
    font-size: 28px;
}

/* スクロールコンテナ：固定高さ・横幅内でスクロール */
.comparison-more .scroll-container {
    max-height: 95vh;
    overflow: auto;
    position: relative;
    margin-top: 0;
	padding-top: 0;
}
/* ヘッダーセル固定 */
.comparison-more thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
	padding-top: 28px;
}
.comparison-more tfoot th, .comparison-more tfoot td {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
    border-top: 1px solid #ccc !important;
}
/* 1列目（固定列）を固定 */
.comparison-more th:first-child,
.comparison-more td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 3 !important;
}
/* ヘッダーの1列目はさらに上に表示 */
.comparison-more thead th:first-child {
    z-index: 4 !important;
}

/* 列の選択枠 */
.comparison-more table .active {
    position: relative;
    border-left: 3px solid var(--main-color);
    border-right: 3px solid var(--main-color);
    border-top: none;
}

/* テーブルヘッダー（thead）の最初の行の active セルに選択中を追加 */
.comparison-more thead > tr:first-child > .active::before {
    content: '';
    background: var(--main-color) url(/wp-content/themes/dxway/images/icon_th.png) no-repeat center top;
    background-size: 100% auto;
    color: #fff;
    position: absolute;
    top: 0;
    left: -3px;
    width: calc(100% + 6px);
    height: 24px;
    line-height: 24px;
}
/* テーブル本体（tbody）の最後から1行前の行の active セルに下枠線を追加 */
/* .comparison-more tbody > tr:nth-last-child(2) > .active {
    border-bottom: 3px solid var(--main-color) !important;
} */
/* .comparison-more tbody > tr:last-child > .active {
    border: 0 none !important;
    border-bottom: 1px dashed #ccc !important;
} */
.comparison-more tbody th, .comparison-more tbody td {
    padding: 1rem .5rem;
}
.comparison-more tfoot > tr > .active {
    border-bottom: 3px solid var(--main-color) !important;
}
.comparison-more .scroll-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.comparison-more .scroll-container::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #eee;
}
.comparison-more .scroll-container::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #ccc;
}

.comparison-more .icon {
    width: 28%;
}
.comparison-more .col_item .item h3 {
    font-size: small;
    margin-right: 0;
}
.comparison-more .col_item .item h4 {
    display: none;
}
.comparison-more .col_ttl .item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    padding: 3rem .5rem;
}
.comparison-more .col_ttl .item h3 {
    font-size: x-large;
    color: var(--main-color);
    margin: 0;
}
.comparison-more .col_ttl .btn-pdf {
    margin: 1rem 0;
}
.comparison-more .tariff label {
    font-size: small;
    padding: .25rem .25rem .25rem 1.5rem;
}
.comparison-more .tariff label b {
    font-size: small;
}
.comparison-more .tariff label b small {
    font-size: x-small;
}

/* start */
.page_start .btns {
    margin: 8vw 20% 6vw 20%;
}
.page_start .btns .btn {
    display: flex;
    align-items: center;
}
.page_start .btns .btn img {
    width: 100px;
}
.page_start .btns .btn span {
    width: calc(100% - 150px);
    text-align: center;
}

/* demo */
.demo h2, .demo h3 {
    color: var(--main-color);
    font-family: "M PLUS 2", serif;
}

/* page */
h1.ttl_page {
    padding: 2rem 1rem;
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-family: "M PLUS 2", serif;
    font-weight: bold;
    margin-bottom: 0;
}
.breadcrumb {
    max-width: 1000px;
    margin: auto;
    padding-bottom: 1rem;
}
.post_body, .archive_body {
    background: #ffffffe6;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 20px;
    margin: 0 auto 3rem auto;
    line-height: 1.5;
    max-width: 1000px;
}
.post_meta {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.post_cat a {
    display: inline-block;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    background-color: #fff;
    padding: .25rem .5rem;
    border-radius: 5px;
    letter-spacing: -.5px;
    text-decoration: none;
}
.date {
    margin-left: 1rem;
    color: #999;
}

/* footer */
.footer {
    position: relative;
    padding: 4rem 0 0 0;
}
.footer_nav {
    padding: 0;
}
.footer_nav li {
    display: inline-block;
    border-right: 1px solid var(--main-color);
    margin-bottom: .5rem;
}
.footer_nav li:last-child {
    border-right: 0 none;
}
.footer_nav li a {
    display: inline-block;
    padding: 0 1rem;
}
.footer_logo {
    width: 180px;
}
.copy {
    background-color: var(--main-color);
    color: #fff;
}

/* woocommerce */
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 0 none;
    padding: 0 6vw;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    padding: .5rem;
    border-radius: 7px;
    border: 1px solid var(--text-color);
}
.woocommerce-notices-wrapper > div[role="alert"] {
    outline: 0 none !important;
}
.woocommerce-error {
    border-top-color: var(--action-color) !important;
    background-color: var(--base-color) !important;
    color: var(--text-color) !important;
}
.woocommerce-error::before {
    color: var(--action-color);
}
.woocommerce-info, .woocommerce-message {
    border-top-color: var(--main-color) !important;
    background-color: var(--base-color) !important;
    color: var(--text-color) !important;
}
.woocommerce-info::before, .woocommerce-message::before {
    color: var(--main-color);
}
.woocommerce div.product .product_title {
    font-size: x-large;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background-color: var(--base-color);
}
.woocommerce div.product .woocommerce-tabs h2, .related.products h2 {
    display: box;
    display: -webkit-box;
    display: -moz-box;
    text-overflow: ellipsis;
    box-orient: vertical;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-box-orient: vertical;
    -moz-line-clamp: 2;
    -ms-box-orient: vertical;
    -ms-line-clamp: 2;
    padding: 0 !important;
    overflow: hidden;
    height: 2.4em;
}
.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description > h2, .woocommerce-Reviews-title {
    display: none;
}
.woocommerce div.product form.cart div.quantity {
    margin-right: 1rem;
    padding: .5rem;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    width: 38%;
}
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    width: 60%;
}

span.woocommerce-Price-currencySymbol {
    font-size: 80%;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: var(--action-color);
}

/* woocommerce account */
.woocommerce-MyAccount-content h2 {
    font-size: 1.3rem;
    background-color: var(--base-color);
    padding: .5rem;
    border-radius: 7px;
}
.page_my-account.logged-in .woocommerce {
    display: flex;
}
.woocommerce-MyAccount-navigation {
    background-color: var(--base-color);
    padding: 1rem;
    border-radius: 10px;
    margin-right: 1rem;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-MyAccount-navigation a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: .5rem;
    border-bottom: 1px dashed #ccc;
}
.woocommerce-MyAccount-navigation li:last-child a {
    border-bottom: 0 none;
}
.woocommerce-account .select2-container {
    width: auto;
}
.woocommerce-account #invoicejapanresending, .woocommerce-checkout #invoicejapanresending {
    margin-top: 24px;
}

/* woocommerce button */
.wc-block-components-checkout-return-to-cart-button {
    display: block;
    background-color: var(--light-color);
    border-color: var(--light-color);
    padding: 1rem !important;
    font-size: inherit;
    font-weight: bold;
    color: #fff !important;
    border-radius: 50rem !important;
}
.wc-block-components-checkout-return-to-cart-button:hover {
    filter: brightness(90%);
}
.wc-block-components-checkout-return-to-cart-button svg {
    display: none;
}

.woocommerce-Button, 
.single_add_to_cart_button, 
.wc-block-components-button,
.woocommerce ul.products li.product .button,
.dxway-thankyou-setup-button {
    background-color: var(--main-color) !important;
    color: #fff !important;
    padding: 1rem 1.25rem !important;
    border: 0 none;
    font-weight: bold;
    border-radius: 50rem !important;
}
.woocommerce-Button:hover, 
.single_add_to_cart_button:hover, 
.wc-block-components-button:hover,
.woocommerce ul.products li.product .button:hover,
.dxway-thankyou-setup-button:hover {
    filter: brightness(90%);
}

.wc-block-components-checkout-place-order-button,
.dxway-thankyou-setup-button {
    background-color: var(--action-color) !important;
    display: inline-block;
    text-decoration: none;
}

/* woocommerce cart */
.hr_bottom {
    color: var(--main-color);
    padding-bottom: 5rem;
    background: transparent url(/wp-content/themes/dxway/images/hr_bottom.png) no-repeat center bottom 1rem / 55vw auto;
}
.is-large.wc-block-cart .wc-block-cart-items {
    background-color: var(--base-color) !important;
    border-bottom: 0 none !important;
    border-radius: 10px;
    overflow: hidden;
}
.is-large.wc-block-cart .wc-block-cart-items th {
    background-color: var(--main-color) !important;
    color: #fff;
    padding: .5rem !important;
    visibility: visible !important;
}
.is-large.wc-block-cart .wc-block-cart-items td {
    border-top: 0 none !important;
}
.wc-block-components-quantity-selector {
    background-color: #fff;
}
.wc-block-cart__submit {
    margin: 1rem 0 !important;
}
.dxway-status-cart, .dxway-status-checkout, .dxway-status-received {
    display: block;
    width: 50%;
    margin: auto;
    margin-bottom: 2rem;
}
.woocommerce-order-received .dxway-status-checkout {
    display: none;
}
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header, table.wc-block-cart-items .wc-block-cart-items__header {
    font-size: 16px !important;
}
.is-large.wc-block-cart .wc-block-cart__totals-title {
    text-align: center;
    font-size: 16px !important;
    background-color: var(--base-color) !important;
}

/* woocommerce checkout */
.wc-block-components-checkout-step {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: 10px;
    overflow: hidden;
}
.wc-block-components-checkout-step__heading {
    background-color: #f4f1f2;
    margin: 0 !important;
    padding: 1rem;
    font-size: small;
}
.wc-block-components-checkout-step__container {
    padding: 1rem;
}

/* woocommerce order-received */
.dxway-thankyou-message {
    text-align: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
.dxway-thankyou-image {
    width: 22%;
    margin-bottom: 2rem;
}
.dxway-thankyou-title {
    color: var(--main-color);
    font-size: x-large;
    margin-bottom: 1rem;
}

/* woocommerce archive */
.archive .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 2行で丸める */
    height: 3em;
}

/* woocommerce sidebar */
.wp-block-woocommerce-checkout-order-summary-block {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--base-color);
}
.wc-block-components-sidebar {
    margin-top: 0 !important;
}
.wc-block-components-checkout-order-summary__title {
    margin-top: 0 !important;
    background-color: var(--main-color);
    color: #fff;
    padding: 1rem !important;
}
.wc-block-components-checkout-order-summary__title-text {
    margin: 0 !important;
}

/* woocommerce register */
.dxway-register-form, .dxway-login-form, .dxway-registration-info {
    padding: 0 6vw;
}
.dxway-login-form h2 {
    border-top: 1px solid #eee;
    text-align: center;
    padding: 2rem;
}
.dxway-register-form .form-row-first {
    display: inline-block;
    width: 47%; 
    margin-right: 5%;
}
.dxway-register-form .form-row-last {
    display: inline-block;
    width: 47%; 
}
.dxway-register-form .form-row label, .dxway-login-form label {
    display: block;
    margin-bottom: .25rem;
}
.dxway-register-form .form-row input, .dxway-login-form .form-row input {
    border: 1px solid var(--text-color);
    border-radius: 7px;
    padding: .5rem;
    width: 100%;
}
.dxway-register-form button[name="dxway_register"] {
    background-color: var(--action-color) !important;
}
.dxway-login-form .woocommerce-form__input-checkbox {
    width: auto !important;
}
.dxway-login-form .woocommerce-form-login__submit {
    display: inline-block;
    background-color: var(--main-color);
    padding: 1rem 2rem;
    font-weight: bold;
    border-radius: 50rem !important;
    color: #fff;
    border: 0 none;
}
.dxway-login-form .woocommerce-form-login__submit:hover {
    filter: brightness(90%);
}

/* woocommerce-lost-password */
.woocommerce-lost-password .woocommerce-form-row {
    float: none !important;
}

/* @media */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none;
    }
    .comparison .swiper-button-prev {
        left: -20px;
    }
    .comparison .swiper-button-next {
        right: -20px;
    }
}
@media (max-width: 767.98px) {
    .w-md-100 {
        width: 100% !important;
    }
    .nav_register a {
        background-color: transparent;
        color: #fff;
    }
    .logged-in .nav_account, .logged-in .nav_cart {
        background-size: auto 1.5rem;
        padding-left: 2rem;
        margin: 0;
        border-right: 0 none;
    }
    .compare .container {
        padding: 1rem;
        max-width: 90vw;
    }
    .post_body, .archive_body {
        max-width: 90vw;
    }
    /* comparison-more  */
    .comparison-more .table {
        width: 400%;
    }
    .comparison-more .match-circle {
        width: 90px;
        height: 90px;
    }
    .comparison-more .scroll-container {
        margin-top: 4rem;
    }
    .comparison-more table th, .comparison-more table td {
        font-size: 11px !important;
        padding: 5px;
    }
    .comparison-more .column1st {
        width: 20% !important;
    }
    .comparison-more .col_ttl .item {
        padding: 2.5rem .5rem;
    }
    .comparison-more .col_ttl .item h3 {
        font-size: 16px;
    }
    .comparison-more .col_ttl .btn-pdf {
        margin: .5rem 0;
        font-size: small;
        letter-spacing: -0.05em;
        padding: .5rem;
    }
    .comparison h4 {
        font-size: 12px;
    }
    .comparison .fee {
        font-size: large;
    }
    .comparison-more thead tr:first-child > th {
        white-space: normal;
    }
    .comparison-more .icon {
        width: 18%;
    }
    /* 固定解除 */
    /* .comparison-more thead th {
        position: relative !important;
    }
    .comparison-more th:first-child, .comparison-more td:first-child {
        position: relative !important;
    } */
    /* .comparison-more thead > tr:first-child > .active::before {
        height: 17px;
        line-height: 17px;
    } */
    .comparison-more .tariff label {
        padding-left: 1.5rem;
        font-size: x-small;
    }
    .comparison-more .tariff label b, .comparison-more .tariff label small {
        font-size: x-small;
    }
    .comparison-more tfoot .btn {
        font-size: small;
    }
    /* register */
    .dxway-register-form, .dxway-registration-info {
        padding: 1rem;
    }
    .dxway-register-form .form-row {
        width: 100% !important;
    }
    .dxway-status-cart, .dxway-status-checkout, .dxway-status-received {
        width: 80%;
    }
    .wc-block-checkout__actions_row {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button,
    .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
        width: 100% !important;
        text-align: center;
    }
    .woocommerce-account .post_body > .woocommerce {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        /* flex-direction: column-reverse; */
    }
    .woocommerce-MyAccount-navigation {
        border-top: 1px dashed #ccc;
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    /* 比較ページ */
    body {
        background-size: auto 50vh;
    }
    .navbar-toggler[aria-expanded="true"] + .navbar-collapse {
        width: 100%;
        right: 0px;
        top: 0px;
        border-radius: 0px;
    }
    .navbar-brand {
        width: 130px;
        padding: 0;
    }
    .cover .start {
        width: 45vw;
        height: 10vw;
        top: 60vw;
        left: 1vw;
    }
    .ttl_overlay {
        padding: 1rem;
    }
    h1.ttl_page {
        padding: 1rem;
    }
    .post_body, .archive_body {
        padding: 2rem 1rem;
    }
    .page_start .btns {
        margin: 12vw 10vw 8vw 10vw;
    }
    .page_start .btns .btn img {
        width: 50px;
    }
    .page_start .btns .btn span {
        width: calc(100% - 75px);
    }
    /* cart */
    .hr_bottom {
        font-size: 1.3rem;
        padding-bottom: 3rem;
        background-size: 70vw auto;
    }
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
        width: 80%;
        margin: 0 auto 1rem auto;
    }
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        width: 100%;
    }
}

/* ----- 支払ページ ----- */
.page_checkout input#email{
    pointer-events: none;
}
.ssec-description.ssec-checkout-description {
    padding: 16px !important;
}
.woocommerce-checkout .wc-block-components-checkout-step__content {
    padding: 0 1rem 1rem 1rem;
}
.wc-block-components-form .wc-block-components-text-input input,
.wc-blocks-components-select .wc-blocks-components-select__select {
    border-color: #aaa !important;
}

/* ===== 追記箇所 ===== */
/* -----ナビメニュー----- */
@media screen and (min-width:769px){
    #navbars {
        padding: 15px 0px;
    }
}
/* ----- 打刻機ページスタイル ----- */
.recorder_text_title{
    font-size: 18px;
    margin-top: 30px;
    color: var(--main-color);
}
.recorder_notes{
    font-size: 14px;
}
/* ----- 年額表示 ----- */
#indpd::before{
    content: "年3,240円／名";
}
/* ----- カート数量単位 ----- */
.wc-block-cart-item__quantity::before{
    content: "数量";
    font-size: 12px;
}
/* ----- カート契約単位非表示 ----- */
.wc-block-components-product-details__{
    display: none;
}
/* ----- レビューフォーム非表示 ----- */
/* #review_form{
    display: none;
} */
.woocommerce-review__author, .woocommerce-review__dash{
    display: none;
}
/* ----- AI回答 ----- */
.compare-ai-message{
    background-color: #EEE;
    padding: 20px;
    border-radius: 10px;
    font-size: 14px;
}
/* -----ヨウケン参照表示----- */
.reference-service-text{
    text-align: right;
    font-size: 14px;
}
/* -----Plainer----- */
.plainer_error{
    display: none;
}
@media screen and (max-width:768px){
    .plainer_iframe{
        display: none;
    }
    .plainer_error{
        display: block;
        text-align: center;
        margin: 100px 0px;
    }
}
/* ----- アカウント認証ステータス ----- */
.alg-wc-ev-verification-info {
    background-color: #EEE;
    padding: 10px;
    border-radius: 7px;
}
/* ----- 購入完了ページ ダウンロード欄非表示 ----- */
.woocommerce-order-downloads {
    display: none;
}
/* ===== 追記箇所END ===== */