@charset "UTF-8";

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
}

body {
    font-family: "UD デジタル 教科書体 N-B";
    font-size: 1.6rem;
    line-height: 2.1;
    color: #797e81;
    margin: 0;
    padding: 0;
    text-align: center;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    background: white;
}

header .inner {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header ul {
    display: flex;
}

header a {
    font-size: 1.5rem;
    color: #2e4551;
    margin: 0 0 0 50px;
    letter-spacing: 0.3em;
}


header a:hover {
    color: orange;
    font-weight: 600;
}

.header-nav {
    display: flex;
    width: 100%;
}

.header-nav img {
    width: 40px;
    height: 40px;
    vertical-align: -3px;
}

#contact {
    position: relative;
}

.inner2 {
    text-align: left;
    margin: 0 0 0 300px;
    width: 130px;
    height: 130px;
}

.inner2 img {
    max-width: 100px;
    max-height: 100px;
    vertical-align: -3px;
}

.inner2 .box_imageLeft {
    position: fixed;
    left: 30vw;
    top: 200px;
}

.inner2 .box_imageright {
    position: fixed;
    right: 35vw;
    top: 100px;
}

.inner2 .box_imageLeft2 {
    position: fixed;
    left: 15vw;
    top: 350px;
}

.inner2 .box_imageright2 {
    position: fixed;
    right: 20vw;
    top: 300px;
}

.animation {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
    width: 128px;
}


.box_imageLeft {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 5s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

.box_imageright {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 7s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

.box_imageLeft2 {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 10s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

.box_imageright2 {
    animation-name: anim_s;
    transform: rotate(30deg);
    animation-duration: 12s;
}

@keyframes anim_s {
    50% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

#contact h3 {
    font-family: "Reenie Beanie", cursive;
    font-size: 4rem;
    color: #ababad;
    letter-spacing: 0.3em;
    width: 100%;
    height: 350px;
    position: fixed;
    top: 100px;
}

#contact h4 {
    font-family: "Nico Moji";
    font-size: 4rem;
    color: #61b7d9;
    letter-spacing: 0.2em;
    width: 100%;
    height: 350px;
    position: relative;
    top: 100px;
    margin: 150px 0 0 10px;
    padding: 150px 0 0;
}

#contact {
    letter-spacing: 0.3em;
    width: 100%;
    height: 200px;
    top: 10px;
}

#forms {
    letter-spacing: 0.2em;
    width: 100%;
    height: 350px;
    position: relative;
    top: 250px;
    margin: 200px 0 0 10px;
    padding: 200px 0 0;
}

#matter {
    font-family: "Reenie Beanie", cursive;
    color: #ababad;
    letter-spacing: 0.3em;
    width: 100%;
    height: 350px;
    top: 10px;
    margin: 100px 0 0 10px;
    padding: 100px 0 0;
}

.lead {
    font-family: "Reenie Beanie", cursive;
    color: #ababad;
    letter-spacing: 0.3em;
    width: 100%;
    height: 350px;
    top: 10px;
}

.inner dl {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.6rem;
    -js-display: flex;
}

.inner dt {
    width: 7em;
    margin: 0 600px 50px;
}

.inner dd {
    width: calc(100% - 12em);
    margin: 0 300px 50px;
    position: relative;
}

.inner input[type="text"],
.inner input[type="tel"],
.inner input[type="email"] {
    font-size: 1.8rem;
    height: 40px;
    width: 400px;
    border: 1px solid #c2c2c2;
    padding: 10px;
    box-sizing: border-box;
}

.inner input[type="radio"] {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 1px solid #c2c2c2;
    vertical-align: -4px;
    box-sizing: border-box;
}

.inner input[type="radio"]:checked {
    background: #c2c2c2;
}

.inner dd.pref-blk {
    width: 400px;
    margin: 0 430px 50px 0;
    position: relative;
    border: 1px solid #c2c2c2;
    display: block;
    box-sizing: border-box;
}

.inner dd.pref-blk::before {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #c2c2c2;
    pointer-events: none;
}

.inner dd.pref-blk select {
    width: 100%;
    padding: 0 0 0 1em;
    height: 40px;
    cursor: pointer;
    border: none;
    box-shadow: none;
    background: none;
    color: #666;
    font-size: 1.6rem;
    box-sizing: border-box;
}

.inner textarea {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif !important;
    font-size: 1.8rem;
    width: 600px;
    height: 300px;
    border: 1px solid #c2c2c2;
}

.inner input[type="submit"] {
    font-size: 1.6rem;
    width: 200px;
    height: 40px;
    text-align: center;
    border: 1px solid #c2c2c2;
    background: #eee;
    border-radius: 5px;
    margin: center;
}

.inner .notes span {
    color: #f00;
}

::placeholder,
.check-policy {
    color: #3498db;
}

.error {
    position: absolute;
    left: 0;
    padding: 3px 3px 2px;
    background-color: #f66;
    border-radius: 5px;
    font-size: 1.4rem;
    color: #fff;
    transform: translateY(-2.7em);
    transition: all 1s;
    opacity: 0;
}

.error.active {
    opacity: 1;
}

.error::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 15px;
    border: 7px solid transparent;
    border-top-color: #f66;
    margin-left: 1px;
}

.footer-nav ul {
    display: flex;
    width: 100px;
    margin: 50px auto;
}

.footer-nav {
    width: 100%;
}

.footer-nav li {
    justify-content: space-between;
    width: 94%;
    margin: 0 auto;
}

.footer-nav img {
    width: 50px;
    height: 50Spx;
    vertical-align: -3px;
}

.sp {
    display: none;
}

/*----------------------------------
スマホ
-----------------------------------*/
@media screen and (max-width: 414px) {

    .sp {
        display: block;
    }

    .inner {
        width: 94%;
        margin: 0 auto;
    }

    /*-----------------ヘッダー*/

    #nav-toggle {
        position: fixed;
        top: 25px;
        right: 25px;
        height: 32px;
        cursor: pointer;
        z-index: 1000;
    }

    #nav-toggle>div {
        position: relative;
        width: 36px;
    }

    #nav-toggle>div span {
        width: 100%;
        height: 2px;
        left: 0;
        display: block;
        background: #000;
        position: absolute;
    }

    #nav-toggle>div span:nth-child(1) {
        top: 0;
    }

    #nav-toggle>div span:nth-child(2) {
        top: 14px;
    }

    #nav-toggle>div span:nth-child(3) {
        top: 28px;
    }

    .header-nav {
        width: 350px;
        position: fixed;
        display: block;
        top: 100px;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, .8);
        transition: all 0.2s;
        transform: translate(350px);
    }

    .header-nav.open {
        transform: translate(0);
    }

    .header-nav ul {
        display: block;
    }

    /*----------------メイン*/

    .inner2 {
        margin: 0 0 0 25px;
        width: 130px;
        height: 130px;
    }

    .inner2 img {
        max-width: 70px;
        max-height: 100px;
        vertical-align: -3px;
    }

    .inner2 .box_imageLeft {
        position: fixed;
        left: 20vw;
        top: 200px;
    }

    .inner2 .box_imageright {
        position: fixed;
        right: 20vw;
        top: 175px;
    }

    .inner2 .box_imageLeft2 {
        position: fixed;
        left: 5vw;
        top: 275px;
    }

    .inner2 .box_imageright2 {
        position: fixed;
        right: 5vw;
        top: 290px;
    }

    #contact h4 {
        font-size: 2rem;
        margin: 100px auto;
    }

    #forms {
        width: 80%;
        height: 350px;
        margin: 0 auto;
        padding: 0 auto;
    }

    #matter {
        font-size: 1.4rem;
    }

    .inner dl {
        display: block;
    }

    .inner dt {
        margin: 0 5px 0 5px;
        width: 100%;
    }

    .inner dd {
        width: 100%;
        margin: 0 0 20px;
    }

    .inner .notes {
        margin: 0 0 30px;
        text-align: right;
    }

    .inner input[type="text"],
    .inner input[type="tel"],
    .inner input[type="email"],
    .inner form dd.pref-blk {
        width: 100%;
    }

    .inner textarea {
        width: 100%;
        height: 200px;
        box-sizing: border-box;
    }

    .inner input[type="submit"] {
        width: 100%;
        margin: 0 0 40px;
    }

    .error {
        left: auto;
        right: 0;
        top: 0;
    }

    /*----------------フッター*/

    footer .inner {
        position: relative;
    }

}