@charset "utf-8";

/* 共通のCSS======================================================= */

/* h3のデザインを変更する
----------------------------*/

h3 {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    background-color: #e6d9cf;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
	line-height: 2.5; /* 数値のみの指定がおすすめ（フォントサイズの2.5倍） */
}

/* 行間を詰めるクラス 
---------------------------*/
.tight-line {
    line-height: 1.3; /* 数値のみの指定がおすすめ（フォントサイズの1.3倍） */
}

/* 文字サイズを大きくするクラス 
-----------------------------------*/
.text-bigger12 {
    font-size: 1.2rem; /* 元のサイズの1.2倍 */
}

/* 文字の色を変え、太字にするクラス 
----------------------------------------*/
.text-red {
  color: red; /* 色の指定 */
  font-weight: bold; /* 太字 */
}

/* 共通のCSS　ここまで　=========================================== */

/* ボックスデザイン（来週のメッセージ）
------------------------------------------------------------------- */
.box26 {
    position: relative;
    margin: 1em 0.5em;		/*枠の外の余白*/
    padding: 0.5em 1em;
    border: solid 2px #8d7255;	/*線の色*/
    border-radius: 8px;
}
.box26 .box-title {
    position: absolute;
    display: inline-block;
    top: -8px;				/*タイトル文字の縦位置調整*/
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 15px;		/*タイトル文字のサイズ*/
    background: #FFF;
    color: #8d7255;			/*タイトル文字の色*/
    font-weight: bold;
}
.box26 p {
    margin: 0.5rem; 
    padding: 0;
}


/* ボックスデザイン（今月のみことば）
------------------------------------------------------------------- */
.box28 {
    position: relative;
    margin: 1em 0.5em;	/*枠の外の余白*/
    padding: 25px 10px 7px;
    border: solid 2px #8d7255;
    border-radius: 8px;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 15px;
    background: #8d7255;
    color: #ffffff;
    font-weight: bold;
}
.box28 p {
    margin: 0.3em; 
    padding: 0;
}


/* 要素を右寄せするＣＳＳ（著作権を囲むdivタグのclassとして使用）
------------------------------------------------------------------- */
.right-align {
  text-align: right; /* 右寄せ */
}
