/***テンプレ共通***/


/*共通*/
html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
    height: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.list-marker li {
    position: relative;
    padding-left: 1em;
}

ul.list-marker li::before {
    content: "・";
    position: absolute;
    top: 0;
    left: 0;
}

p {
    color: #222;
    font-size: 16px;
}

a {
    color: #2f4397;
}

a:hover {
    text-decoration: none;
}

a:focus {
    outline: none;
    text-decoration: none;
}

button:focus {
    outline: none;
}

button.ec-blockBtn {
    border: 0;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

#page_homepage .ec-layoutRole .ec-layoutRole__contents {
    max-width: none;
    padding: 0;
}

@media (max-width: 767px) {
    p {
        font-size: 14px;
    }
}

/**/
.text-green {
    color: #8ac75a !important;
}

.border-green {
    border-color: #8ac75a !important;
}

.object-fit-contain {
    object-fit: contain !important;
}

.object-fit-cover {
    object-fit: cover !important;
}

/*TOPに戻るボタン*/
.ec-blockTopBtn {
    background: #ccc;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    right: 15px;
    font-size: 0;
}

.ec-blockTopBtn::before {
    content: "";
    border-bottom: 16px solid white;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 12px);
}

/*ポーシャペイバナー*/
.portia-popup {
    position: fixed;
    bottom: 1em;
    right: 0;
    z-index: 100;
    width: 50%;
    max-width: 300px;
    opacity: 0;
    transform: translateX(110%);
    transition: .5s;
}

#page_portiapay1 .portia-popup,
#page_portiapay2 .portia-popup {
    display: none !important;
}

.portia-popup.active {
    opacity: 1;
    transform: none;
}

.portia-popup .close-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    padding: 5px;
    z-index: 10;
    cursor: pointer;
}

.portia-popup .close-btn::before {
    content: "";
    width: 16px;
    height: 2px;
    background: white;
    transform: rotate(45deg);
    position: absolute;
    top: 12px;
    left: 5px;
}

.portia-popup .close-btn::after {
    content: "";
    width: 16px;
    height: 2px;
    background: white;
    transform: rotate(-45deg);
    position: absolute;
    top: 12px;
    left: 5px;
}

/*カテゴリメニュー*/
@media(min-width: 768px) {
    .ec-itemNav__nav li ul li a {
        border: none;
        font-weight: normal;
        padding: 10px 15px;
    }

    .ec-itemNav__nav li ul li ul:before {
        content: "";
        width: 8px;
        height: 8px;
        border-top: 2px solid white;
        border-right: 2px solid white;
        transform: rotate(45deg);
        left: -18px;
    }
}


/*ドロワーメニュー*/
.ec-drawerRole .ec-headerCategoryArea .ec-itemNav__nav li a {
    padding: 15px 1em;
    font-size: 14px;
    background: white;
    border-bottom: none;
    border-top: 1px solid #ccc;
    width: 95%;
    margin: 0 auto;
}

.ec-drawerRole .ec-headerSearch {
    background: none;
    padding: 15px;
}

.ec-drawerRole {
    background: white;
    width: 80%;
    max-width: 300px;
    transform: translateX(-110%);
    transition: .5s;
}

.ec-drawerRoleClose {
    left: calc(80% + 15px);
    background: rgba(68 68 68 / 0.6);
    border-radius: 5px;
    width: 34px;
    height: 34px;
    color: white;
}

.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
    border-radius: 0;
}

.ec-headerSearch .ec-headerSearch__keyword input[type="search"] {
    font-size: 14px;
}

.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search::before {
    top: calc(50% - 3px);
    right: 1em;
}

.ec-headerSearch .ec-headerSearch__keyword {
    border-radius: 0;
    background: #fffdf6;
}

.ec-drawerRole .ec-headerLinkArea .ec-headerLink__list {
    border: 0;
}

.ec-drawerRole .ec-headerLinkArea .ec-headerLink__item {
    border: 0;
    font-weight: normal;
    padding: 10px 1em;
    font-size: 14px;
}

.ec-drawerRole .ec-headerLinkArea .ec-headerLink__list {
    border: 0;
    padding: 15px 0;
}

.ec-drawerRole .ec-headerLinkArea .ec-headerLink__icon {
    font-size: 16px;
    width: auto;
}

.ec-drawerRole .ec-headerCategoryArea .ec-itemNav__nav li ul li a {
    border: none;
    padding: 10px 1em 10px 2em;
    border: none;
}

.ec-drawerRole .ec-itemNav__nav li ul li ul {
    border-bottom: 1px solid#ccc;
    width: 95%;
    margin: 0 auto;
}

/*子ページ共通*/
.ec-role {
    color: #222;
}

.ec-layoutRole .ec-layoutRole__contents {
    padding: 30px 0;
}

.ec-pageHeader {
    text-align: center;
}

.ec-pageHeader h1 {
    color: #222;
    border: none;
    margin: 0 0 1em !important;
    padding: 0 0 7px !important;
    font-size: 20px;
    display: inline-block;
    border-bottom: 1px solid #ccc;
}

.ec-blockBtn--action {
    background: #e75050;
    border: 0;
    border-radius: 5px;
    font-family: inherit;
}

.ec-blockBtn--action:hover {
    opacity: .8;
    background: #e75050;
}

.ec-blockBtn--cancel {
    background: #7e5f4b;
    border: 0;
    border-radius: 5px;
    font-family: inherit;
}

.ec-blockBtn--cancel:hover {
    opacity: .8;
    background: #7e5f4b;
}

span.ec-required {
    background: #da3d3d;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

@media(min-width: 768px) {
    .ec-pageHeader h1 {
        font-size: 25px;
    }
}

@media(max-width: 767px) {
    .ec-role {
        font-size: 14px;
    }
}

/*新規会員登録*/
.ec-registerRole {
    padding-top: 20px;
}

.ec-registerRole .ec-borderedDefs {
    margin-top: 10px;
}

.ec-registerRole label {
    color: #333;
    font-weight: bold;
}

.ec-registerRole .corner_frame dd {
    width: 100%;
}

.ec-registerRole .corner_frame dt {
    width: 100% !important;
}

.ec-registerRole .corner_frame dl {
    display: block;
}

.ec-registerRole .corner_frame {
    border: none;
    padding-left: 0;
}

.ec-registerRole .corner_frame .ec-radio label {
    border: 1px solid #8f5b39;
    padding: 1em;
    background: #ad7652;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    color: white;
}

.ec-registerRole .corner_frame span.ec-required {
    display: none;
}

.ec-registerRole__actions .ec-off4Grid__cell {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.ec-registerRole .ec-radio input {
    margin-right: 3px;
    margin-bottom: 5px;
    cursor: pointer;
}

.ec-registerRole p.ec-errorMessage {
    margin-bottom: 10px !important;
}

.ec-zipInputHelp span {
    color: #70a2ec;
}

.ec-link {
    color: #70a2ec;
}

/*完了画面*/
.ec-reportHeading {
    color: #4878c4;
    border: none;
}

.ec-reportHeading h2 {
    font-size: 28px;
}

@media (max-width: 767px) {
    .ec-reportHeading h2 {
        font-size: 20px;
    }
}

/*ゲスト登録*/
.ec-customerRole {
    padding: 20px 0;
}

/*ログイン*/
.ec-login .ec-icon img {
    display: none;
}

.ec-login {
    background: none;
    padding: 1em;
}

.ec-login .ec-login__input {
    margin-bottom: 15px;
}

.ec-login .ec-checkbox label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin: 0;
}

.ec-login__actions button {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    font-family: inherit;
}

.ec-login .ec-login__link {
    margin: 0;
}

.ec-login__link a {
    color: #666;
    font-weight: 500;
    margin-bottom: 3px;
    display: inline-block;
}

.ec-login__link a:hover {
    color: #e54242;
}

.login-info {
    margin-top: 15px;
    text-align: right;
}

.ec-login .ec-errorMessage {
    color: #e54242;
    font-weight: 600;
}

.ec-guest {
    background: #fffff2;
    border: 1px solid #7e5f4b;
}

.ec-guest .ec-guest__actions a {
    background: #f59650;
}

/*パスワード再発行*/
.ec-forgotRole {
    font-weight: 500;
}

.ec-forgotRole .ec-borderedDefs {
    border: none;
}

.ec-forgotRole .ec-borderedDefs dl {
    border: none;
    max-width: 800px;
    margin: 0 auto;
}

/*商品一覧*/
.ec-topicpath {
    padding: 0 10px 6px;
    border-top: 0;
}

.ec-topicpath .ec-topicpath__divider {
    color: #ccc;
    font-size: 13px;
}

.ec-topicpath .ec-topicpath__item a {
    color: #816655;
    font-size: 14px;
}

.ec-topicpath .ec-topicpath__item--active a {
    font-size: 14px;
    color: #e75050;
}

.ec-shelfGrid .ec-shelfGrid__item-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ec-shelfGrid__item p.name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.ec-shelfGrid__item .text-list {
    font-size: 14px;
    margin-bottom: 1em;
}

.ec-shelfGrid__item p.price02-default {
    color: #dd4d4d;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 15px;
    text-align: right;
}

.ec-shelfGrid__item form {
    text-align: center;
}

.ec-numberInput {
    font-size: 14px;
}

.ec-shelfGrid .ec-shelfGrid__item-image {
    height: auto;
}

.ec-pager .ec-pager__item--active {
    background: #ffe2e2;
}

.ec-pager .ec-pager__item a,
.ec-pager .ec-pager__item--active a {
    font-weight: 500;
}

.ec-select select {
    max-width: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    .ec-shelfGrid .ec-shelfGrid__item-image {
        height: 200px;
    }
}

/*商品詳細*/
.ec-productRole {
    padding: 30px 20px;
}

.ec-sliderItemRole img {
    max-height: 450px;
    object-fit: contain;
}

.ec-sliderItemRole .slideThumb {
    width: calc(100% / 5);
    padding: 3px;
    height: 100px;
    text-align: center;
}

.ec-sliderItemRole .slideThumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ec-productRole .ec-productRole__title .ec-headingTitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 1em;
    color: #222;
}

.ec-productRole .ec-productRole__priceRegular {
    padding: 0;
    margin-bottom: 5px;
    color: #333;
}

.ec-productRole .ec-productRole__price {
    font-size: 18px;
    color: #e75050;
    border: 0;
    padding: 0;
    margin-bottom: 15px;
}

.ec-price .ec-price__price {
    padding: 0;
}

.ec-price .ec-price__tax {
    font-size: 12px;
    color: #555;
}

.ec-productRole .ec-productRole__tag {
    color: white;
    background: #7ba4e4;
    border: 0;
}

a.ec-inlineBtn--action {
    background: #ea4040;
    border: 0;
    border-radius: 5px;
}

a.ec-inlineBtn--action:hover {
    background: #ea4040;
    opacity: .8;
}

.ec-inlineBtn--cancel {
    background: #777;
    border: 0;
    border-radius: 5px;
}

.ec-inlineBtn--cancel:hover {
    background: #777;
    opacity: .8;
}

.ec-modal .ec-modal-wrap {
    border-radius: 5px;
    border-color: #777;
    padding: 50px 1em;
}

#ec-modal-header {
    color: #222;
    margin-bottom: 1.5em;
}

.ec-productRole .ec-productRole__tags {
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 1em;
}

.ec-productRole .ec-productRole__category {
    border-bottom: 0;
    padding: 0;
    margin-bottom: 1em;
}

.ec-productRole .ec-productRole__category li {
    line-height: 1.2;
}

.ec-productRole .ec-productRole__category a {
    color: #997a67;
    font-size: 13px;
    font-weight: normal;
}

.ec-productRole__category i {
    font-size: 12px;
    color: #777;
}

.ec-productRole .ec-productRole__description {
    font-size: 15px;
    font-weight: normal;
    color: #555;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
    padding: 15px 0;
    margin-bottom: 15px;
}

.ec-productRole .ec-productRole__code {
    border: 0;
    font-size: 14px;
}

#ec-point {
    padding: 0;
    margin-bottom: 1em;
}

.ec-productRole .ec-productRole__size {
    font-size: 15px;
    color: #222;
}

.ec-productRole .ec-productRole__actions {
    padding: 0;
}

.ec-productRole__freearea {
    font-size: 14px;
}

@media (min-width: 768px) {
    .ec-productRole .ec-productRole__title .ec-headingTitle {
        font-size: 23px;
    }

    .ec-price .ec-price__price {
        font-size: 22px;
    }

    .ec-productRole .ec-productRole__description {
        font-size: 16px;
    }

    .ec-productRole .ec-productRole__btn {
        margin-bottom: 10px;
    }

    .ec-productRole__freearea {
        font-size: 16px;
    }
}

/*カート*/
.ec-cartRole {
    padding-left: 1em;
    padding-right: 1em;
}

.ec-orderRole {
    color: #222;
}

.ec-cartHeader .ec-cartHeader__label {
    background: #a08568;
    color: white;
    padding: 10px;
}

a.ec-blockBtn.ec-cartNavi--cancel {
    border-radius: 5px;
}

.ec-cartRow__name a {
    color: #222;
}

.ec-progress .ec-progress__number {
    background: #ffa880;
}

.ec-progress .ec-progress__number {
    opacity: .6;
}

.ec-progress .is-complete .ec-progress__number {
    opacity: 1;
}

.ec-progress .ec-progress__label {
    font-size: 13px;
    color: #777;
}

.ec-progress .is-complete .ec-progress__label {
    font-size: 16px;
}

.ec-progress .ec-progress__item:after {
    border-top: 4px dotted #c6c6c6;
    width: 60%;
    height: 4px;
    top: 19px;
    left: 70%;
    background: none;
}

.ec-totalBox {
    background: #fdfff2;
    padding: 1.5em;
    border-radius: 7px;
    border: 1px solid #999;
    margin: 1em 0;
}

.ec-cartRow .ec-cartRow__img {
    padding: 7px;
}

.ec-cartRole .ec-cartRole__totalAmount {
    color: #e63939;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountSP {
    font-size: 14px;
}

.ec-rectHeading h2 {
    background: #b98b6e;
    padding: 10px 13px;
    color: white;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px 0 0 0;
    margin-bottom: 10px;
}

.ec-rectHeading h2::before {
    content: "\f044";
    font-family: 'Font Awesome 5 Free';
    margin-right: .5em;
}

.ec-radio {
    padding: 0 10px;
}

.ec-orderAccount {
    margin-bottom: 30px;
}

.ec-orderAccount .ec-orderAccount__account {
    margin: 0;
}

.ec-orderDelivery {
    margin-bottom: 30px;
}

.ec-orderDelivery .ec-orderDelivery__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: static;
    padding: 10px 0;
}

.ec-orderDelivery .ec-orderDelivery__change {
    position: static;
}

.ec-orderDelivery__address {
    padding: 0 1em;
}

.ec-orderPayment {
    margin-bottom: 30px;
}

div#coupon {
    margin-bottom: 30px;
}

a#coupon_button {
    margin-top: 10px;
    font-size: 14px;
    color: white;
    background: #999;
    border: none;
    border-radius: 3px;
    padding: 10px 15px;
}

.ec-inlineBtn {
    border-radius: 5px;
    background: #999;
    color: white;
    border: none;
    font-family: inherit;
    padding: 10px 15px;
}

a#estimate_button_shopping {
    background: #74a1d4;
    border-radius: 7px;
    border: 1px solid #74a1d4;
    color: white;
    font-weight: bold;
    padding: 8px;
}

.ec-totalBox__pointBlock {
    border: 1px solid #ccc;
}

.ec-totalBox .ec-totalBox__paymentTotal .ec-totalBox__price,
.ec-totalBox .ec-totalBox__paymentTotal .ec-totalBox__taxLabel {
    color: #e25e5e;
}

textarea#shopping_order_message {
    font-size: 14px;
}

.ec-orderPayment input {
    margin-top: 5px;
}

.ec-cartRole form {
    padding: 0;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton {
    border: 1px solid #555;
    border-radius: 5px;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton {
    border-radius: 5px;
    border: 1px solid #525263;
}

.ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.ec-cartRow__unitPrice {
    font-weight: normal;
    font-size: 15px;
}

.ec-cartRow .ec-cartRow__summary .ec-cartRow__sutbtotalSP {
    margin-top: 5px;
    font-size: 15px;
    color: #e75050;
}

.ec-alert-warning {
    background: #e65050;
    padding: 15px;
}

@media (min-width: 768px) {
    .ec-progress .ec-progress__number {
        line-height: 45px;
        width: 45px;
        height: 45px;
        font-size: 19px;
    }

    .ec-progress .is-complete .ec-progress__number {
        font-size: 25px;
    }

    .ec-cartRole .ec-cartRole__totalAmount {
        font-size: 24px;
    }
}

@media (max-width: 767px) {


    .ec-rectHeading h2 {
        font-size: 16px;
    }

    .ec-progress .ec-progress__label {
        font-size: 12px;
    }

    .ec-progress .is-complete .ec-progress__label {
        font-size: 12px;
    }

    .ec-progress .ec-progress__number {
        font-size: 16px;
    }

    .ec-progress .ec-progress__item:after {
        top: 13px;
    }

    .ec-cartRow .ec-cartRow__summary .ec-cartRow__name {
        font-size: 15px;
    }
}

/*お知らせTOP*/
.ec-newsRole {
    padding: 0;
}

.ec-newsRole .ec-newsRole__news {
    border: none;
    padding: 0;
}

.ec-newsRole .ec-newsRole__newsItem:not(:last-of-type) {
    border: none;
}

.ec-newsRole .ec-newsRole__newsItem {
    padding: 0;
}

.news-link {
    display: none;
}

.news-link a {
    display: inline-block;
}

/*お知らせページ*/
#page_news .ec-role .ec-newsRole__newsItem {
    padding: 1em 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 2em;
    max-width: 900px;
    margin: 0 auto;
}

#page_news .ec-role .ec-newsRole__newsDate {
    margin-bottom: 5px;
}

#page_news .ec-newsRole__newsDescription {
    margin-top: 5px;
}

@media (max-width: 767px) {
    #page_news .ec-role .ec-newsRole__newsItem {
        font-size: 15px;
    }
}


/*マイページ*/
.ec-mypageRole {
    padding-top: 20px;
}

.ec-navlistRole .ec-navlistRole__item a {
    font-size: 15px;
    padding: 1em;
}

.ec-welcomeMsg {
    font-weight: 500;
    border-bottom: 1px dashed #ccc;
}

.ec-navlistRole .active a {
    color: #ea4332;
}

li.ec-navlistRole__item.active {
    background: #fff6f6;
}

.ec-historyListHeader .ec-historyListHeader__action a {
    font-size: 13px;
    background: #888;
    color: white;
    border: none;
    border-radius: 5px;
}

.ec-historyListHeader .ec-historyListHeader__action a:hover {
    opacity: .8;
}

.ec-historyRole .ec-historyRole__detail .ec-historyRole__detailTitle {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
}

.ec-historyRole .ec-historyRole__detail .ec-historyRole__detailPrice {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    color: #d42929;
}

.ec-favoriteRole .ec-favoriteRole__item .ec-closeBtn--circle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    background: rgba(145 145 145 / 0.8);
}

.ec-favoriteRole .ec-favoriteRole__item-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-mypageRole label {
    font-weight: bold;
}

.ec-addressRole__actions a {
    background: #888;
    color: white;
    border: 0;
    border-radius: 5px;
}

.ec-withdrawRole .ec-icon,
.ec-withdrawConfirmRole .ec-icon {
    margin: 15px 0;
}

.ec-withdrawRole .ec-icon img,
.ec-withdrawConfirmRole .ec-icon img {
    width: 40%;
    height: auto;
    max-width: 200px;
    max-height: none;
}

.ec-withdrawRole .ec-withdrawRole__title {
    font-size: 28px;
}


@media (min-width: 768px) {
    .ec-historyListHeader .ec-historyListHeader__action a {
        font-size: 16px;
    }

    .ec-historyListHeader .ec-historyListHeader__date {
        font-size: 18px;
    }

    .ec-favoriteRole .ec-favoriteRole__item {
        width: calc(100% / 5);
    }

    .ec-favoriteRole .ec-favoriteRole__item-image {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .ec-withdrawRole .ec-withdrawRole__title {
        font-size: 20px;
    }
}

/*ご利用ガイド*/
.guide-group h2 {
    font-size: 20px;
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 6px 12px;
    background: #7c6e65;
}

.guide-group h2 .icon {
    width: 32px;
    height: 32px;
    margin-right: 5px;
    vertical-align: middle;
}

.guide-group h3 {
    font-size: 18px;
    font-weight: 600;
    border-left: 7px solid #c0aaa0;
    padding-left: 5px;
    margin-bottom: 7px;
}

ul.guide-link li {
    margin-top: 10px;
}

ul.guide-link .icon {
    width: 35px;
    height: 35px;
    display: block;
    margin: 0 auto 5px;
}

ul.guide-link a {
    color: white;
    padding: 10px;
    border-radius: 5px;
    background: #7e5a44;
    display: inline-block;
    min-width: 180px;
}

.guide-group ul {
    margin-bottom: 1em;
}

.guide-group li {
    position: relative;
    padding-left: 1em;
}

.guide-group li::before {
    content: "・";
    position: absolute;
    top: 0;
    left: 0;
}

.guide-group {
    padding-top: 30px;
}

.guide-group .info {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 1em;
}

.guide-group .info h4 {
    margin: 0 0 0.5em;
    font-size: 16px;
}

.guide-group .info span {
    color: #e32b2b;
    font-weight: 600;
}

@media (min-width: 768px) {
    ul.guide-link {
        display: flex;
    }

    ul.guide-link li+li {
        margin-left: 1em;
    }
}

@media (max-width: 767px) {
    .guide-group h2 {
        font-size: 18px;
    }

    .guide-group h3 {
        font-size: 16px;
    }

    .guide-group li {
        font-size: 15px;
    }

    .guide-group p {
        font-size: 15px;
    }

    .guide-group .info h4 {
        font-size: 15px;
    }

    ul.guide-link .icon {
        display: inline-block;
        margin: 0 5px 0 0;
    }
}

/*会社概要*/
#page_help_about .ec-role {
    max-width: 700px;
}

#page_help_about dl {
    display: flex;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 1em;
    padding: 0 0 1em;
}

#page_help_about dt {
    min-width: 8em;
}

@media (max-width: 767px) {
    #page_help_about dl {
        font-size: 14px;
    }
}

/*FAQ*/

.page_faq .faq {

    margin-bottom: 1em;
    border-radius: 5px;
    background: white;
}

.page_faq .question {
    padding: 1em 2.5em;
    position: relative;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.page_faq .question::after {
    content: "";
    background: gray;
    position: absolute;
    height: 4px;
    top: calc(1em + 9px);
    right: 1em;
    transition: .3s;
    width: 22px;
}

.page_faq .question::before {
    content: "";
    background: gray;
    position: absolute;
    height: 22px;
    top: 1em;
    right: calc(9px + 1em);
    transition: .3s;
    width: 4px;
}

.page_faq .question.open::after {
    transform: rotate(180deg);
}

.page_faq .question.open::before {
    transform: rotate(270deg);
}

.page_faq .question p {
    position: relative;
}

.page_faq .question p::before {
    content: "Q";
    display: flex;
    position: absolute;
    top: 0;
    left: -1.35em;
    color: #8AC75A;
    font-weight: bold;
}

.page_faq .answer {
    padding: 1.2em 1.8em;
    display: none;
    margin-top: 1em;
    background: #eeeeee;
}

.page_faq .answer p {
    position: relative;
}

@media (max-width: 768px) {
    .page_faq .faq {
        font-size: 15px;
    }
}

/*特定商取引*/
#page_help_tradelaw dl {
    padding: 0;
}

#page_help_tradelaw dt {
    padding: 1em 0;
}

#page_help_tradelaw dd {
    line-height: 1.5;
    padding: 1em 0;
}

#page_help_tradelaw .ec-label {
    margin: 0;
}


/*お問い合わせ*/
.ec-contactRole {
    padding-top: 20px;
}

.ec-contactRole p {
    font-weight: 500;
}

.ec-contactRole label {
    color: #333;
    font-weight: bold;
    position: relative;
    z-index: 0;
}

.ec-contactRole label::before {
    content: "";
    width: 100%;
    height: 7px;
    background: #fffad2;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.ec-contactConfirmRole p {
    font-weight: 500;
    margin-bottom: .5em;
    background: #ed6969;
    color: white;
    padding: 10px 1em;
}

select#contact_contact_type {
    padding: 5px;
    margin-bottom: 10px;
}


/*ポーシャペイ*/
.portiapay section {
    margin-bottom: 80px;
}

.portiapay {
    padding-top: 1em;
    overflow-x: hidden;
    max-width: 1000px;
}

.portiapay p {
    font-size: 16px;
}

.portiapay h1 {
    text-align: center;
    font-size: 25px;
    line-height: 1.3;
    color: #e53185;
    font-weight: 600;
}

.p-entry h2 {
    font-size: 25px;
    text-align: center;
    font-weight: 600;
    color: #333;
    margin: 2em 0 1em;
}

.p-entry h2 img {
    width: 18px;
    margin: 0 5px;
    vertical-align: baseline;
}

.p-entry .entry-link {
    display: flex;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.p-entry .entry-link a {
    padding: 5px;
}

.p-link {
    text-align: center;
    margin: 2em 0;
}

.p-link img {
    max-width: 330px;
}

h2.p-title {
    border-left: 5px solid #1e79b6;
    color: #333;
    font-size: 22px;
    padding: 1em 16px;
    font-weight: 600;
    text-align: center;
    position: relative;
    background: #fffef2;
    margin-bottom: 1.5em;
    line-height: 1.5;
}

h2.p-title::before {
    content: "";
    border-left: 4px solid #fabd1b;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

h2.p-title span {
    color: #e53185;
}

h2.p-title img {
    height: 40px;
    width: auto;
    padding: 0 7px 7px;
}

#p-shinki .step {
    display: flex;
    align-items: center;
    margin-bottom: .5em;
}

.step h3 {
    border-radius: 50%;
    width: 34px;
    height: 35px;
    line-height: 35px;
    display: inline-block;
    text-align: center;
    background: #2273ab;
    color: white;
    font-size: 16px;
    margin: 0 .5em 0;
    font-weight: 600;
}

.step h4 {
    font-size: 20px;
    color: #2273ab;
    font-weight: 600;
    margin-bottom: 0;
}

ul.entry-flow {
    display: flex;
}

ul.entry-flow li {
    border: 2px solid #2273ab;
    padding: 2.5em 2em;
    border-radius: 5px;
    position: relative;
    width: calc(100% / 3);
    margin: 5px;
}

ul.entry-flow li p {
    text-align: center;
    font-size: 15px;
}

ul.entry-flow li img {
    padding: 0 2em 2em 2em;
}

ul.entry-flow li:not(:last-child)::before {
    content: "";
    width: 30px;
    height: 30px;
    background: #fabd1b;
    position: absolute;
    bottom: calc(50% - 15px);
    left: auto;
    right: -10px;
    z-index: 1;
}

ul.entry-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: calc(50% - 30px);
    right: -40px;
    border-left: 30px solid #fabd1b;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    z-index: 1;
}

#p-about {
    margin-top: 50px;
}

#p-about .inner {
    width: 90%;
    margin: 0 auto;
}

#p-about h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
    border-top: 2px solid #fabd1b;
    border-bottom: 2px solid #fabd1b;
    padding: .5em;
    margin-bottom: 1em;
    text-align: center;
}

#p-about h3 span {
    color: #2273ab;
}

#p-about p {
    margin-bottom: 1em;
    line-height: 1.6;
}

#p-about p span {
    color: #2273ab;
    font-weight: 500;
}

#p-about ul {
    display: flex;
    max-width: 600px;
    margin: 1em auto;
    padding-top: 3em;
}

#p-about ul li {
    padding: 0 10px;
    width: calc(100% / 3);
}

#p-flow .block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    margin-top: 40px;
}

#p-flow .flow-num {
    width: 25%;
}

#p-flow .flow-txt {
    width: 73%;
}

#p-flow .flow-txt p span {
    border-bottom: 3px solid #e74296;
}

.flow-txt .small {
    padding-top: 1em;
}

#p-flow .flow-num h2 {
    background: #2279b6;
    color: white;
    font-size: 16px;
    padding: 10px;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}

#p-flow .flow-num .arrow {
    content: "";
    width: 10px;
    height: 95%;
    background: #2279b6;
    margin: 0 auto;
    position: relative;
}

#p-flow .flow-num .arrow::before {
    content: "";
    border: 14px solid transparent;
    border-top: 14px solid #2279b6;
    position: absolute;
    top: 96%;
    left: -9px;
}

#support .inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    align-items: flex-end;
    position: relative;
}

#support .inner::before {
    content: "";
    width: 60%;
    position: absolute;
    top: 45%;
    left: 27%;
    transform: rotate(-40deg);
    border-top: 7px dotted #1d79b6;
}

.helpdesk {
    width: 55%;
    height: 480px;
}

.fee {
    width: 40%;
}

@media(min-width: 768px) {
    #p-flow .block:nth-child(4) {
        margin-bottom: 47px;
    }
}

@media(max-width: 767px) {
    .portiapay h1 {
        font-size: 18px;
    }

    .portiapay p {
        font-size: 14px;
    }

    h2.p-title img {
        height: 25px;
        padding: 0 5px 5px;
    }

    .p-entry h2 {
        font-size: 16px;
    }

    .p-entry h2 img {
        width: 12px;
        margin: 0 2px;
    }

    .p-entry .entry-link {
        display: block;
    }

    .p-entry .entry-link img {
        padding: 5px;
        width: 90%;
        max-width: 280px;
    }

    .p-link img {
        width: 90%;
        max-width: 280px;
    }

    h2.p-title {
        font-size: 16px;
    }

    ul.entry-flow {
        display: block;
    }

    ul.entry-flow li {
        width: 100%;
        margin: 0 0 30px;
    }

    ul.entry-flow li:last-child {
        margin-bottom: 1em;
    }

    ul.entry-flow li:not(:last-child)::before {
        bottom: -15px;
        left: calc(50% - 15px);
    }

    ul.entry-flow li:not(:last-child)::after {
        bottom: -75px;
        left: calc(50% - 30px);
        right: auto;
        border: 30px solid transparent;
        border-top: 30px solid #fabd1b;
    }

    #p-about .inner {
        width: 100%;
    }

    #p-about h3 {
        font-size: 16px;
        text-align: left;
    }

    #p-about ul li {
        padding: 0 3px;
    }

    #p-flow .block {
        display: block;
        margin: 1em 0 2em;
    }

    #p-flow .flow-num h2 {
        text-align: left;
    }

    #p-flow .flow-num {
        width: 100%;
        margin-bottom: 1em;
    }

    #p-flow .flow-txt {
        width: 100%;
    }

    #p-flow .flow-num .arrow {
        display: none;
    }

    #support .inner {
        display: block;
    }

    #support .inner::before {
        top: 60%;
        left: 0%;
        border-width: 5px;
    }

    .helpdesk {
        width: 100%;
        height: auto;
        margin-bottom: 3em;
    }

    .fee {
        width: 100%;
        text-align: right;
    }

    .fee img {
        width: 70%;
    }
}