@charset "utf-8";

/* 共通 */
article {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.contents {
    padding: 2rem 1rem;
}
article h2 {
    position: relative;
    margin: 0 1rem;
    padding: 0 0 .8rem;
    font-size: 1.9rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
}
article h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #42a660;
    background: linear-gradient(90deg, #42a660, #69d08f);
    border-radius: 2px;
}
article h3 {
    position: relative;
    margin: 0 1rem;
    padding: .75rem 0 .75rem 1rem;
    font-size: 1.7rem;
}
article h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(120deg, #42a660, #69d08f);
    border-radius: 2px;
}
.description {
    margin-bottom: 1rem;
}
article a.tel_btn:link,
article a.tel_btn:visited,
article a.tel_btn:hover,
article a.tel_btn:active {
    color: #fff;
}
.tel_btn {
    display: block;
    margin: 0 14px 10px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    background: #F37F00;
    box-shadow: 0px 4px 15px -4px #777;
}
.tel_btn .tel_btn_text {
    display: block;
    font-size: 14px;
    line-height: 1.2;
}
.tel_btn_bank {
    background: #eee;
    color: #333 !important;
}
.notes {
    margin: 3rem 1rem 0;
    padding: 1rem;
    color: #444;
    line-height: 1.85;
    background: #e8f8f1;
    border-radius: 5px;
    box-sizing: border-box;
}
.notes > b:first-of-type {
    color: #42a660;
}
.notes ol {
    margin: .5rem 0 0;
    padding: 0 0 0 2rem;
    line-height: 1.25
}

.notes ol>li {
    list-style: decimal
}

.notes ol>li+li {
    margin: 1.5rem 0 0
}

.notes ol ul {
    padding: 0 0 0 1.25rem;
    font-size: 1.4rem
}

.notes ol ul li {
    margin: 1rem 0 0;
    line-height: 1.4;
    list-style: disc
}

.notes ol ul ul {
    padding: 0 0 0 1rem;
}

.notes ol ul ul li {
    list-style: circle
}

.notes small {
    display: block;
    font-size: .875em
}
.step  {
    position: relative;
    margin-bottom: 15px;
    padding: 7px 7px 7px 35px;
    border-radius: 5px;
    text-indent: -28px;
    border: 1px dashed #ccc;
}
.step:last-child {
    margin-bottom: 0;
}
.step .step_num {
    position: relative;
    top: 1px;
    margin-right: 10px;
    font-size: 1.6rem;
    font-weight: 900;
}
.step:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    width: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #fff transparent transparent transparent;
    margin: auto;
}
.step:last-child:after {
    border-color: transparent;
}
article form {
    margin: 0 0 10px;
}
article form label {
    display: block;
    margin-bottom: 2px;
}
article form input[type="text"],
article form select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 7px;
    border: 2px solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 2px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    line-height: 1.8;
    background: #fff;
}
form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
form .submit {
    margin: 1.5rem 0 0;
}
form .submit a {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
}
form .submit a:after {
    font-family: FontAwesome;
    content: "\f054";
    position: absolute;
    right: 15px;
    top: 12px;
}
.select_wrapper {
    position: relative;
}
.select_wrapper:after {
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -12px;
    content: "\f078";
    font-size: 16px;
    font-family: fontAwesome;
}
button, input, select, textarea  {
    font-family : inherit;
    font-size   : 100%;
}
:placeholder-shown {color: #ccc;}
::-webkit-input-placeholder {color: #ccc;}
:-moz-placeholder {color: #ccc; opacity: 1;}
::-moz-placeholder {color: #ccc; opacity: 1;}
:-ms-input-placeholder {color: #ccc;}

@media screen and (min-width: 960px) {
    .blockHeaderSearch input[type="search"] {
        width: 380px !important;
    }
}

/* 一番上のセクション */
#tel_head {
    padding: 0 0 3rem;
}
#tel_head h1 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}
#tel_head h1 img {
    max-width: 100%
}

/* 営業時間 */
.tel_opening_hours {
    margin: 0 0 2rem;
    font-size: 2.2rem;
    text-align: center;
}
.tel_opening_hours span {
    display: block;
    line-height: 1.4;
}
.tel_opening_hours span:last-child {
    margin-top: .2rem;
    font-size: 1.6rem;
}
.tel_schedule {
    margin: 0 1rem 2rem;
    padding: 1rem;
    border: 1px solid #fea51f;
    font-size: 1.4rem;
    line-height: 1.8;
    background: #fffaf0;
    border-radius: .4em
}
.tel_schedule b {
    display: unset;
    margin: 0;
    color: unset;
    font-size: 1.4rem;
    font-weight: bold
}
.tel_schedule span {
    display: unset;
    font-size: 1em;
    line-height: unset;
    white-space: nowrap
}

/* 電話発信フォーム */
.tel_content {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 14px;
}
.tel_content h2 {
    font-size: 2.4rem !important;
}
.tel_content span {
    display: block;
    margin: 0 0 20px;
    text-align: center;
}
.tel_content form {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
.tel_content form small {
    display: block;
    margin: 0 0 2rem;
}
.tel_content input {
    width: 100%;
    margin: 0 0 20px;
    padding: 0.5em;
    box-sizing: border-box;
    box-shadow: inset 0 2px 1px #eee;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1.25em;
    letter-spacing: 3px;
    ime-mode: disabled;
}
.tel_content button {
    display: block;
    width: 100%;
    margin: 0 auto 20px;
    padding: 2.5rem 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
}
.tel_content button:disabled {
    background: #ccc !important;
    color: #333 !important;
    cursor: auto !important;
}
.tel_content .result_text {
    margin: 0 0 20px;
    padding: 1rem;
}
.tel_content .ok {
    display: none;
    background: #e8f8f1;
    border: 1px solid #42a660;
}
.tel_content .ok b {
    color: #42a660;
}
.tel_content .ng {
    display: none;
    background: #f9efef;
    border: 1px solid #d94a2a;
}
.tel_content .ng b {
    color: #d94a2a;
}

/* ナビゲーション */
#nav .nav_wrapper {
    padding: 1rem;
    border-radius: 10px;
    background: #e8f8f1;
}

#nav .nav_child {
    padding: 0 0 0 25px;
}

#nav a {
    position: relative;
    display: block;
    padding: 10px 15px 10px 25px; /* 左に矢印の分だけ余白 */
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
}

#nav a::before {
    content: "";
    position: absolute;
    top: 45%;
    left: .8rem;
    width: 0.5em;
    height: 0.5em;
    transform: translateY(-50%) rotate(135deg); /* 下向き */
    border-right: 2px solid #42a660;
    border-top: 2px solid #42a660;
}

#nav a:hover {
    background: #cff5e4;
    color: #42a660;
}

/* ご注文方法 */
#order  {
    background: #ffffff;
}
#order .step .step_num {
    color: #42a660;
}
#order .order_payment {
    text-indent: 0;
}

/* 銀行振込でお支払い */
#payment_bank {
    background: #ffffff;
}
#payment_bank .table_wrapper {
    margin-bottom: 20px;
}
#payment_bank .table_wrapper:last-child {
    margin-bottom: 10px;
}
#payment_bank table {
    width: 100%;
    margin: .2rem 0 0;
    background: #fff;
    border: 1px solid #dfdfdf;
    border-spacing: 0;
}
#payment_bank table tr:first-child {
    border-top: 2px solid #42a660;
}
#payment_bank table tr {
    width:70%;
    border-right: 2px solid #42a660;
    border-left: 2px solid #42a660;
    border-bottom: 1px dashed #42a660;
}
#payment_bank table tr:last-child {
    border-bottom: 2px solid #42a660;
}
#payment_bank table th {
    width:30%;
    padding: 7px;
    text-align: left;
    color: #42a660;
    background: #e8f8f1;
    vertical-align: middle;
}
#payment_bank table td {
    padding: 7px;
    vertical-align: middle;
}
#payment_bank table td span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
}

/* ご注文内容の確認方法 */
#status  {
    background: #ffffff;
}
#status .step .step_num {
    color: #42a660;
}

/* その他のお問い合わせ方法 */
#inquiry {
    background: #ffffff;
}
#inquiry .step .step_num {
    color: #42a660;
}

/* 医薬品を探す */
#search  {
    background: #ffffff;
}
#search form .submit a:after {
    border-color: transparent transparent transparent #ffffff;
}
#search .select_wrapper:after {
    color: #333;
}

/* 発送状況を調べる */
#tracking {
    padding: 0 0 5rem;
    background: #ffffff;
}
#tracking h2:after {
    border-color: #2ecc71 transparent transparent transparent;
}
#tracking form .submit a:after {
    border-color: transparent transparent transparent #ffffff;
}

@media screen and (min-width: 960px) {

    #tel_head {
        max-width: 1050px;
        margin: 0 auto;
    }
    article {
        font-size: 18px;
    }
    .contents {
        max-width: 1050px;
        margin: 0 auto;
        padding: 2rem 0 3rem;
    }
    .tel_opening_hours {
        font-size: 3rem;
    }
    .tel_opening_hours span:last-child {
        font-size: 2rem;
    }
    .tel_schedule {
        margin: 0 0 2rem;
    }
    .tel_content form small {
        text-align: center;
    }
    .notes {
        max-width: 1050px;
        margin: 0 auto;
        padding: 2rem;
    }
    article h2 {
        max-width: 1050px;
        margin: 0 auto;
        font-size: 2.2rem;
    }
    article h3 {
        max-width: 1050px;
        margin: 0 auto;
        padding: 1rem 0 1rem 1.25rem;
        font-size: 2rem;
    }
    .description {
        max-width: 1050px;
        margin: 0 auto 2rem;
    }
    .tel_btn {
        margin: 0 auto 30px;
        padding: 15px 0;
        width: 400px;
        transition: .4s ease;
    }
    .tel_content button {
        width: 400px;
    }
    .tel_btn .tel_btn_text {
        font-size: 16px;
    }
    .tel_btn .tel_btn_num {
        font-size: 32px;
    }
    .tel_btn .tel_btn_time {
        font-size: 14px;
    }
    .step {
        position: relative;
        margin-bottom: 25px;
        padding: 14px 14px 14px 50px;
        text-indent: -34px;
    }
    .step .step_num  {
        margin-right: 10px;
        font-size: 1.8rem;
        font-weight: 900;
    }
    article form {
        width: 500px;
        margin: 0 auto 30px;
    }
    article form:last-child {
        margin: 0 auto;
    }
    article form label {
        margin-bottom: 4px;
    }
    article form .submit a:after {
        right: 20px;
    }
    .select_wrapper:after {
        right: 20px;
    }
    article form input[type="text"],
    article form select {
        margin-bottom: 10px;
    }

    /* 一番上のセクション */
    #tel_head h1  {
        padding: 0 0 10px 10px;
    }
    #tel_head .notes:before  {
        height: 400px;
        top: -400px;
        right: 0;
    }

    /* ナビゲーション */
    #nav .nav_wrapper  {
        max-width: 400px;
    }

    /* 銀行振込でお支払い */
    #payment_bank .table_wrapper {
        width: 600px;
        margin: 0 auto 30px;
    }

    /* 医薬品を探す */
    #search form .submit a {
        transition: .4s ease;
    }

    /* 発送状況を調べる */
    #tracking form .submit a {
        transition: .4s ease;
    }

    /* 共通 */
    form input[type="text"],
    form select {
        margin-bottom: 10px;
    }

}
