@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/************************************
** ヘッダー
************************************/
#header {
    background-image: url("https://do-hikari.com/wp-content/uploads/2021/03/header_bg0.jpg"); /* 例: url("https://yourdomain.com/wp-content/uploads/2025/06/header-image.jpg") */
    background-size: cover; /* 画像がヘッダー全体を覆うように拡大縮小されます */
    background-position: center; /* 画像がヘッダーの中央に表示されます */
    background-repeat: no-repeat; /* 画像が繰り返して表示されるのを防ぎます */
    min-height: 250px; /* ヘッダーの最低の高さを設定。必要に応じて調整してください */
    display: flex; /* ヘッダー内の要素（ロゴなど）の配置を調整しやすくするため */
    align-items: center; /* ヘッダー内の要素を垂直方向の中央に配置 */
    justify-content: center; /* ヘッダー内の要素を水平方向の中央に配置 */
}

/* ヘッダーのロゴやサイトタイトルが背景画像の上で見えにくくなる場合、影を追加するなどの調整 */
.p-header__title, .p-header__logo { /* Swellのヘッダーロゴやタイトルのセレクタ例 */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* 文字に影をつけて視認性を上げる */
    /* background-color: rgba(255,255,255,0.7); */ /* 必要であれば、ロゴの背景に半透明の色を引く */
    /* padding: 5px 10px; */
}

/* スマートフォン表示時の高さ調整（必要であれば） */
@media screen and (max-width: 767px) {
    #header {
        min-height: 150px; /* スマホではヘッダーの高さを低くする */
    }
}




/************************************
** body全体を移動
************************************/
.content-in {
    margin-top: 100px;
}


/************************************
** メイン
************************************/
main {
    box-shadow: 0 0 0 1.5px #b3b077, 0 0 0 3.5px white, 0 0 0 7.5px #b3b077;
}

/* メインカラムの背景を白に
************************************/
.l-mainContent__inner { background-color: #FFFFFF !important; }

/* スマホメインカラムを狭く
************************************/
@media screen and (max-width: 768px){
main.main {
    padding: 0px 10px;
    margin: 10px 10px;
    border-width: 0;
    margin-top: -60px;
}}


/************************************
** 見出し
************************************/

/* 上書き用見出しデザイン
************************************/
.article h1 {
	font-family: 'keifont',sans-serif;
    background: -webkit-linear-gradient(0deg, #FF0080, #FF8C00, #40E0D0);
    padding: 10px 20px 10px 30px;
    font-size: 34px;
    position: relative;
    top: 50px;
    left: 30px;
    z-index: 1;
    transform: rotate(-2deg);
    width: 620px;
    text-shadow: 4px 4px 1px #000000;
    color: #ffffff;
	}

@media screen and (max-width: 768px){
  .article h1 {
    font-size: 24px;
	width: 100%;
	padding: 10px 5px 10px 10px;
	position: relative;
    top: 0px;
    left: 0px;
}}

.post_content h2 {
	font-family: 'keifont',sans-serif;
    font-size: 36px;
    line-height: 121%;
    color: #fff;
    position: relative;
    box-shadow: #ff9dc7 0 0 4px 4px;
    background: repeating-linear-gradient(45deg, #fb2273 0, #fb2273 20px, #fa5c98 20px, #fa5c98 40px);
    padding: 18px 40pt 21px 40px;
    margin: 105px 0px 24px 0px;
    border: 3px solid #fff;
    border-radius: 10px;
}

@media screen and (max-width: 768px){
  .post_content h2 {
    font-size: 28px;
    padding: 12px 5pt 12px 15px;
}}

.post_content h3 {
    font-size: 25px;
    line-height: 1.3em;
    color: #fb2273;
    padding: 1pc 28px;
    margin: 60px 0 25px;
    border-radius: 10px;
    background-color: #fff2ff;
    background-image: radial-gradient(#ffffff 25%, transparent 10%);
    background-size: 20px 20px;
    border: solid #fb2273;
    font-family: 'keifont',sans-serif;
}

@media screen and (max-width: 768px){
  .post_content h3 {
    font-size: 22px;
    padding: 10px 12px;
}}

.post_content h4 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 30px 0 10px;
    border-left: 5px solid #fb679f;
    padding: .1em 0 .1em .5em;
}


/************************************
** サイドバー見出し
************************************/

/* テキストカラー
************************************/
.card-title-bold .card-title {
    color: #ff3469;
}

/* 枠カラー
************************************/
.widget-entry-cards .a-wrap {
    border: 1px solid #ffa6c8;
}


/* ここからPCデザイン
************************************/
@media screen and (min-width: 768px){
	
/* 元のデザイン透過 */
.sidebar h3 {
    background-color: rgba(0,0,0,0);
}

/* ここから表示してるリボンデザイン */
.sidebar-ribbon{
font-size:20px;
position:relative;
right: 45px;
display:inline-block;
text-align:center;
transform: rotate(-2deg);
}
.text{
display:inline-block;
padding:0.5em 1em;
min-width:15em;
line-height:1.2em;
background: #FFD72A;
position:relative;
	right: 6px;
}
.sidebar-ribbon:after,.sidebar-ribbon:before,
.text:before,.text:after,
.bold:before{
content:'';
position:absolute;
border-style:solid;
}
.sidebar-ribbon:before{
top:0.3em; left:0.2em;
width:100%; height:100%;
border:none;
background:#EBECED;
z-index:-2;
}
.text:before{
bottom:100%; left:0;
border-width: .5em .7em 0 0;
border-color: transparent #FC9544 transparent transparent;
}
.text:after{
top:100%; right:0;
border-width: .5em 2em 0 0;
border-color: #FC9544 transparent transparent transparent;
}
.sidebar-ribbon:after, .bold:before{
top:0.5em;right:-2em;
border-width: 1.1em 1em 1.1em 3em;
border-color: #FECC30 transparent #FECC30 #FECC30;
z-index:-1;
}
.bold:before{
border-color: #EBECED transparent #EBECED #EBECED;
top:0.7em;
right:-2.3em;
}
}

/* ここからスマホデザイン
************************************/
@media screen and (max-width: 768px){
.sidebar h3 {
       padding: 1rem 2rem;
    color: #fff;
    background: #fa5c98;
    /* -webkit-box-shadow: 5px 5px 0 #ff005f; */
    box-shadow: 5px 5px 0 #da0051;
}
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** テキストリンクのボタン化
************************************/
.btn-1 {
    text-decoration: none;
    display: block;
    width: 82%;
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto;
    padding: 12px;
    background: linear-gradient(-45deg, #00FF99 0%, #36c474 100%);
    color: var(--color-white);
    text-align: center;
    border-radius: 25px;
    position: relative;
    font-weight: bold;
    box-shadow: 0px 3px 6px #855;  
}
.btn-1 a{
  color: white;
  margin: 5px 10px 5px 0!important;
  padding: 0 12px!important;
  width: auto!important;
  text-decoration: none;
  padding: 15px 18px; 
}
.btn-1:hover{
  box-shadow: 0px 9px 12px #855;  
}


/************************************
** 横長テーブル
************************************/
.p-sticky-table{
	white-space: nowrap;
	line-height:1.6;
}
.p-sticky-table table{
	border:none;
	border: 1px solid #dedede;
	border-bottom: none;
	border-collapse: collapse;
	word-break: break-all;
	table-layout: fixed;
	display:block;
	overflow:scroll;
	max-height: 80vh;
}
.p-sticky-table thead th:first-child {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 3;
}
.p-sticky-table thead th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
	text-align:center;
}
.p-sticky-table tbody th:first-child{
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	z-index: 1;
	border:none;
	white-space: normal;
	min-width: 130px;
}
.p-sticky-table th, .p-sticky-table td {
	min-width: 50px;
	text-align: left;
	font-size: 16px !important;
	position: relative;
	padding: 13px !important;
	color: #333;
	border: none !important;
	z-index: 0;
	vertical-align:middle !important;
	background:#fff;
}
.p-sticky-table th{
	background:#f0f9ff !important;
	letter-spacing: 1px;
	font-weight: 500 !important;
	color: #555 !important;
}
.p-sticky-table tr{
	border-bottom:none !important;
}
.p-sticky-table img{
	margin: 10px auto;
	display: block;
	padding: 0;
	max-width: 80% !important;
}
.p-sticky-table table th::before, .p-sticky-table table td::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border-right: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
	z-index: -1;
}
/* スマホ */
@media screen and (max-width: 560px) {
	.p-sticky-table table {
		max-height: 60vh;
  	}
	.p-sticky-table thead th:first-child, .p-sticky-table tbody th:first-child {
    		min-width: 25vw;
  	}
 	.p-sticky-table th, .p-sticky-table td {
    		font-size: 12px !important;
    		padding: 7px !important;
  	}
}
