@charset "UTF-8";
/*
Theme Name:   THE SONIC Child
Author:       南波アルカ
Author URI:   https://totonoiuranai.com/
Template:     thesonic
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*****************************************

    2.ヘッダー

******************************************/
#header {
    background-image: linear-gradient(#E3E5FE 0%, #F9E8EC 100%) !important;
	padding:20px 0;
	color:#364A79;
	font-weight:700;
	border-bottom:#364A79 5px solid;
}

.nav-style-def a {
	color:#364A79;
}


.ad_center {
  display: block;
  margin: 10px auto;
  text-align: center;
}

/*****************************************

   占い　セレクトボックス

******************************************/
.select_box {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/*--------------------------------------
 生年月日セレクトボックス
--------------------------------------*/
.form-select-wrap {
    display: flex;
    max-width: 300px;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
}

.form-select-wrap > select {
    padding: 8px 10px;
    margin-left: 5px;
    margin-right: 5px;
    border: 2px solid #364A79;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    background-color: #fff;
}

/* 🎯 各ブラウザのデフォルト矢印を削除 */
.form-select-wrap select {
    appearance: auto; /* デフォルトの矢印を使用 */
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

/*--------------------------------------
 エラーメッセージ
--------------------------------------*/
.error-message {
    color: red;
    font-size: 16px;
    font-weight: bold;
    padding: 5px;
    margin: 20px auto;
    text-align: center;
}

/*--------------------------------------
 ボタン
--------------------------------------*/
button.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    padding: .9em 2em;
    background: linear-gradient(#C4B184, #EEE7DC,#C4B184);
    color: #5B4A25;
    border: none;
    border-bottom: solid 5px #5B4A25;
    border-radius: 25px;
	font-weight: bold;
    font-size: 1.2em;
    transition: .5s ease;
    cursor: pointer;
    position: relative;
}


button.btn::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #5B4A25;
    border-right: 3px solid #5B4A25;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 46%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
button.btn:hover {
    opacity: 0.7;
}

/* `disabled` スタイルを追加 */
button.btn:disabled {
    background-color: #ccc;
    border-bottom-color: #999; 
    color: #666; 
    cursor: not-allowed;
    opacity: 0.5; 
}

/* ✅ `disabled` のとき `>` 記号の色も変える */
button.btn:disabled::after {
    color: #999;
}

/***************************************

    3.メイン：フロントページ

******************************************/

.inlink-title{
	color:#1D3994 !important;
    text-decoration: underline;
	font-weight:bold;
}


/*--------------------------------------
    記事一覧デザイン
--------------------------------------*/

/*****  記事一覧デザイン　すべてに共通  *****/

.main-kiji {
	transition: all 0.3s ease 0s;
    background-color: #fff;
	border: solid 1px #E2DCDC;
    border-radius: 6px;
}
.main-kiji .linkarea {
    padding-bottom: 10px;
}

article.main-kiji:hover {
    box-shadow:none;
	opacity: 0.6;
}

.kiji-cat {
    top: 0;
    left: 0;
    border-radius: 0;
}
.kiji-cat{
	font-size:10px;
}
.kiji-date {
	font-size: 10px;
    line-height: 1.2;
    text-align:right;
}

.kiji-text{
	padding:10px 5px;
	font-size:16px;
	line-height: 1.2;
	color:#1D3994 !important;
}


/*------------------------------
    記事一覧見出し
--------------------------------------*/

.main-h2,
.main-title{
	color:#364A79 !important;
	border: none;
}

/*--------------------------------------
    記事一覧見出し
--------------------------------------*/
.main-h2,
.main-title,
.main-tab-two {
    margin: 30px 0 0;
    text-align: center;
    font-size: 1.2em;
    box-sizing: border-box;
}

.cat-tab-text{
	font-weight:700;
}


/*================================
    デザインパターン
================================*/

/*mark2 下線*/
.kiji-list-heading-mark2,
.kiji-list-tab-mark2 {
    border-bottom:none;
}

.kiji-list-heading-mark2 {
    margin: 0;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
}
/*--------------------------------------
    記事一覧見出し
--------------------------------------*/
.main-h2,
.main-title,
.main-tab-two {
	color:#364A79;
    margin: 5px 0 0;
    text-align: center;
    font-size: 1.2em;
    box-sizing: border-box;
}

.cat-tab-text{
	font-weight:700;
}


/*================================
    デザインパターン
	
	カテゴリTOPとTOPページ新着記事
================================*/
/*記事一覧｜見出しをデザイン2 下線なし　背景なし*/


/*--------------------------------------
  パンくずリスト
--------------------------------------*/
.breadcrumb{
	font-size:12px;
	line-height:1em;
	padding:10px 16px 0;
}

/*--------------------------------------
  タイトル
--------------------------------------*/
.entry-title,
.notpage-title,
 .main-title h1{
    line-height: 1.6em;
    margin: 0;
    padding: 4px 16px;
    font-weight: 700;
}
@media (min-width: 1030px) {
.entry-title,
.main-title h1 {
    padding: 16px 36px;
		font-size:36px;
}}
@media (min-width: 768px) and (max-width: 1029px) {
.entry-title,
.notpage-title,
.main-title h1 {
}}
/*--------------------------------------
  投稿日・更新日・閲覧数・読む時間
--------------------------------------*/
.entry-header-item {
    display:block;
	padding: 4px 0 0 0;
	text-align:end;
	font-size:0.6em;
}

.entry-eyeimg:before{
	display:block;
    content: "アフィリエイト広告を利用しています";	
    width: 100%;
	margin: 0;
	padding:2px 0;
	color: #4C4948;
	text-align:center;
    font-size:10px;
	font-weight:normal;
}

/*****************************************

    5.メイン：投稿ページ（コンテンツ）

******************************************/

.exlink-title, .inlink-title {
        font-size: 16px;
		line-height:1.2;
}

/*--------------------------------------
 運命数一覧
--------------------------------------*/

.entry-catetagbox {
    margin: 20px auto;
    padding: 8px 0;
    max-width: 100%;
    text-align: center;
}

.keyword-title {
    color: #364A79;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.keyword-title:before,
.keyword-title:after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #364A79;
    display: block;
}

.keyword-title:before {
    margin-right: 0.4em;
}

.keyword-title:after {
    margin-left: 0.4em;
}

.uranai_item {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.uranai_koumoku a {
        font-size: 14px; 
        padding: 8px 5px; /* 小さめのパディング */
    }

/* PC表示 (横5列×縦4列) */
@media (min-width: 768px){	
    .uranai_item {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }

.uranai_koumoku a {
	    font-size: 14px;
        padding: 12px 20px;
    }
}

.uranai_koumoku a {
    display: block;
    text-align: center;
    padding: 10px 15px;
    background: linear-gradient(to bottom, #E5E6FD, #F7E8EE);
    color: #364A79;
    font-weight: bold;
    border: 2px solid #364A79;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.uranai_koumoku a:hover {
    opacity: 0.7;
}


/*--------------------------------------
  この記事を書いた人
--------------------------------------*/
.writer-in:before {
    content: "数秘占術家";
	font-weight: bold;
	background:none;
}



/*****************************************

    7.メイン：投稿ページ（グーテンベルク）

******************************************/



/*================================
    デザインパターン　見出しh2 h3 h4
================================*/

/*h2→デザイン1
h3,h4→デザイン3*/

/*mark1*/
.heading-h2-mark1 h2{
	padding: 10px 16px;
}
.heading-h2-mark1 h2.wp-block-heading{
	color:#364A79;
	background-image: linear-gradient(to right, #E3E5FE 0%, #F9E8EC 100%) !important;
}
 
/*mark3*/


.heading-h3-mark3 h3{
  position: relative;
  padding: .5rem;
  border:none;
  font-size:1.2em;
}

.heading-h3-mark3 h3:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: '';
  	color:#364A79;
   border-bottom: 5px solid;
    border-image: linear-gradient(to right, #E3E5FE 0%, #F9E8EC 100%);
	border-image-slice: 1;
}
.heading-h4-mark3 h4 {
    border-bottom:none;
}

/*================================
    デザインパターン    目次
================================*/


/*スタイル4（Google風）*/
.mkj-style4 .mkj-title {
	background:#e6ebff;
}

.mkj-style4 .mkj-list > li:before {
  background: #e6ebff;
}
/*================================
    Rinker
================================*/

.widget ul li a.yyi-rinker-link {
display: flex; 
    color: #fff;
}


.widget ul.yyi-rinker-links {
    margin: 0;
    padding: 0;
}
.widget ul.yyi-rinker-links li {
    display: inherit!important;
    margin-bottom: 12px!important;
}

.widget ul li a.yyi-rinker-link:hover {
    color: #fff;
}
@media (min-width: 768px){
.widget .yyi-rinker-info ul.yyi-rinker-links li {
    width: calc(50% - 6px);
}}

/*****************************************

    8.メイン：カテゴリーページ

******************************************/

/*--------------------------------------
  サブタイトル
--------------------------------------*/
.child-category {
    line-height: 40px;
}
.cat_list {
    margin: 2em 0 1em;
}
.cat_list ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.child-category .cat-item{
    display: inline;
    margin: 0 6px 8px;
}
.child-category a {
    display: inline-block;
    padding: 0px 15px;
	color:#364A79;
	border:#364A79 2px solid;
	border-radius:100px;
	background-image: linear-gradient(#F9E8EC 0%, #E3E5FE 100%);
   font-weight:bold;
    transition: opacity 0.3s;
}


/*****************************************

    10.サイド・ウィジェット

******************************************/
.side-title-mark1 .widget-title{
  	 color:#364A79;
     background-image: linear-gradient(to right, #E3E5FE 0%, #F9E8EC 100%) !important;
}

.side-title-mark1 .widget-title-in{
	 background:none !important;
}





/*****************************************

    11.フッター

******************************************/

/* フッター背景色*/
.footer-in-under {
   background-image: linear-gradient(#F9E8EC 0%, #E3E5FE 100%) !important;
   	border-top:#364A79 5px solid;
}

/* フッターメニュー */

.footer-container .menu-item a {
border:none;
color: #4C4948;
}

.logo-catchcopy{
	color:#364A79;
	font-weight:700;
}

/*--------------------------------------
  コピーライト
--------------------------------------*/
.copyright {
	color:#364A79;
	font-size:80%;
}

