/*
Theme Name: fuji-japan
Theme URI: https://www.fuji-japan.jp/
Description: 富士株式会社　公式サイト
Version: 2.0
Author: Tomoyo Mochizuki
*/
html {
	font-size: 0.875em; /* font-size: 14px; */
	overflow-x: visible;
	margin: 0;
	padding: 0;
    width: auto;
}
body {
    font-family: 'Klee One', cursive;
    font-weight:600;
    padding:0;
    margin: 0;
    width: auto;
    text-align:center;
    overflow-x: visible;
    line-height: 1.7;
    color:#505050;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Klee One', cursive;
    font-weight:600;
}

a:link, a:visited, a:hover {
    color:#505050;
    text-decoration:none;
}

img {
    display: block;
    vertical-align: bottom;
    border:none;
    max-width: 100%;
    height: auto;
}
ol, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.clear { 
 clear:both;
 content:"";
 display:table;
}
.imgCenter{
 margin:0 auto;
}

.mrg60{
 margin-bottom:60px;
}
.mrg80{
 margin-bottom:80px;
}
.mrg45{
 margin-bottom:45px;
}
.mrg100{
 margin-bottom:100px;
}
.mrg150{
 margin-bottom:150px;
}
.mrg130{
 margin-bottom:130px;
}
.mrg180{
 margin-bottom:180px;
}
.sp-break {
    display: none;
}
.underline-link {
    text-decoration: underline;
}
h2.sz18{
 font-size:1.286em;
 margin:0 0 35px 0;padding:0;
}
h2.sz18 span.h2stxtjp{
 font-size:0.778em;
}

.sz25{
 width: 100%;
 font-size:1.786em;
 margin:0 0 15px 0;padding:0;
 line-height:1;
}
.sz25-txtjp{
 width: 100%;
 font-size:1.143em;
 margin:0 0 55px 0;
 padding:0;
 line-height:1;
}
.spaceletter{
    letter-spacing:2px;
}

.indexspirit{
 font-size:1.786em;
 margin:0 0 35px 0;padding:0;
}
.mg90{margin-bottom:90px;}
.mg55{margin-bottom:55px;}
.mg35{margin-bottom:35px;}
.mg40{margin-bottom:40px;}
.sz33{
 font-size:2.357em;
 margin:0 0 25px 0;padding:0;line-height:0.9;
}
.sz33 span.h3txtjp{font-size:0.485em;}


.details-button {
    display: block;
    width: 178px;
    height: 40px;
    line-height: 40px;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid #969696;
    border-radius: 5px;
    color: #505050; /* テキストの色 */
    letter-spacing: 2px;
    transition: background-color 0.3s;
    position: relative;
    padding-right: 20px; /* 矢印アイコンのスペースのための右パディング */
    padding-left: 20px; /* 矢印アイコンのスペースのための右パディング */
    margin:0 auto;
    justify-content: center;
    align-items: center;
}

.details-button:hover {
    background-color: #C0C0C0;
    border: 1px solid #C0C0C0;
}
.arrow-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 31px; /* 画像のサイズは調整してください */
    height: 27px;
}
:target {
    scroll-margin-top: 150px;
}
@media screen and (max-width:520px) {
.mrg60{
 margin-bottom:40px;
}
.mrg100{
 margin-bottom:60px;
}
.spnone {
        display: none;
}
.sp-break {
        display: inline;
}
.sz25{
 font-size:1.214em;
 margin:0 0 10px 0;padding:0;
 line-height:1;
}
.sz25-txtjp{
 font-size:0.857em;
 margin:0 0 20px 0;padding:0;
 line-height:1;
}
:target {
    scroll-margin-top: 70px;
}

}
/*--------------------------------------------------------------
ナビゲーション
--------------------------------------------------------------*/
.global-menu {
    position: fixed; /* 固定位置にする */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* 白の透明度90% */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 影を付ける */
    transition: opacity 0.3s; /* ふわっと表示させるためのアニメーション */
    z-index:1001;
    height:102px;
}
.menu-container{
	width:1160px;
	margin:0 auto;
	margin-top:45px;
	position:relative;
}
.menu-container:after{
 clear:both;
 content:"";
 display:table;
}
.header_logo-out{
 display:none;
}
.header_logo{
 width: 230px;
 float:left;
}
.header_logo a.fuji-txt {
    display: block; /* ブロックレベル要素に変更 */
    width: 184px;
    height: 33px;
    background-image: url('https://fuji-japan.jp/images/logo-bk.png');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}
.header_logo a.fuji-txt:hover {
    opacity: 0.7;
}

.fuji-txt {
    text-indent: -9999px; /* テキストを画面外に移動 */
    display: block; /* ブロックレベル要素として扱う */
    overflow: hidden; /* はみ出た内容を非表示にする */
}

#menu {
    width: 925px;
    margin: 0;
    font-size: 0.857em;
    float:left;
    padding-top:14px;
}
#menu li,
#menu li.houjin {
    float: left;
    width: 90px;
    line-height: 1.5;
    text-align: center;
    position: relative;
}
#menu li.houjin {
    width: 130px;
}
#menu li a{
    transition: opacity 0.3s; /* 透明度の変化にアニメーションをつける */
    opacity: 1; /* 初期状態の透明度は1（不透明） */
}
#menu li a:hover{
    opacity: 0.5;
    display: block;
}
#menu li.sss {
    width: 70px;
    padding:0 0 30px 0;
}

#menu li.becchu {
	width: 157px;
	height:27px;
    background-image: url('https://fuji-japan.jp/images/bt-becchu-bk-hv.png'); /* 背景画像を設定 */
    background-position: center top;
    background-size: 157px 27px;
    background-repeat: no-repeat;
	position: relative;
	bottom:5px;
}
#menu li.online {
	width: 147px;
	height:27px;
    background-image: url('https://fuji-japan.jp/images/bt-online-bk-hv.png'); /* 背景画像を設定 */
    background-position: center top;
    background-size: 147px 27px;
    background-repeat: no-repeat;
	position: relative;
	bottom:5px;
	margin-left: 5px;
}
#menu li.becchu:hover,
#menu li.online:hover{
    opacity: 0.7;
}
#menu li.becchu .indextopnav-link a,
#menu li.online .indextopnav-link a {
    color: transparent; /* テキストを透明に設定 */
    display: block; /* ブロックレベル要素にする */
	width: 100%;
	height:100%;
}

#menu li.navlanguage{
 width: auto;
 min-width: 55px;
 margin-left: 15px;
 padding:0;
 box-sizing: border-box;
 white-space: nowrap;
 position:static;
}
#menu li.navlanguage a {
    display: inline-block;
    margin-right: 5px;
    transition: opacity 0.3s; /* 透明度の変化にアニメーションをつける */
    opacity: 1; /* 初期状態の透明度は1（不透明） */
    text-decoration: none; /* テキストの下線を消す */
}

/* ホバーされた時に全てのリンクの透明度を下げる */
#menu li.navlanguage:hover a{
    opacity: 0.5;
}

/* ホバーされているリンクの透明度を元に戻す */
#menu li.navlanguage a:hover{
    opacity: 1;
}
input[type=checkbox] {
  display: none; 
}
/* プルダウンメニューの基本スタイル */
#menu .pulldown{
     padding:0;
     width:70px;
}


#menu .dropdown-product,
#menu .dropdown-company {
    display: none;
    position: absolute;
    background-color: #fff;
    opacity:0.9;
    z-index: 1;
    padding:20px;
    border-radius: 5px;
    top: 43px;
    left:-9px;
    border:1px solid #d6d6d6;
}

#menu .dropdown-product li,
#menu .dropdown-company li {
    display: block;
    width: 140px;
    text-align:left;
    line-height: 1.7;
}

/* マウスオーバー時にプルダウンメニューを表示 */
#menu li:hover > .dropdown-product,
#menu li:hover > .dropdown-company {
    display: block;
}
.smalltxt{
 font-size: 0.857em;
}
@media screen and (max-width: 1159px) {
.global-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    transition: opacity 0.3s;
    z-index:1001;
    height: 50px;
}
.menu-container{
  padding-top:0;
  display:block;
  margin: 0;
  font-family: arial;
  width: 100vw;
  height: 50px;
  animation: bugfix infinite 1s;
  -webkit-animation: bugfix infinite 1s;
  position:relative;
  background-color: rgba(255, 255, 255, 0.9); /* 透明度90%の白 */
}
.header_logo-out{
 display:block;
}
.header_logo-out{
 width: 230px;
 float:left;
 position:absolute;
 top:8px;
 left:24px;
}
.header_logo-out a.fuji-txt {
    display: block;
    width: 184px;
    height: 33px;
    background-image: url('https://fuji-japan.jp/images/logo-bk.png');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

#menu{
 padding-top:0;
}

@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
#overlay-button {
  position: absolute;
  right: 1.357em;
  top: 1.286em;
  padding: 8px 4px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
  text-align: initial;
}
#overlay-button span {
  height: 2px;
  width: 25px;
  border-radius: 2px;
  background-color: #505050;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before, #overlay-button span:after {
  height: 2px;
  width: 25px;
  border-radius: 2px;
  background-color: #505050;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #fff;
}

input[type=checkbox] {
  display: none; 
}

input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);

}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}
/* メニューが開いている時のスタイル */
input[type=checkbox]:checked ~ #spmenu {
    background: #c0c0c0; /* 元の背景色に戻す */
    height: 100vh; /* 全画面の高さに戻す */
}

#overlay {
  height: 100vh;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 2;
  visibility: hidden;
  position: fixed;
}
#overlay .header_logo{
 width: 184px;
 height:33px;
 float:none;
 position:absolute;
 top:8px;
 left:24px;
 z-index: 10;
}
#overlay .header_logo a.fuji-txt{
 display: block;
 width: 184px;
 height: 33px;
 background-image: url('https://fuji-japan.jp/images/logo-bk.png');
 background-position: top center;
 background-size: cover;
 background-repeat: no-repeat;
}

#overlay ul#menu {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;  /* centerから変更 */
  flex-direction: column;
  text-align: left;
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size:1.214em;
  color: #505050;
  height: 100vh;
  width:80%;
  padding-left: 0;
  position:absolute;
  top:13%;
  left:20%;
  float:none;
}
#overlay ul#menu li {
  	padding-bottom: 15px;
    float: none;
    width: 100%;
    line-height: 1.7;
    text-align: left;
}

#overlay ul#menu li.sss{
    width: 100%;
}

#overlay ul#menu li a {
    color: #505050;
    text-decoration: none;
    position: relative; 
}
#overlay ul#menu li a:hover {
    opacity: 0.5; /* 透明度50% */
}
#overlay ul#menu .pulldown{
    cursor: pointer;
	display:block;
    color: #505050;
    padding:0 0 14px 0;
    margin:0;
}
#overlay ul#menu .dropdown-product {
    display: block;
    position: static;
    padding: 5px 0 0 17px;
    border-radius: 0;
    background-color:transparent;
    border:none;
}

#overlay ul#menu .dropdown-product li {
    width: 100%;
    line-height:1.2;
    font-size: 0.714em;
    padding-bottom: 10px;
}
#overlay ul#menu .dropdown-product li.nobottom{
 padding-bottom:0;
}
#overlay ul#menu .dropdown-company {
 display:none;
}

#overlay ul#menu .link-company-sp{
 dispaly:none;
}
/* ハンバーガーメニューアイコンの色 */
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after,
#overlay-button span, #overlay-button span:before, #overlay-button span:after {
  background: #505050;
}

/* メニュー内のリンク色 */
#overlay ul li a, #overlay ul li a:hover {
  color: #505050;
}
#overlay ul#menu li.becchu .indextopnav-link a,
#overlay ul#menu li.online .indextopnav-link a{
    color: #505050;
    display: inline;
}

#overlay ul#menu li.houjin{
 float: none;
 width: 60%;
 line-height: 1.7;
 text-align: left;
 border-top:1px solid #505050;
 background-image:url('https://fuji-japan.jp/images/icon-ft-mail.png');
 background-position: 5px 34px;
 background-repeat: no-repeat;
 background-size: 19px 14px;
 padding-top:25px;
 padding-bottom: 21px;
 padding-left:32px;
 margin-right:0;
 display:block;
}
#overlay ul#menu li.becchu{
 background-image:url('https://fuji-japan.jp/images/icon-ft-oemodm.png');
 background-position: 3px 6px;
 background-repeat: no-repeat;
 background-size: 23px 18px;
 padding-left:32px;
 padding-right: 0;
 padding-bottom: 16px;
 width: 100%;
 border: none;
 line-height: 1.7;
}
#overlay ul#menu li.online{
 background-image:url('https://fuji-japan.jp/images/icon-ft-online.png');
 background-position: left 3px;
 background-repeat: no-repeat;
 background-size: 22px 22px;
 padding-left:32px;
 padding-bottom:50px;
 padding-right: 0;
 width: 100%;
 border: none;
 margin-left: 0;
}

.navlanguagesp{
 font-size:0.813em;
 letter-spacing: 2px;
 padding-bottom:100px;
 text-align:left;
}
}



/*--------------------------------------------------------------
ボタンの固定
--------------------------------------------------------------*/
.fixed-buttons {
    position: fixed;
    right: 0;
    bottom: 13%;
    z-index: 9999; /* ボタンを最前面に保持する */
}

.rightfxbutton {
  width: 100px;
  height: 90px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: background-image 0.3s;
  margin-bottom: 10px;
}

/* oembuttonのスタイル */
.oembutton {
  background-image: url('https://fuji-japan.jp/images/bt-side-odmoem.png');
}

.oembutton:hover {
  background-image: url('https://fuji-japan.jp/images/bt-side-odmoem-hv.png');
}

/* shopbuttonのスタイル */
.shopbutton {
  background-image: url('https://fuji-japan.jp/images/bt-side-online.png');
}

.shopbutton:hover {
  background-image: url('https://fuji-japan.jp/images/bt-side-online-hv.png');
}

@media screen and ( max-width:768px ) {
.fixed-buttons {
    bottom: 13%;
}
  .oembutton, .shopbutton {
    width: 33px;
    height: 107px;
    background-size: cover;
  }
  .oembutton {
    background-image: url('https://fuji-japan.jp/images/bt-side-odmoemSP.png');
  }

  .oembutton:hover {
    background-image: url('https://fuji-japan.jp/images/bt-side-odmoemSP-hv.png');
  }

  .shopbutton {
    background-image: url('https://fuji-japan.jp/images/bt-side-onlineSP.png');
  }

  .shopbutton:hover {
    background-image: url('https://fuji-japan.jp/images/bt-side-onlineSP-hv.png');
  }
}

/*--------------------------------------------------------------
ボタンの固定
--------------------------------------------------------------*/

.scroll-button {
    background-image:url('https://fuji-japan.jp/images/scroll-bk.png');
    background-position: top center;
    background-size: 14px 146px;
    background-repeat: no-repeat;
    z-index: 1000;
    width: 14px;
    height:146px;
    position: absolute;
    left: 14%;
    bottom: 0;
    transform: translateY(-50%);
    cursor: pointer;
}
@media screen and ( max-width:768px ) {
.scroll-button{
 display:none;
}
}
/*----------------------------
404エラーページ
----------------------------*/
#main{
 padding-top:300px;
 width:60%;
 margin:0 auto 150px auto;
}

/*----------------------------
フッター
----------------------------*/
footer {
    background-color: #c0c0c0;
    color: #505050;
    padding: 56px 0 20px 0;
}

#footercontent{
 width:1005px;
 margin:0 auto 40px auto;
 text-align:left;
}
#footercontent:after{
 clear:both;
 content:"";
 display:table;
}
.footercolum01{
 width: 250px;
 float:left;
 background-image: url('https://fuji-japan.jp/images/logo-footer.png');
 background-repeat:no-repeat;
 background-position:left top;
 background-size: 58px 51px;
}
h2.sz16{
 font-size:1.143em;
 margin:0 0 5px 0;
 padding: 2px 0 0 75px;
}
.footerurl{
 font-size:0.857em;
 line-height: 1.4;
 padding: 0 0 0 75px;
}

.footercolum02{
 width: 345px;
 float:left;
 font-size:0.857em;
 padding-top: 5px;
}

.footercolum03{
 width: 100px;
 float:left;
}
ul.footerlink{
 width:100%;
 border-left:1px solid #969696;
 padding-left:10px;
 line-height:2.5;
 font-size:0.857em;
}
.footercolum04{
 width: 150px;
 float:left;
}
.footercolum05{
 width: 160px;
 float:left;
}
ul.footerlinkicon{
 width:100%;
 line-height:2.5;
 font-size:0.857em;
}
ul.footerlink a:hover,
ul.footerlinkicon li a:hover{
 color:white;
}
ul.footerlinkicon li.icon-phoneft{
 display:none;
}
ul.footerlinkicon li.icon-houjinft{
 padding-left:26px;
 background-image: url('https://fuji-japan.jp/images/icon-ft-mail.png');
 background-repeat:no-repeat;
 background-position:left 4px top 10px;
 background-size: 16px 12px;
}

ul.footerlinkicon li.icon-becchuft{
 padding-left:26px;
 background-image: url('https://fuji-japan.jp/images/icon-ft-oemodm.png');
 background-repeat:no-repeat;
 background-position:left 2px top 8px;
 background-size: 20px 16px;
}
ul.footerlinkicon li.icon-onlineft{
 padding-left:26px;
 background-image: url('https://fuji-japan.jp/images/icon-ft-online.png');
 background-repeat:no-repeat;
 background-position:left 0px top 6px;
 background-size: 20px 20px;
}
.legal{
 width:960px;
 margin:0 auto;
 text-align:right;
 font-size:0.857em;
}
@media screen and (min-width: 521px) and (max-width: 1005px) {
#footercontent{
 width:90%;
 margin:0 auto 40px auto;
 text-align:left;
}

.footercolum01{
   width: 100%;
   float:none;
}
.footercolum02{
 width: 100%;
 float:none;
 font-size:0.857em;
 margin-bottom:40px;
}

.legal{
 width:90%;
 text-align:left;
}
h2.sz16{
 padding-top: 0;
 line-height:1;
}
}

@media screen and ( max-width:520px ) {
#footercontent{
 width:90%;
 margin:0 auto;
 text-align:left;
}
.footercolum01,
.footercolum02,
.footercolum03,
.footercolum04,
.footercolum05 {
 float:none;
 width: 100%; /* 子要素の幅を100%に設定して、コンテナの幅全体に広げます。 */
 margin-bottom: 20px; /* 各アイテムの間にスペースを追加します。 */
}
.footercolum01{
 margin-bottom:10px;
}
.footercolum02{
 font-size:0.857em;
 padding-top:0;
}
ul.footerlink{
 border-left:none;
 padding-left:0;
 margin-bottom: 0;
}

.footercolum03{
 border-top:1px solid #969696;
 padding-top:15px;
 margin-bottom: 0;
}

.footercolum04{
 border-bottom:1px solid #969696;
 padding-bottom:15px;
 margin-bottom:15px;
}
h2.sz16{
 line-height:1;
}
ul.footerlinkicon li.icon-phoneft{
 padding-left:34px;
 background-image: url('https://fuji-japan.jp/images/icon-ft-phone.png');
 background-repeat:no-repeat;
 background-position:left 5px top 10px;
 background-size: 16px 16px;
 display:block;
}
ul.footerlinkicon li.icon-houjinft,
ul.footerlinkicon li.icon-becchuft,
ul.footerlinkicon li.icon-onlineft{
 padding-left:34px;
}
.legal{
 width:90%;
 text-align:left;
}
}


.searchform label.screen-reader-text{
 padding:20px 0;
}

.blue{color: #1194a0;}
.vit{ color:#fff;}
.spaceletter{    letter-spacing:2px;}


#page-top {
    display: none;

    position: fixed;
    right: 14px;
    bottom: 20px;

    z-index: 10000;

    color: #505050;
    text-decoration: none;

    writing-mode: vertical-rl;
    text-orientation: upright;

    letter-spacing: 1px;
	font-size: 12px;
    line-height: 1.2;

    background: transparent;
}

@media screen and (max-width: 768px) {
    #page-top {
        display: none !important;
    }
}
