body {
    font-family: 'Merriweather';
    background-color: hsl(0, 2%, 11%);
    color:#ffffff;
    letter-spacing: 1px;
    font-weight: 300;
}

header{
    font-weight: 700;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease-out;
    background-color: rgba(53, 53, 53, 0);
    background-color: transparent;
}

header .container{
    max-width: 1080px;
    width: 90%;
    margin: 0 auto;
    margin-top: 5px;
}

header .raw{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

header .logo{
    font-size: 18px;
}

header ul{
    display: flex;
}

header ul li{
    margin-left: 30px;
    font-size: 16px;
    letter-spacing: 1px;
}

header ul li a{
    display: inline-block;
    position: relative;
    overflow: hidden;
    color:#ffffff;
    text-decoration: none;
}

header ul li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transform: translate(-100%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
    content: "";
    transform: scaleX(0); 
    transform-origin: left;
}

header ul li a:hover:after {
    transform: scaleX(1);
}

/* section1 */

.section1 {
    position: relative;
    height:  100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-image: url(../image/Durant.jpg);
    overflow: hidden;
    z-index: 10;
}


.section1::after{
    content:"";
    position: absolute;
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 500vh;
    left: 0;
    top: 0;
    opacity: 0.2;
    z-index: 1;
}

.section1 .container{
    z-index: 2;
    color: white;
    padding: 60px 20px;
    position: absolute;
    /* margin-top: 45%; */
    text-align: left;
    margin-top: 20%;
    margin-left: 10%;
}

.section1 h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 5px;
}

/* section2 */

.section2{
    position: relative;
    height:  140vh;
    width: 100%;
    z-index: 0;
}

.section2 .container{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1080px;
    color: rgb(253, 242, 242);
    text-align: center;
    padding: 60px 20px;
}

.section2 h1{
    font-size: 60px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.section2 h2{
    font-size: 25px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 50px;
}

.section2 h3{
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 20px;
}

.hiroshima {
    width: 100%;
    max-width: auto; 
    object-fit: contain;
    border-radius: 8px;
    padding: 8px;
}

.section2 iframe{
    flex: 1 1 520px;
    min-width: 300px;
    max-width: 560px;
    border: none;
}

/* section3 */
.section3{
    position: relative;
    height:  340vh;
    width: 100%;
    z-index: 0;
}

.section3 .container{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1080px;
    color: rgb(253, 242, 242);
    padding: 60px 20px;
}

.section3 .interview{
    font-size: 50px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 80px;
    text-align: center;
}

.Green {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.Green h1{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

.Green h2{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 動画（左側） */
.Green iframe {
    flex: 0 0 50%;
}

.Green .text {
    flex: 0 0 35%;
    margin: 0;
    text-align: right;
    line-height: 1.2;
}

/* 狭い画面では縦並びに */
@media (max-width: 900px) {
    .Green {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .Green h1,
    .Green h2 {
        flex: none;
        text-align: center;
        width: 100%;
    }
    .Green iframe {
        flex: none;
        width: 100%;
        max-width: none;
    }
}

.Durant {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.Durant h1{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

.Durant h2{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 動画（左側） */
.Durant iframe {
    flex: 0 0 50%;
}

.Durant .text2 {
    flex: 0 0 35%;
    margin: 0;
    text-align: right;
    line-height: 1.2;
}

/* 狭い画面では縦並びに */
@media (max-width: 900px) {
    .Durant {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .Durant h1,
    .Durant h2 {
        flex: none;
        text-align: center;
        width: 100%;
    }
    .Durant iframe {
        flex: none;
        width: 100%;
        max-width: none;
    }
}

.Nanet {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.Nanet h1{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

.Nanet h2{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 動画（左側） */
.Nanet iframe {
    flex: 0 0 50%;
}

.Nanet .text4 {
    flex: 0 0 35%;
    margin: 0;
    text-align: right;
    line-height: 1.2;
}

/* 狭い画面では縦並びに */
@media (max-width: 900px) {
    .Nanet {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .Nanet h1,
    .Nanet h2 {
        flex: none;
        text-align: center;
        width: 100%;
    }
    .Nanet iframe {
        flex: none;
        width: 100%;
        max-width: none;
    }
}

.Anggun {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.Anggun h1{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

.Anggun h2{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 動画（左側） */
.Anggun iframe {
    flex: 0 0 50%;
    order:1;
}

.Anggun .text1 {
    flex: 0 0 35%;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    order: 2;
}

/* 狭い画面では縦並びに */
@media (max-width: 900px) {
    .Anggun {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .Anggun h1,
    .Anggun h2 {
        flex: none;
        text-align: center;
        width: 100%;
    }
    .Anggun iframe {
        flex: none;
        width: 100%;
        max-width: none;
        order:2;
    }
}



.Serafin {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.Serafin h1{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

.Serafin h2{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 動画（左側） */
.Serafin iframe {
    flex: 0 0 50%;
    order:1;
}

.Serafin .text3 {
    flex: 0 0 35%;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    order: 2;
}

/* 狭い画面では縦並びに */
@media (max-width: 900px) {
    .Serafin {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .Serafin h1,
    .Serafin h2 {
        flex: none;
        text-align: center;
        width: 100%;
    }
    .Serafin iframe {
        flex: none;
        width: 100%;
        max-width: none;
        order:2;
    }
}

.P {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.P h1{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

.P h2{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 動画（左側） */
.P iframe {
    flex: 0 0 50%;
    order:1;
}

.P .text5 {
    flex: 0 0 35%;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    order: 2;
}

/* 狭い画面では縦並びに */
@media (max-width: 900px) {
    .P {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .P h1,
    .P h2 {
        flex: none;
        text-align: center;
        width: 100%;
    }
    .P iframe {
        flex: none;
        width: 100%;
        max-width: none;
        order:2;
    }
}
/*footer*/

.footer {
    position: relative;  
    top: 0;
    left: 0;
    width: 100vw;     
    height: 30vh;    
    padding: 2rem;
    z-index: 1;      
}

.footer body {
    background: #0f0f0f;
    height: 30%;
}

.footer ul {
    padding: 0;
    list-style: none;
}

address {
    margin-top: 20px;
    margin-left: 30px;
    font-style: normal;
    line-height: 25px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .0rem;
    margin-bottom: 30px;
    margin-left: 40px;
    margin-top: 20px;
}


.footer__navi-heading {
    font-weight: 600;
    font-size: 20px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer__navi li {
    margin-bottom: 0.75rem;
    margin-top: 15px;
}

.footer__address {
    margin-bottom: 3rem;
}

.footer__address a {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}


@media (min-width: 768px) {
    .md-flex {
    display: flex;
    }

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

    .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .footer__address a {
    text-decoration: none;
    pointer-events: none;
    }
}

@media (min-width: 1024px) {
    .lg-flex {
    display: flex;
    }
}



@media only screen and (max-width: 768px){
/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面の外に隠れている */
    width: 250px;
    height: 100%;
    background-color: #333333;
    color: #ffffff;
    transition: right 0.3s ease; /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 2;
    display:flex;
    flex-flow: column;
}

/* メニューが開いているとき */
.menu.open {
    right: 0;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 20;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    margin: 7px 0;
    transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    padding: 0;
    margin-top: 80px;
}

header .ul{
    display: block;
}



.menu li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

header ul li a::after {
    display: none;
}
}

@media only screen and (min-width: 481px) and (max-width: 768px){
    .section1 .container{
    margin-top: 50%;
    margin-left: 10%;
}

    .section2{
    position: relative;
    height:  110vh;
    width: 100%;
    z-index: 0;
}

.section2 h3{
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 30px;
}

.hiroshima {
    width: 100%;
    max-width: auto; 
    object-fit: contain;
    padding: 8px;
    margin-bottom: 10%;
}

.section2 iframe{
    flex: 1 1 520px;
    min-width: 300px;
    max-width: 480px;
    border: none;
}

.section3 .container{
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1080px;
    color: rgb(253, 242, 242);
    padding: 60px 20px;
}

.section3{
    position: relative;
    height:  430vh;
    width: 100%;
    z-index: 0;
}


}

@media only screen and (max-width: 390px) {
    .section1 .container{
    margin-top: 70%;
    margin-left: 10%;
}
}

@media only screen and (max-width: 820px) {
    .section1 h1{
        margin-top: 10%;
    }

    .section2{
        height: 110vh;
    }

    .section3{
        height: 430vh;
    }
}

@media only screen and (max-width: 375px) {
    .section1 h1{
        margin-top: 20%;
        font-size: 30px;
    }

    .section2{
        height: 130vh;
        margin-bottom:30%;
    }

    .section3{
        margin-top: 10%;
        height: 350vh;
        margin-bottom: 150%;
    }

    .section3 .allclip{
        margin-right: 5%;
    }
}


@media only screen and (max-width: 393px) {
    
    .section2{
        height: 150vh;
    }

    .section5 {
    padding-bottom: 4rem;
}
}

@media only screen and (max-width: 480px) {
    .section1 .container{
    margin-top: 60%;
    margin-left: 10%;
}

    .section2{
    position: relative;
    height:  110vh;
    width: 100%;
    z-index: 0;
}

.section2 h3{
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 30px;
}

.hiroshima {
    width: 100%;
    max-width: auto; 
    object-fit: contain;
    padding: 8px;
    margin-bottom: 10%;
}

.section2 iframe{
    border: none;
    flex: none; /* flex指定を解除 */
    width: 100%;
    max-width: 100%;
    margin-top: 0.75rem;
}

.section3 .container{
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1080px;
    color: rgb(253, 242, 242);
    padding: 60px 20px;
}

.section3{
    position: relative;
    height:  390vh;
    width: 100%;
    z-index: 0;
}
}

html {
    scroll-behavior: smooth;
}



@media only screen and (max-width: 480px) {
    /* ページ全体を縦並びにして main を伸ばす */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1 0 auto;
}

/* footer を固定解除＆幅100% に */
footer,
.footer {
    position: relative   !important;
    width: 100%          !important;
    padding: 2rem        !important;
    box-sizing: border-box;
    z-index: 10          !important;
}
}


    
@media only screen and (min-width: 376px) and (max-width: 480px) {
    .section1 h1{
        margin-top: 20%;
        font-size: 40px;
    }

    .section2{
        height: 120vh;
        margin-bottom:10%;
    }

    .section3{
        margin-top: 10%;
        height: 350vh;
        margin-bottom: 170%;
    }

    .section3 .allclip{
        margin-right: 5%;
    }
}

