@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){
  /*必要ならばここにコードを書く*/
}

.custom-footer-links {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a; /* ダークテーマに合わせた背景色 */
    border-radius: 8px;
}

.custom-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.custom-section-title .title-block {
    width: 4px;
    height: 20px;
    background-color: #007bff; /* 青い縦線 */
    margin-right: 10px;
}

.custom-section-title h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff; /* 白い文字 */
}

.custom-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer-links li {
    margin-bottom: 8px;
}

.custom-footer-links a {
    color: #add8e6; /* リンクの色 */
    text-decoration: none;
}

.custom-footer-links a:hover {
    text-decoration: underline;
}

.custom-disclaimer {
    display: flex;
    align-items: flex-start;
    background-color: #2a2a2a; /* 免責事項の背景色 */
    border: 1px solid #28a745; /* 緑色の枠線 */
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    color: #ffffff;
    font-size: 0.9em;
}

.custom-disclaimer .disclaimer-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.custom-disclaimer p {
    margin: 0;
}

.custom-hashtags {
    margin-top: 30px;
    padding: 20px;
    background-color: #1a1a1a; /* ダークテーマに合わせた背景色 */
    border-radius: 8px;
}

.custom-hashtags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* タグ間のスペース */
}

.custom-hashtags li {
    margin: 0;
}

.custom-hashtags a {
    display: inline-block;
    background-color: #333; /* タグの背景色 */
    color: #add8e6; /* タグの文字色 */
    padding: 5px 10px;
    border-radius: 20px; /* 角丸 */
    text-decoration: none;
    font-size: 0.9em;
}

.custom-hashtags a:hover {
    background-color: #555;
    text-decoration: none;
}

/* ヘッダーメニュー項目に枠線を追加 */
#navi .menu-item a {
    border: 1px solid #555; /* 枠線の色と太さ */
    border-radius: 5px; /* 枠線の角丸 */
    padding: 8px 12px; /* 内側の余白 */
    margin: 0 5px; /* メニュー項目間の余白 */
    display: inline-block; /* 枠線が正しく適用されるように */
    transition: all 0.3s ease; /* ホバーアニメーション */
}

#navi .menu-item a:hover {
    background-color: #333; /* ホバー時の背景色 */
    border-color: #007bff; /* ホバー時の枠線色 */
    color: #ffffff; /* ホバー時の文字色を白に */
}

.medix-floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: none;
    align-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(135deg, #4bc0f0, #2f93d1);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(28, 96, 140, 0.24);
    transition: width 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.medix-floating-contact:hover,
.medix-floating-contact:focus-visible {
    width: 220px;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(28, 96, 140, 0.32);
}

.medix-floating-contact__icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.medix-floating-contact__icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.medix-floating-contact__text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding-right: 18px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.medix-floating-contact:hover .medix-floating-contact__text,
.medix-floating-contact:focus-visible .medix-floating-contact__text {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 1024px) {
    .medix-floating-contact {
        display: inline-flex;
    }
}

@media (max-width: 1023px) {
    .medix-floating-contact {
        display: none !important;
    }
}
