/* 既存のスタイル */

/* CSSリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset some default styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

/* Basic styling */
body {
    font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    width: 100%;
    background: #fff;
	color:#283c4b;

    /* ここから追加 */
    background-image: url('../img/bg_vertical.jpg'); /* 固定したい背景画像のパス */
    background-size: cover; /* 画像を画面全体にフィットさせる */
    background-position: center center; /* 画像を中央に配置 */
    background-repeat: no-repeat; /* 画像を繰り返さない */
    background-attachment: fixed; /* これが背景を固定するプロパティです */
    /* ここまで追加 */


}

html, body {
    height: 100%; /* 必要であれば追加 */
}



header img{
       max-width: 360px;
       height: auto;
}

/*==============================================================*/
/*==============================================================*/

.container {
    width: 100%;
    position: relative; /* 背景画像の背面に表示するために位置を相対に設定 */
    z-index: 1; /* 背景画像の前面に表示 */
}

/* メインコンテンツのスタイル */
.main-column {
    max-width: 560px;
    margin:2rem auto;
    padding: 20px 40px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	border-radius:20px;
	background-color:#fff;
	border:3px solid #283c4b;
    font-weight: 700;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-image, .right-image {
    display: none; /* スマートフォンでは非表示 */
}

@media (min-width: 560px) {
    .left-image, .right-image {
        display: block;
        flex: 1;
    }

    .main-content {
        flex: 3;
    }
}

/* 左側の画像のスタイル */
.left-image {
    width: 100%;
    background-image: url('../img/bana_discord.jpg'); /* 画像のパスを指定 */
    background-size: cover; /* 背景画像を要素に合わせて表示 */
    background-repeat: no-repeat; /* 背景画像の繰り返しを無効化 */
    background-position: center center; /* 画像を要素の中央に配置 */
}

/* 右側の画像のスタイル */
.right-image {
    width: 100%;
    background-image: url('../img/side_img.jpg'); /* 画像のパスを指定 */
    background-size: cover; /* 背景画像を要素に合わせて表示 */
    background-repeat: no-repeat; /* 背景画像の繰り返しを無効化 */
    background-position: center center; /* 画像を要素の中央に配置 */
}

section,
main {
    width: 100%;
    margin-bottom: 20px;
}

/*==============================================================*/
/*==============================================================*/

.photo-container {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.photo-container img {
    width: 50%;
    margin: 10px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 560px) {
    .photo-container img {
        width: 120px;
    }
}

/*==============================================================*/
@media (max-width: 560px) {
    .ph_none {
	    display:none;
    }
}

/*==============================================================*/

nav ul {
    list-style: none;
}

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
}

/*==============================================================*/
/*==============================================================*/

header {
    background-color: #d0a8ff;
    color: #000;
    text-align: center;
    border-bottom: 3px solid #283c4b;
    width: 100%;
    margin: 0 auto;
    display: flex;
    /*position: sticky; /* ヘッダーを固定する */
    top: 0; /* ページの上部に固定する */
    z-index: 100; /* 他の要素の上に表示されるようにする */
    padding-top: 1rem; /* 上部に余白を追加したい場合 */
    padding-bottom: 1rem; /* 下部に余白を追加したい場合 */
}

header h1 {
    max-width: 460px;
    margin-top: 0; /* ここを0に設定 */
    margin-bottom: 1rem; /* 必要に応じて調整 */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 560px) {
    header h1 {
        font-size: 1.6rem;
        margin:2rem auto;
        width:320px;
    }
}

/*==============================================================*/

/* ナビゲーションのスタイル */
.nav-container {
    text-align: center; /* テキストを中央揃え */
    margin:2rem auto;
    width:560px;
}

/* ナビゲーションアイテムのスタイル */
.nav-item {
    display: inline-block;
    margin-right: 20px;
    width: 25%;
    padding: 10px 0;
    border: 3px solid #000;
    background-color:#fff;
    border-radius:50px;
}

.nav-item a {
	color: #000;
	font-weight: 700;
}

/* スマートフォン用のスタイル */
@media (max-width: 560px) {
    .nav-container {
        text-align: center;
        width: 320px;
        margin: 0 auto;
    }
    .nav-item {
        display: block;
        margin: 6px 0;
		width: 90%;
    }
}

.nav-item {
    display: inline-block;
    margin-right: 20px;
    transition: background-color 0.3s; /* ホバー時のトランジション設定 */
}

/* マウスホバー時のスタイル */
.nav-item:hover {
    background-color: #FE6AF4; /* ホバー時のオレンジ色 */
}

.main_img {
	margin:0 auto;
	padding:0;
	text-align:center;
}

/*==============================================================*/

p {
    font-size:1rem;
    margin-bottom: 1rem;
}

img {
	width:100%;
	margin: 1rem auto;
}

ul {
    list-style:square;
    padding: 0;
    margin: 0;
	margin-top:10px;
	margin-bottom:10px;

}

ol {
    list-style:lower-roman;
    padding: 0;
    margin: 0;
	margin-top:10px;
	margin-bottom:10px;

}

li {
	margin-left:20px;
    line-height: 1.8;
}

.txt_red {
    color: #cc0000;
}

.img_center {
    margin: 0 auto;
    text-align:center;
}

/*==============================================================*/

h1 img {
    width:100%;
    margin:0 auto;
}

h2 {
    color: #8232d2;
    font-size: 1.8rem;
}

h3 {
     text-align: center;
     font-size:1.5rem;
     margin-bottom: 1rem;
}
 
h3 span {
     position: relative;
     display: inline-block;
     padding-bottom:0.5em;
     border-bottom: 1px solid #283c4b;
}
      
h3 span::before,
h3 span::after {
     position: absolute;
     top: 100%;
     left:50%;
     transform:translateX(-50%);
     content: '';
     border: 10px solid transparent;
}
 
h3 span::before {
     border-top: 10px solid #283c4b;
}
 
h3 span::after {
     margin-top: -1px;
     border-top: 10px solid white;
}

h4 {
     font-size:1rem;
     margin:0 auto;
     padding:10px 0;
     line-height: 1.4;
}

h4 span {
    font-size:.6rem;
    padding:0 0 0 6px;
}

h5 {
     position: relative;
     padding-left: 1.2em;
     font-size:1.2rem;
     margin: 0.6rem auto;
}
 
h5::after {
    position: absolute;
    top: 38%;
    left: 0;
    /* transform: translateY(-50%); */
    display: block;
    width: 12px;
    height: 12px;
    content: '';
    background-color: #283c4b;
    border-radius: 50%;
}

hr {
	margin:2rem auto;
    border: 6px solid #283c4b;
    border-radius: 20px;
    }



.heading01 {
	display: inline;
	font-size: 1.2rem;
	background-image: linear-gradient(rgba(0,0,0,0) 70%, #f2fc6a 70%);

}

.heading02 {
	background-image: linear-gradient(90deg, rgba(253, 219, 146, 1), rgba(209, 253, 254, 1));
}

.copy {
	font-size:.8rem;
}

.txt_small_08 {
    font-size:.8rem;

}

.txt_small_06 {
    font-size:.6rem;

}


/*==============================================================*/

/* ボタンのスタイル */
.custom-button {
	padding: 10px 20px;
	border: 3px solid #283c4b;
	background-color:#E91E63;
	color: white;
	cursor: pointer;
	transition: background-color 0.3s;
	border-radius:10px;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	display: block; /* 横幅を親要素 (main) に合わせるためにブロック要素化 */
	margin: 1rem auto 2rem; /* 水平方向に中央に配置 */
    width: 100%;
}

/* ボタンのホバー時のスタイル */
.custom-button:hover {
    background-color: #e44a7d;
}



.custom-button a {
	color: #ffffff;
	font-weight: 700;
    text-decoration:none;
}


/*=======*/

/* ボタンのスタイル */
.syousai-button {
	padding: 10px;
	border: 3px solid #283c4b;
	background-color:#049dda;
	color: white;
	cursor: pointer;
	transition: background-color 0.3s;
	border-radius:10px;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	display: block; /* 横幅を親要素 (main) に合わせるためにブロック要素化 */
	margin: 1rem auto 2rem; /* 水平方向に中央に配置 */
    width: 100%;
}

/* ボタンのホバー時のスタイル */
.syousai-button:hover {
    background-color:#48afd8;
}






/*==============================================================*/
/*==============================================================*/


footer {
    background-color:#2196f3;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    bottom: 0;
    width: 100%;
    border-top:3px solid #000;
}




/*==============================================================*/


.wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.item {
	padding: 10px;
	width: 50%;
	background-color: #fff;
}

@media not all and (min-width: 768px) {

.item {
	width: 100%;
}

.item:not(:last-child) {
	margin-bottom: 30px;
  }
}

/*=================================================================*/

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:0;
    right: -120%;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:#2196f3;
    /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;


}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
            padding-top: 2rem;
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center;
}

#g-nav li a{
  color: #fff;
  text-decoration: none;
  padding:4px 0;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
position: fixed;
    z-index: 9999;
    top: 10px;
    right: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border: 3px solid #000000;
    background-color: #d5f458;
    }
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #000000;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 16px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 28px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


/*================================================*/
/* 固定画像のスタイル */
aside {
    position: fixed; /* 要素を固定位置に配置 */
    top: 100px; /* 画面上部からの位置 */
    left: 20px; /* 画面右側からの位置 */
    width: 260px; /* 画像の幅 */
    height: auto; /* アスペクト比を維持 */
}

/* スタイリングを追加（ボーダーや背景色など） */
aside img {
    display: block;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    padding: 5px;
}

@media (max-width: 560px) {
    /* スマートフォン用のスタイルを定義 */
    aside {
        display: none; /* 画像を非表示にする */
    }
}


/*=========================*/
.accordion {
    background-color: #f9f9f9;
    color: #444;
    border: 1px solid #666;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

.panel {
    padding: 0; /* パネル内の余白 */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
    border-top: none;
    border-bottom: 1px solid #666;
    border-right: 1px solid #666;
    border-left: 1px solid #666;
    margin-bottom: 1rem;
    max-height: 0
}


.panel ul {
    padding: 18px;
}

.panel .txt_box {
    margin: 18px;
}


/*====================================*/
.txt_box {
    background-color: #f2f2f2;
    padding: 10px;
    margin:1rem auto;
    border-radius: 10px;
}
.txt_box p,
.txt_box li,
.txt_box h3
 {
    font-size: 0.8em !important;
}

.txt_box_02 {
    background-color: #f2f2f2;
    padding: 10px;
    margin:1rem auto;
    border-radius: 10px;
}

/*==========================================*/
        /* モーダルのスタイル */
        .modal {
            display: none; /* 初めは非表示 */
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.4); /* 背景を半透明に */
        }

        .modal-content {
            background-color: #fefefe;
            margin: 10% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 360px;
            border-radius: 10px;
                }

        .modal-content img {
            width: 60%;
            text-align: center;
            margin: 1rem 3.6rem;
        }

        .modal-content p,
        .modal-content li {
            font-size:.8rem;
            line-height: 1.6;
        }

/*==============================================================*/

.heading08 {
	font-size: 26px;
}

.heading08 span {
	display: flex;
	align-items: center;
	color: #000;
	font-size: 2rem;
	text-transform: uppercase;
}

.heading08 span::before {
	content: '';
	display: inline-block;
	margin-right: 20px;
	width: 40px;
	height: 1px;
	background-color: #000;
}



.share_box {
    margin: 1rem auto;
    padding: 0px;
    width: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: center;

}

.share_box h2 {
    color:#000;
}

.share-buttons {
    display: flex; /* Flexboxを使用して要素を横並びに配置 */
    align-items: center; /* 要素を垂直方向に中央揃え */
}

.share-buttons h2 {
    margin-right: 10px; /* ボタンとの間隔を調整 */
}




.rounded-button {
    border:2px solid #000;
    border-radius: 10px;
    padding:10px;
    margin-right: 10px;
    width:60px;
    height: 60px;
}

.main-column table th,
.main-column table td {
    font-size: 0.8rem;
    width: 33%;
    padding: 6px;
}

.main-column table th {
    background-color: #d1d7dd;
}

.main-column table th {
    background-color: #d1d7dd;
}

/*==============================================================*/
/* 作品テーブルのスタイル */
/*==============================================================*/
.prize-table {
 width: 100%;
 text-align: center;
 border-collapse: collapse;
 border-spacing: 0;
}
.prize-table th {
 padding: 10px;
 background: #778ca3;
 border: solid 1px #666666;
 color: #ffffff;
}
.prize-table td {
 padding: 10px;
 border: solid 1px #666666;
}
.prize-table td:first-child {
 background: #e9faf9;
}

dl {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin:1rem auto;
  font-size: 1rem;
  font-weight: 700;
}

dl>dt {
  width: 30%;
  padding-bottom: 10px;
  margin-bottom: 10px;
  text-align: left;
}

dl>dd {
  width: 70%;
  padding-bottom: 10px;
  margin-bottom: 10px;
  text-align: left;
} 


@media (max-width: 600px) {

  dl {
      display: block;
      flex-wrap: wrap;
      width: 90%;
      margin:1rem auto;
      font-size: 1rem;
    }
  
  dl>dt {
      width: 100%;
      padding-bottom: 10px;
      margin-bottom: 10px;
      text-align: left;
    }
    
  dl>dd {
      width: 100%;
      padding-bottom: 10px;
      margin-bottom: 10px;
      text-align: left;
    } 

}

/*==============================================================*/
/* スマートフォン用のスタイル（最大幅 560px以下） */
/*==============================================================*/

/* スマートフォン用のスタイル（最大幅 560px以下） */
@media (max-width: 560px) {
    body {
        width: 100%;
    margin: 0;
    padding: 0;
    }

    header {
        font-size: 24px;
        padding: 10px;
    }

    nav {
        font-size: 16px;
    }

    main {
        width: 100%;
        margin: 0 auto;
    }

    .main-column {
        max-width: 320px;
        margin: 2rem auto;
        padding: 20px 40px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        background-color: #fff;
        border: 3px solid #283c4b;
        font-weight: 700;
    }

    .content {
        width: 100%; /* スマートフォンでは1つの要素が100%幅を占める */
    }

    .modal-content {
        background-color: #fefefe;
        margin: 20% 30px;
        padding: 20px;
        border: 1px solid #888;
        width: 280px;
        border-radius: 10px;
    }


    h1 img {
        width: 100%;
        margin: 0 auto;
    }

    h3 {
        text-align: center;
        font-size: 1.4rem;
    }

    .display_hp_none {
        display: none;
    }

    .left-image, .right-image {
        display: none;
    }
}

.logo_img {
    width:200px;
}