@charset "UTF-8";

/* ===============================================================================
Reset
=============================================================================== */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

*,
:before,
:after {
    background-repeat: no-repeat;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button {
    border: none;
}


/* ===============================================================================
Body Setting
=============================================================================== */

html {
    font-size: 62.5%;
}

body {
    font-family: "Shuei MaruGo B", sans-serif;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    line-height: 1.94;
    font-size: 1.7rem;
    letter-spacing: .2rem;
    color: #525252;
}

#bg {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    background-image: url(../img/bg.jpg);
    background-position: center top;
    background-size: cover;
}

.wrapper {
    max-width: 880px;
    width: 90%;
    margin: 30px auto;
    background-color: #ffffff;
    -webkit-box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
    border-radius: 40px
}

.indent {
    text-indent: -1em;
    padding-left: 1em;
}

@media screen and (max-width: 640px) {
    body {
        font-size: 1.4rem;
        line-height: 1.85;
        letter-spacing: 0;
    }
    #bg {
        background-image: url(../img/bg_sp.jpg);
    }
    .wrapper {
        margin: 2px auto 50px;
        border-radius: 22px;
    }
}

a {
    text-decoration: none;
    color: #525252
}

a:hover {
    opacity: 0.5;
    text-decoration: none;
}

.hb-open-in-new {
    font-size: .8em;
    position: relative;
    top: -.2em;
}

img {
    vertical-align: top;
    max-width: 100%;
}

@media screen and (min-width: 641px) {
    .spOnly {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .pcOnly {
        display: none;
    }
    .spOnly {
        display: block;
    }
}


/* ===============================================================================
ContentsArea
=============================================================================== */

header {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    padding-top: 82px;
}

header .subttl {
    position: absolute;
    top: 44px;
    left: 66px;
}

header .hobo {
    position: absolute;
    right: -20px;
    bottom: 65px;
}

header .hb-hobo-logo {
    font-size: 44px;
}

@media screen and (max-width: 768px) {
    .hobo {
        text-align: center;
        padding-top: 7px;
    }
    .hobo .hb-hobo-logo {
        font-size: 3.2rem;
    }
    header {
        padding-top: 73px;
    }
    header div {
        width: 93%;
        margin: 0 auto;
    }
    header .subttl {
        width: 79%;
        top: 7%;
        left: 10.8%;
    }
}

main .yodogawa div {
    position: relative;
    max-width: 410px;
    width: 90%;
    margin: 0 auto 2em;
    padding-left: 40px;
}

main .yodogawa div.illust01 p {
    position: absolute;
    top: 125px;
    left: -163px;
}

main .yodogawa div.illust02 p {
    position: absolute;
    top: 64px;
    right: -164px;
}

main .yodogawa div.illust03 p {
    position: absolute;
    left: -167px;
    bottom: -77px;
}

main .yodogawa div.illust04 p {
    position: absolute;
    bottom: -62px;
    right: -162px;
}


/* main .yodogawa div p.delighter.started {
  -webkit-animation: shake .4s 2;
          animation: shake .4s 2;
} */

main .yodogawa div p.delighter.started {
    -webkit-animation: shake .7s;
    animation: shake .7s;
}

main .yodogawa a {
    text-decoration: underline;
}

@-webkit-keyframes shake {
    10%,
    20% {
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
    }
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }
    40%,
    60%,
    80% {
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
    }
    100% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
}

@keyframes shake {
    10%,
    20% {
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
    }
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }
    40%,
    60%,
    80% {
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
    }
    100% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
}


/* @-webkit-keyframes shake { 
  0% {-webkit-transform: translate(0px, 0px) rotateZ(0deg);transform: translate(0px, 0px) rotateZ(0deg)}
    25% {-webkit-transform: translate(7px, 7px) rotateZ(1deg);transform: translate(7px, 7px) rotateZ(1deg)}
    50% {-webkit-transform: translate(0px, 7px) rotateZ(0deg);transform: translate(0px, 7px) rotateZ(0deg)}
    75% {-webkit-transform: translate(7px, 0px) rotateZ(-1deg);transform: translate(7px, 0px) rotateZ(-1deg)}
    100% {-webkit-transform: translate(0px, 0px) rotateZ(0deg);transform: translate(0px, 0px) rotateZ(0deg)}
}
@keyframes shake { 
  0% {-webkit-transform: translate(0px, 0px) rotateZ(0deg);transform: translate(0px, 0px) rotateZ(0deg)}
    25% {-webkit-transform: translate(7px, 7px) rotateZ(1deg);transform: translate(7px, 7px) rotateZ(1deg)}
    50% {-webkit-transform: translate(0px, 7px) rotateZ(0deg);transform: translate(0px, 7px) rotateZ(0deg)}
    75% {-webkit-transform: translate(7px, 0px) rotateZ(-1deg);transform: translate(7px, 0px) rotateZ(-1deg)}
    100% {-webkit-transform: translate(0px, 0px) rotateZ(0deg);transform: translate(0px, 0px) rotateZ(0deg)}
}  */

@media screen and (max-width: 640px) {
    main .yodogawa {
        margin-top: 15px;
    }
    main .yodogawa div {
        padding-left: 0;
    }
    main .yodogawa div.spOnly {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 2em auto;
    }
    main .yodogawa div.spOnly img {
        width: 56%;
    }
    main .yodogawa .illust05 div.spOnly {
        margin: 2.5em auto;
    }
    main .yodogawa .illust05 div.spOnly img {
        width: 48%;
    }
    main .yodogawa div.illust03 p:first-of-type {
        position: relative;
        left: 43px;
        bottom: 0;
    }
    main .yodogawa div.illust03 p:last-of-type {
        position: relative;
        left: 13px;
        bottom: 4px;
    }
    main .yodogawa div.illust05 p:first-of-type {
        position: relative;
        left: 52px;
        bottom: 0;
    }
    main .yodogawa div.illust05 p:last-of-type {
        position: relative;
        left: 10px;
        bottom: 2px;
    }
    main .yodogawa div p:last-of-type.delighter.started {
        -webkit-animation-delay: .2s;
        animation-delay: .2s;
    }
    /* main .yodogawa div p.delighter.started {
        -webkit-animation: shake 1s;
        animation: shake 1s;
    } */
    /* @-webkit-keyframes shake {
        0% {
            -webkit-transform: translate(0px, 0px) rotateZ(0deg);
            transform: translate(0px, 0px) rotateZ(0deg)
        }
        25% {
            -webkit-transform: translate(5px, 5px) rotateZ(1deg);
            transform: translate(5px, 5px) rotateZ(1deg)
        }
        50% {
            -webkit-transform: translate(0px, 5px) rotateZ(0deg);
            transform: translate(0px, 5px) rotateZ(0deg)
        }
        75% {
            -webkit-transform: translate(5px, 0px) rotateZ(-1deg);
            transform: translate(5px, 0px) rotateZ(-1deg)
        }
        100% {
            -webkit-transform: translate(0px, 0px) rotateZ(0deg);
            transform: translate(0px, 0px) rotateZ(0deg)
        }
    }
    @keyframes shake {
        0% {
            -webkit-transform: translate(0px, 0px) rotateZ(0deg);
            transform: translate(0px, 0px) rotateZ(0deg)
        }
        25% {
            -webkit-transform: translate(5px, 5px) rotateZ(1deg);
            transform: translate(5px, 5px) rotateZ(1deg)
        }
        50% {
            -webkit-transform: translate(0px, 5px) rotateZ(0deg);
            transform: translate(0px, 5px) rotateZ(0deg)
        }
        75% {
            -webkit-transform: translate(5px, 0px) rotateZ(-1deg);
            transform: translate(5px, 0px) rotateZ(-1deg)
        }
        100% {
            -webkit-transform: translate(0px, 0px) rotateZ(0deg);
            transform: translate(0px, 0px) rotateZ(0deg)
        }
    } */
    main .yodogawa div.illust04 p {
        position: relative;
    }
}

main .greeting {
    max-width: 620px;
    width: 90%;
    margin: 240px auto 65px;
    padding: 51px 0 46px;
    background-color: #ccf1ff;
    border-radius: 8px;
    color: #4c6e6e;
    position: relative;
}

main .greeting p {
    position: absolute;
    top: -172px;
    left: 69px;
}

main .greeting div {
    width: 65%;
    margin: 0 auto;
}

@media screen and (max-width: 640px) {
    main .greeting {
        padding: 24px 5%;
        margin: 150px auto 35px;
        border-radius: 4.6px;
    }
    main .greeting div {
        width: 100%;
    }
    main .greeting p {
        top: -17vh;
        left: 0px;
    }
}

main .form {
    max-width: 620px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 0 46px;
    border: #61808a solid 1px;
    border-radius: 8px;
    color: #61808a;
    position: relative;
}

main .form .inner {
    width: 68%;
    margin: 0 auto;
}

main .form h2 {
    font-size: 2.9rem;
    line-height: 2.15;
}

main .form .btn {
    padding: 20px 0 46px;
}

main .form ul {
    margin: 0 0 33px 20px;
}

main .form p {
    position: absolute;
    bottom: -18px;
    right: -21px;
}

main .credit {
    font-size: 1.4rem;
    padding-top: 80px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    main .form p {
        right: -32px;
    }
}

@media screen and (max-width: 640px) {
    main .form {
        padding: 10px 4% 20px;
        border-radius: 4.6px;
    }
    main .form h2 {
        text-align: center;
        font-size: 1.8rem;
        line-height: 3.2;
    }
    main .form .inner {
        width: 100%;
    }
    main .form ul {
        margin: 0 0 14px 20px;
    }
    main .form .btn {
        padding: 20px 0 27px;
    }
    main .credit {
        font-size: 1.2rem;
        padding-top: 30px;
        padding-bottom: 55px;
    }
}


/* ===============================================================================
FooterArea
=============================================================================== */

footer ul {
    list-style: none;
}

footer .inner {
    max-width: 625px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 88px auto 0;
    position: relative;
}

footer .share {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

footer .share li {
    margin: 0 25px 0 0;
    line-height: 0;
}

footer .hobo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 6px;
    right: 0;
}

footer .hobo li {
    margin: 0 0 0 25px;
}

footer .copyright {
    padding: 27px 0 43px 0;
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: .1em;
}

@media screen and (max-width: 640px) {
    footer .inner {
        padding: 0 20px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        margin: 0 auto;
        position: relative;
    }
    footer .share {
        width: 95%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin: 0 auto 10px auto;
    }
    footer .share li {
        margin: 0 20px 0 0;
    }
    footer .share li:last-of-type {
        margin: 0;
    }
    footer .hobo {
        width: 57%;
        position: relative;
        margin: 0 auto;
        top: 8px;
    }
    footer .hobo li {
        margin: 0 20px 0 4%;
        display: block;
    }
    footer .hobo li:last-of-type {
        margin: 0;
    }
    footer .copyright {
        padding: 35px 0 25px 0;
        font-size: 1rem;
    }
}