/* 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-image: url('../img/bg.jpg'); /* 画像のパスを指定 */
    background-size: auto; /* 背景画像を要素に合わせて表示 */
    background-repeat: repeat; /* 背景画像の繰り返しを無効化 */
    background-position: top center; /* 画像を要素の中央に配置 */
	color:#2a3882;
}



/*==============================================================*/
/*==============================================================*/

.container {
    width: 100%;
}

/* メインコンテンツのスタイル */
.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 #2a3882;
    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 {
       /*flex: 0 0 calc(50% - 10px);*/
           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: #ff5722;
    color: #000;
    text-align: center;
//    padding: 20px 0;
    border-bottom:3px solid #2a3882;
	width:100%;
	margin:0 auto;
}
}


header h1 {
    max-width: 500px;
    font-size: 2.2rem;
    margin:2rem 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: #ffeb3b; /* ホバー時のオレンジ色 */
}





.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;
}

ol {
    list-style:lower-roman;
    padding: 0;
    margin: 0;
}


li {
	margin-left:20px;
	margin-bottom:20px;
}

.txt_red {
    color: #cc0000;
}

/*==============================================================*/
h1 img {

    width:560px;
    margin:0 auto;
}

h2 {
    color: #ff5722;
    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 black;
}
      
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 black;
}
 
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: 50%;
     left:0;
     transform:translateY(-50%);
     content: '';
     width: 20px;
     height:4px;
     background-color: #446689;
}


hr {
	margin:2rem auto;
    border: 6px solid #2a3882;
    border-radius: 20px;
    }



.heading01 {
	display: inline;
	font-size: 1.4rem;
	background-image: linear-gradient(rgba(0,0,0,0) 70%, #FFEB3B 70%);

}

.copy {
	font-size:.8rem;
}

.txt_small_08 {
    font-size:.8rem;

}

.txt_small_06 {
    font-size:.6rem;

}


/*==============================================================*/

/* ボタンのスタイル */
.custom-button {
	padding: 10px 20px;
	border: 3px solid #2a3882;
	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 #2a3882;
	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%);
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center;
}

#g-nav li a{
  color: #fff;
  text-decoration: none;
  padding:6px 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: #fffb00;
    }
  
/*×に変化*/  
.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: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    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;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: 1px solid #666;
    text-align: left;
    outline: none;
    font-size: 1rem;
    font-weight: 700;
    transition: 0.4s;
    margin-bottom: 1rem;
}

.panel {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: white;
}

/*====================================*/
.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: 0 atuo;
        }

        .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 {
    border: 3px solid #000000;
    background-color: #fffb00;
    margin: 1rem auto;
    padding: 20px;
    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;
}


/*==============================================================*/
/* スマートフォン用のスタイル（最大幅 560px以下） */
/*==============================================================*/

/* スマートフォン用のスタイル（最大幅 560px以下） */
@media (max-width: 560px) {
    body {
        width: 100%;
        margin: 0 auto;
    }

    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 #2a3882;
        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;
    }
}
