@charset "utf-8";

/* CSS Document */
body,
h1,
h2,
h3,
h4,
p,
ul,
li,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

img {
    vertical-align: bottom;
}

body {
    font-size: 20px;
    font-family: "YuMincho", "游明朝体", "游明朝", "MS P明朝", "MS 明朝", "游ゴシック", "Yu Gothic";

}

.flex {
    display: flex;
}

.space {
    justify-content: space-between;
}

.around {
    justify-content: space-around;
}

.inner {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.inner2 {
    width: 900px;
    margin-top: auto;
    margin-bottom: auto;
}

/********************** <header> 背景色green**********************/
header {
    background: linear-gradient(to left, #6cd14b 55%, #fff);
    position: fixed;
    z-index: 9999;
    width: 100%;
}

header div {
    padding: 5px 0;
}

header h1 {
    text-align: center;
    padding: 0 30px 5px 30px;
}

header ul {
    font-size: 18px;
}

header ul li {
    padding-left: 20px;
}

.my-parts {
    border-left: 7px solid #fad7ff;
    color: #fff;
    display: inline-block;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #fad7ff 50%);
    background-position: 0 0;
    background-size: 200% auto;
    transition: all .3s ease 0s;
    text-decoration: none;
    padding: 0 10px 0 5px;
}

.my-parts:hover {
    cursor: pointer;
    background-position: -100% 0;
    color: #46bc2e;
}


/********************<桜吹雪>*******************
.hana{
	position:absolute;
	height:0;
	width:0;
	border: 3px solid pink;
    border-radius: 8px;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
}
.hana::after{
	content:"";
	display:block;
	position:absolute;
	top:-7px;
	left:-7px;
	height:0;
	width:0;
	border: 10px solid pink;
	border-radius: 15px;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
	-webkit-transform: rotate(15deg);
	-ms-transform: rotate(15deg);
	transform: rotate(15deg);
}

*******************</桜吹雪>******************/



/********************** </header> 背景色green**********************/



/********************** <main> **********************/
main {
    margin-bottom: 150px;
}

section {
    margin-top: 70px;
}

h2 {
    color: #46bc2e;
    text-align: center;
    display: flex;
    align-items: center;
    /* 垂直中心 */
    justify-content: center;
    /* 水平中心 */
}

h2:before,
h2:after {
    border-top: 3px solid;
    content: "";
    width: 6em;
    /* 線の長さ */
}

h2:before {
    margin-right: 1em;
    /* 文字の右隣 */
}

h2:after {
    margin-left: 1em;
    /* 文字の左隣 */
}

h3 {
    color: #46bc2e;
    text-align: center;
}

.ttl {
    margin-bottom: 20px;
    color: #46bc2e;
    text-align: center;
    font-size: 12px;

}

h2:before,
h2:after {
    width: 4em;
    /* 線の長さ */
}

section h3 {
    padding-top: 20px;
}

#content {
    position: relative;
}

#topBtn {
    /*-----必須-----*/
    position: fixed;
    bottom: 10px;
    right: 10px;
}
#topBtn:hover {
    transform: translateY(-0.5em);
}
/********************** </main> **********************/



/********************** <footer> **********************/
footer {
    color: #fff;
    background-color: #57b240;
    background-image: url(../images/illust_footer.png);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 130px;
    position: relative;
}

footer::before {
    background-image: url(../images/bk_footer.png);
    background-repeat: repeat-x;
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 58px;
    top: -58px;
    left: 0;
}

footer div.inner {
    padding: 30px 40px 20px 60px;
}

footer dl {
    line-height: 2em;
}

dl.left {
    width: 490px;
}

dl.right {
    width: 310px;
}

footer dt {
    float: left;
    clear: left;
}

footer dd {
    padding-left: 60px;
}

footer dd::before {
    content: "：";
}

footer a {
    color: #73efff;
}

a.pad_lef {
    padding-left: 77px;
}

footer p {
    text-align: right;
    font-size: 14px;
    padding-right: 20px;
}

/********************** </footer> **********************/

/*************<ホワッと下から出てくるアニメーション>***************/
.js-animation {
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: all 1s;
}
.js-animation.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
/*************</ホワッと下から出てくるアニメーション>**************/

/*************<ホワッと左右から出てくるアニメーション>*************/
.fadein-x-left {
  opacity : 0;
  transform: translateX(-50px);
  transition: 1s;
}
.fadein-x-right {
  opacity : 0;
  transform: translateX(50px);
  transition: 1s;
}
/*************</ホワッと左右から出てくるアニメーション>*************/


/**********************<レスポンシブ>*********************/
@media screen and (max-width:640px) {
    .inner {
        width: auto;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .flex {
        /* displayの初期値を解除する*/
        display: block;
    }

    .inner2 {
        width: auto;
    }

    body {
        font-size: 16px;
    }


    /*************<ハンバーガーメニュー>***************/
    #nav {
        position: absolute;
        height: 400px;
        width: 60%;
        right: -60%;
        top: 0;
        background: #ffffff;
        transition: .7s;
        text-align: right;
    }

    #nav ul {
        padding-top: 80px;
    }

    #nav ul li {
        list-style-type: none;
        background: linear-gradient(to bottom, #85ffa2, #d8f5e1);
        margin-bottom: 20px;
        width: 95%;
    }

    #hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        width: 50px;
        height: 44px;
        transition: 1s;
    }

    .inner_line {
        display: block;
        position: absolute;
        left: 0;
        width: 50px;
        height: 3px;
        background-color: transparent;
        transition: 1s;
        border-radius: 4px;
    }

    #line1 {
        top: 0;
        background-image: url(../images/top_red.png);
        width: 97px;
        height: 24px;
        background-size: 60%;
        background-repeat: no-repeat;
    }

    #line2 {
        top: 25px;
        background-image: url(../images/middle_green.png);
        width: 97px;
        height: 24px;
        background-size: 60%;
        background-repeat: no-repeat;
    }

    #line3 {
        bottom: -10px;
        background-image: url(../images/bottom_gray.png);
        width: 97px;
        height: 24px;
        background-size: 60%;
        background-repeat: no-repeat;
    }

    .in {
        transform: translateX(-100%);
    }

    .line_1,
    .line_2,
    .line_3 {
        background: transparent;
        background-size: 80%
    }

    .line_1 {
        opacity: 0;
        top: 0;
    }

    .line_2 {
        transform: translateY(-43px) rotate(-45deg);
    }

    .line_3 {
        transform: translateX(-10px) translateY(-30px) rotate(45deg);
        bottom: 0;
    }

    /*************</ハンバーガーメニュー>***************/

    .totop a img {
        width: 80%;
    }

    main {
        margin-bottom: 0;
    }

    h2:before,
    h2:after {
        width: 2em;/* 線の長さ */
    }

    footer {
        font-size: 14px;
        height: 250px;
        background-position: center bottom;
        background-size: 80%;
    }

    footer div.inner {
        padding: 20px;
    }

    dl.left {
        width: auto;
        font-size:
    }

    dl.right {
        display: none;
    }

    .copyright {
        padding-top: 50px;
    }

}

/**********************</レスポンシブ>*********************/
