@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@500&display=swap');

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url("inview.css");



/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	font-size: 16px;	/*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
	overflow-x: hidden;
}

body {
/*	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類 'M PLUS 1', */
	font-family: "Yu Mincho", "游明朝", serif !important;
	font-weight: 400;
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #777;			/*文字色 #999*/
	line-height: 2;			/*行間*/

    -webkit-user-select: none; /* Safari用 */
    -moz-user-select: none;    /* Firefox用 */
    -ms-user-select: none;     /* IE/Edge用 */
    user-select: none;         /* 標準 */
}


/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*iframeタグ*/
iframe {width: 100%;}

/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #777;	/*文字色 #999*/
	transition: 0.3s;
}

a:hover {
	opacity: 0.8;	/*マウスオン時に80%の透明度にする*/
}


/*container
---------------------------------------------------------------------------*/
#container {
	margin: 0 auto;
	max-width: 1800px;	/*サイトの最大幅*/
}

/* ヘッダー全体の背景 */
#main-cover {
    width: 100%;
    height: 60vh; /* 画面の高さの60%くらいをタイトルエリアに */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: 
    linear-gradient(135deg, rgba(200, 30, 50, 0.3), rgba(21, 129, 191, 0.8)),
    url("../images/backimg/Rose.png");

    /* 画像の配置設定 */
    background-repeat: no-repeat;
    background-position: left bottom; /* 左下に配置 */
    
    /* 画像のサイズ調整 */
    background-size: auto 80%; /* 高さは画面の80%くらい、幅は自動 */
}

/* サイトタイトル「花揺らぐ」 */
.home #logo {
    position: static; 
    transform: none;
    width: auto;
    background: none; 
    
    margin: 0 !important; /* タイトル自体の上下マージンを消す */
    line-height: 1;       /* 行間を詰める */
    font-family: "Yu Mincho", "游明朝", serif !important;
    /*font-size: 3.5rem; /* 大きく表示 */
    font-size: 8vw; /* 画面幅に合わせてサイズが変わる設定（スマホ向け） */
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.3); /* ほんのり光らせる */
    letter-spacing: 0.2em; /* 文字の間隔を広げる */
}

.home #logo a {
    display: block;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
}

/* サブタイトル */
.sub-copy {
    font-family: 'Kiwi Maru', serif;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 30px 0 0 0 !important;
    letter-spacing: 0.1em;
}

/* 花びらの基本スタイル */
.petal {
    position: absolute;
    background-color: rgba(200, 30, 50, 0.7); /* 薔薇の赤色 */
    border-radius: 50% 50% 0 50%; /* 薔薇の花びらっぽく */
    width: 15px; 
    height: 12px;
    z-index: 1;
    top: -20px;
    animation-timing-function: ease-in-out; /* 動きを滑らかに */
}

/* 密度を上げるために、動きのサイクルをランダム化 */
.p1 { left: 5%;  animation: fall 8s linear infinite; }
.p2 { left: 15%; animation: fall 10s linear infinite 1s; }
.p3 { left: 25%; animation: fall 12s linear infinite 2s; }
.p4 { left: 40%; animation: fall 9s linear infinite 3s; }
.p5 { left: 55%; animation: fall 11s linear infinite 0.5s; }
.p6 { left: 70%; animation: fall 7s linear infinite 4s; }
.p7 { left: 85%; animation: fall 13s linear infinite 1.5s; }
.p8 { left: 95%; animation: fall 10s linear infinite 2.5s; }

/* 舞い落ちるアニメーション */
@keyframes fall {
    0% { 
        transform: translateY(0) translateX(0) rotate(0deg); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    
    /* 途中で横に大きく揺らす */
    25% { 
        transform: translateY(15vh) translateX(-30px) rotate(90deg); /* 左に30px */
    }
    50% { 
        transform: translateY(30vh) translateX(40px) rotate(180deg);  /* 右に40px */
    }
    75% { 
        transform: translateY(45vh) translateX(-20px) rotate(270deg); /* 左に20px */
    }
    
    /* 最後は画面の外へ */
    100% { 
        transform: translateY(60vh) translateX(50px) rotate(720deg); 
        opacity: 0; 
    }
}s
/* 花びらごとの動きにバラつきを出す */
.petal:nth-child(1) { left: 10%; animation-duration: 7s; animation-delay: 0s; }
.petal:nth-child(2) { left: 30%; animation-duration: 10s; animation-delay: 2s; }
.petal:nth-child(3) { left: 50%; animation-duration: 8s; animation-delay: 4s; }
.petal:nth-child(4) { left: 70%; animation-duration: 12s; animation-delay: 1s; }
.petal:nth-child(5) { left: 90%; animation-duration: 9s; animation-delay: 5s; }

/* --- 下層ページ専用のヘッダー --- */
#sub-cover {
    width: 100%;
    height: 15vh; 
    background: linear-gradient(135deg, #E9BAC1, #4A9BCB);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* 下層ページのタイトル文字サイズ */
.sub-header #logo {
    font-family: "Yu Mincho", "游明朝", serif !important;
    font-size: 1.8rem; /* トップより小さく */
    text-shadow: 0 0 10px rgba(255,255,255,0.2); /* 少しだけ光らせる */
    color: #fff;
    letter-spacing: 0.1em;
}

.sub-header #logo a {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

/*main
---------------------------------------------------------------------------*/

/*h2タグ*/
main h2 {
	text-align: center;	/*文字を中央に*/
	color: #1581BF;		/*文字色 #f54062*/
	letter-spacing: 0.1em;	/*文字間隔を少し広く*/
	font-weight: 500;
	font-size: 1.8rem;
	/* 余白の調整 */
	margin-top: 40px;      /* 上の要素との距離 */
	margin-bottom: 0px;    /* 下線との距離 */
	
	/* 下線を追加 #1581BF */
	border-bottom: none;
	background: linear-gradient(to right, transparent, #a01e32, transparent);
	background-position: bottom;
	background-size: 70% 1px;
	background-repeat: no-repeat;
}

/*h2タグ内のspan（小さいテキスト部分）*/
.subtitle{
	display: block;
	margin-bottom: 50px;
	text-align: center;	/*文字を中央に*/
	color: #1581BF;		/*文字色 #f54062*/
	font-weight: 500;
	font-size: 1.5rem;
	display: block;
	opacity: 0.6;		/*透明度*/
	letter-spacing: 0.2em;	/*文字間隔を少し広く*/
}

/*bg1ボックス内で使う場合のh2タグ*/
main .bg1 h2 {
	color: #fff;	/*文字色*/
	border-bottom: none;
	background: linear-gradient(to right, transparent, #E9BAC1, transparent);
	background-position: bottom;
	background-size: 70% 1px;
	background-repeat: no-repeat;
}

/*bg1ボックス内で使う場合のspanタグ*/
main .bg1 span {
	color: #fff;	/*文字色*/
}

/*h3タグ*/
main h3 {
	color: #3DB6B1;
}

/* 普通の段落 */
p {
  margin: 0; /* 上下の余白を0にする*/
}

/* 特に大きく空けたいとき用のクラス(下側が空く） */
.content-margin-medium {
  margin-bottom: 15px; 

}

/* 特に大きく空けたいとき用のクラス(下側が空く） */
.content-margin-large {
  margin-bottom: 50px; 

}

.my-image-area {
  margin: 0 0 30px 0; /* 下に30pxの余白 */
}

/* アクセント文字 */
.text-accent {
    font-weight: bold;      /* 太字にする */
    color: #3DB6B1;
}

/*---------------------------------------------------------------------------
listブロック
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	margin-bottom:50px;
}

/*１個あたりのボックス設定*/
.list {
	display: flex;				/*flexボックスを使う指定*/
	flex-direction: column;		/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	width: 48%;				/*幅*/
	margin-right: 4%;		/*右側に空けるスペース*/
	margin-bottom: 2em;		/*ボックスの下に空けるスペース。２文字分。*/
	position: relative;		/*NEWアイコンを絶対配置させる為に必要な指定*/
	overflow: hidden;		/*NEWアイコンが飛び出ないようにする指定*/
}

/*２の倍数のlistブロックへの追加設定*/
.list:nth-of-type(2n) {
	margin-right: 0;	/*右側の余白をなくす*/
}

/*ボックス内のh4タグ*/
.list h4 {
	margin: 0;
	color: #1581BF;	/*文字色 #f54062*/
}
.list h4 a {
	color: #1581BF;	/*リンクテキストの文字色 #f54062*/
}

/*bg1ボックス内で使う場合のh4タグ*/
.bg1 .list h4 {
	margin: 0;
	color: #fff;	/*文字色*/
}
.bg1 .list h4 a {
	color: #fff;	/*リンクテキストの文字色*/
}

/*ボックス内のtextブロック*/
.list .text {
	flex: 1;
}

/*ボックス内のpタグ*/
.list p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
	line-height: 1.5;	/*行間を少し狭くする*/
}

/*list内のボタン*/
.list .btn a {
	display: block;text-decoration: none;
	background: #1581BF;	/*背景色 #f54062*/
	color: #fff;			/*文字色*/
	text-align: center;		/*文字をセンタリング*/
	padding: 10px 5px;		/*上下、左右へのボタン内の余白*/
	margin-top: 10px;		/*ボタンの上にとるスペース*/
}

/*bg1ボックス内で使う場合のボタン*/
.bg1 .list .btn a {
	background: #F6B1CE;	/*背景色 #f8af00*/
	color: #fff;		/*文字色*/
}

/*左上のアイコン*/
.list .icon {
	position: absolute;		/*relativeを持っている親要素に対して絶対配置する指示*/
	left: 0px;				/*左からの配置場所*/
	top: 0px;				/*上からの配置場所*/
	background: #1581BF;	/*背景色 #f54062*/
	font-size: 11px;		/*文字サイズ*/
	width: 100px;			/*幅*/
	padding-top: 30px;		/*文字の上に空ける余白*/
	text-align: center;		/*テキストをセンタリング*/
	color: #fff;			/*文字色*/
	transform: rotate(-45deg) translate(-15px, -40px);	/*左に45度回転、右に-15px、上に-40px移動。マイナスがついてる場合は逆側に移動します。*/
}

/*bg1ボックス内で使う場合のアイコンの背景色*/
.bg1 .list .icon {
	background: #F6B1CE; /* #f8af00 */
}

/*スタッフ紹介用。画像を円形にくり抜く。*/
.list figure.circle {
	border-radius: 50%;	/*円形にする。画像が長方形だと正円になりません。*/
	overflow: hidden;	/*円形から飛び出ている部分を非表示に*/
}

/*.c3スタイル（3カラム）*/
.list-container.c3 .list {
	width: 30%;				/*幅*/
	margin-right: 5%;		/*右側に空けるスペース*/
}

/*３の倍数のlistブロックへの追加設定*/
.list-container.c3 .list:nth-of-type(3n) {
	margin-right: 0;	/*右側の余白をなくす*/
}

/*---------------------------------------------------------------------------
menubarブロック初期設定
---------------------------------------------------------------------------*/
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar {display: none;}
#menubar.db {display: block;}
#menubar.dn {display: none;}

/*メニューブロック設定
---------------------------------------------------------------------------*/
/*ブロック内のh2見出し*/
.box1 h2 {
	margin: 0;
	font-size: 100%;
	background: #1581BF;	/*背景色 #f54062*/
	color: #fff;			/*文字色*/
}

/*メニューブロック*/
#menubar {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;		/*ブロック内の余白。上、左右、下。*/
	background: #fff;				/*背景色。*/
	text-align: center;				/*中身をセンタリング*/
	animation: animation1 0.2s both;	/*animation.cssのanimation1を実行する。0.2sは0.2秒の事。*/
	box-shadow: 0px 0px 20px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.2は色が20%出た状態。*/
}

/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	text-align: center;
	padding: 10px;	/*メニュー内の余白*/
}
#menubar li {
	border-bottom: 1px solid #ccc;	/*メニューの下の線幅、線種、色*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*開閉用のスタイル*/
#menubar_hdr.db {display: flex;}
#menubar_hdr.dn {display: none;}

/*「MENU」の文字*/
#menubar_hdr p {
	display: block;
	margin: 10px 0 0;
	font-size: 0.6em;
	color: #1581BF;	/*文字色 #f54062*/
}

/*３本バーとMENUテキストを囲むブロック*/
#menubar_hdr {
    position: fixed;
    z-index: 101;
    cursor: pointer;
    left: 0px;
    top: 0px;
    padding: 20px 0px;
    width: 80px;
    text-align: center;
    transform-origin: left top;
    transition: 0.3s;

    /* 白の半透明（80%くらい）を背景に敷く */
    background-color: rgba(255, 255, 255, 0.8); 
    
    /* オプション：角を少し丸くしたり、影をつけるとより浮き立ちます */
    border-bottom-right-radius: 10px; 
    box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
}

/*マウスオン時*/
#menubar_hdr:hover {
	filter: brightness(1.1);
}

/*３本バーを囲むブロック*/
#menubar_hdr div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 30px;
	margin: 0 auto;
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 3px solid #1581BF;	/*３本バーの線の幅、線種、色 #f54062*/
}

/*×印が出ている状態の設定。1本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 40px;
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(6px, 13px);
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(6px, -13px);
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;
}


/*---------------------------------------------------------------------------
フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.7rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	background: linear-gradient(135deg, #E9BAC1, #4A9BCB);
	color: #fff !important;
	border-top: 1px solid rgba(0,0,0,0.1);
}

/*リンクテキスト*/
footer a {
	color: #fff !important;
	text-decoration: none;
	opacity: 0.8; /* 少し透けさせる */
}

/*著作部分*/
.pr {display: block;}

/*copyrightと著作部分*/
.copy {
   padding: 0 1% 1% 1%;
}


/*フッターメニュー
---------------------------------------------------------------------------*/
/* メニューブロック全体 */
#footermenu {
    margin: 0;
    padding: 0 1% 0 1%;
}

/* メニュー１個あたり */
#footermenu li {
    display: inline-block;	/*横並びにする*/
    padding: 10px 0 0 0;   /* aタグ側に余白を持たせるため0に */
    font-size: 1.2em;
    list-style: none;
}

/* アニメーションの土台（ボタン本体） */
#footermenu li a {
    display: block;
    padding: 5px 20px;
    color: #1581BF;
    text-decoration: none;
    position: relative;
    font-family: "Yu Mincho", "游明朝", serif;
    transition: 0.3s;
    overflow: hidden; /* 枠外の線を隠す */
}

/* 線の共通設定 */
#footermenu li a::before,
#footermenu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%; /* 中央から */
    width: 0;  /* 最初は長さゼロ */
    height: 1px; /* 線の太さ */
    background: #a01e32; /* 線の色 */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%); /* 中央揃え */
}

/* ホバーした時に線を伸ばす */
#footermenu li a:hover::after {
    width: 100%; /* 横幅いっぱいまで伸ばす */
}

/* ホバー時に文字色を少しだけ薔薇色に近づける */
#footermenu li a:hover{
    color: #a01e32 !important;
}

/*---------------------------------------------------------------------------
「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	padding: 5px 0;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8em;	/*幅。8文字(em)分。※下の「900px以上」の端末用の設定に再設定があります。*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。※下の「900px以上」の端末用の設定に再設定があります。*/
}



/*---------------------------------------------------------------------------
テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 10px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-bottom: 15px;	/*下に空けるスペース*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #666;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	margin: 0 auto 30px;		/*最後の「30px」がテーブルの下に空けるスペースです*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #666;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 10px 5px;		/*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}


/*bg
---------------------------------------------------------------------------*/
.bg1 {
	background: #1581BF;		/*背景色青 */
	color: #fff;			/*文字色*/
	padding: 50px 0;		/*ボックス内の余白*/

}

.bg1 .line{
	margin: 0px 20px;	/*ブロック内の余白*/
}

.bg2 {
	background: #F9F9F9;	/* 背景色：グレー　ベージュ#FDF8F0  薄い緑#F0F7F2*/
	padding: 50px 0;	/*ボックス内の余白*/
}

/*文字　*/
.content-wrapper {
  margin: 0 auto;
  max-width: 90%;   /* 最大幅 */
/*  padding: 0 20px 70px 20px;*/
 padding-bottom:70px;
}
/*---------------------------------------------------------------------------
その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #1581BF !important;} /* #f54062 */
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.mt30 {margin-top: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #000;border: 1px solid #555; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.6em;}
.pc {display: none;}



/*---------------------------------------------------------------------------
小説ページ専用の追加設定
---------------------------------------------------------------------------*/
/* ナビゲーション全体の整列 */
.novel-nav ul {
    list-style: none;
    padding: 0 0 20px 0;
    margin: 20px 0;
    display: flex;
    justify-content: center; /* 中央に並べる */
    gap: 20px; /* ボタン同士の間隔 */
    flex-wrap: wrap; /* 画面が狭い時に折り返す */
}

/* ボタンの土台 */
.novel-nav li a {
    display: inline-block;
    position: relative; /* 下線のアニメーション用 */
    color: #1581BF;
    font-family: "Yu Mincho", "游明朝", serif;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;

    padding: 10px 25px;
}

/* 線の設定 */
.novel-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* 中央から */
    width: 0;  /* 最初は長さゼロ */
    height: 1px;
    background: #a01e32; /* 赤 */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%); /* 中央揃え */
}

/* ホバー時に線を伸ばす */
.novel-nav li a:hover::after {
    width: 100%; /* 横幅いっぱいまで伸ばす */
}

/* ホバー時に文字色を少しだけ薔薇色に近づける */
.novel-nav :hover {
    color: #a01e32 !important;
}

/* --- 小説グリッド：ゆったり3カラム・表紙重視版 --- */
.novel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* カード同士の隙間を広げて見やすく */
    margin-top: 20px;
    padding: 50px 10px;
}

/* カード全体：1カラム（スマホ）を基本にする */
.novel-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    background: #ffffff !important;
    border: none !important; /* 枠線を消して影にする */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 影を少し強めて浮かせる */
    border-bottom: 3px solid #E9BAC1 !important; /* 下線にサブカラー */
    padding: 15px !important;
    box-sizing: border-box;
    width: 100% !important; /* スマホは1列（100%） */
    transition: transform 0.2s;
    position: relative;   /* リボンの基準点にする */
    overflow: hidden;    /* はみ出たリボンをカットする */
}

.novel-card:hover {
    transform: translateY(-3px); /* マウスオンで少し浮く演出 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 左側：サムネイル */
.novel-img-box {
    flex: 0 0 100px !important; /* スマホでも100px確保 */
    margin: 0 15px 0 0 !important;
}

.novel-img-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}

/* 右側：テキストエリア */
.novel-text-box {
    flex: 1 !important;
    min-width: 0; 
}

/* タイトル */
.novel-text-box h4 {
    font-size: 1.1em !important;
    margin: 0 0 8px 0 !important;
    color: #1581BF; /* タイトルをメインカラーに */
    font-weight: bold;
}

/* あらすじ（summary）*/
.novel-text-box .summary {
    display: block !important;
    font-size: 0.85em !important;
    line-height: 1.6;
    color: #555;
　　margin-top: 0 !important;
    margin-bottom: 15px !important;
    overflow: visible !important;
    -webkit-line-clamp: none !important;
    display: block !important;
}

/* タイトル（h4） */
.novel-text-box h4 {
    margin: 0 !important; /* 下に少しだけ隙間を作る */
    line-height: 1.3;
    display: inline-block;			/*下の下線が文字の下にだけ表示させる*/
    border-bottom: 1px solid #a01e32;	/*下線の幅、線種、色 #ddd*/

}

/* 設定タグ */
.novel-tag {
    display: inline-block;
    font-size: 0.75em !important;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 2px;
    line-height: 1.2;
    
    /* あらすじ（p）との距離を少しあける */
    margin-top: 0px !important; 
    margin-bottom: 5px !important; /* あらすじまでの距離はキープ */
}

/* 青枠タグ */
.tag-blue {
    color: #1581BF;
    border: 1px solid #1581BF;
    background: #fff;
}

/* ボタン */
.btn-group {
    display: flex;
    gap: 10px;
}

.btn-s {
    background: #1581BF;
    color: #fff;
    padding: 6px 15px; 
    font-size: 0.8em;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    white-space: nowrap;
}

/* ホバー時 */
.btn-s:hover {
    background-color: #3DB6B1 !important;
}

.btn-r {
    background: #a01e32;;
    color: #fff;
    padding: 6px 15px; 
    font-size: 0.8em;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    white-space: nowrap;
}

/* ホバー時 */
.btn-r:hover {
    background-color: #E9BAC1 !important;
}

/* 親要素（画像の箱）に基準を置く */
.novel-img-box {
    position: relative; /* アイコン配置の基準点 */
    overflow: hidden;    /* はみ出したリボンをカットする */
}

/* --- カード全体の角に付ける「斜めNEWリボン」 --- */
.novel-card-icon {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類 'M PLUS 1', */
	position: absolute;		/*relativeを持っている親要素に対して絶対配置する指示*/
	left: 0px;				/*左からの配置場所*/
	top: 0px;				/*上からの配置場所*/
	background: #F6B1CE;	/*背景色 #f54062*/
	font-size: 15px;		/*文字サイズ*/
	width: 100px;			/*幅*/
	padding-top: 30px;		/*文字の上に空ける余白*/
	text-align: center;		/*テキストをセンタリング*/
	color: #fff;			/*文字色*/
	transform: rotate(-45deg) translate(-15px, -45px);	/*左に45度回転、右に-15px、上に-40px移動。マイナスがついてる場合は逆側に移動します。*/
        z-index: 10;          /* 画像やテキストより一番上にする */
}

/* --- レスポンシブ設定 --- */

/* タブレット・PC（768px以上）：2枚並べる */
@media screen and (min-width: 768px) {
    .novel-card {
        width: calc(50% - 13px) !important;
    }
}

/* PC版（1050px以上）：3枚並べる */
@media screen and (min-width: 1050px) {
    .novel-card {
        width: calc(33.33% - 17px) !important; /* 3列 */
    }
    
    .novel-img-box {
        flex: 0 0 120px !important; /* PCではサムネをさらに大きく120pxに */
    }
}


/*---------------------------------------------------------------------------
長編ページ専用の追加設定
---------------------------------------------------------------------------*/

/* 1. 画面全体に青空を固定する */
.sky-background {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    padding: 60px 10px; /* 上下の余白 */
    box-sizing: border-box;
}

/* スマホ画面の時だけ、背景画像を右寄りにする */
@media screen and (max-width: 600px) {
    .sky-background {
background-position: 30% center;
    }
}

/* 2. 小説を載せる「半透明の紙」 */
.novel-paper {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.50); /* 50%の白。少しだけ青空を透かす */
    padding: 80px 5px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 浮いているような影 */
    border-radius: 2px; /* ほんの少し角を丸くする */
    font-family: "Yu Mincho", "游明朝", serif;
}

.novel-paper2 {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.70); /* 70%の白。少しだけ青空を透かす */
    padding: 80px 5px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 浮いているような影 */
    border-radius: 2px; /* ほんの少し角を丸くする */
    font-family: "Yu Mincho", "游明朝", serif;
}

/* 3. タイトル周りの装飾 */
.novel-header {
    text-align: center;
    margin-bottom: 60px;
}

.novel-header h1 {
    font-size: 2.2rem;
    color: #333;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

/* 4. 薔薇の赤（#a01e32）のアクセント線 */
.red-divider {
    width: 80%;
    height: 1px;
    background-color: #a01e32;
    margin: 0 auto;
}

/* 5. 本文の読みやすさ設定 ※後で修正 */
.novel-content {
    line-height: 2.2; /* 長編なのでさらにゆったりと */
    color: #222;
}

.novel-content p {
  margin: 0; /* 上下の余白を0にする*/
}

/* 特に大きく空けたいとき用 */
.novel-margin-large {
margin-bottom: 50px !important;
}

/* 大きく空けたいとき用 */
.novel-margin-medium {
margin-bottom: 25px !important;
}

/*---------------------------------------------------------------------------
各ページ専用の追加設定
---------------------------------------------------------------------------*/
/* タイトル部分（ヘッダー） */
.shortnovel-header {
    background: url('../images/sky.jpg') no-repeat center center;
    background-size: cover;
    height: 300px; /* 適切な高さ */
    display: flex;
    justify-content: center;
    align-items: center;
}

.shortnovel-header h1 {
    color: #fff; /* 文字を白に */
    font-size: 2.5em;
    font-family: "Yu Mincho", "游明朝", serif;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* 白文字を読みやすくする影 */
}
/*---------------------------------------------------------------------------
漫画ページ専用の追加設定
---------------------------------------------------------------------------*/
.comic-list {
    display: flex;         /* 横並び */
    flex-wrap: wrap;       /* 幅が足りなくなったら自動で次の行へ */
    justify-content: flex-start; /* 左寄せ */
    gap: 3px;             /* カード同士の隙間 */
}

/* --- 4コマ漫画カード全体の調整 --- */
.comic-card {
    background: #fff;
    width: 200px;
    margin: 10px;
    padding: 10px 10px 15px 10px; /* 下の余白を多めに（ポラロイド風） */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* 軽い影で立体感を */
    border-radius: 2px;
    transition: 0.3s; /* ホバー時のアニメーション用 */
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* カード全体をリンクにするための設定 */
.comic-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- 画像エリア（1コマ目チラ見せ用） --- */
.comic-img-box {
    width: 110%;
    /* ここの数値を小さくすることで、強制的に1コマ目以降をカットします */
    height: 90px; 
    
    overflow: hidden;/* はみ出した余白をカット */
    position: relative;
    margin-bottom: 10px;
    background: #f0f0f0;
}

.comic-img-box img {
    width: 100%;
    height: auto; /* 縦横比を保つ */
    
    /* 上端（1コマ目）を基準にする */
    position: absolute;
    top: -20px;   /* 上にずらす（マイナス値で上の余白を隠す） */
    left: 0;      /* 左端に合わせる */
    
    transition: 0.5s;
}

/* --- テキストエリア（ポラロイドの余白） --- */
.comic-text-box {
    padding: 0 5px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column; /* タイトルとタグを縦に並べるため */
    justify-content: flex-start; /* 上から並べる */
    align-items: center;         /* 横は中央を維持 */
    /* 上からの距離を固定 */
    margin-top: 5px !important; /* イラストとの間隔 */
    padding-top: 5px !important; 
}

/* --- カード全体の角に付ける「斜めNEWリボン」 --- */
.novel-new-icon {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類 'M PLUS 1', */
	position: absolute;		/*relativeを持っている親要素に対して絶対配置する指示*/
	left: 0px;				/*左からの配置場所*/
	top: 0px;				/*上からの配置場所*/
	background: #F6B1CE;	/*背景色 #f54062*/
	font-size: 15px;		/*文字サイズ*/
	width: 100px;			/*幅*/
	padding-top: 30px;		/*文字の上に空ける余白*/
	text-align: center;		/*テキストをセンタリング*/
	color: #fff;			/*文字色*/
	transform: rotate(-45deg) translate(-15px, -40px);	/*左に45度回転、右に-15px、上に-40px移動。マイナスがついてる場合は逆側に移動します。*/
        z-index: 10;          /* ★画像やテキストより一番上にする */
}

/* --- 4コマカード専用のタグ設定（右下配置） --- */
/* タグ（これだけを右に寄せる） */
.comic-tag {
    align-self: flex-end !important; 
    margin-right: 5px !important;
    margin-top: 2px !important; /* タイトルとの隙間 */

    font-size: 0.7em !important;
    padding: 2px 5px !important;
}

/* --- 手書き風タイトル（h4）の設定 --- */
.comic-text-box h4 {
    font-family: 'Kiwi Maru', serif;
    font-weight: 500;
    font-size: 0.9em;
    color: #1581BF !important; 
    margin: 0 !important;
    line-height: 1.4;
    text-align: center;
}

/* --- ホバー演出 --- */
/* 1. カード全体が少し浮き上がり、ピンクの下線が出る */
.comic-card:hover {
    box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-3px); /* 少し上に浮く */
    
    /* 小説と同じピンクの下線をアクセントに */
    border-bottom: 3px solid #E9BAC1;
    padding-bottom: 12px; /* 下線分だけpaddingを調整 */
}

/* 2. 画像が少し拡大する（チラ見せ効果アップ） */
.comic-card:hover .comic-img-box img {
    transform: scale(1.05); /* 5%だけ拡大 */
}



/* 画面幅が600px以下のスマホサイズの場合の指定 */
@media screen and (max-width: 600px) {
    .comic-card {
        width: calc(50% - 22px); 
        margin: 5px; 
    }
}
/*---------------------------------------------------------------------------
漫画のギャラリー部
---------------------------------------------------------------------------*/

/* 画面全体を覆う暗い層 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
    overflow-y: auto;     /* 縦スクロール */
    padding: 60px 20px;
    box-sizing: border-box;

    flex-direction: column;
    align-items: center;
}

/* 画像を表示する枠 */
.lightbox-content {
width: 95%;
max-width: 800px;
margin: 0 auto;
    
    /* 中身をきれいに並べる */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    height: auto;         /* 縦横比を維持 */
    border: 5px solid #fff;
    display: block;
    object-fit: contain;
}

/* ボタンの親要素 */
.nav-buttons {
    margin-top: 30px;     /* 画像とボタンの距離 */
    margin-bottom: 20px;  /* 画面下との余白 */
    text-align: center;
    flex-shrink: 0;       /* ボタンは絶対縮ませない */
}

/* ナビボタンのスタイル */
.nav-buttons button {
    background: transparent;
    border: 1px solid #fff; /* 白枠 */
    color: #fff;
    padding: 10px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-buttons button:hover {
    background: #fff;
    color: #000;
}

/* 3. 閉じるボタン */
.close-btn {
    position: fixed;      /* 画面に対して固定 */
    top: 20px;            /* 画面の上から20px */
    right: 20px;          /* 画面の右から20px */
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;        /* 最前面に表示 */
}

.pixiv-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px;
    margin: 0 5px;
    text-decoration: none; /* 下線を消す */
    font-size: 14px;
    transition: all 0.3s ease;
}

.pixiv-btn:hover {
    background: #fff;
    color: #000;
}


/*---------------------------------------------------------------------------
うちの子紹介カード
---------------------------------------------------------------------------*/
/* ギャラリー全体の並び方（グリッド） */
.card-gallery {
    display: grid;gap: 20px;
    padding: 20px 20px 70px 20px;
    justify-content: center; /* 隙間がある時に中央に寄せる */
    grid-template-columns: repeat(2, 1fr);
}

/* 各イラストの枠（スケッチブックの切り抜き風） */
.card-item {
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* 軽い影 */
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}


/*---------------------------------------------------------------------------
イラスト
---------------------------------------------------------------------------*/
.Illust-paper{
    max-width: 1500px;
    margin: 30px auto;
    background-color: #f7f3e8; /* 少し黄色がかった紙の色 */
    background-image: url('../images/backimg/paper.png'); 
    background-repeat: repeat;

    /* 線の色を少し柔らかいグレーに */
    border: 1px solid #ccc; 
    
    /* 影で紙の立体感を出す */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    
/*    padding: 50px; */
    border-radius: 5px;
    font-family: cursive, sans-serif;
}
/* ギャラリー全体の並び方（グリッド） */
.illust-gallery {
    display: grid;
    /* 画面幅に合わせて自動で並べる（最低150px、最大1.0倍） */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px 20px 70px 20px;
}

/* 各イラストの枠（スケッチブックの切り抜き風） */
.illust-item {
    background: #fff;
    padding: 8px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* 軽い影 */
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

/* マウスを乗せた時に少し浮き上がる */
.illust-item:hover {
    transform: rotate(2deg) scale(1.05); /* 少し傾ける */
    z-index: 10;
}

.illust-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-category {
    margin: 40px 0;
}

/* 付箋 */
.sticky-note {
    display: inline-block; /* 文字の長さに合わせサイズが変わる */
    background: #63D7F7; /* 付箋の色 */
    border-right: 25px solid #638DF7; /* ライン */
    color: #333;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2); /* 影で立体感を出す */
    transform: rotate(-3deg); /* 少しだけ傾ける */
    margin-bottom: 20px;
    position: relative;
}

.sticky-note.pink {
    background: #ffcdd2;
    border-right: 25px solid #82D2E8;
}

.sticky-note.green {
    background: #9894F7;
    border-right: 25px solid #98E4F7;
}

/* ステッカー */
.sticker-link {
    display: inline-flex; /* 中の文字を上下左右中央にするため */
    align-items: center;
    justify-content: center;
    width: 130px;           /* 幅と高さを同じ数字にする */
    height: 130px;
    border-radius: 50%;     /* 50%にすると完璧な丸 */
    
    /* 文字がはみ出さないように調整 */
    padding: 0;             
    text-align: center;
    font-size: 0.9em;       /* 丸の中なので、文字は少し小さめ */
    transform: rotate(10deg);

    padding: 10px 20px;
    background-color: #124170; /* ステッカーの色 */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #ffffff; /* ステッカーらしい白い縁取り */
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* 影で浮き出し感を出す */
    transition: transform 0.2s; /* ホバー時の動きを滑らかに */
}

/* マウスを乗せた時の動き */
.sticker-link:hover {
    transform: rotate(0deg) scale(1.05); /* まっすぐになって少し大きくなる */
    cursor: pointer;
}

/* 親：紙のエリアを「基準点」にする */
.sticker-board {
    position: relative;
    height: 250px;      /* ステッカーを置く高さを確保 */
    margin: 20px;
}

/* 子：ステッカーを自由に動かす */
.sticker-link {
    position: absolute; /* 親の中で自由に動かせるようになる */
    z-index: 1;         /* 重なりの順番（数字が大きいほど手前） */
}

/* ステッカー1(マロ)の場所を指定 */
.sticker-1 {
    top: 120px;
    left: 70px;
    z-index: 10; /* 下になるステッカー */
    background-color: #F6B1CE;
    width: 120px;
    height: 120px;
    transform: rotate(-20deg);
}

/* ステッカー2(拍手)を少し重ねる */
.sticker-2 {
    top: 70px;
    left: 150px;
    z-index: 20; /* 上に重ねる場合は数字を大きくする */
    background-color: #3DB6B1;
    width: 110px;
    height: 110px;
    transform: rotate(30deg);
}

/* ステッカー3(支部) */
.sticker-3 {
    top: 100px;
    left: 10px;
    background-color: #1581BF;
    width: 90px;
    height: 90px;
    transform: rotate(-3deg);
}
/*---------------------------------------------------------------------------
追記
---------------------------------------------------------------------------*/
/* --- リンクボタンA --- */
.lb-link-wrap {
    text-align: center; /* ボタンを中央に */
    margin: 40px 0;    /* 前後の余白 */
}

.btn-lb-a {
    display: inline-block;
    /* 1. グラデーション（赤から青へ、少し暗めに） */
    background: linear-gradient(135deg, #a01e32, #1581BF);
    
    /* 2. 文字の設定（游明朝で白抜き、少し太めに） */
    color: #fff !important;
    font-family: "Yu Mincho", "游明朝", serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em; /* 文字の間隔を広げて高級感を */
    text-decoration: none;
    
    /* 3. サイズと形（少し横長で、角を丸く） */
    padding: 10px 30px;
    
    /* 4. アニメーションの準備 */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* ほんのり影 */
}

/* ホバー（マウスを乗せた時）の演出 */
.btn-lb-a:hover {
    /* グラデーションを逆転させ、少し大きくする */
  background: linear-gradient(135deg, #1581BF, #a01e32);
   transform: translateY(-3px) scale(1.03); /* 少し浮き上がらせる */
   box-shadow: 0 6px 20px rgba(160,30,50,0.4); /* 薔薇色の影にする */
}

/* --- リンクボタンB --- */
.lb-link-wrap {
    text-align: center;
    margin: 40px 0;
}

.btn-lb-b {
    display: inline-block;
    position: relative; /* 下線のアニメーション用 */
    
    /* 1. 文字の設定（游明朝、メインカラーの青で） */
    color: #1581BF !important;
    font-family: "Yu Mincho", "游明朝", serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-decoration: none;
    
    /* 2. サイズと余白 */
    padding: 10px 20px;
}

/* 下線のアニメーション（蛇が這うように） */
.btn-lb-b::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* 中央から */
    width: 0;  /* 最初は長さゼロ */
    height: 1px;
    background: #a01e32; /* 薔薇の赤 */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%); /* 中央揃え */
}

/* ホバー時に下線を伸ばす */
.btn-lb-b:hover::after {
    width: 100%; /* 横幅いっぱいまで伸ばす */
}

/* ホバー時に文字色を少しだけ薔薇色に近づける */
.btn-lb-b:hover {
    color: #a01e32 !important;
}

/* 動画 */
.video-container {
    width: 100%;            /* 横幅を枠いっぱいに */
    max-width: 800px;       /* 最大サイズはお好みで */
    margin: 20px auto 100px auto;      /* 中央寄せ */
    aspect-ratio: 16 / 9;   /* レスポンシブ設定 */
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* リンク */
.banner-container {
  display: flex;        /* 横並びにする命令 */
  flex-wrap: wrap;      /* スマホで入り切らないとき、勝手に改行させる */
  gap: 15px;            /* 隙間を15px空ける */
  justify-content: center; /* 中央寄せ */
  margin-bottom: 100px;
}

/*---------------------------------------------------------------------------
ここから下は画面幅900px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:900px) {



/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 16px;
	font-weight: 500;
}

.home #logo {
        font-size: 5rem;
    }



/*main
---------------------------------------------------------------------------*/
main {
	/*margin: 0px 100px;	/*ブロック内の余白*/
}

/*listブロック
---------------------------------------------------------------------------*/
/*１個あたりのボックス設定*/
.list {
	width: 22%;				/*幅*/
	margin-right: 4%;		/*右側に空けるスペース*/
}

/*上の小さな端末用設定の２の倍数ボックスのマージン0を上書き*/
.list:nth-of-type(2n) {
	margin-right: 4%;
}

/*２の倍数のlistブロックへの追加設定。上の2nの指定より後に書かないと2nに上書きされるので注意して下さい。*/
.list:nth-of-type(4n) {
	margin-right: 0;	/*右側の余白をなくす*/
}


/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar {
	width: 70%;
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*日付(dt)設定*/
#new dt {
	width: 14em;	/*幅。14文字(em)分。*/
	display: flex;	/*flexボックスを使う指定*/
	justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: inline-block;	/*表示させる*/
	width: 7.5em;			/*幅。7.5文字(em)分。*/
	background: #1581BF;		/*背景色 */
	color: #fff;			/*文字色*/
	font-size: 0.8em;		/*文字サイズを80%に。*/
	text-align: center;		/*文字をセンタリング*/
	margin-right: 1em;		/*アイコンの右側に空けるスペース*/
	align-self: flex-start;	/*高さを間延びさせない指定*/
	line-height: 1.8;		/*行間を少し狭く*/
	position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
}

/*icon-bg2設定。サンプルテンプレートでは「重要」と書いてあるマーク*/
#new dt span.icon-bg1 {
	background: #1581BF;	/*背景色 #f54062*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 14em);	/*「14em」は上の「#new dt」のwidthの値です。*/
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	padding: 5px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 20px 15px;		/*上下、左右へのボックス内の余白*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 20%;		/*幅*/
}


/*bg
---------------------------------------------------------------------------*/
/*文字　*/
.content-wrapper {
  max-width: 80%;   /* 最大幅 */
}

/* --- 小説グリッド
---------------------------------------------------------------------------*/
.novel-grid {
    padding: 50px 50px;
}

.novel-paper {
    max-width: 1200px;
    padding: 80px 20px;
}

.novel-paper2 {
    max-width: 1200px;
    padding: 80px 20px;
}


/* --- うちの子紹介カード
---------------------------------------------------------------------------*/
.card-gallery {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px; /* 広がりすぎ防止 */
        margin: 0 auto;    /* 全体を中央に */
}

/*その他
---------------------------------------------------------------------------*/
.ws {width: 48%;display: inline;}
.sh {display: none;}
.pc {display: block;}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}
