@charset "UTF-8";

html, body {
    font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    background-color: #f6f6f6;
    font-size: 16px;
    line-height: 1.6;
}
html, body, main {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-x: hidden;
}
body .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}
div {
    display: block;
}

a {text-decoration: none;
  color: #000; -webkit-transition: .2s;
  transition: .2s;}
a:hover{color:#0FA0CE; text-decoration:none;}
a:active{text-decoration:none;color:#ccc;}
a img{border-style:none;padding:0px;margin:0px;}
a img:hover{opacity:0.6;filter:alpha(opacity=60);-ms-filter:"alpha( opacity=60 )";}


h1 {font-size: 0; line-height: 0; }
h1 img {display: block; max-width: 100%; height: auto;}
.f170 {font-size:170%;}
.f150 {font-size:150%;}
.f120 {font-size:120%;}
.f200 {font-size:200%;}
ul, dl {
  font-size: 100%;
  padding-left: 20px;
  padding-right: 30px;
  margin: 0 0 40px 0;
}
li{list-style:none;}
img{max-width: 100%; height: auto;}

.bold {font-weight:bold;}
.mincyo {font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;}
.f200bgc{font-size: 200%; font-weight: bold; text-align: center; margin: 0; padding-top: 50px; padding-bottom: 20px; width: 100%;}
.bg_g{background-color:#f6f6f6;}
.bg_w{background-color:#ffffff;}
.bg_bg{background-color:#00182b;}

.content {clear: both;}
.txtc{text-align:center;}
.txtr{text-align:right; padding-right:20px;}

.f80{font-size:80%;}
hr{display:block;height:2px;border-top:2px solid #eee;margin:1em 0;padding:0;}
.f_orange{font-weight:bold;color:#fd7e00;padding-top:20px;}
.f_green{font-weight:bold;color:#008000;}
.f_blue{font-weight:bold;color:#006bba;}
.f_ccc{color:#ccc; }
.f200{font-size:200% ; font-weight:bold;}
.float-image {float: right; margin:10px;}
.htitle{font-size:150%;margin:0px;padding:20px;font-weight:bold;}
.htitle span{font-size:60%;color:#808080;font-weight:normal;}
.overlay-text {text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);}

.container {
  display: flex; /* Flexboxを有効にする */
  justify-content: space-between; /* 子要素を両端に配置 */
  align-items: center; /* 垂直方向の中央揃え（任意） */
  width: 100%; /* 親要素の幅 */
}
.htitle{font-size:150%;margin:0px;padding:20px;font-weight:bold;}
.htitle span{font-size:60%;color:#808080;font-weight:normal;}

/*headerナビ
-------------------------------------*/
/* ヘッダーコンテナ */
.site-header {display: flex; justify-content: space-between;align-items: center; padding: 10px 30px; background-color: #00182b; font-weight:bold; color: white; position: relative;}
.logo img {height: 60px;}

/* ナビゲーションメニュー (PC向け) */
.site-nav ul {display: flex; list-style: none; font-size:14px; padding: 0; margin: 0;}
.site-nav li a {
  padding: 10px 20px;
  display: block;
  /* 修正：変化させる対象（背景色）と時間（0.3秒など）を指定 */
  transition: background-color 0.3s ease;
  color: #ccc;
  text-decoration: none;
}
.site-nav li a:hover {color:#fff; background-color: #1F2F54; transition: 0.4s;}
.contact-item a{background-color:#fd7e00 !important; color: #ffffff !important; padding: 10px 15px; border-radius: 4px;}
.contact-item a:hover {background-color:#ee7100 !important;}

/* ハンバーガーメニューアイコン (デフォルトでは非表示) */
.menu-toggle {
display: none; /* PCでは非表示 */
background:none;
border: none;
cursor: pointer;
flex-direction: column;
justify-content: space-around;
height: 24px;
width: 30px;
padding: 0;
}

.menu-toggle .bar {
display: block;
width: 100%;
height: 3px;
background-color: #fff;
transition: 0.4s;
}
        
/* レスポンシブ対応 (ブレークポイント 980px) */
@media (max-width: 980px) {
/* ハンバーガーメニューを表示 */
.menu-toggle {display: flex;}

/* ナビゲーションメニューを隠す */
.site-nav {
display: none; /* デフォルトで非表示 */
position: absolute;
z-index: 1000; /* 他の要素より大きい値に設定 */
top: 80px; /* ヘッダーの高さに合わせて調整 */
right: 0;
width: 100%;
background-color: #0F0F0F;
flex-direction: column;
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* JSでアクティブ時に表示 */
.site-nav.is-active {display: block;}            
.site-nav ul {flex-direction: column;width: 100%;list-style: none;padding: 0;}
.site-nav li a {padding: 15px;border-top: 1px solid #555;}

/* ハンバーガーメニューのアニメーション (Xマーク) */
.menu-toggle.is-active .bar:nth-child(1) {transform: translateY(8px) rotate(45deg);}
.menu-toggle.is-active .bar:nth-child(2) {opacity: 0;}
.menu-toggle.is-active .bar:nth-child(3) {transform: translateY(-8px) rotate(-45deg);}
}

/*スライダー
-------------------------------------*/
.slide {position: relative;overflow: hidden;}
.slide img {width:100%; height: 100%; object-fit: cover;}
.slide-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; color: white; padding: 0px; border-radius: 10px;
    max-width: 100% ; width: 100%; font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;}
.slide-content .product { margin: 0 0 10px 0; font-size: 300%; letter-spacing:10px;font-weight:bolder;}
.slide-content p {margin: 0;font-size: 100%;font-weight:bold;}
.slick-carousel {width: 100%; height: 100vh; position: relative; overflow: hidden;}

@media screen and (max-width: 991px) {
    .slick-carousel { height: 400px; }
}
@media screen and (max-width: 767px) {
    .slick-carousel { height: 300px; }
    .slide-content {top:50%;}
    .slide-content .product {font-size:190%;letter-spacing:0px;}
    .slide-content p {font-size:90%;}
}

/* --- ドットの位置と背景色 --- */
.slick-dots {
    width: 100%;
    padding: 15px 0; /* 上下の余白 */
    margin: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    background-color:#f6f6f6;/*backgroundの色のスタイル */
}

/* 3. 各ドット（ボタン要素）のスタイル */
.slick-dots li button {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    display: block !important;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    border: 0;
    border-radius: 50%;
}
/* 4. slick-theme.css が生成する可能性のある黒い点を非表示にする（変更なし） */
.slick-dots li button:before {content: none !important; display: none !important;}

/* 5. アクティブなドットのスタイルードットの色 */
.slick-dots li.slick-active button {background-color:#0073a8 !important;
}

/* 6. 非アクティブなドットのスタイル（変更なし） */
.slick-dots li button {background-color: rgba(255, 99, 71, 0.2)}

/* 矢印コンテナの共通スタイル */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%; /* 画像の縦方向中央に配置 */
    transform: translateY(-50%); /* 中央揃えの微調整 */
    z-index: 10; /* 他のコンテンツより前面に */
    width: 40px; /* 画像の幅に合わせて調整 */
    height: 40px; /* 画像の高さに合わせて調整 */
    padding: 0;
    border: none;
    cursor: pointer;
    background-color: transparent; /* 背景色を透明にする */
    
 /* 元のテキスト（"Next", "Previous"）を非表示にする */
    font-size: 0;
    color: #fff;
}
/* 前へボタンの設定 */
.slick-prev {
    left: 10px; /* 左端からの位置 */
    /* ここに左矢印の画像パスを指定する */
    background-image: url('img/slide/hidari.png'); 
    background-size: cover; /* ボタンサイズに合わせて画像を表示 */
}

/* 次へボタンの設定 */
.slick-next {
    right: 10px; /* 右端からの位置 */
    /* ここに右矢印の画像パスを指定する */
    background-image: url('img/slide/migi.png');
    background-size: cover; /* ボタンサイズに合わせて画像を表示 */
}

/* ホバー時のスタイル */
.slick-prev:hover,
.slick-next:hover {
    opacity: 0.8; /* ホバーで少し透明度を下げる */
}

/*詳細はこちらボタン
-------------------------------------*/
a.btn {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px 30px;
  background: gray;
  color: #ffffff;
  border-radius: 4px; 
  margin: 20px auto;
  -webkit-transition: .2s;
  transition: .2s;
text-decoration: none;
}

a.btn:hover {
  background: #b3b3b3;
  -webkit-transition: .2s;
  transition: .2s;
}

a.btn.white {
  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}

a.btn.white:hover {
   background: #ffffff;
  color: #333333;
  font-weight:bold;
}

a.btn.orange {
  background: #ff8c00; /* オレンジ色 */
}

a.btn.orange:hover {
  background: #ff7400; /* ホバー時の少し濃いオレンジ色 */
}

/* =====================================
   メイン 
   ===================================== */
.main {max-width: 1000px; width:90%; margin: 0px auto; padding-top: 20px; padding-bottom: 50px; position: relative;}

.txtbl{border-bottom: 1px solid rgba(0, 0, 0, 0.2); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);}

/* =====================================
  News
   ===================================== */
.news-list{list-style: none outside; margin: 0; padding: 0;}
.news-list .item a{display: flex; flex-wrap: wrap; flex-wrap: nowrap; text-decoration: none; color: #333; border-bottom: 1px solid #CCC; padding: 20px 20px; }
.news-list .item:first-child a{border-top: 1px solid #CCC; }
.news-list .item .date{margin: 0; min-width: 120px; font-size: 16px; color: #898989; padding: 0 20px 0 0; }
.news-list .item .title{margin: 0; width: 100%; }
.news-list .item a:hover .title{color:  #0FA0CE;}

@media screen and (max-width: 767px){
.news-list .item a{flex-wrap: wrap; }
.news-list .item .date{min-width: 100px; }
.news-list .item .title{margin-top: 10px; }
}

/* 装飾 */ 
*{box-sizing: border-box;}
a{text-decoration: none; }

.ntitle{display: flex; justify-content: space-between; align-items: center; border: 1px solid #ccc; padding: 10px;}

/* =====================================
   メイン3カラム 
   ===================================== */
#cardlayout-wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0em auto;
    padding-top:0px;
    padding-bottom:20px;
    max-width: 960px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.card-list {
    margin: 0.5em auto; /* スマホ時は中央寄せ */
    padding: 0;
    overflow: hidden;
    width: 94%; /* スマホ時はほぼ1枚で表示 */
    text-align: center;
    background: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 20px; 
    transition: .2s;
    overflow: hidden; /* 画像の角を丸めるために追加 */
}

/* 各カード内のh3のスタイルを指定 */
.card-list h3 {
    font-size: 130%;
    margin: 0.6em 0 0.3em 0;
    color: #000;
}

.card-figure {
    margin: 0;
    padding: 0;
    width: 100%;
}

.card-figure img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* --- 画面幅768px以上（2カラム） --- */
@media all and (min-width: 768px) {
    .card-list {
        margin: 10px 0;
        width: 48%;
    }
}

/* --- 画面幅992px以上（3カラム） --- */
@media all and (min-width: 992px) {
    .card-list {
        margin: 10px 0;
        width: 31%;
    }
    
    #cardlayout-wrap::after {
        content: "";
        display: block;
        width: 31%;
    }
}
/* =====================================
   動画エリア 
   ===================================== */
.video-section-wrapper {
    width: 100%; background-color: #00182b;
    padding: 15px 0; /* 上下の余白（元の.video_areaのpadding-top/bottom分） */
    margin-bottom: 50px; /* 下余白 */
}
.video_area {
  width: 100%;
  padding: 0 16px; 
  margin-bottom: 0px; 
  box-sizing: border-box;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.provid{font-size:70%; color:#ccc; width:100%; text-align:center;}

.video_area h2 {
  margin: 0;
  padding-top: 50px;
  padding-bottom: 20px;
  font-size: 190%;
  color: #fff;
  font-weight: bolder;
  width: 100%;
  text-align: center;
}

/* --- 動画とテキストのFlexboxコンテナ --- */
.video-flex-container {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 50px;
    width: 100%;
}

/* 左側の動画ラッパー */
.video_wrapper {flex: 2 1 0;}

/* 動画要素自体（ここで全体設定のmax-width:を上書きする！） */
.video_wrapper video {
    width: 100%; 
    max-width: 100%;
    height: auto;      
    display: block;
}

/* 右側のテキストコンテンツ */
.video_text_content {
    color: #fff; 
    padding-left: 10px; 
    flex: 1 1 0;
}

.video_text_content p {
    color: inherit;
    margin: 0 0 10px 0;
}

@media (max-width: 768px) {
    .video-flex-container {
        flex-direction: column;
        gap: 15px; 
    }
    .video_wrapper video {
        max-width: 100%; 
    }
    .video_text_content {
        padding-left: 0; 
    }
}
/* =====================================
   CONTACT
   ===================================== */
.custom-cta-area {display: flex;flex-wrap: wrap; justify-content: center; gap: 20px;
 margin: 30px auto; font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; }
.custom-cta-box {flex: 1; min-width: 300px; max-width: 360px; padding: 20px 10px; border-radius: 50px; text-decoration: none !important;
 text-align: center; font-weight: bold; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1); box-sizing: border-box; }
.btn-orange { background: #F88400 !important; color: #ffffff !important; }
.btn-blue { background: #4D9BC1 !important; color: #ffffff !important; }
.custom-cta-box:hover {transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); opacity: 0.9; }
.cta-main-text {font-size: 18px; display: block; margin-bottom: 8px; line-height: 1; }
.cta-sub-label {background: #ffffff; font-size: 14px; padding: 3px 15px; border-radius: 5px; display: inline-block; line-height: 1.2; }
.btn-orange .cta-sub-label { color: #F88400; }
.btn-blue .cta-sub-label { color: #4D9BC1; }
@media (max-width: 767px) {.custom-cta-box { max-width: 100%; } }

/* =====================================
   フッターエリア
   ===================================== */
#footer {
  width: 100%;
  margin: 0 auto;
  background: #f1f1f1;
}

#footer a {
  text-decoration: none;
  color: #333;
}

#footer a:hover, #footer a:active {text-decoration: underline; color: #333;}

#footer1 {
  max-width: 1100px; margin: 0 auto; padding: 30px 20px 25px; position:relative; overflow: hidden;}

#footer1 h3 {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-right:20px;
  padding: 10px 0px;
  font-size: 110%;
  color: #092937;
}

#footer1 .list {
  float: left;
  width: 25%; /* 修正点3: 固定値(255px)から%に変更 */
  box-sizing: border-box;
}

#footer1 .list ul {
  margin: 0;
  padding: 0px 0 15px;
}

#footer1 .list ul li {
  list-style: none;
  margin: 0 0 5px;
  padding: 0 20px 0 0;
  line-height: 2.0;
}

#footer2 {
  width: 100%;
  background: #e6e6e6;
}

#footer2 ul#wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0px;
  text-align: center;
}

#footer2 ul#wrapper li {
  display: inline-block; border-left: 1px solid #ccc;
  padding: 0 10px;
}

#footer2 ul#wrapper li:first-child {
  border-left: none;}

#footer2 ul#wrapper li.last {
  border-right: 1px solid #ccc;
}

#copyright {
  width: 100%;
  background: #00182b;
  padding: 15px 0;  text-align: center;
  color: #ffffff;
  font-size: 90%;
  margin: 0px;
}

/* 汎用リセット*/
ul, menu, dir {
  margin: 0;
  padding: 0;
}

.cf:after {
  content: "";
  display: block;
  clear: both;
}

/* --- モバイル対応 --- */
@media screen and (max-width: 900px) {
  #footer1 .list {
    width: 100%;
    margin-left: 0;
    float: none;
  }
  
  #footer2 ul#wrapper {
    width: 100%;
    background: #fff;
    display: flex; /* 修正点5: Flexboxで2列配置を安定させる */
    flex-wrap: wrap;
  }
  
  #footer2 ul#wrapper li {
    width: 50%;
    border-left: none;
    border-top: 1px solid #eee;
    box-sizing: border-box;
  }
  
  #footer2 ul#wrapper li a {
    width: 100%;
    height: auto;
    padding: 15px 0;
    display: block;
  }
}