@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
html {
    scroll-behavior: smooth;
}
html {
    scroll-padding-top: 115px;
}
/* タブ内のリンクスタイル */
.link_a a {	
    text-decoration: none;
	padding-bottom: 0.5rem;
    color: brown;
    position: relative; /* 必須: ::before の位置を基準にする */
    transition: all 0.5s ease-in-out;
}
.link_a a::before {
    content: '';
    background: #222;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scaleX(0); /* 横方向のみスケールする */
    transition: transform 0.3s ease-in-out;
}
.link_a a:hover {
    color: #222;
}
.link_a a:hover::before {
    transform-origin: left top;
    transform: scaleX(1); /* 横方向のみスケールする */
}
/* フッターのリンクスタイル */
.text-pc a {
	text-decoration: none;
	color: unset;
	transition: all 0.5s ease-in-out;
}
.text-pc a:hover {
    color: #222;
}
/*フッターのレイアウト*/
#footer {
    padding-top :1rem;
}
.footer-bottom {
    padding-top: 0;
}
#footer a:not(.sns-button) {
	display: inline-block;
	padding-bottom: 0;
	margin-bottom:10px;
    font-size: 0.9em;
}
.footer-widgets .footer-left .text-pc p a {
    font-size: 16px;
    margin-bottom: 5px;
display: inline-block;
}
.footer-widgets .footer-right .text-pc p {
    font-size: 16px;
    line-height: 2.2rem;
}
.footer-bottom.fnm-text-width .menu-footer li a:hover {
	background-color: #223a70;
	color: #ccc;
}
/*サイドバーのレイアウト*/
#calendar_wrap {
	padding-top: 2rem;
}

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

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

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