/**
ies_Common.css(共通CSS：出光エナジーソリューションズ追加分）
Ninomiya Add
**/


/* 新ヘッダー設定start */
   /* 既存のCSSと競合しないための補足スタイル */
    #header {
         position: sticky;
    top: 0;
    width: 100%;
    z-index: 98;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    background-color: #fff;
    }
    /* ボタンのホバーエフェクトなど */
    .cta-btn-outline {
        border: 2px solid #5F5E5E !important;
        color: #5F5E5E !important;
        background-color: #fff !important;
    }
    .cta-btn-outline:hover {
        background-color: #f8f9fa !important;
    }
    .cta-btn-gray {
        background-color: #5F5E5E !important;
        border: 2px solid #5F5E5E !important;
        color: #fff !important;
    }
    .cta-btn-gray:hover {
        background-color: #4a4949 !important;
    }
    .cta-btn-red {
        background-color: #DA1A39 !important;
        border: 2px solid #DA1A39 !important;
        color: #fff !important;
    }
    .cta-btn-red:hover {
        background-color: #b8152f !important;
    }
    /* ナビゲーションのリンク色 */
    .gmenu a, .header-links a {
        color: #333;
        text-decoration: none;
    }
    .gmenu a:hover, .header-links a:hover {
        text-decoration: underline;
    }

 /* ほんの少しだけボタンの角を削る（数字を小さくするとより四角になります）*/
    .cta-buttons .btn {
        border-radius: 5px !important;
}

/* ▼▼▼ 追加：既存のナビゲーションの高さをリセット ▼▼▼ */
    .gmenu, .gmenu li, .gmenu a {
        margin: 0 !important;
      /*  padding: 0 !important;*/
        height: auto !important;
        line-height: 1.5 !important;
    }
    .header-links, .header-links a {
        margin: 0 !important;
       /* padding: 0 !important;*/
        height: auto !important;
    }
    .cta-buttons {
        margin: 0 !important;
        padding: 0 !important;
gap:12px; /* ←これを追加して元の5pxをキャンセル */
    }
    /* ▲▲▲ ここまで ▲▲▲ */

.cta-icon{
width:22px;
height:22px;
display:block;
}


/*ボタン設定*/

.cta-buttons .btn {
	position: relative;
	padding-left: 42px;
	font-size: 1.1rem;
	letter-spacing: 0.05em;
	background-repeat: no-repeat;
	background-position: left 14px center;
	background-size: 20px;
	transition: all .2s ease;
}

/* ---------------- /
/ 動画ボタン /
/ ---------------- */

.cta-video {
	background-image: url("/dcms_media/other/play-line.svg");
}

.cta-video:hover {
	background-color: #5F5E5E;
	border-color: #5F5E5E;
	color: #fff;
	background-image: url("/dcms_media/other/play-white.svg");
}

/* ---------------- /
/ 資料DL /
/ ---------------- */

.cta-download {
	background-image: url("/dcms_media/other/download-white.svg");
}

.cta-download:hover {
	background: #fff;
	color: #5F5E5E;
	border-color: #5F5E5E;
	background-image: url("/dcms_media/other/download-line.svg");
}

/* ---------------- /
/ お問い合わせ /
/ ---------------- */

.cta-contact {
	background-image: url("/dcms_media/other/mail-white.svg");
}

.cta-contact:hover {
	background: #fff;
	color: #DA1A39;
	border-color: #DA1A39;
	background-image: url("/dcms_media/other/mail-line.svg");
}


/*ボタン設定end*/


/*youtubeリンク▶マークcss*/
.link-youtube {
  position: relative;
  display: inline-block; /* ★これを追加 */
  padding-left: 25px; /* ★YouTubeアイコン（幅18px）に合わせて少し数値を調整すると綺麗です */
}

.link-youtube::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid #FF0437;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.link-cpsite {
  position: relative;
  display: inline-block; /* ★これを追加 */
  padding-left: 38px;
}

.link-cpsite::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-image: url("/dcms_media/image/icon_cpsite.png");
  background-size: contain;
  background-repeat: no-repeat;
}
/*youtubeリンク▶マークcss end*/

/* YouTubeのアイコン設定 */
.link-youtube::before {
  content: "";
  display: block; /* Flexboxの中で図形として認識させる */
  width: 0;
  height: 0;
  border-left: 18px solid #FF0437;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-right: 8px; /* ★ アイコンと文字の間の隙間（お好みで調整） */
}

/* コーポレートサイトのアイコン設定 */
.link-cpsite::before {
  content: "";
  display: block; /* Flexboxの中で図形として認識させる */
  width: 30px;
  height: 30px;
  background-image: url("/dcms_media/image/icon_cpsite.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px; /* ★ アイコンと文字の間の隙間（お好みで調整） */
}

/* 新ヘッダー設定end */



