/* 変更したい箇所は最後の部分にまとめて記述してください。 */
/* ページ全体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Yu Gothic', Arial, sans-serif;
    background-color: #fff;
    color: #333;
    height:100%;
}

/* main{
    min-height: 100lvh;
} */

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #ffffff;
}

header h1 a {
    font-size: 1.5rem;
    color: #000000;
    text-decoration: none;
}

header h1 a:hover{
    background-color: #ccc;
}

/*画像保存禁止設定*/
img{
    pointer-events:none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select: none;
}


/* ハンバーガーメニュー */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.menu-button {
    margin-right: 20px;
    width: 60px;
}

.hamburger-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 100%; 
    width: 30%;
    height: 100%;
    background-color: #ffffff;
    color: #9B92C6;
    z-index: 10;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.2);
    transition: right 0.5s ease, visibility 0.5s ease, opacity 0.5s ease; 
    visibility: hidden;
    opacity: 0;
    overflow:scroll;
}

.hamburger-menu.active {
    right: 0;
    visibility: visible;
    opacity: 0.9;
}

.hamburger-menu.closing {
    right: -100%; 
    visibility: hidden;
    opacity: 0;
}

.hamburger-menu nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.hamburger-menu nav ul li {
    margin: 1rem 0;
}

.hamburger-menu nav ul li .li-normal {
    text-decoration: none;
    color: #9B92C6;
    font-weight: 800;
    font-size: 2rem;
}

.hamburger-menu nav ul li .li-pressure{
    text-decoration: none;
    color: #9B92C6;
    font-weight: 800;
    font-size:2.25rem;
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #9B92C6;
    cursor: pointer;
}

/* パンくずリスト */
.breadcrumb {
    padding: 1rem;
    background-color: #9b92c683;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.breadcrumb a{
    color:#659AD2;
    text-decoration:none;
}

.breadcrumb a:hover{
     text-decoration: underline;
}

/* メインコンテンツ */
.contents-box{
    background-image: url(../../assets/images/hokudaisai.jpg);
     background-repeat: no-repeat;
     background-size: cover;
     width:100%;
     opacity: 0.8;
}
.contents {
    width:90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #fff;
    opacity:1;
    min-height: 100lvh;
    height:auto;
}

.contents h1{
    font-size: 2rem;
    color: #6F51A1;
    text-align: center;
    position:relative;
    margin-bottom:1.5rem;
}

.contents h1::after{
    content: '';
    position: absolute;
    left: 10%;
    bottom: -5px;
    height: 7px; 
    width: 80%;
    background-image: linear-gradient(to right, rgba(101,154,210,.5), rgba(155,146,198,1), rgba(101,154,210,.5)); 
}

.contents-description h2{
    font-size: 1.5rem;
    color: #000000;
    margin-top: 2rem;
}

.contents-description p{
    font-size: 1.2rem;
    color: #000000;
    margin-top: 0.5rem;
}

.contents-description p strong{
    color:#6F51A1;
}

.contents-description .img-box{
     display: flex;
     justify-content: center;
     align-items: center;
}

.contents-description .img-box img{
    max-width: 80%;
    height: auto;
    z-index: 1;
}

/* フッター */
footer {
    background-color: #9b92c683;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.social-icons a {
    margin: 0 2rem;
    text-decoration: none;
    display: inline-block;
    line-height: 0; 
}

.social-icons img {
    width: 50px; 
    height: 50px; 
    object-fit: contain; /* アイコンのアスペクト比を維持 */
}

/* 著作権表示のスタイル */
.footer-copyright {
    background-color: #9B92C6; 
    color: #ffffff; 
    padding: 0.5rem 1rem;
    text-align: center;
    width: 100%;
    margin:0;
}

.privacy-link {
    margin-left: 20px; 
    color: #ffffff; 
}

.privacy-link a {
    color: #ffffff; 
    text-decoration:underline;
}

/* レスポンシブ対応 */
@media screen and (max-width: 600px) {
    .menu-button {
    margin-right: 10px;
    width: 40px;
    }
    .hamburger-menu{
        width:80%;
    }

    .contents h1{
        font-size:1.6rem;
        padding-bottom:1rem;
    }

    .social-icons a {
    margin: 0 0.5rem;
    }

    .footer-copyright{
      font-size: 0.85em;
    }
  }

@media screen and (max-width: 820px) and (min-width:601px) {
     .hamburger-menu{
        width:50%;
    }
    
     .footer-copyright{
        padding: 1.25rem 1rem;
     }

  }
