/*--------------------------------
　　COMMON
--------------------------------*/
:root {
    --color-type-1: #888888;
    --color-type-2: #333333;
    --color-type-3: #222222;
    --color-point-1: #c68000;
    --color-marker: #FFF27E;
}
html {
    font-size: 16px;
    font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
    line-height: 2;
    margin: 0 auto;
    color: var(--color-type-3);
    background-image: url(../img/bg-image.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    position: relative;
}
body.nav-open {
    overflow: hidden;
}
.wrapper {
    overflow-x: hidden;
}
@media screen and (max-width:768px) {
    html {
        font-size: 15px;
    }
    body {
        line-height: 1.8;
    }
}
a {
    text-decoration: none;
    color: var(--color-type-3);
}
figure {
    margin: 0.75em 0;
    padding: 0;
}
.text-center {
    text-align: center;
}
.d-flex {
    display: flex;
    flex-wrap: wrap;
}
.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.d-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sticky {
    position: -webkit-sticky;
    position: sticky;
}
.pconly {
    display: inline-block;
}
.sponly {
    display: none;
}
@media screen and (max-width:768px) {
    .pconly {
        display: none;
    }
    .sponly {
        display: inline-block;
    }
}


/*--------------------------------
　　HEADER
--------------------------------*/

header {
    position: fixed;
    padding: 17px 20px;
    top: 0;
    z-index: 10;
    width: calc(100% - 34px);
    transition: 0.5s all;
}
header.active {
    background-color: rgb(255 255 255 / 90%);
    padding: 8px 20px;
    box-shadow: 0 0 10px var(--color-type-1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.nav-open header {
    background-color: unset;
    box-shadow: unset;
}
header .logo {
    width: 100px;
    transition: 0.5s all;
    display: block;
}
header.active .logo {
    width: 60px;
}


/*--------------------------------
　　MENU
--------------------------------*/

/*------nav-btn-------*/
.openbtn{
	position: relative;
    cursor: pointer;
    width: 40px;
    height: 40px;
    transition: all .5s;
}
.openbtn span{
    display: inline-block;
    transition: all .5s;
    position: absolute;
    left: 8px;
    height: 2px;
    background: var(--color-type-3);
}
.openbtn span:nth-of-type(1) {
    top: 25%;
    width: 60%;
}
.openbtn span:nth-of-type(2) {
	top: 49%;
    width: 45%;
}
.openbtn span:nth-of-type(3) {
    top: 75%;
    width: 30%;
}
.nav-open .openbtn span:nth-of-type(1) {
    top: 50%;
    left: 22%;
    transform: translateY(0%) rotate(-135deg);
    width: 60%;
}
.nav-open .openbtn span:nth-of-type(2) {
	opacity: 0;
}
.nav-open .openbtn span:nth-of-type(3){
    top: 50%;
    left: 22%;
    transform: translateY(0%) rotate(135deg);
    width: 60%;
}
header.active .openbtn{
    width: 25px;
    height: 25px;
}


/*------global nav-------*/
nav {
    background-color: rgb(255 255 255 / 90%);
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 5;
    transition: all 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.nav-open nav {
    right: 0;
}
nav > div {
    padding: 20px;
    max-height: 80vh;
    max-width: 100%;
    opacity: 0;
    transition: all 0.5s;
    transition-delay: 0.5s;
}
.nav-open nav > div {
    opacity: 1;
}
nav .title {
    text-align: center;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.5;
}
nav .title span {
    font-size: 0.85rem;
}
nav ul {
    list-style-type: none;
    padding: 10px;
}
nav ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 0.7rem;
    line-height: 1.5;
}
nav ul li:before{
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    height: 0;
    width: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid var(--color-point-1);
    top: 0.8rem;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
nav ul a {
    display: block;
    color: var(--color-type-3);
    transition: all 0.5s;
}
nav ul a[href]:hover {
    color: var(--color-point-1);
}
nav ul a:not([href]) {
    color: #888888;
}



/*--------------------------------
　　MAIN
--------------------------------*/

main {
    max-width: calc(680px - 40px);
    margin: 0 auto;
    padding: 5rem 20px;
}
section {
    margin: 2rem 0;
}
main > section {
    margin-top: 4rem;
}
h2 + section {
    margin-top: 0;
}
h1 {
    text-align: center;
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 1.6;
    margin-bottom: 4rem;
}
h1 span {
    font-size: 1.4rem;
}
h2 {
    font-size: 1.7rem;
    border-bottom: solid 3px var(--color-type-1);
    position: relative;
    margin-bottom: 0.5rem;
}
h2:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--color-point-1);
    bottom: -3px;
    width: 20%;
}
h3 {
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}
h3::before {
    content: "";
    display: inline-block;
    background-color: var(--color-marker);
    width: 0%;
    height: 16px;
    position: absolute;
    bottom: 5px;
    z-index: -1;
    transition: all 1s;
}
h3.active::before {
    width: 100%;
}
h4 {
    font-size: 1rem;
}
h4 span {
    color: var(--color-point-1);
    display: block;
}
.date {
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
    color: var(--color-type-1);
    text-align: right;
}
.date::before {
    content: "";
    background-image: url(../img/clock.svg);
    display: inline-block;
    height: 0.85rem;
    width: 0.85rem;
    margin-right: 0.25rem;
    vertical-align: middle;
}
figure figcaption {
    font-size: 0.75rem;
    color: var(--color-type-1);
}
img {
    width: 100%;
}
ol, ul {
    padding-left: 1.2em;
}
p {
    margin: 0;
}
p + P {
    margin-top: 0.75rem;
}
p a {
    text-decoration: underline;
    color: var(--color-point-1);
}
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 1.6;
    }
    h1 span {
        font-size: 1.2rem;
    }
}


/*------timeline-------*/
.timeline {
    list-style: none;
    padding-left: 0;
}
.timeline > li {
    display: flex;
    position: relative;
}
.timeline h4 {
    margin: 0;
}
.timeline-icon {
    padding-right: 20px;
}
.timeline-icon img {
    width: 160px;
}
.timeline-content {
    flex: 1;
    border-left: 1px var(--color-point-1) solid;
    padding-left: 30px;
    padding-bottom: 20px;
    position: relative;
}
.timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--color-point-1);
    position: absolute;
    left: -6px;
    top: 12px;
    border-radius: 100%;
}
@media screen and (max-width:768px) {
    .timeline > li {
        display: block;
        border-left: 1px var(--color-point-1) solid;
        padding-left: 30px;
        padding-bottom: 20px;
        position: relative;
    }
    .timeline > li:before {
        content: '';
        width: 12px;
        height: 12px;
        background: var(--color-point-1);
        position: absolute;
        left: -6px;
        top: 12px;
        border-radius: 100%; 
    }
    .timeline-icon {
        padding-right: 0;
        text-align: center;
    }
    .timeline-content {
        border-left: none;
        padding-left: 0;
        padding-bottom: 0;
    }
    .timeline-content:before {
        content: unset;
    }
}



/*------title-type-------*/
.title-type-01 {
    position: relative;
    display: inline-block;
    padding: 0 45px;
}
.title-type-01:before, 
.title-type-01:after {
    content: '';
    position: absolute;
    top: 10%;
    display: inline-block;
    height: 80%;
    border-right: 2px solid var(--color-point-1);
}
.title-type-01:before {
    left: 20px;
    -webkit-transform: rotate(-25deg);
    transform: rotate(-25deg);
}
.title-type-01:after {
    right: 20px;
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
}
@media screen and (max-width: 768px) {
    .title-type-01 {
        padding: 0 40px;
    }
    .title-type-01:before {
        -webkit-transform: rotate(-15deg);
        transform: rotate(-15deg);
    }
    .title-type-01:after {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }
}




/*--------------------------------
　　ASIDE
--------------------------------*/

/*------side-menu-------*/
.submenu {
    position: absolute;
    right: 0;
}
.submenu .sticky {
    top: 60px;
}

/*------submenu-btn-------*/
.submenu .submenu-btn {
    cursor: pointer;
    width: 30px;
    height: 30px;
    transition: all .5s;
    position: absolute;
    top: 0;
    right: 10px;
}
.submenu .submenu-btn span {
    display: inline-block;
    transition: all .5s;
    position: absolute;
    left: 13px;
    width: 3px;
    height: 3px;
    background: var(--color-type-3);
}
.submenu .submenu-btn span:nth-of-type(1) {
    top: 25%;
}
.submenu .submenu-btn span:nth-of-type(2) {
	top: 49%;
}
.submenu .submenu-btn span:nth-of-type(3) {
    top: 75%;
}
.submenu.active .submenu-btn span {
    height: 2px;
}
.submenu.active .submenu-btn span:nth-of-type(1) {
    top: 50%;
    left: 22%;
    transform: translateY(0%) rotate(-135deg);
    width: 60%;
}
.submenu.active .submenu-btn span:nth-of-type(2) {
	opacity: 0;
}
.submenu.active .submenu-btn span:nth-of-type(3){
    top: 50%;
    left: 22%;
    transform: translateY(0%) rotate(135deg);
    width: 60%;
}

/*------submenu-menu-------*/
.submenu .menu {
    border-left: 1px solid var(--color-type-1);
    width: 0;
    overflow: hidden;
    background-color: rgb(255 255 255 / 90%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.5s;
}
.submenu.active .menu {
    width: 270px;
}
.submenu ul {
    width: 230px;
    overflow-y: auto;
    padding: 10px 20px;
    list-style-type: none;
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0;
}
.submenu ul li.index {
    letter-spacing: 2px;
    font-weight: 600;
}
.submenu ul li:not(.index) {
    margin-top: 0.8rem;
    position: relative;
}
.submenu ul li.H2 a {
    font-weight: 600;
}
.submenu ul li.H3 {
    margin-left: 1rem;
    margin-top: 0.5rem;
}
.submenu ul li.H3::before {
    content: "";
    display: inline-block;
    width: 0.4rem;
    border: 1px solid var(--color-type-1);
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    transition: all 0.5s;
}
.submenu ul li a {
    color: var(--color-type-1);
    display: block;
    transition: all 0.5s;
}
.submenu ul li a:hover {
    color: var(--color-type-3);
}
.submenu ul li.active::before {
    border: 1px solid var(--color-point-1);
}
.submenu ul li.active a {
    color: var(--color-point-1);
}
@media screen and (max-width:768px) {

}


/*--------------------------------
　　prev-next-link
--------------------------------*/
.prev-next-link {
    display: flex;
    margin-top: 50px;
}
.prev-next-link p + p {
    margin-top: 0;
}
.prev-next-link .pe {
    pointer-events: none;
}
.prev-next-link a {
    width: 50%;
    border-top: 1px #ddd solid;
    border-bottom: 1px #ddd solid;
    display: block;
    text-decoration: none;
    padding: 15px 20px;
    color: var(--color-point-1);
    transition: all .5s;
}
.prev-next-link a:hover {
    background-color: #f6f6f6;
}
.prev-next-label {
    font-size: .825rem;
    color: #000;
}
.next-link {
    text-align: right;
}
@media screen and (max-width:768px) {
    .prev-next-link {
        display: block;
        margin-top: 50px;
    }
    .prev-next-link a {
        width: calc(100% - 40px);
    }
    .prev-next-link .pe {
        display: none;
    }
    .next-link {
        text-align: left;
    }
}


/*--------------------------------
　　pagetop
--------------------------------*/

#page_top {
    display: flex;
    visibility: hidden;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: fixed;
    right: 20px;
    bottom: -20px;
    background: var(--color-type-3);
    opacity: 0;
    z-index: 3;
    cursor: pointer;
    transition: 0.5s all;
}
#page_top.active {
    visibility: visible;
    opacity: 0.3;
    bottom: 15px;
}
#page_top a {
    width: 8px;
    height: 8px;
    border: 2px solid;
    border-color: #FFFFFF #FFFFFF transparent transparent;
    transform: rotate(-45deg);
    margin-top: 6px;
}



/*--------------------------------
　　FOOTER
--------------------------------*/

footer .contact {
    background-color: #e0e0e0;
    color: var(--color-type-3);
    text-align: center;
    padding: 40px 20px;
}
footer .contact p {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
footer .contact a {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1rem;
    overflow: hidden;
    padding: 0.75rem 3.5rem;
    color: #fff;
    background: var(--color-type-3);
}
footer .contact a span {
    position: relative;
}
footer .contact a:before {
    position: absolute;
    top: 0;
    left: 30px;
    width: 150%;
    height: 545%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-70%) rotate(135deg);
    transform: translateX(-98%) translateY(-70%) rotate(135deg);
    background: var(--color-point-1);
}
footer .contact a:hover:before {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(135deg);
    transform: translateX(-9%) translateY(-25%) rotate(135deg);
}
@media screen and (max-width:768px) {
    footer .contact p {
        text-align: left;
    }
}

footer .copyright {
    background-color: var(--color-type-3);
    text-align: center;
    color: var(--color-type-1);
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    margin: 0;
    padding: 20px;
}


/* button type01 */
.btn.type01 {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    outline: none;
    position: relative;
    z-index: 2;
    background-color: #F5F5F5;
    color: #F08300;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px;
    margin-top: auto;
}
.btn.type01::before,
.btn.type01::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #F5F5F5;
}
.btn.type01,
.btn.type01::before,
.btn.type01::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.btn.type01:hover {
    background-color: #F08300;
    color: #FFFFFF;
}
.btn.type01::before {
    right: 0;
}
.btn.type01::after {
    left: 0;
}
.btn.type01:hover::before,
.btn.type01:hover::after {
    width: 0;
}