@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/************************************
** 2026追加
************************************/
#container {
    width: 100%;
    background-image: url(img/PC_Background.png);
    background-size: 100%;
    background-position: 0px -280px;
    padding-top: 0px;
    margin-top: 0;
    margin-top: var(--Spacer_50);
    overflow-x: hidden;
}
.clear {
    clear: both;
}
.sp-on {
    display: none;
}
/*  グローバルメニュー  */
ul.menu-top {
    display: flex;
}

ul.menu-top li.menu-item-type-custom {
    
}

ul.menu-top li.menu-item-type-custom a:link,ul.menu-top li.menu-item-object-category a:link {
  text-decoration: none;
  color: #333;
  display: block;
  height: 100%;
  display: flex;
  align-items: center;
  transition: .3s;
  font-weight: bold;
  position: relative;
}

ul.menu-top li.menu-item-type-custom a::after,ul.menu-top li.menu-item-object-category a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0%;
  background: #960606;
  position: absolute;
  bottom: 0;
  left: 10%;
  bottom: 10px;
  transition: .3s;
}

ul.menu-top li.menu-item-type-custom a:hover::after,ul.menu-top li.menu-item-object-category a:hover::after {
  width: 80%;
}



h1,h2,h3,h4,p,li,div {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

h1.entry-title {
    background-color: #960606;
    color: #fff;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

h2.title-h2 {
    display: block;
    border-bottom: 1px solid #ccc;
    position: relative;
    font-size: 24px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    font-weight: bold;
    color: #222;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

h3.title-h3 {
    display: block;
    border-left: none;
    border-top: none;
    border-right:none;
    border-bottom: 1px solid #ccc;
    position: relative;
    font-size: 24px;
    padding-left: 5px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    font-weight: bold;
    color: #222;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

h3.title-h3::after,h2.title-h2::after {
    content: "";
    width: 100px;
    height: 1px;
    background: #960606;
    position: absolute;
    bottom: -1px;
    left: 0;
}

h3.title-h3-red {
    border-left: none;
    border-top: none;
    border-right:none;
    font-size: 22px;
    font-weight: bold;
    color: #960606;
    padding-left: 5px;
    border-bottom: 1px solid #960606;
}

h4.title-h4 {
    border: none;
    margin-bottom: 15px;
}

p.red-large {
    font-size: 20px;
    font-weight: bold;
    color: #960606;
}

p.president-sign {
    font-weight: bold;
}

/* 次回例会案内 */
div.next-meeting {
    text-align: center;
    border-bottom: 1px dotted #deb058;
    background-image: url(img/Ribbon_Top_resize.png);
    background-position: left top;
    background-repeat: no-repeat;
    padding-bottom: 40px;
}
h2.next-meeting-title {
    text-align: center;
    width:500px;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    margin: 0 auto 40px auto;
}

div.next-meeting p {
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 40px;
    font-weight: bold;
}
div.meeting-info {
    text-align: center;
}
div.meeting-info div {
    width:500px;
    height: 40px;
    margin:0 auto;
    display: flex;
    border-bottom: 1px solid #777;
    margin-bottom: 5px;
    clear: both;
}
div.meeting-info p {
    margin-top: 20px;
}
.top-title-left {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    border-bottom: 1px solid #aaa;
    box-sizing: border-box;
}

.top-txt-right {
    font-size: 17px;
    text-indent: 10px;
    line-height: 40px;
    box-sizing: border-box;
}
div.meeting-info p {
    font-size: 16px;
}

.top-title-left,.top-txt-right,div.meeting-info p {
    color: #777;
}


ul.top-attention {
    text-align: left;
    width: 600px;
    margin: 10px auto;
}
ul.top-attention li {
    color: #f00;
    font-size: 16px;
    line-height: 22px;
}
div.app-deadline .moushikomi {
    width:300px;
    height: 60px;
    margin: 10px auto 25px auto;
    border: none;
}

/***　　例会スケジュール　　***/
div.schedule-box {
    align-content: center;
}
h3.title-meeting-schedule,
h4.h4-line-title {
    display: flex;
    align-items: center;
    border: none;
}
h3.title-meeting-schedule:before,
h3.title-meeting-schedule:after,
h4.h4-line-title:before,
h4.h4-line-title:after {
    content: "";
    height: 1px;
    flex-grow: 1;
}

h3.title-meeting-schedule:before,
h4.h4-line-title:before{
    margin-right: 1rem;
    background: linear-gradient(-90deg, #deb058, transparent);
}

h3.title-meeting-schedule:after,
h4.h4-line-title:after {
    margin-left: 1rem;
    background: linear-gradient(90deg, #deb058, transparent);
}
div.schedule-box table.table-schedule {
    width:600px;
    height: auto;
    margin:10px auto;
}
table.table-schedule th {
    background-color: #deb058;
    color: #fff;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #fff;
    height: 30px;
    line-height: 30px;
}
table.table-schedule td {
    color: #777;
    border-bottom: 1px solid #ccc;
    height: 30px;
    line-height: 30px;
}


/* SNSエリア */
div.social-all {
    display: flex;
    width:500px;
    margin: 10px auto;
}
div.social {
    
}


/* スマホ対応 */
@media screen and (max-width: 480px) {
.sp-on {
    display: block;
}
.sp-n {
    display: none;
}
/* 次回例会案内 */
div.next-meeting {
    background-image: url(img/Ribbon_Top_resize_mobile.png);
    padding-bottom: 20px;
}
h2.next-meeting-title {
    font-size:18px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin:0 0 20px 0;
}
div.meeting-info div,ul.top-attention {
    width:100%;
}
.top-title-left {
    font-size: 16px;
}
.top-txt-right {
    font-size: 14px;
    font-weight: bold;
}
div.schedule-box table.table-schedule {
    width:100%;
}
table.table-schedule th {
    font-weight: bold;
}
table.table-schedule td {
    font-size: 16px;
    color: #555;
    padding-left: 10px;
}
div.social-all {
    width:100%;
    flex-direction: column;
}
div.social {
    width: 250px;
    margin:0 auto;
}
    .width_auto {
        width:100%;
    }
}

/*** サイト内リンクと写真の掲載 ***/

div.media-box {
    width: 100%;
    display: flex;
    align-items: center; /* 縦方向の中央揃え */
}
div.media-box .text-left {
    width: 40%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center; /* 横方向も中央揃えにする場合 */
}
div.media-box .photo-left {
    width: 60%;
    box-sizing: border-box;
}
div.media-box .text-right {
    width: 40%;
    box-sizing: border-box;
    text-align: center;
}
div.media-box .photo-right {
    width: 60%;
    box-sizing: border-box;
}

.btn{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
    color:#fff;
	display: inline-block;
    background-color: #6b5659;
   	border: 1px solid #555;/* ボーダーの色と太さ */
    padding: 10px 30px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

.btn::after {
    font-family: "Font Awesome 5 Free";
    content: "\f138"; /* アングル右矢印のコード */
    font-weight: 900;
    margin-left: 5px;
    
    /* 重なり順を背景（z-index: 2）より上にするための追記 */
    position: relative;
    z-index: 3;
}

/*ボタン内spanの形状*/
.btn span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#fff;
    letter-spacing: 0.1em;
}

.btn:hover span{
	color:#fff;
}

/*== 背景が流れる（左から右） */
.bgleft:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
 	background:#AD9B9E;/*背景色*/
 	width: 100%;
	height: 100%;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}

.wp-block-image {
  opacity: 0;
}

/* アニメーションの定義 */
.fadeUp {
  animation: fadeUpAnime 0.8s forwards;
}

@keyframes fadeUpAnime {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
div.media-box {
    flex-direction: column;
}
div.media-box .text-left,div.media-box .text-right {
    width: 80%;
}
div.media-box .photo-left,div.media-box .photo-right {
    width: 100%;
}
}

/* YouTubeの掲載*/
div.youtube-info {
    text-align: center;
}
div.youtube-info p {
    font-size: 16px;
    color: #333;
}
.Movie_Box {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}
.Movie_Box iframe {
    width: 100%;
    height: 100%;
}


/*  フッター部分の連絡先  */
#footer {
    height: auto;
    background-image: url(img/Footer_Img.svg);
    background-position: right bottom;
    background-repeat: no-repeat;
}
.copyright {
    padding-top: 15px;
    border-top: 2px solid #deb058;
}
.textwidget ul {
    padding-left: 0px;
    margin-left: 0px;
}
.textwidget ul li {
    list-style: none;
    padding-left: 0px;
    margin-left: 0px;
    line-height: 26px;
}
.textwidget a:link,.textwidget a:hover,.textwidget a:visited {
    text-decoration: none;
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
#footer {
    background-image: none;
}
.footer-widgets-mobile {
    background-image: url(img/Footer_mobile_Img.png)!important;
    background-position: right top;
    background-repeat: no-repeat;
    }
.copyright {
    padding-top: 0px;
    border-top: none;
}
}



/* 固定ページの全幅タイトルエリア（50pxの赤い帯） */
.custom-fullwidth-title-area {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #960606 !important; /* 背景色を強制適用 */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-sizing: border-box;
    z-index: 5; /* 他の要素に隠れないようにする */
}

/* タイトル文字（白） */
.custom-page-title {
    font-size: 1.2rem;
    color: #ffffff !important; /* 文字色を強制的に白にする */
    margin: 0;
    padding: 0;
    font-weight: bold;
    line-height: 1;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .custom-fullwidth-title-area {
        height: 60px; /* スマホでは少し細く */
    }
    .custom-page-title {
        font-size: 1.2rem;
    }
}

/* 投稿・固定ページの元々のタイトルを強制的に非表示にする */
.single .entry-title,
.page .entry-title {
    display: none !important;
}
/* カテゴリー・アーカイブページの元々のタイトルを強制的に非表示にする */
#archive-title,
.archive-title {
    display: none !important;
}

.mobile-menu-buttons {
    z-index: 9999!important;
}