@charset "utf-8";

/* - .hapa-counseling
 ------------------------------------------------------------ */
article.hapa-counseling {
    background-color: #f4f4f4;
    border-right: 1px solid #dedede;
    border-left: 1px solid #dedede;
    /* margin: 0 auto; */
    background-image: url(../images/cuffie.png);
    background-repeat: no-repeat;
    background-position: bottom left;
}
article.hapa-counseling .outline {
    width: 1020px;
    margin: 0 auto;
}
article.hapa-counseling .contents > p > b {
    font-weight: bold;
    color: #F16E51;
}
a:hover {
    opacity:.8;
    filter:alpha(opacity=80);
    -ms-filter:"alpha( opacity=80 )"
}

/* - header
 ------------------------------------------------------------ */

article.hapa-counseling header {
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 389px;
}
article.hapa-counseling header h1 {
    padding: 50px 0 0 0;
    text-align: center;
}
article.hapa-counseling header h1 span img {
    display: block;
    margin: 0 auto 15px;
}


/* - contents
 ------------------------------------------------------------ */
article.hapa-counseling .contents {
    padding: 15px 0 15px 315px;
    text-align: center;
    width: 1020px;
    margin: 0 auto;
    background-image: url(../images/jun.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}
article.hapa-counseling .contents h3 {
    text-align: center;
    line-height: 2.6;
    letter-spacing: 6px;
    font-weight: normal;
}
article.hapa-counseling .contents > p {
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.6;
}
article.hapa-counseling .booking {margin: 20px 0;}
article.hapa-counseling .booking a {
    display: inline-block;
    margin: 0 0 0 2%;
    background-color: #f16e51;
    color: #fff;
    font-weight: bold;
    padding: 10px 0;
    font-size: 1.3rem;
    border-radius: 2px;
    vertical-align: top;
    width: 42%;
}
article.hapa-counseling .booking span {
    display: inline-block;
    vertical-align: top;
    padding: 10px;
    font-weight: bold;
    font-size: 1.3rem;
    color: #334990;
    border-radius: 2px;
    width: 45%;
    background-color: #EAEDF0;
}
article.hapa-counseling .date {
    display: inline-block;
    vertical-align: top;
    border: 1px solid #ccc;
    padding: 10px;
    width: 210px;
    margin: 5px 21px 10px 0;
    background-color:#fff;
}
article.hapa-counseling .date:before {
    content: "Date";
    width: 70%;
    display: block;
    padding: 5px;
    background-color: #12c3b9;
    margin: 7px auto;
    border-radius: 18px;
    color: #fff;
}
article.hapa-counseling:lang(ja) .date:before {
    content: "日 程";
    width: 70%;
    display: block;
    padding: 5px;
    background-color: #12c3b9;
    margin: 7px auto;
    border-radius: 18px;
    color: #fff;
}

article.hapa-counseling .date:first-of-type:before {
    background-color: #628ac7;
}
article.hapa-counseling .date:nth-of-type(2):before {
    background-color: #6ec322;
}
article.hapa-counseling .date:after {
    content: "※Japanese Standard Time";
    display: block;
    margin: 4px auto;
    color: #626262;
    font-size: 1.05rem;
}
article.hapa-counseling:lang(ja) .date:after {
    content: "（日本時間）";
    display: block;
    margin: 4px auto;
    color: #626262;
    font-size: 1.05rem;
}

article.hapa-counseling .date p:first-of-type {
   font-size: 3.5rem;
   margin: 0 0 0 3px;
}
article.hapa-counseling:lang(ja) .date p:first-of-type {
   letter-spacing: -4px;
}
article.hapa-counseling .date:first-of-type p:first-of-type {
   line-height: 1;
   color: #628ac7;
}
article.hapa-counseling .date:nth-of-type(2) p:first-of-type {
   line-height: 1;
   color: #6ec322;
}
article.hapa-counseling .date:nth-of-type(3) p:first-of-type {
   line-height: 1;
   color: #12c3b9;
}
article.hapa-counseling .date p:nth-of-type(2) {
   font-size: 1.6rem;
}
article.hapa-counseling .date small {
    font-size: 1.3rem;
    position: relative;
    left: 6px;
}
article.hapa-counseling .date small:lang(ja) {
   font-size: 2.3rem;
   position: relative;
   left: -17px;
}


/* - section
 ------------------------------------------------------------ */
article.hapa-counseling section {
    text-align: left;
    background-color: #fff;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 30px 0;
}
article.hapa-counseling section a {
    font-weight: bold;
}
article.hapa-counseling section h2 {line-height: 2;}
article.hapa-counseling section p {
    margin: 0 0 30px 0;
    font-size: 1.05rem;
}
article.hapa-counseling section p:lang(ja) {
    font-size: 1rem;
}
article.hapa-counseling section .profile {
    background-image: url(../images/jun-profile.jpg);
    background-repeat: no-repeat;
    background-position: right 20px top;
    padding: 0 270px 0 20px;
}
article.hapa-counseling section .hapa {
    border: 1px solid #dedede;
    padding: 36px;
    position: relative;
    background-image: url(../images/cuffie.jpg);
    background-repeat: no-repeat;
    background-size: 334px;
    background-position: left bottom;
}
article.hapa-counseling section .hapa h2 {padding: 0 0 0 266px;}
article.hapa-counseling section .hapa p {padding: 0 200px 0 266px;}

article.hapa-counseling section .hapa a img {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* - social
 ------------------------------------------------------------ */

.twitter-share-button {
    width: 74px!important;
}

#socialIcon {
    text-align:center;
    margin: 20px auto;
    border-top:1px dotted #ccc;
    padding:14px 20px 10px 0;
    min-width:350px;
    max-width:400px;
    border-bottom:1px dotted #ccc
}

#socialIcon .twitter-share-button {
    display:inline-block
}

#socialIcon .fb-like {
    display:inline-block;
    position:relative;
    top:-6px
}
.button {
    display: none;
    margin: 100px 0;
    padding: 12px 34px;
    color: #fff;
    border-radius: 60px;
    font-weight: 500;
    background: #1ecd97;
    -webkit-transition: .24s ease;
    -moz-transition: .24s ease;
    -o-transition: .24s ease;
    transition: .24s ease;
}
.button:hover {
    cursor: pointer;
    background: #1bb787;
}
.modal-box {
    height: 0;
}
.content {
    display: table;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 680px;
    margin: auto;
    padding: 5em;
    vertical-align: middle;
    z-index: -1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1), 0 5px 10px rgba(0, 0, 0, .15);
    background: #fff;
}
.content a {
 font-size: .9em;
}
.content > span {
    display: table-cell;
    text-align: center;
    font-size: 1.8em;
    font-weight: 200;
}
.toggle-on {
    display: none;
}
.toggle-on:checked + .toggle-off + .content {
    z-index: 100;
}
.toggle-off {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background: rgba(0, 0, 0, .20);
    z-index: -1;
    -webkit-transition: .6s ease-out, 1s z-index ease-out;
    -moz-transition: .6s ease-out, 1s z-index ease-out;
    -o-transition: .6s ease-out, 1s z-index ease-out;
    transition: .6s ease-out, 1s z-index ease-out;
}
.toggle-on:checked + .toggle-off {
    opacity: 1;
    -webkit-transition: .4s ease-in, .3s z-index ease-in;
    -moz-transition: .4s ease-in, .3s z-index ease-in;
    -o-transition: .4s ease-in, .3s z-index ease-in;
    transition: .4s ease-in, .3s z-index ease-in;
    z-index: 1;
}
.toggle-button {
    position: absolute;
    top: 1em;
    right: 1em;
    padding: .5em;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    border-radius: 4px;
    background: #1ecd97;
    -webkit-transition: .24s ease;
    -moz-transition: .24s ease;
    -o-transition: .24s ease;
    transition: .24s ease;
}
.toggle-button:hover {
    cursor: pointer;
    background: #1bb787;
}

/* rotate */
.ani-rotate {
    opacity: 0;
    -webkit-transition: .4s ease, 1s z-index ease;
    -moz-transition: .4s ease, 1s z-index ease;
    -o-transition: .4s ease, 1s z-index ease;
    transition: .4s ease, 1s z-index ease;
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -ms-transform: rotate(450deg);
    transform: rotate(450deg);
}
.toggle-on:checked + .toggle-off + .ani-rotate {
    opacity: 1;
    -webkit-transition: .4s ease;
    -moz-transition: .4s ease;
    -o-transition: .4s ease;
    transition: .4s ease;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
}