/*
Theme Name: YOTSUBA pharmacy
Theme URI: https://yotsuba.senrido.co.jp/
Version: 1
Author: ELEMENT Inc.
Author URI: https://elmt.jp/
*/
@charset "utf-8";

/* ************************************************
Common Setting
************************************************ */
html,body{
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}
body,main {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'M PLUS 1p', sans-serif;
    background-image: url(./image/background.png);
}
h1,h2,h3,p,li,span,dt,dd,.submit-btn input {
    color:#716e77;
    font-weight: 400;
}
h1 {
    text-align: center;
    font-size: 3.1rem;
}
h2 {
    text-align: center;
    font-size: 2.2rem;
}
h3 {
    font-size: 2rem;
}
p,li,span,dt,dd,a, .submit-btn input {
    font-size: 1.5rem;
}
li {
    list-style: none;
}
a {
    color:#716e77;
    text-decoration: none; 
    cursor: pointer;
}
a:hover {
    opacity: 0.7;
}
a:after {
    color:#716e77;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}

/* ************************************************
Style　Header
************************************************ */
.logo_area {
    display: flex;
    justify-content: space-between;
    margin:10px 40px 0;
}
.logo_area h1 {
    margin: 0;
}
.head_gnav_area {
    display: flex;
    justify-content: space-around;
    margin:10px 50px 30px;
    padding: 0;
    text-align: center;
}
.gnav_line {
    height: 30px;
    width: 2px;
    background-color: #716e77;
    margin-top: 3px;
}
.gnav_item_last {
    border:none;
}

/* ************************************************
Style　Index
************************************************ */
.top_image {
    width: 100%;
}
.banner_area {
    width: 85%;
    margin: 10% auto;
}
.banner {
    width: 100%;
}
.news_area {
    width: 95%;
    margin: 0 auto;
}
.news_area h2 {
    margin-bottom: 27px;
}
.news_feed {
    margin:auto;
    padding:45px 90px 0;
    width: 70%;
    border:2px solid #9c999c;
    border-radius: 5px;
    text-align: center;
    background-color: rgba(250,249,247,0.65);
}
.news_item {
    display: flex;
    padding: 0 20px 10px;
    justify-content: flex-start;
}
.news_item .news_date {
    margin-right: 122px;
}
.news_underline {
    height: 3px;
    width: 100%;
    background: linear-gradient(180deg, #d1c9c7 0%, #d1c9c7 10%, #a39391 50%, #a39391 100%);
    margin-bottom: 38px;
}
.service_area {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1120px;
    margin: 10% auto;
}
.service_item{
    width: 48%;
    position: relative;
}
.service_background {
    width: 100%;
    height: auto;
}
.service_description {
    position: absolute;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 80%;
}
.service_description h2, .service_description h3 {
    margin-bottom: 5%;
}
.service_description p {
    margin: 0;
    line-height: 200%;
}
.further_button {
    position: absolute;
    width: 80%;
    max-width: 350px;
    right: 10%;
    bottom: 0%;
}

/* ************************************************
Style　Footer
************************************************ */
.sub_footer {
    background-color: rgba(239,224,212,0.65);
    padding: 10% 4%;
}
.map_wrap {
    width: 100%;
    max-width: 600px;
    margin: 0;
    padding: 0;
}
.map_area{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}
.map_area iframe {
    max-width: 600px;
    height: 400px;
}
.map_area .map_wrap img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
}
.map_area.branch {
    margin-top: 36px;
}
.map_area.branch .info_area h3 {
    margin-top: 0;
}
.map_pinch {
    color:#a39391;
    padding:18px 22px;
    margin: 0;
}
.info_area {
    width: 100%;
    max-width: 600px;
    padding: 0 0 0 5%;
}
.info {
    margin:36px 0 0;
    padding-left: 20px; 
}
.footer_area {
    background-color: rgba(179,228,181,0.65);
    width: 100%;
    margin: 0;
    padding: 28px 0 22px;
}
.foot_gnav_area {
    margin: 0 15% 37px;
    padding: 0;
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.copyright_area {
    text-align: center;
}
.copyright {
    margin: 0;
    font-size: 1rem;
}

/* ************************************************
Style　Parts
************************************************ */
.footer_banner {
    background-color: transparent;
    padding: 10% 0;
	text-align: center;
}
.footer_banner a img {
	width: 85%;
	max-width: 1120px;
}


/* ************************************************
Style　Page
************************************************ */
.entry-header center {
	position: relative;
}

.entry-header center img {
	max-width: 1120px;
	max-height: 387px;
	width: 85%;
	border-radius: 20px;
/* 	object-fit: cover;
	object-position: 50% 40%; */
}
.entry-header center h1 {
	color: #fff;
	position: absolute;
	top: 50%;
  	left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
}
.entry-content {
	width: 85%;
	margin: 10% auto;
}
.entry-content h2 {
	font-weight: 400;
	margin: 0;
    line-height: 2em;
}
.h2_right::after, .h2_left::before {
	content: "";
	width: 55px;
	height:55px;
	background-image: url(./image/yotsuba_icon.png);
	background-repeat: no-repeat;
	display: inline-block;
	margin: -18px 0.7%;
}
.h2_content, .h2_content_column {
	background-color: #fcfcfc;
	border: 2px solid #b3b2b6;
	border-radius: 20px;
	margin: 5% auto 20%;
	max-width: 1120px;
	padding: 35px 0;
}
.h2_content p {
	margin: 35px auto;
	line-height: 2em;
}
.h2_table {
	margin: 5% auto 20%;
	max-width: 1120px;
}
dt,dd {
    margin: 0; /* ブラウザの初期値をクリア */
    padding: 0; /* ブラウザの初期値をクリア */
}
.dl_table {
    width: 100%; /* テーブルの横幅を500pxに指定 */
    border-top: 2px solid #b3b2b6; /* テーブルの上の線 */
    border-left: 2px solid #b3b2b6; /* テーブルの左の線 */
    display: flex; /* 子要素のdtとddを横並びにする */
    flex-wrap: wrap; /* 1つのdtとddで1行になるよう改行させる */
	background-color: #fcfcfc;
}
.dl_table dt, .dl_table dd {
    border-bottom: 2px solid #b3b2b6; /* 各セルの下の線。テーブルの下の線も補える。 */
    border-right: 2px solid #b3b2b6; /* 各セルの右の線。テーブルの右の線も補える。 */
    box-sizing: border-box; /* widthの計算を楽にするため */
    padding: 15px 30px; /* 各セルに余白を取る */
    text-align: left;
}
.dl_table dt {
    width: 25%; /* dt（見出し項目）の横幅を200pxに指定 */
}
.dl_table dd {
    width: calc(100% - 25%); /* テーブル幅からdtを引いた分の横幅を指定。 */
}
.content_last {
	margin-bottom: 20% !important;
}
.h2_content_column {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5% 3% !important;
}
.h2_content_img {
	width: 40%;
}
.h2_content_desc {
	width: 55%;
}
.h2_content_desc p {
	line-height: 2em;
}

.h2_content_balloon {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1120px;
    margin: 90px 0px 70px;
}

/* ************************************************
Style　Page-Recuit
************************************************ */
.page_attention {
	margin: 15px 0 !important;
	height: 50px;
	background-color: rgba(238,223,211,0.65);
	padding: 10px 5% 0;
}
.h2_table_label {
	margin: 5% auto 0;
	max-width: 1120px;
	text-align: left;
}
.table_recruit {
	margin: 0 auto 15% !important;
}
.recruit_button {
	width: 60%;
	background-color: rgba(250,249,247,0.65);
	border:2px solid #9c999c;
   border-radius: 30px;
   text-align: center;
	color: #716e77;
	font-size: 2.3rem;
	padding: 5% 2%;
}
.recruit_float_pink {
	background-color: rgba(235,194,182,0.65);
	margin-right: 10% !important;
}
.recruit_float_green {
	background-color: rgba(194,231,194,0.65);
	margin-left: 10% !important;
}
.recruit_float_pink, .recruit_float_green {
	border-radius: 20px;
	margin: 3% auto 10%;
	max-width: 830px;
	padding: 53px 110px;
	text-align: left;
}
.recruit_float_pink h3, .recruit_float_green h3 {
	margin: 0;
}
.float_underline {
    height: 3px;
    width: 100%;
    background-color: #716e77;
    margin-bottom: 38px;
}
.recruit_float_last {
    margin-bottom: 20% !important;
}

/* ************************************************
Style　Archive
************************************************ */
.archive_area h2 {
	font-weight: 400;
	margin: 90px auto 50px;
}
.archive_area h2::before {
	content: "";
	width: 55px;
	height:55px;
	background-image: url(./image/yotsuba_icon.png);
	background-repeat: no-repeat;
	display: inline-block;
	margin: -18px 0.7%;
}
.archive_feed {
    margin:auto auto 10%;
    padding:45px 90px 0;
    width: 60%;
	max-height: 500px;
	overflow-y: scroll;
    border:2px solid #9c999c;
    border-radius: 10px;
    text-align: center;
    background-color: rgba(250,249,247,0.65);
}
.archive_item {
    display: flex;
    padding: 0 20px 10px;
}
.archive_item .archive_date {
    margin-right: 50px;
}
.archive_underline {
    height: 3px;
    width: 100%;
    background: linear-gradient(180deg, #d1c9c7 0%, #d1c9c7 10%, #a39391 50%, #a39391 100%);
    margin-bottom: 38px;
}


.archive_feed::-webkit-scrollbar {
    width: 15px;
}
 
.archive_feed::-webkit-scrollbar-track {
    background-color: rgb(250,249,247);
    border-radius: 100px;
}
 
.archive_feed::-webkit-scrollbar-thumb {
    background-color: #b6e8bb;
    border-radius: 100px;
}

/* ************************************************
Style　Single
************************************************ */
.post_area {
	width: 90%;
	margin: 10% auto;
}
.post_wrap {
	background-color: #fcfcfc;
	border: 2px solid #b3b2b6;
	border-radius: 20px;
	margin: 48px auto 55px;
	max-width: 1120px;
	padding: 0;
}
.post_meta {
	margin: 5% 5% 8%;
}
.post_meta span {
	font-size: 1.25rem;
}
.post_meta h1 {
	margin: 20px 0 0;
	font-size: 2.1rem;
}
.post_content {
	margin: 0 5% 10%;
	text-align: left;
}
.post_thumbnail {
	text-align: center !important;
	margin: 0 90px 95px;
}
.post_content p {
	margin: 0 0 44px;
}
.back_button {
	display: flex;
	justify-content: flex-end;
	margin-right: 8%;
}
.back_button span {
	border: 2px solid #b3b2b6;
   padding: 30px 85px;
   border-radius: 40px;
   background-color: #fcfcfc;
}

/* ************************************************
Style　Apply
************************************************ */

.apply_area {
	width: 85%;
	margin: 110px auto;
}
.apply_area h2 {
	margin: 0;
}
.apply_area h2::before {
	content: "";
	width: 55px;
	height:55px;
	background-image: url(./image/yotsuba_icon.png);
	background-repeat: no-repeat;
	display: inline-block;
	margin: -18px 0.7%;
}
.apply_form {
	background-color: #fcfcfc;
	border: 2px solid #b3b2b6;
	border-radius: 20px;
	margin: 5% auto 20%;
	max-width: 1120px;
	padding: 3%;
}
.mw_wp_form {
	padding: 0 50px;
}
.mw_wp_form form {
	display: flex;
	flex-direction: column;
}
.mw_wp_form input {
	padding: 10px;
}
.mw_wp_form textarea {
	margin-top: 10px;
}
.mw_wp_form p span {
	vertical-align: middle;
}

.submit-btn input {
    background-color: #a39391;
    border: 2px solid #a39391;
    border-radius: 30px;
    color:#fff;
    margin:0 auto;
    padding: 10px 35px;
    border-radius: 3px;
    cursor: pointer;
    text-align:center;
    -webkit-appearance: none;
}
 
.submit-btn {
    text-align:center;
    margin: auto;
    cursor: pointer;
}
 
.submit-btn input:hover {
	opacity: 0.7;
}

/* ************************************************
Style　MB Common
************************************************ */
@media screen and (max-width:768px) {
    .news_feed, .archive_feed {
        padding: 45px 10px 0 !important;
        width: 85% !important;
    }
    .news_item, .archive_item {
        display:flex;
        flex-direction: column !important;
        align-content: flex-start !important;
        padding: 0 0 10px 10px !important;
        -webkit-appearance: none;
        -webkit-text-size-adjust: 100%;
    }
    .news_date, .news_item a, .archive_date, .archive_item a {
        text-align: left;
    }
    .service_area {
        flex-direction: column;
        margin: 20% auto 10%;
    }
    .service_item {
        width: 100%;
        margin-bottom: 10%;
    }
    .info {
        padding-left: 0px;
    }
    .foot_gnav_area {
        flex-direction: column;
    }
    .foot_gnav_area .gnav_item {
        margin-bottom: 3%;
    }
    .entry-header center img {
        max-height: 180px;
    }
    .dl_table dt {
        width: 38%;
        padding: 7%;
    }
    .dl_table dd {
        width: calc(100% - 38%);
        padding: 7%;
    }
    .recruit_float_pink, .recruit_float_green {
        padding: 20px;
    }
    .float_underline {
        height: 2px;
    }
    .h2_content_column {
        flex-direction: column;
    }
    .h2_content_img, .h2_content_desc {
        width: 100%;
    }
    .h2_content_balloon {
        margin: 40px 0px 0px;
        flex-direction: column;
    }
    .back_button span {
        padding: 20px 50px;
    }
    .column_reverse {
        flex-direction: column-reverse;
    }
    .balloon_latter {
        margin-top: 0;
    }
    .sub_footer {
        text-align: center;
    }
    .map_area {
        display: flex;
        flex-direction: column;
    }
    .map_area.branch .info_area h3 {
        margin-top: 1rem;
    }
    .map_pinch {
        text-align: left;
        padding-left: 5%;
    }
    .info {
        margin-top: 1rem;
    }
    .info_area {
        text-align: left;
    }
    .mw_wp_form {
        padding: 0 10px;
    }
    .mw_wp_form input, .mw_wp_form textarea {
        width: 90%;
    }
}


/* ************************************************
Style　 Small PC
************************************************ */
@media screen and (min-width:769px) and (max-width:1024px) {
    /* ************************************************
    フォントサイズ設定
    ************************************************ */
    h1 {
        font-size: 2.7rem;
    }
    h2, .recruit_button {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    p,li,span,dt,dd,a, .submit-btn input {
        font-size: 1.3rem;
    }
    /* ************************************************
    パーツ設定
    ************************************************ */
    .foot_gnav_area {
        margin: 0 10% 37px;
    }
    .page_attention {
        height: 40px;
    }
}

/* ************************************************
Style　TB
************************************************ */
@media screen and (min-width:426px) and (max-width:768px) {
    /* ************************************************
    フォントサイズ設定
    ************************************************ */
    h1 {
        font-size: 2.2rem;
    }
    h2, .recruit_button {
        font-size: 1.7rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    p,li,span,dt,dd,a, .submit-btn input {
        font-size: 1.2rem;
    }
    .copyright {
        font-size: 0.7rem;
    }
    .post_meta h1 {
        font-size: 1.9rem;
    }
    /* ************************************************
    パーツ設定
    ************************************************ */
    .page_attention {
        height: 40px;
    }
}

/* ************************************************
Style　SP
************************************************ */
@media screen and (max-width:425px) {
    /* ************************************************
    フォントサイズ設定
    ************************************************ */
    h1 {
        font-size: 1.9rem;
    }
    h2, .recruit_button {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    p,li,span,dt,dd,a, .submit-btn input {
        font-size: 1rem;
    }
    .copyright {
        font-size: 0.5rem;
    }
    .post_meta span {
        font-size: 1rem;
    }
    .post_meta h1 {
        margin: 20px 0 0;
        font-size: 1.6rem;
    }
    /* ************************************************
    パーツ設定
    ************************************************ */
    .page_attention {
        height: 30px;
    }
}
/* ************************************************
Style Humburger
************************************************ */
.sp_logo_area {
    display: flex;
    justify-content: space-between;
    margin:10px;
    align-items: center;
}
.sp_logo_area h1 {
    margin: 0;
    width: 50%;
}
.sp_head_logo {
    width: 100%;
    height: auto;
}
.sp_head_icon {
    width: 50%;
    height: auto;
    display: flex;
    justify-content: flex-end;
}
.tel_icon {
    width: 100%;
    height: auto;
}
.hamburger_wrap {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    margin-left: 5%;
}
.hamburger {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-align: center;
    background-color: #8fdc97;
    border-radius: 50%;
}
.hamburger span {
    display : block;
    position: absolute;
    width: 20px;
    height: 2px;
    left: 50%;
    background : #fff;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.hamburger span:nth-child(1) {
    top: 15px;
}
.hamburger span:nth-child(2) {
    top: 22px;
}
.hamburger span:nth-child(3) {
    top: 29px;
}
.hamburger.active span:nth-child(1) {
    top : 50%;
    left: 27%;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top : 50%;
    left: 27%;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
}
nav.global_menu_sp {
    display: none;
    position: absolute;
    background: #fcfcfc;
    text-align: center;
    width: 100%;
}
nav.global_menu_sp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
nav.global_menu_sp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
    border-bottom: 2px solid #a39391;
}
nav.global_menu_sp ul li:last-child {
    padding-bottom: 0;
}
nav.global_menu_sp ul li:hover{
    opacity: 0.7;
}
nav.global_menu_sp ul li a {
    display: block;
    padding: 1em 0;
    text-decoration :none;
}
nav.global_menu_sp.active {
    opacity: 100;
    display: block;
    transition: opacity .6s ease, visibility .6s ease;
    z-index: 1;
}