/* CSS Document */

@charset "UTF-8";

/* -------------------------------------------------- */
/* グローバルナビゲーション */
/* -------------------------------------------------- */

/*@media only screen and (min-width: 769px) {
nav ul li:nth-of-type(6) a {
	border-bottom: 4px solid #FFF;
}
}*/

/* -------------------------------------------------- */
/* ヘッダー */
/* -------------------------------------------------- */

header {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	top: 0;
	left: 0;
	background-color: #FFF;
	z-index: 10;
}
@media only screen and (min-width: 769px) {
header {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
	background-color: #FFF;
}
}

header #main {
    height: 20vh;
    background-image: url(../img/common/dot.gif),url(../img/notice/bg_main_01.jpg);
    background-repeat: repeat, no-repeat;
    background-blend-mode: overlay;
    background-size: auto, cover;
    background-position: center 80%;
    display: flex;
    flex-wrap: wrap;
    /*flex-direction: column;*/ /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    align-items: center;  /* 子要素をflexboxにより中央に配置する */
    position: relative;
    padding-top: 90px;
}
@media only screen and (min-width: 769px) {
header #main {
    height: 360px;
    padding-top: 0px;
    background-position: center 80%;
}
}


header #pmain {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 90px;
    background-color: #000;
}
@media only screen and (min-width: 769px) {
header #pmain {
    position: inherit;
    background-color:  transparent;
    height: auto;
}
}


h1 {
    /*border: 1px solid #FFF;*/
    margin: 8vw auto 1vw auto;
    width: 50vw;
    height: auto;
    text-align: left;
    /*padding: 10vw;*/
    z-index: 10;
}
@media only screen and (min-width: 769px) {
h1 {
    margin: 80px auto 0 auto !important;
    width: 600px;
    height: auto;
    /*padding: 10vw;*/
}
}


header h2 {
    position: absolute;
    text-align: center;
    bottom:0;
    width: 100%;
    background-color: #000;
    color: #FFF;
    font-size: 26px;
    padding: 2vw 0;
}
@media only screen and (min-width: 769px) {
header h2 {
    position: relative;
    width: auto;
    background-color: transparent;
    /*border: 1px solid #FFF;*/
    color: #FFF;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0px 0px 10px #3d3d3d;
    padding: 0;
}
}

header div.boldtext {
    margin-top: -30px;
    font-size: 40px !important;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-weight: bold;
    text-shadow: 0px 0px 10px #3d3d3d;
}
@media only screen and (min-width: 769px) {
header div.boldtext {
    display: none;
}
}

main {
    width: 100%;
    padding: 4vw 0;
    line-height: 160%;
}

main article {
    margin: 0 4vw 30px 4vw;
}

main article img {
    max-width: 100%;
	height: auto;
}

main article .date {
    color: #999;
}
main article h2 {
    font-size: 26px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
}

main article strong {
    font-size: 20px;
    font-weight: bold;
    color: #1A6600;
}

main article ul {
	margin: 0px 0px 0px 2em;
	padding: 0px 0px 0px 0px;
	list-style: circle;
}

.op_main_img {
	text-align: center;
}
.op_main_img img {
	max-width: 800px;
}
@media only screen and (max-width: 769px) {
.op_main_img img {
    max-width: 100%;
}
}

main article ul.onepray {
    margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
    display: flex;
    flex-wrap: wrap;
	list-style-type: none;
    /*flex-direction: column;*/ /* 子要素をflexboxにより縦方向に揃える */
    justify-content: center; /* 子要素をflexboxにより中央に配置する */
    /*align-items: center;*/  /* 子要素をflexboxにより中央に配置する */
}
@media only screen and (min-width: 769px) {
main article ul.onepray {
    justify-content: flex-start; /* 子要素をflexboxにより中央に配置する */
    align-items: flex-start;  /* 子要素をflexboxにより中央に配置する */
}
}

main article ul.onepray li {
    width: 90vw;
	text-align: center;
	/*display: table-cell;*/
	/*border: 1px solid #CCC;*/
	/*display: flex;
	align-items: center;*/
}
@media only screen and (min-width: 769px) {
main article ul.onepray li {
    margin: 10px;
	width: 240px;
	/*border: 1px solid #000;*/
}
}


main article ul.onepray li img {
    width: 42vw;
	height: auto;
    /*height: calc(100% * 0.72);*/
	/*width: 20%;
	height: calc(20% * 0.72);*/
    object-fit: cover;
	/*border: 1px solid #00B0EC;*/
}
@media only screen and (min-width: 769px) {

main article ul.onepray::after{
  content: "";
  display: block;
  /*width: 520px;*/
  width: 320px;
}
main article ul.onepray li img {
    /*width: 500px;
    height: 360px;*/
    max-width: 200px;
    height: auto;
    object-fit: cover; 
}
}


dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 1em auto auto auto !important;
}
@media only screen and (max-width: 769px) {
dl {
  width: 100%;
}
}

 dd {
	width: auto;
	padding: 20px 10px;
	/*padding-bottom: 20px;*/
	background-color: #F3F3F3;
	margin: 0 auto;
	margin-bottom: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}


.onepray_info dl {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin: 1em auto auto auto !important;
}
@media only screen and (max-width: 769px) {
.onepray_info dl {
  width: 100%;
}
}


.onepray_info dt {
	width: 30%;
	padding: 20px 10px;
	/*padding-bottom: 20px;*/
	margin: 0;
	margin-bottom: 10px;
	background-color: #DADADA;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.onepray_info dd {
	width: 66%;
	padding: 20px 10px;
	/*padding-bottom: 20px;*/
	background-color: #F3F3F3;
	margin: 0;
	margin-bottom: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.btn,
a.btn,
button.btn {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #eb6100;
}
.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #f56500;
}

.btn--2026,
a.btn--2026 {
  color: #fff;
  background-color: #00B0F0;
}
.btn--2026:hover,
a.btn--2026:hover {
  color: #fff;
  background: #2DC6FF;
}


a.btn--radius {
   border-radius: 100vh;
}

/*main article a {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    background-color: #000;
    padding: 2vw;
    text-align: center;
}

main article a:link { color:#FFF; text-decoration: underline; }
main article a:visited { color:#FFF; text-decoration: underline; }
main article a:hover { color:#FFF; text-decoration: none; }
main article a:active { color:#FFF; text-decoration: underline; }
main article a:focus { outline:none;}*/

/* ↓↓↓ 追加するCSS ここから ↓↓↓ */

/* --- ナカヤマシンペイ氏コメントエリア --- */

/* コメント全体のコンテナ */
.comment-bubble-container {
  width: 94%; /* スマホなど小さい画面での幅 */
  max-width: 800px; /* PCでの最大幅 */
  margin: 40px auto 50px; /* 上下の余白を広めに取る */
  position: relative;
  box-sizing: border-box;
}

/* 吹き出し本体 */
.comment-bubble {
  position: relative;
  background: #fffaf0; /* 背景色（薄いオフホワイト） */
  border: 3px solid #cc0000; /* 枠線の色（赤） */
  border-radius: 15px; /* 角丸 */
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* 影をつけて立体感を出す */
  text-align: center;
}

/* 吹き出しの「しっぽ」（上向きの三角）を作成 */
.comment-bubble::before,
.comment-bubble::after {
  content: "";
  position: absolute;
  bottom: 100%; /* 本体の真上に配置 */
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
}

/* 外側の枠線部分の三角 */
.comment-bubble::before {
  border-width: 15px;
  border-color: transparent transparent #cc0000 transparent;
}

/* 内側の背景色部分の三角（枠線の上に重ねて中を塗りつぶす） */
.comment-bubble::after {
  border-width: 12px;
  border-color: transparent transparent #fffaf0 transparent;
  margin-bottom: 3px; /* ボーダーの太さに合わせて調整 */
}

/* コメントテキスト本文 */
.comment-text {
  font-size: 1.5rem; /* PCでの基本文字サイズ */
  font-weight: 700; /* 太字 */
  line-height: 1.8;
  color: #003366; /* 文字色（濃い青） */
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 明朝体系フォントで雰囲気を出す */
  margin-bottom: 20px;
}

/* 赤色で強調する部分 */
.comment-text .highlight-red {
  color: #cc0000;
}

/* さらに大きく強調する部分（「ぶっ叩いて」など） */
.comment-text .emphasize {
  font-size: 1.25em; /* 親文字サイズの1.25倍 */
}

/* 署名部分 */
.comment-signature {
  font-size: 1.1rem;
  color: #555; /* 少し薄い黒 */
  text-align: right;
  font-weight: normal;
  margin-right: 20px;
}

/* スマホ表示用のスタイル調整（画面幅768px以下） */
@media screen and (max-width: 768px) {
  .comment-bubble-container {
    margin: 30px auto; /* 余白を少し狭く */
  }
  .comment-bubble {
    padding: 25px 15px;
  }
  /* スマホでの改行を有効にするためのクラス */
  br.sp-only {
    display: block;
  }
  .comment-text {
    font-size: 1.1rem; /* 文字サイズを小さく */
    line-height: 1.6;
  }
  .comment-text .emphasize {
    font-size: 1.2em;
  }
  .comment-signature {
    font-size: 0.9rem;
    margin-right: 0;
    text-align: center; /* スマホでは中央寄せの方が見やすい場合がある */
  }
}

/* PCなど大きい画面ではスマホ用改行を無効にする */
@media screen and (min-width: 769px) {
  br.sp-only {
    display: none;
  }
}

/* ↑↑↑ 追加するCSS ここまで ↑↑↑ */


