@charset "utf-8";

/* 共通部分
---------------------- */

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  -webkit-text-size-adjust: 100%;
  font-family: 'Shippori Mincho', serif;
  line-height: 1.8;
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
}

img,
video{
  max-width: 100%; /* 横幅：レスポンシブの設定 */
  height: auto; /* 高さ：横幅の比率に合わせる */
  vertical-align: bottom; /* 画像下の隙間をトル */
}

#logo_official {
  position: absolute;
  top: 8px;
  right: 8px;
}

#logo_text {
  position: absolute;
  bottom: 115px;
  right: 0px;
}

#last_c_space {
  height: 300px;
}

.fadein {
  opacity : 0;
  transform: translateY(20px);
  transition: all 1s;
}


.pc,
.pc_text {
  display: none;
}

/* 共通
---------------------- */
.space20{
  height: 20px;
}
.space30{
  height: 30px;
}
.space50{
  height: 50px;
}
.space80{
  height: 80px;
}
.space200{
  height: 200px;
}
.separate40{
  height: 40px;
  border-bottom: 1px dotted #666;
  margin-bottom: 40px;
}

/*=================================
スライダーのためのcss
===================================*/
.mini_slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.mini_slider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}

.mini_slider{
  margin-top: 20px;
}



  /* インデックス
---------------------- */
.merit {
  /* display: flex;
  gap: 30px;
  border-bottom: 1px dotted #666; */
  border: 2px solid #888;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
}
.sm_float{
  float: right;
}
.merit_title{
  margin-top: 60px;
  margin-bottom: 0px;
  font-size: 16px;
  height: 30px;
  padding-top: 0px;
  color:#fff;
  background:#888;
  text-align:center;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight:normal;
  border-radius: 10px 10px 0 0 ;
}
.merit_point {
  text-align: center;
  margin: 0 auto;
  border-bottom: 1px dotted #666;
}
.merit_point_last {
  text-align: center;
  margin: 0 auto;
  border-bottom: 0;
}
.point_title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
}
.point_text {
  font-size: 15px;
  text-align: left;
  width: 100%;
  padding-bottom:20px;
  
}

@media (max-width: 767px) {
.wrapper{
  width: 100%;
  padding: 0 20px;
}

header {
	background:url(../images/smtop_back.jpg) repeat;
}
#sm_top_title {
	height: 60px;
}
#sm_top_title_logo{
	text-align: center;
	padding-top: 5px;
}
#sm_top_deco_left {
	position:absolute;
	left: 0;
	top: 0;
}
#sm_top_deco_right {
	position:absolute;
	right: 0;
	top:9px;
}

#contents_nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
  gap: 40px;
}
#contents_nav li {
  list-style: none;
  height:26px;
  line-height:26px;
  font-size:20px;
}
#contents_nav li a {
  display: inline-block;
  width: 160px;
  color:#fff;
  padding: 10px 0;
  background-color: #666;
  border-radius: 10px;
}
#order_nav{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 60px;
}
#order_category{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align:center;
  gap: 12px;
  list-style: none;
  font-size: 19px;
}
#order_category li a {
  text-align: left;
  display: inline-block;
  width: 300px;
  color:#000;
  padding: 1px 0;
  padding-left: 12px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 10px;
}
#order_category li p {
  text-align: right;
  padding-right: 10px;
}
#order_category li p small {
  font-size: 16px;
}
#order_all {
  width: 100%;
  background:url(../images/bar500.png) repeat-y left 0;
}
#order1,
#order2,
#order3,
#order4,
#order5{
  border: 1px solid #333;
  margin-bottom: 30px;
  padding: 20px;
  background:#fff;
}
.order_contents{
  margin-top: 10px;
}
.order_image,
.order_image2{
  margin: 15px 0 0;
}
.order_title{
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 18px;
  height: 35px;
  padding-top: 0px;
  color:#000;
  background:#fff;
  text-align:left;
  font-weight:bold;
  font-size: 18px;
}
.order_title .memo{
  font-size: 16px;
  font-weight: normal;
}
.order_midashi{
  font-size: 17px;
  background-color: #fff;
  color: #000;
  width: 130px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #000;
  margin: 15px 0 10px;
}
.making{
  margin-left: 100px;
  border: 2px dotted #888;
  border-radius: 20px;
  margin-bottom: 30px;
  padding: 20px;
}
.making_midashi{
  font-size: 17px;
  background-color: #bbb;
  color: #000;
  width: 170px;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 10px;
}
.making_image{
  display: flex;
  flex-direction: column;
  gap:20px;
  margin-top:15px;
}



#question_nav{
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#question_category{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
  list-style: none;
  font-size: 18px;
}
#question_category li a {
  display: inline-block;
  width: 300px;
  color:#000;
  padding: 6px 0;
  background-color: #ccb8c7;
  border-radius: 10px;
}

.profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  clear: both;
}
.profile_photo {
  /* flex: 0 0 160px; */
  width: 160px;
}
.profile_photo img {
  border-radius: 50%;
}
.profile_text {
  font-size: 13px;
}
.profile_text .name {
  padding-bottom: 5px;
  border-bottom: 1px dotted #333;
  margin-bottom: 10px;
}


#footer {
  height: 110px;
  padding-left: 20px;
  padding-top: 10px;
  background: url(../images/footer_back.jpg);
  color: #fff;
  position: relative;
}
#footer_contact {
  margin-top:13px;
  background:#fff;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size:16px;
  width:222px;
  height: 36px;
  line-height:33px;
  border-radius : 18px;
  text-align:center;
}
#footer small{
  font-size: 12px;
  position:absolute;
  bottom: 12px;
}
#footer::before {
  content: url(../images/himeji_castle.png);
  display: block;
  position: absolute;
  right: 20px;
  bottom: 102px;
}
#footer_comment {
  position:absolute;
  bottom: 175px;
  right: 215px;
  color:#000;
  font-size: 13px;
  text-align:center;
}

/*========= ナビゲーションのためのCSS ===============*/
/* スマホ ========= */
/* ナビゲーションのためのCSS */

#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  bottom: -120%;
  left: 0;
  width: 100%;
  height: 100vh;
  /*ナビの高さ*/
  background-color: #fff;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  bottom: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*font-family: 'Shippori Mincho', serif;*/
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

#ul-last-space {
  height: 100px;
}

/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: left;
  padding-left:55px;
  width: 300px;
  position: relative;
}

#g-nav li a {
  padding: 0 10px;
  margin: 15px 0;
  display: block;
  height: 36px;
  border-radius: 5px;
  font-size: 18px;
}
#g-nav .sns-icon {
  text-align: center;
  padding: 15px 0;
  height: 80px;
  line-height:10px;
}
#g-nav .sns-icon a {
  background: none;
  border: none;
  display: inline;
}

#g-nav .menu_contact{
  position: relative;
  text-align: center;
}
#g-nav .menu_contact a {
  background: #555;
  width: 240px;
  height: 40px;
  border: none;
  color: #fff;
  font-weight: normal;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index:9999;
}
#g-nav .line240 {
  width: 240px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-top: 1px dotted #666;
}
#g-nav .line240_space {
  padding-top: 10px;
}
#g-nav .inline_img{
  vertical-align : 2px;
}


/* ========= ボタンのためのCSS ========= */
.openbtn {
  display:block;
  margin: 0;
  padding: 0;
  cursor: pointer;
  /* ポインタを手に変える */
  position: fixed;
  z-index: 9990;
  /*ボタンを最前面に*/
  right: 0px;
  bottom: 0px;
}
.openbtn::before {
  content: url(../images/open_button.png);
  width: 136px;
  height: 108px;
  position: fixed;
  right: 0px;
  bottom: 0px;
}

.openbtn.active::before {
  content: url(../images/open_button2.png);
  width: 136px;
  height: 108px;
}


/*========= スマホ =========*/
h1{
  text-align: center;
  font-size: 20px;
  color:#000;
  margin-top: 14px;
  margin-bottom: 14px;

}

/*========= スマホ版トップ画像 ===============*/

#box1 {
  background: url(../images/photo_box1.jpg) no-repeat center/cover;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
}


.brand_photo_sm {
  margin-top: 30px;
  margin-bottom: -20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}



}

/*========= ページトップリンクのためのCSS ===============*/
/*リンクの形状*/


/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(0);
  }
  to {
  	opacity: 0;
	transform: translateY(100px);
  }
  
  


}


/* --------------------------------------------------------------- */
/* PC版
------------------------------------------------------------------ */
@media (min-width: 768px) {
.sm {
  display: none;
}
.pc {
  display: block;
}
.pc_text{
  display: inline-block;
}
.wrapper{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 50px;
}
#logo_official{
	position:absolute;
	top:5px;
	left:5px;
}
#logo_text {
  position: absolute;
  top: 30px;
  right: 10px;
}
header {
	background:url(../images/pctop_back.jpg) repeat;
}
#pc_top_title {
	height: 135px;
}
#pc_top_title_logo{
	text-align: center;
	padding-top: 10px;
}
#pc_top_deco_left {
	position:absolute;
	left: 0;
	top: 0;
}
#pc_top_deco_right {
	position:absolute;
	right: 0;
	bottom: 0;
}
.header_text {
  position: absolute;
  top: 30px;
  right: 70px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 2rem;
  font-weight: bold;
}
header{
  position:relative;
}
#header_menu ul{
  list-style: none;
  display: flex;
  position:absolute;
  right: 30px;
  top: 10px;
  font-size:12px;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  
}
#header_menu ul li {
  border-left:1px solid #fff;
  color:#fff;
  padding:0 10px;
}
#header_menu ul li a {
  color:#fff;
}
#header_mypage{
  border-right:1px solid #fff;
}
/* PCナビバー
---------------------- */
nav{
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  height:40px;
  line-height:40px;
  font-size:15px;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  display: flex;
  justify-content: center;
}
/*ナビゲーションを横並びに*/
nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul li{
  position: relative;
  border-left:1px solid #993d7f;
  /*border-left:1px solid #583E50;*/ /* 黒に見えるので色調整 */
  color:#583E50;
  padding:0 10px;
}

.nav_first {
  border-left: none;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
  display:inline-block;
  color:#590040;
  /*color:#583E50;*/ /* 黒に見えるので色調整 */
  display: block;
  height:30px;
  line-height: 30px;
  text-decoration: none;
}
.nav_sns{
  display:flex;
}
.nav_sns a {
  padding:0 5px;
}
.nav_contact p{
  position:absolute;
  color:#fff;
  top: 2px;
  left: 48px;
}


h1{
  margin-top: 27px;
  margin-bottom: 27px;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}


.merit {
  display: flex;
  gap: 30px;
  border-bottom: 1px dotted #666;
  border: 2px solid #888;
  padding: 30px 30px 0 ;
  border-radius: 0 0 10px 10px;
  margin-bottom: 30px;
  justify-content: space-between;
}
.merit_title{
  margin-top: 60px;
  margin-bottom: 0px;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 16px;
  height: 30px;
  padding-top: 0px;
  color:#fff;
  background:#888;
  text-align:center;
  font-weight:normal;
  border-radius: 10px 10px 0 0 ;
}
.merit_point {
  text-align: center;
  margin: 0 auto;
  border-bottom: 0;
}
.merit_point_last {
  text-align: center;
  margin: 0 auto;
  border-bottom: 0;
}
.merit_point,
.merit_point_last {
  width : calc(100% / 3) ;
}
.point_title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
}
.point_text {
  font-size: 15px;
  text-align: left;
  width: 100%;
  padding-bottom:30px;
  
}


#contents_nav {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
  gap: 30px;
}
#contents_nav li {
  list-style: none;
  height:26px;
  line-height:26px;
  font-size:18px;
}
#contents_nav li a {
  color:#000;
  padding: 10px 15px;
  background-color: #ccc;
  border-radius: 10px;
}
#contents_nav li a:hover {
  background-color: #aaa;
}

#order_nav{
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 60px;
}
#order_category{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align:center;
  gap: 12px;
  list-style: none;
  font-size: 19px;
}
#order_category li a {
  text-align: left;
  display: inline-block;
  width: 300px;
  color:#000;
  padding: 1px 0;
  padding-left: 12px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 10px;
}
#order_category li p {
  text-align: right;
  padding-right: 10px;
}
#order_category li p small {
  font-size: 16px;
}
#order_all {
  width: 100%;
  background:url(../images/bar500.png) repeat-y left 0;
}
#order1,
#order2,
#order3,
#order4,
#order5{
  border: 1px solid #333;
  margin-bottom: 30px;
  padding: 20px;
  background:#fff;
  clear:both;
}
.order_contents{
  width:100%;
  margin-top: 0px;
  display: flex;
  gap: 20px;
}

.order_image{
  margin: 15px 0 0px;
  flex:0 0 450px;
}
.order_image2{
  margin: 8px 0 0;
  flex:0 0 450px;
}
.order_text{
  flex: 1 1 auto;
}
.order_title{
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 18px;
  height: 35px;
  padding-top: 0px;
  color:#000;
  background:#fff;
  text-align:left;
  font-weight:bold;
  font-size: 18px;
}
.order_title .memo{
  font-size: 16px;
  font-weight: normal;
}
.order_midashi{
  font-size: 17px;
  background-color: #fff;
  color: #000;
  width: 130px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #000;
  margin: 15px 0 10px;
}
.making{
  margin-left: 100px;
  border: 2px dotted #888;
  border-radius: 20px;
  margin-bottom: 30px;
  padding: 20px;
}
.making_midashi{
  font-size: 17px;
  background-color: #bbb;
  color: #000;
  width: 170px;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 10px;
}
.making_image{
  width:100%;
  display: flex;
  gap: 20px;
  margin-top: 15px;
}


#question_nav_pc{
  margin-top: 0px;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.question_category{
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 30px;
  font-size: 18px;
  list-style: none;
}
.question_category li a {
  display: inline-block;
  width: 300px;
  color:#000;
  padding: 6px 0;
  background-color: #ccb8c7;
  border-radius: 10px;
}
.question_category li a:hover {
  background-color: #b3a1ad;
}

.profile {
  display: flex;
  gap: 20px;
  clear: both;
}
.profile_photo {
  flex: 0 0 160px;  
}
.profile_photo img {
  border-radius: 50%;
}
.profile_text {
  font-size: 13px;
}
.profile_text .name {
  padding-bottom: 5px;
  border-bottom: 1px dotted #333;
  margin-bottom: 10px;
}

#footer {
  height: 110px;
  background: url(../images/footer_back.jpg);
  color: #fff;
  position: relative;
  text-align:center;
  padding-top: 17px;
}
#footer::before {
  content: url(../images/himeji_castle.png);
  display: block;
  position: absolute;
  right: 20px;
  bottom: 102px;
}
#footer_comment {
  position:absolute;
  bottom: 175px;
  right: 215px;
  color:#000;
  font-size: 13px;
  text-align:center;
}

#footer_nav {
  height:40px;
  line-height:40px;
  font-size:15px;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}
#footer_nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}
#footer_nav ul li{
  position: relative;
  border-left:1px solid #fff;
  color:#fff;
  padding:0 10px;
}
#footer_nav .nav_first {
  border-left: none;
}
/*ナビゲーションのリンク設定*/
#footer_nav ul li a{
  display:inline-block;
  color:#fff;
  display: block;
  height:30px;
  line-height: 30px;
  text-decoration: none;
}
#footer_nav .nav_sns{
  display:flex;
}
#footer_nav .nav_sns a {
  padding:0 5px;
}
#footer_nav .nav_contact p{
  position:absolute;
  color: #000;
  top: 2px;
  left: 48px;
}

#footer small{
  font-size: 14px;
}


/*.brand_photo {
  display: flex;
}*/
/*.photo_space {
  flex: 0 0 50%;
}*/
/* スライダー（トップページ） */
.bx-slider {
	width: 100%;
}

#width-limit {
	max-width: 1913px;
	margin: 0 auto;
}

/* スライダーの枠線の削除 */
.bx-wrapper {
	background-color: transparent;
	margin: 0;
	border: none;
	box-shadow: none;
	width: 100%;
}

.bx-wrapper img {
	display: block;
	margin: 0;
}

}


