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

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

.btn {
    color: #fff;
    background-color: #dd9933;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    line-height: normal;
    padding: 7px 40px;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    border: 2px solid transparent;
    position: relative;
}
/* 見出しを変更 */
 
.article h1 {
 font-weight: 800;
 font-size: 1.8rem;
 line-height: 1.3; 
 padding: 5px 15px;
 border-left: 6px solid #dd9933;
 border-bottom: none !important;
 color: #000;
 margin:35px 0px 30px;
}

.article h2 {
 color: black;
 font-size: 22px;
 line-height: 28px;
 font-weight: 600;
 position: relative;
 margin: 25px 0;
 padding: 0.5em ;
 border-top: solid 3px white;/*上線*/
 border-bottom: solid 3px #dd9933;/*下線*/
 border-left: white;
 background-color: white;
}

.article h3{
 font-size: 1.3rem;
 font-weight: 600;
 padding: 5px 15px;
 border-left: 6px solid #dd9933;
 border-bottom: none;
 border-top: none;
 border-right: none;
 color: #000;
 margin:35px 0px 30px;
}

.article h4{
 font-size: 1.1rem;
 font-weight: 600;
 line-height: 1.3;
 padding: 5px 15px;
 border-bottom: none !important;
 border-left: 2px solid #dd9933;
 color: #000;
 margin:35px 5px 20px;
}

/* 外部リンクボタン全体（横並び配置） */
.external-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap; /* ← 改行防止 */
}

/* 各ボタン共通スタイル */
.external-links a {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  padding: 7px 40px;
  text-align: center;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap; /* ← ボタン内で改行させない */
}

/* サイトごとの色 */
.rakuten-btn {
  background-color: #00B900; /* ← 楽天トラベルの明るい緑 */
}

.jalan-btn {
  background-color: #ff6600; /* じゃらんのオレンジ */
}

/* ホバー時 */
.external-links a:hover {
  opacity: 0.85;
}

/* 通販ニュースのもっと読む部分 */
a#ecnews{
    display: inline-block;
    padding: 0.3em 2em;
    text-decoration: none;
    color: #333;
    border: solid 2px #ccc;
    border-radius: 3px;
    transition: .4s;
    margin: 1em 0 2em;
    font-size: 16px;
    border-radius: 99px;
}
a:hover#ecnews
{	
	background-color: #f4f5f7;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
.logo-header img {
    width: 70%;
    height: auto;
}
}

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