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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*ボタンの背景*/
.btn1 {
margin-bottom: 20px;
padding: 20px 10px;
background: #fafafa;/*ボタンの背景色*/
border-radius:5px;
text-align:center;
}
.btn1 a {
text-decoration: none !important;
}
/*上のマイクロコピー*/
.btn-copy {
font-size: 1.5rem;
font-weight: bold;
display:block;
margin-bottom:5px;
}
.btn-copy:before {
margin-right: 1rem;
content: '＼';
}
.btn-copy:after {
margin-left: 1rem;
content: '／';
}
.btn1-1 {
position:relative;
padding: 5px;
box-sizing: border-box;
display: inline-block;
text-align: center;
width: 90%;
height: 100%;
text-decoration: none;
border-radius:5px;/*ボタンの角丸*/
color:#fff !important;/*ボタンの文字色*/
box-shadow: 0 3px 0 #c62828;/*ボタンの立体部分*/
background: #e53935;/*ボタンの色*/
border: solid 1px #e57373;/*ボタンの縁線*/
font-weight:bold;
font-size:120%;
overflow: hidden;
}
/*ホバー時*/
.btn1-1:hover {
opacity: 0.5;
}
/*下のマイクロコピー*/
.btn1 .btn-copy2 {
font-size: 80%;
margin-bottom:5px;
}
/*キラッと光る*/
.btn1-1:before {
position: absolute;
content: '';
display: inline-block;
top: -180px;
left: 0;
width: 30px;
height: 100%;
background-color: #fff;
animation: shiny-btn 4s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn {
0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

.c-button._shiny {
    display: block;
    position: relative;
    padding: 1em 1.5em;
    background-color: #1981f7;
    box-shadow: 0 3px 0 0 #0867d4;
    border-radius: 4px;
  margin:30px auto;
    font-weight: bold;
    font-size: 16px;
  max-width:500px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
  transition: 300ms;
}
.c-button._shiny::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #b5e7ff;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}

.c-button._shiny:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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





.sample-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.sample-gallery img {
  width: 160px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 600px) {
  .sample-gallery img {
    width: 48%;
  }
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 1em 0;
}

.work-details {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
  word-break: break-word;
}

.work-details th,
.work-details td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.work-details th {
  background-color: #f8f8f8;
  font-weight: bold;
  width: 30%;
  min-width: 100px;
}

@media screen and (max-width: 600px) {
  .work-details th,
  .work-details td {
    font-size: 14px;
    padding: 6px 8px;
  }
}

.video-center {
  display: flex;
  justify-content: center;
  margin: 1em 0;
}

.top-cta-box {
  background-color: #fff0f5;
  border: 1px solid #ff99bb;
  padding: 16px;
  margin: 16px 0;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
}

a.cta-button {
  display: inline-block;
  background-color: #ff3366;
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.3s ease;
}

a.cta-button:hover {
  background-color: #cc2a55;
}

.recommend-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
  justify-content: center;
}
.recommend-item {
  width: 160px;
  text-align: center;
}
.recommend-item img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}
.recommend-item p {
  font-size: 14px;
  margin: 8px 0 4px;
}


