@charset "utf-8";

/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/* box-sizing を border-box に統一（推奨） */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*全体の設定
---------------------------------------------------------------------------*/
html,body {
    margin: 0;padding: 0;
    height: 100%;
    font-size: 14px;    /*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
}

body {
    font-family: "游ゴシック", 'ヒラギノ角ゴシック','メイリオ', sans-serif; /* フォールバックとして sans-serif を追加 */
    -webkit-text-size-adjust: none;
    background: #fff;   /*背景色*/
    color: #333;        /*全体の文字色*/
    line-height: 2;     /*行間*/
    /* 注意: 游ゴシックなどのフォントは、ブラウザやOSによって表示（特に文字幅や行間）が若干異なる場合があります。
       これが原因でレイアウトに微妙な差異が生じることがあります。 */
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*section全般の設定*/
section + section {
    padding-top: 30px;  /*sectionの間に空けるスペース*/
}


/*opa1（透明から着色状態に）
---------------------------------------------------------------------------*/
@keyframes opa1 {
    0% {opacity: 0;}
    100% {opacity: 1;}
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: #333;    /*文字色*/
    transition: 0.3s;
}

a:hover {
    color: #ff9c00; /*マウスオン時の文字色*/
}

.custom-link {
    color: rgb(255, 255, 255);
}
/*container（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
    max-width: 1500px; /* 例に合わせて最大幅を設定 */
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.date {
  text-align: right;
  font-size: 0.9em;
  color: #666;
  margin-bottom: 1.5em;
  padding-right: 2em;
  white-space: nowrap;
}
.center-title {
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  margin: 40px 0;
}

.center-contents {
  text-align: center;
  font-weight: normal;
  margin: 40px 0;
}

.notice-container {
  padding-left: 15px;
  padding-right: 15px;
}

.notice-table{
  border-collapse: collapse;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-weight: normal;
}

.notice-table th {
  width: 160px;
  white-space: nowrap;
  text-align: left;
  font-weight: normal;
  padding: 6px 10px;
  line-height: 1.2;
}

.notice-table td {
  padding: 8px 12px;
  text-align: left;
  line-height: 1.2;
}

.notice-content {
  max-width: 960px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.notice-end {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 0; 
  font-size: 16px;
  text-align: right;
}

.name-block {
  white-space: nowrap;
}


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1120px;
    flex: 0 0 auto;
    height: 100px;
    margin: 0 auto;
    
}

header #logo {
    line-height: 0;margin: 0;
     padding: 10px 0;
    width: 170px;
}

header address {
    font-style: normal;
    color:#000000;
    margin-right: 40px;
}

header .font{
    color:#ff7e00;
    font-size: 14px;
}

header address img {
    width: 30px;
    height:25px ;
    padding-right: 10px;
    vertical-align: middle;
}

header address a {
    text-decoration: none;
    color:#ff7e00;
    display: inline-flex;
    align-items: center;
}
header address a span {
    vertical-align: middle;
}

header address i {
    color:#ff7e00;
    padding-right: 5px;
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
    display: block;
    position: fixed;z-index: 100;
    top: 25px;
    right: 20px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: rgba(0,0,0,0.6);
    border-radius: 5px; /* 角丸を追加してボタンらしく */
    color: white;
    display: flex; /* アイコンを中央揃えにするために追加 */
    align-items: center; /* アイコンを中央揃えにするために追加 */
    justify-content: center; /* アイコンを中央揃えにするために追加 */
    font-size: 24px; /* Font Awesome アイコンのサイズ */
}

/* Font Awesome アイコンの指定 */
#menubar_hdr::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Solid アイコンの場合 */
    content: "\f0c9"; /* fa-bars (ハンバーガーメニューのアイコン) */
}

/* ×印が出ている状態の設定 (JavaScriptで .ham クラスをトグルすることを想定) */
#menubar_hdr.ham {
    background: #c00; /* 背景色を少し暗めの赤に変更 */
}

#menubar_hdr.ham::before {
    content: "\f00d"; /* fa-times (閉じるアイコン) */
}


/*メニュー設定（全端末サイズ共通の設定）
---------------------------------------------------------------------------*/
#menubar ul {
    list-style: none;margin: 0;padding: 0;
    /* background: #ff7e00; PC表示では#menubarに移動 */
}

#menubar ul a {
    display: block;text-decoration: none;
    background: linear-gradient(#ff9c00, #ff7e00);
    color: #fff;
    padding: 15px 20px;
}

#menubar > ul > li > a:hover {
    filter: brightness(1.2);
}

#menubar .ddmenu {
    cursor: default;
}

a.ddmenu::before {
    font-family: "Font Awesome 5 Free";
    content: "\f078"; /* fa-chevron-down */
    font-weight: 900;
    margin-right: 1em;
}


/*メニューの設定
---------------------------------------------------------------------------*/
#menubar {height: 0px;overflow: hidden;
    max-width: 1300px;     /* 最大幅を固定 */
  width: 100%;          /* 画面幅に応じて縮小可能に */
  margin: 0 auto;       
} /* スマホ表示でメニューを隠すための初期状態 */

#menubar.db { /* スマホでメニュー表示時 */
    position: fixed;overflow: auto;z-index: 99; 
    left: 0px;top: 0px;
    width: 100%;
    height: 100%;
    padding: 90px 20px;
    background: rgba(0,0,0,0.8);
}
/* スマホ時のメニュー項目背景は #menubar ul a のグラデーションが適用される */


/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
#menubar .ddmenu_parent ul {display: none;} /* JavaScript での制御を想定 */

#menubar .ddmenu_parent ul a {
    background: #fff;
    color: #333;
}

#menubar .ddmenu_parent ul a:hover {
    background: #fafafa;
    color: #ff9c00;
}


/*contentsブロック
---------------------------------------------------------------------------*/
#contents {
    min-height: 0%;
    flex: 1 0 auto;
    width: 100%;
}


/*mainブロック設定
---------------------------------------------------------------------------*/
main { 
    display: block;
}

main h2 {
    border-bottom: 4px solid #eee;
    margin-top: 30px; 
    margin-bottom: 15px; 
}

main h2 span.uline {
    display: inline-block;
    border-bottom: 4px solid #ff9c00;
    position: relative;
    bottom: -4px;
    padding: 0px 0px;
}

main h3 {
    border-bottom: 4px solid #eee;
    padding: 20px 0px 0px;
}

.flex {
    display: flex;
  }
.flex .image {
    width: 30%;
    margin: 0;
    padding: 0;
  }
.flex .image img {
    width: 100%;
    height: auto;
  }
.flex .text {
    margin: 0 0 0 20px;
    padding: 0;
    width: 70%
  }

main p {
    margin: 15px 0px 30px;
}


/*ボックス全体の設定*/
#footermenu {
    background: #333;
    color: #eee;
    font-size: 0.7rem;
  max-width: 1300px;     /* 最大幅を固定 */
  width: 100%;          /* 画面幅に応じて縮小可能に */
  margin: 0 auto;       /* 中央寄せ */
    padding: 20px;
}

#footercontainer{
	display: flex;					/*flexボックスを使う指定*/
	flex-wrap: nowrap;				/*折り返す指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}
#footerlogo{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footertitle {
    color: #eee;
    font-size: 20px;
    font-weight: bold;    
    margin-bottom: 10px;
}

#footermenu a {
    text-decoration: none;
    color: #eee;
}

#footermenu a:hover {
    color: #999;
}

#footermenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footermenu .title {
    font-weight: bold;
    color: #eee;
    padding-bottom: 5px;
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
    font-size: 0.6rem;
    background: #ff9c00;
    color: #fff;
    text-align: center;
    padding: 20px;
}

footer a {color: #fff;text-decoration: none;}
footer a:hover {color: #fff;}
footer .pr {display: block;}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
#new {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    max-width: 960px; 
    margin-left: auto;
    margin-right: auto;
}

#new dt,
#new dd {
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}

#new dt {
    width: 8em;
}

#new dt span {
    display: none;
}

#new dd {
    width: calc(100% - 8em);
}


/*サービスページ（listブロック）
---------------------------------------------------------------------------*/
.list-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    max-width: 960px; 
    margin: 0 auto;
}

.list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
    background: #111;
    color: #fff;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.list figure {
    text-align: center;
    padding: 0px;
    width: 100%;
}
.list figure img {
    display: block;
    width: 100%;
}

.list h4 {
    margin: 10px 0;
    font-size: 1.4em;
    font-weight: normal;
    padding-left: 20px;
    padding-right: 20px;
}

.list p {
    margin: 0;
    font-size: 1.0em;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.list div {
    min-height: 0%;
}


/*スライドショー（slickを使用）
---------------------------------------------------------------------------*/
.mainimg {
    position: relative;
    max-width: 100%;
}
.mainimg img {
    display: block;
    width: 100%;
}

.message{
    position:absolute;
    top: 50%;
    left:10%;
    font-size:20px;
    color: rgba(255, 255, 255, 0.977);
    padding:0;
    margin:0;
    transform: translateY(-50%);
}

.kobataname{
    font-size:80px;
}

ul.slick-dots {
    margin:0;padding: 0;
    line-height: 1;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 10px;
}

ul.slick-dots li {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
}

ul.slick-dots li button {
    border: none;padding: 0;
    display: block;
    text-indent: -9999px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    background: #fff;  
}

ul.slick-dots li.slick-active button {
    background: #ff9c00;
}


/*アイコン
---------------------------------------------------------------------------*/
.icon {
    display: inline-block;
    padding: 0 10px;
    background: #999;
    color: #fff;
    font-size: 0.7em;
    border-radius: 3px;
    margin-right: 3px;
}

.newicon { background: #e82600; }
.option1 { background: #e80068; }
.option2 { background: #009def; }


/*詳細ページ
---------------------------------------------------------------------------*/
#item-image {
    position: relative;
    margin: 0 auto 20px;
    text-align: center;
    width: 100%;
    max-width: 960px;
}

#item-image img {
    width: 100%;
}

.thumbnail {
    width: 80px;
    border: 1px solid #dcdcdc;
    margin-bottom: 5px;
    cursor: pointer;
}

.thumbnail:hover {
    border: 1px solid #999;
}


/*btnの設定
---------------------------------------------------------------------------*/
.btn {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn a,
.btn input {
    display: inline-block;text-decoration: none;border: none;
    color: #fff;
    border-radius: 3px;
    padding: 10px 20px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    background: linear-gradient(#ff9c00,#ff7e00);
    font-size: 1rem;
}

.btn a:hover,
.btn input:hover {
    filter: brightness(1.2);
    cursor: pointer;
}

.list .btn a, .list .btn input {
    margin-top: 10px;
    display: block;
}


/*テーブル
---------------------------------------------------------------------------*/
.ta1 caption {
    font-weight: bold;
    padding: 10px 5px;
    background: #333;
    color: #fff;
    text-align: left;
}

.ta1 {
    border-top: 1px solid #ccc;
    table-layout: fixed;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 30px;
}

.ta1 tr {
    border-bottom: 1px solid #ccc;
}

.ta1 th, .ta1 td {
    padding: 10px 5px;
    word-break: break-all;
    text-align: left;
}

.ta1 th {
    width: 30%;
    background: #f7f7f7;
    font-weight: bold;
}


/*製品FAQ
---------------------------------------------------------------------------*/
.faq {
    padding: 0 5px;
    max-width: 960px;
    margin: 0 auto;
}

.faq dt {
    border-radius: 10px;
    margin-bottom: 10px;
    background: linear-gradient(#fff, #f7f7f7);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
    text-indent: -1.5em;
    padding: 10px 1em 10px 2.5em;
    position: relative;
    cursor: pointer;
}

.faq dt::before {
    font-family: "Font Awesome 5 Free";
    content: "\f059"; /* fa-question-circle */
    font-weight: 900;
    color: #ff9c00;
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
}

.faq dd {
    padding: 5px 1em 20px 2.5em;
    margin-bottom: 10px;
    display: none;
}
.faq dt.open + dd {
    display: block;
}

.openclose {
    cursor: pointer;
}

.faq dt span {text-indent: 0;}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop {
    display: none;
}
.pagetop-show {display: block;}

.pagetop a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    color: #fff;
    font-size: 1.2rem;
    background: rgba(0,0,0,0.3);
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    z-index: 90;
}
.pagetop a i {
    font-size: 1.5rem;
}


.pagetop a:hover {
    background: rgba(0,0,0,0.8);
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #ff9c00 !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block; margin-left: auto; margin-right: auto;}
.wl {width: 95%;display: block; margin-left: auto; margin-right: auto;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;border: 1px solid #ccc;padding: 5px 20px;background: rgba(0,0,0,0.03);border-radius: 5px;margin: 5px 0;}
.ofx {overflow-x: hidden;}





/*---------------------------------------------------------------------------
ここから下は画面幅480px以下の追加指定
---------------------------------------------------------------------------*/
@media screen and (max-width:480px) {

header {
    height:80px;
    margin: 0 3% 0;
}

header #logo {
    width: 130px;
}

header address {
    margin-right: 0px;
    font-size: 0px;
}
header address a[href^="tel:"] {
    display: none;
}
header address .language {
    font-size: 13px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    margin-right: 50px;
}

header address img {
    display: none;
}

  .date {
    padding-right: 1em;
    font-size: 0.8em;
  }
  .center-title {
    font-size: 20px;
    margin: 30px 0;
  }
  .notice-content {
    font-size: 14px;
    padding-left: 0;
    padding-right: 0;
  }
  .notice-end {
    font-size: 14px;
  }
  .notice-table th, .notice-table td {
    padding: 4px 6px;
    font-size: 13px;
    line-height: 1.4;
  }
  .notice-table th {
    width: 100px;
  }

  .kobataname{
    font-size:40px;
  }
  .message {
    font-size: 16px;
    left: 5%;
  }

}





/*---------------------------------------------------------------------------
ここから下は画面幅900px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:900px) {

html, body {
    font-size: 16px;
}

header address {
    margin-right: 0px;
    display: flex;
    align-items: center;
}
header address .language {
    margin-right: 20px;
}

#menubar_hdr {display: none;}

#menubar {
    height: auto;
    /* overflow: visible; から変更 */
    overflow-x: hidden; /* ★ メニュー項目のはみ出しによる横スクロールを防ぐ */
    background: #ff7e00; 
    width: 100%; /* ★ 親要素(#contents)の幅いっぱいに広がるように明示 */
}
#menubar.db {position: static;overflow: visible;height: auto;padding: 0;} 

#menubar > ul {
    display: flex;
    justify-content: space-between;
    max-width: 1500px; 
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    list-style: none;
    background: transparent; 
    width: 100%; /* ★ 親要素(#menubar)の幅いっぱいに広がるように明示 (max-widthも考慮される) */
}

#menubar li {
    text-align: center;
    flex: 1 1 0; /* flex-shrink を 1 に、flex-basis を 0 にして縮みやすくする */
    min-width: 0; /* ★ flexアイテム内のテキストが原因で縮小しにくい問題への対策 */
    position: relative;
}
#menubar > ul > li > a {
    padding: 20px 15px;
    font-size: 0.95em;
    display: block; /* a タグが li の幅全体を占めるように */
    white-space: nowrap; /* メニュー項目が長すぎる場合に備える (必要に応じて normal に変更) */
    overflow: hidden; /* はみ出したテキストを隠す */
    text-overflow: ellipsis; /* はみ出したテキストを ... で表示 */
}

#menubar ul ul {
    position: absolute;z-index: 100;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#menubar .ddmenu_parent ul {
    display: none;
}

#menubar .ddmenu_parent ul li a {
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    color: #333;
    padding: 12px 15px;
}
#menubar .ddmenu_parent ul li a:hover {
    background: #f0f0f0;
    color: #ff9c00;
}

#menubar .ddmenu_parent ul li:first-of-type a {
    border-top: 1px solid #ccc;
}

main {
    display: block;
    margin-top: 50px;
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    width: 100%;
}


#footermenu {
    font-size: 0.8rem;
    padding: 30px 15px;
}

#new dt {
    width: 14em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#new dt span {
    display: inline-block;
    width: auto;
    min-width: 6em;
    background: #999;
    color: #fff;
    font-size: 0.8em;
    text-align: center;
    border-radius: 3px;
    padding: 2px 8px;
    align-self: center;
    line-height: 1.5;
}

#new dt span.icon-bg1 { background: #f32218; }
#new dt span.icon-bg2 { background: #fab403; }

#new dd {
    width: calc(100% - 14em - 1em);
    padding-left: 1em;
}

.list-container {
    flex-direction: row;
}

.list {
    width: calc(50% - 15px);
}

#item-image {
    width: 100%;
}

.ta1 caption {
    padding: 10px 15px;
}

.ta1 th, .ta1 td {
    padding: 15px 15px;
}

.ta1 th {
    width: 25%;
}

.ws {width: calc(50% - 10px);display: inline-block; margin:5px;}


}
