@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
*/

/************************************
** カラーテーマ
************************************/

:root{
--main-sky: #36AFC9;
--main-blue: #2F80ED;
--header-sky: #c1e8f8;
--text-color: #333333;
}

/************************************
** 子テーマ用のスタイル
************************************/

/* 記事タイトル */
.custom-title {
color: #ffffff;
background: linear-gradient(135deg, var(--main-sky), var(--main-blue));
padding: 12px 18px;
border-radius: 10px;
text-align: left;
margin: 20px 0;
font-size: 24px;
font-weight: bold;
box-shadow: 0 2px 8px rgba(54,175,201,0.25);
}

/* 簡単な紹介文 */
.intro-text {
margin-top: 20px;
}

/* カスタム見出し */
.custom-heading {
font-size: 1.5em;
color: var(--main-sky);
text-align: left;
position: relative;
margin: 30px 0 20px;
padding-bottom: 10px;
font-weight: bold;
}

.custom-heading::after {
content: "";
display: block;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--main-sky), var(--main-blue));
position: absolute;
left: 0;
bottom: 0;
border-radius: 999px;
}

.no-underline::after {
display: none !important;
}

/* H3風見出し */
.h3-heading {
font-size: 1em;
color: var(--text-color);
font-weight: bold;
}

/************************************
** ボタン
************************************/

#load-iframe-btn {
background-color: var(--main-blue);
color: #fff;
border: none;
padding: 30px 60px;
font-size: 32px;
cursor: pointer;
border-radius: 12px;
transition: .2s;
}

#load-iframe-btn:hover {
opacity: .9;
transform: translateY(-2px);
}

/************************************
** Slick Slider
************************************/

.slick-slide {
display: flex;
justify-content: center;
align-items: center;
height: 450px;
}

.slick-slide img {
width: auto;
height: 100%;
max-width: 100%;
display: block;
margin: 0 auto;
object-fit: cover;
}

/************************************
** ナビボタン
************************************/

.slick-prev,
.slick-next {
width: 40px;
height: 40px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
border: none;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
font-size: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
}

.slick-prev {
background-image: url('https://xn--ickua0p876i4zt996c.mikawayakakkokari.jp/wp-content/uploads/sites/12/2024/09/矢印ボタン　左3.png');
left: 10px;
}

.slick-next {
background-image: url('https://xn--ickua0p876i4zt996c.mikawayakakkokari.jp/wp-content/uploads/sites/12/2024/09/矢印ボタン　右3.png');
right: 10px;
}

.slick-prev:hover,
.slick-next:hover {
background-color: rgba(193,232,248,.5);
}

/************************************
** ドット
************************************/

.slick-dots {
position: absolute;
bottom: -25px;
width: 100%;
text-align: center;
padding: 0;
margin: 0;
}

.slick-dots li {
display: inline-block;
}

.slick-dots li button {
width: 10px;
height: 10px;
background-color: #c1e8f8;
border-radius: 50%;
display: block;
padding: 0;
margin: 0 5px;
border: none;
outline: none;
font-size: 0;
}

.slick-dots li.slick-active button {
background-color: var(--main-blue);
}

.slick-dots button:before {
display: none;
}

/************************************
** レスポンシブ
************************************/

@media screen and (max-width: 834px) {

```
.custom-title {
    font-size: 22px;
}

.custom-heading {
    font-size: 1.4em;
}
```

}

@media screen and (max-width: 480px) {

```
.custom-title {
    font-size: 20px;
}

.custom-heading {
    font-size: 1.25em;
}

.slick-slide {
    height: 300px;
}

#load-iframe-btn {
    width: 100%;
    padding: 20px;
    font-size: 24px;
}
```

}
