@charset "utf-8";

/*
theme Name: Kiyaritei theme
Author: Kiyari-tei
Description: original theme
version： 0.12
*/

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
   font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
    color: #333;
    background: #fcfcfc;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

header .container {
  margin-top: 0px;
}

p {
  line-height: 1.8;
  margin: 0 0 30px;
}

p a {
  text-decoration: none;
}

footer {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    padding: 12px 0 0;
    color: #ffffff;
    background-color: #000000;
}

footer h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

footer p {
  padding-bottom: 16px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

footer img {
  max-height: 200px;
  margin-bottom: 1em;
}

#topImage {
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
}

.container {
  margin-top: 100px;
  margin-bottom: 100px;
}

.section {
  margin-bottom: 8em;
}

address {
    font-style: normal;
    padding-left: 18px;
    font-size: 80%;
}

.localNav nav ul {
  list-style: none;
  text-align: center;
}

.localNav nav ul li {
  display: inline;
}

/* heading */

h1 {
    font-size: 28px;
    font-weight: bold;
    color: #FF9562;
    margin-top: 0;
    margin-bottom: .25em;
    padding: 0;
    letter-spacing: .3em;
    line-height: 2;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    color: #FF9562;
    margin-top: 0;
    margin-bottom: 18px;
    padding: 0;
    letter-spacing: .2em;
    line-height: 2;
}

h2.tit {
  position: relative;
  padding-bottom: .2em;
}

h2.tit:before {
   content: '';
   position: absolute;
   bottom: 0;
   height: 2px;
   left: 50%;
   -webkit-transform: translateX(-50%);
   transform: translateX(-50%);
   width: 70px;
   background: #FF9562;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    color: #FF9562;
    margin-top: 0;
    margin-bottom: 18px;
    letter-spacing: .2em;
    line-height: 2;
}

footer h3 {
  color: #fff;
}

h3 + p {
  margin-top: 0px;
}

h4 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 18px;
    text-align: left;
    line-height: 2;
}

h5 {
  font-size: 14px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 18px;
}

/* */

#menu p {
  font-weight: bold;
}

#footerMenu ul li {
  display: inline;
}

#footerMenu ul li > a {
  font-size: 14px;
  font-weight: bold;
  padding-left: 14px;
  padding-right: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-right: 1px dotted #fff;
  transition: .4s;
}

#footerMenu ul li:last-child > a {
  border-right: none;
}

#footerMenu ul li > a:hover {
  text-decoration: underline;
}

#greetingBox, #kodawariBox {
  padding: 0;
  margin: 0 auto 6em;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}
#greeting, #kodawari {
  padding: 10px 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.6);
}

#greeting p,
#kodawari p {
  line-height: 1.8;
  letter-spacing: 2px;
}

.carousel-item img {
  width: 100%;
}

hr {
  margin: 100px auto;
}

a {
  color: #FF9562;
  transition: all 0.2s;
}

footer a {
  color: #fff;
  transition: all 0.2s;
  text-decoration: none !important;
}

a:focus, a:hover,
footer a:focus, footer a:hover {
  color: #fff462;
}

i {
  font-family: "Font Awesome 5 Free";
}

#floatingMenu {
    position: fixed;
    bottom: 0px !important;
    right: 0px;
    left: auto;
    margin: 0;
    z-index: 1111;
}

#floatingMenu div {
    display: table-cell;
    margin: 0;
    padding: 0;
}

#floatingMenu a {
  display: inline-block;
  width: 100%;
  height: auto;
  padding: 12px 24px;
  color: #ffffff;
  background-color: #FF9562;
  text-decoration: none;
}

#floatingMenu ul li a:hover {
  background-color: #fff462;
}

#news dt.date {
  font-weight: normal;
  word-break: keep-all;
}

dd.newmark:after {
  color: red;
  content: "New!";
  font-size: 96%;
  font-style: italic;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  border-bottom: #FF5252 1px solid;
  margin-left: 3px;
}

.news-date {
  display: inline-block;
  width: 160px;
}

.cate-badge {
  width: 200px;
  font-size: 90%;
  color: #ffffff;
  background-color: #343a40;
  padding: 3px 20px;
}

blockquote {
  font-style: italic;
  color: #868e96;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  margin-top: 60px;
}

.caption {
  font-size: 14px;
  display: block;
  font-weight: 500;
  margin: 0;
  padding: 0;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.maincontent {
  margin: 0;
  padding: 0;
}

.maincontent #menu img {
  border-radius: 20px;
  transition: 1s;
}

.maincontent img.bg_bs {
  box-shadow: 10px 10px #ccc;
}

.keyv {
  margin: 0;
  padding: 0;
  z-index: 11;
}

.keyv img {
  width: 100%;
}

::-moz-selection {
  color: #fff;
    background: #455765;
  text-shadow: none;
}

::selection {
  color: #fff;
    background: #455765;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

.navbar-toggler{
  border: none;
}

.navbar-toggler:active{
  outline: none;
}

button:focus{
  outline: none;
}

nav {
  padding: 0 !important;
}

#mainNav {
  padding: 0;
  border-bottom: 1px solid #e9ecef;
  background-color: rgba(255, 255, 255, 0.8);
}

.fixed-top {
  margin: 0 !important;
}

#mainNav .navbar-brand {
  font-weight: 800;
  color: #FF9562;
  padding: 0 10px;
}

#mainNav .navbar-toggler {
  font-size: 14px;
  padding: 13px;
  text-transform: uppercase;
  color: #FF9562;
  font-weight: bold;
}

#mainNav .navbar-nav > li.nav-item > a {
  font-size: 14px;
  font-weight: bold;
  text-shadow: 1px 1px 6px #ffffff, -1px -1px 6px #ffffff;
  letter-spacing: 1px;
  color: #FF9562;
  text-decoration: none;
  border-right: 1px dotted #FF9562;
  transition: .4s;
}

#mainNav .navbar-nav > li.nav-item:last-child > a {
  border-right: none;
}

#mainNav .navbar-nav > li.nav-item > a:hover {
  color: #fff;
  background-color: #FF9562;
  text-shadow: none;
}

.headderBg {
  background: rgba(255,255,255,0.9) !important;
}

/* scale-imagge */

.scaleBox {
  width: 100%;
  height: auto;
  overflow: hidden;
  }

.scaleImg {
  width: 100%;
  height: auto;
  transition-duration: 0.5s;
  }

.scaleImg:hover {
  transform: scale(1.2,1.2);
  cursor: pointer;
  }

/* BannerArea */

#bannerArea .bannerBox {
  width: 380px;
  height: 250px;
  background-color: #555;
}

dl.flat {
    display: flex;
    flex-wrap: wrap;
}

dl.flat > dt {
    width: 33%;
    height: auto;
    margin-bottom: 18px;
    vertical-align: middle;
}

dl.flat > .seibun {
    min-width: 200px;
    text-align: center;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

dl.flat > dd {
    margin-top: -8px;
    margin-left: auto;
    margin-bottom: 1.6rem;
    width: 63%;
}

/* notes */

p.notes,
ul.notes {
    color: #666;
    font-size: 90%;
    text-align: left;
    margin: 0;
    padding: 0;
}

ul.notes li {
    list-style: none;
}

ul.notes li span {
    margin-right: .1rem;
}

/* table */

.row table {
  margin: 0 auto 2rem;
  text-align: center;
}

table {
    width: 100%;
    max-width: 900px !important;
    border-radius: 20px;
    border-collapse: separate;
    border-spacing: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: #000000;
}

table th {
    border: 2px solid #FF9562 !important;
    background: #F7F8F8;
    text-align: center;
    letter-spacing: 2px;
}

table th.head {
  padding: 1em 0;
  color: #fff;
  background: #FF9562;
}

table th.chck {
  background: #FFEBE2;
}

table td {
    text-align: left;
    padding: 8px 8px 8px 20px;
    background: #fff;
    border: 2px solid #FF9562 !important;
    text-align: center;
    letter-spacing: 2px;
}

br.pc {
  display: block;
}


br.smd {
  display: none;
}


@media only screen and (min-width: 992px) {
  #mainNav {
    border-bottom: 1px solid transparent;
    background: #fff;
  }

  #mainNav .pages {
    border-bottom: 1px solid transparent;
    background: #fff;
  }

  #mainNav .navbar-brand {
    padding: 10px 20px;
    color: #fff;
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: rgba(255, 255, 255, 0.8);
  }
  #mainNav .navbar-nav > li.nav-item > a {
    padding: 4px 20px;
    color: #FF9562;
  }
  #mainNav .navbar-nav > li.nav-item > a:focus, #mainNav .navbar-nav > li.nav-item > a:hover {
    color: rgba(255, 255, 255, 0.8);
  }
}

@media only screen and (min-width: 992px) {

  #mainNav {
    transition: background-color 0.2s;
    transform: translate3d(0, 0, 0);
    background-color: rgba(255, 255, 255, 0.8);
  }

  #mainNav.is-fixed {
    position: fixed;
    top: 0px;
    transition: transform 0.2s;
    border-bottom: 1px solid white;
    background-color: rgba(255, 255, 255, 0.9);
  }

  #mainNav.is-fixed .navbar-brand {
    color: #212529;
  }

  #mainNav.is-fixed .navbar-brand:focus, #mainNav.is-fixed .navbar-brand:hover {
    color: #fff462;
  }

  #mainNav.is-fixed .navbar-nav > li.nav-item > a {
    color: #212529;
  }

  #mainNav.is-fixed .navbar-nav > li.nav-item > a:focus, #mainNav.is-fixed .navbar-nav > li.nav-item > a:hover {
    color: #0085A1;
  }

  #mainNav.is-visible {
    transform: translate3d(0, 100%, 0);
  }

}

header.masthead {
  background: no-repeat center center;
  background-attachment: scroll;
  position: relative;
}

header.masthead img {
  margin: 0;
  padding: 0;
}

header.pages {
  position: relative;
  width: 100%;
  height: 300px;
  color: #FF9562;
  background-color: #e5e5e5;
  background-clip: border-box;
  background-size: cover;
  font-weight: bold;
  overflow: hidden;
}

header.pages .page-tit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  z-index: 1111;
  margin-top: 5%;
  font-weight: bold;
}

header.pages .page-tit h2.tit {
  margin-bottom: 0;
}

header.pages .page-tit p.subtit {
  margin-top: 0;
}

header.pages .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #222;
  opacity: 0.6;
  z-index: 90;
}

/* btn */

.btn,
input[type="submit"] {
  font-size: 14px;
  font-weight: 800;
  padding: 10px 35px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FF9562;
  background-color: #fff;
  border-color: #FF9562;
  border-radius: 0;
}

input[type="submit"].btn_cf7 {
  width: 200px;
  margin: 2rem 0;
}

.btn:hover, .btn:focus, .btn:active {
  color: #fff;
  background-color: #FF9562;
  border-color: #FF9562;
  transition: all 1s ease-out;
}

a.btn,
input[type="submit"].btn_cf7,
button[type="button"] {
  color: #FF9562;
  display: inline-block;
  position: relative;
}

a.btn:hover,
button[type="button"]:hover {
  background: #fff;
  color: #FF9562 !important;
}

.btnWrap {
  text-align: center;
  margin: 2rem auto;
}

/* link box */

#company {
  position: relative;
}

.linkBox {
  margin-bottom: 2rem;
}

.linkBox a {
display: block;
width: 100%;
height: 100px;
background-color: #aaa;
color: #fff;
font-weight: bold;
text-decoration: none;
}

.linkBox a:hover {
background-color: #FF9562;
color: #fff;
transition: all 1s ease-out;
}

.linkBox span {
position: absolute;
top: 50%;
left: 50%;
font-size: 18px;
letter-spacing: 2px;
transform: translateY(-50%) translateX(-50%);
-webkit- transform: translateY(-50%) translateX(-50%);
}

.anchorlinkTop {
  display: block;
  padding-top: 100px;
  margin-top: -100px;
}

/* content Box */

#kodawariBox {
  padding: 0;
  background: url("https://kiyaritei.com/wp/wp-content/themes/kiyariteiTheme/images/bg_01.jpg");
  background-clip: border-box;
  background-attachment: scroll;
  background-origin: content-box;
}

#companyBox {
  padding: 10px 0;
  background: url("/test/kiyari/images/img_company01.jpg");
  background-clip: border-box;
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
}

#factoryBox {
  padding: 10px 0;
  background-color: #e5e5e5;
  background-clip: border-box;
  background-attachment: scroll;
  background-origin: content-box;
}

.box1 {
  -webkit-box-ordinal-group:1;
  -ms-flex-order:1;
  -webkit-order:1;
  order:1;
}

.box2 {
  -webkit-box-ordinal-group:2;
  -ms-flex-order:2;
  -webkit-order:2;
  order:2;
}

.box3 {
  -webkit-box-ordinal-group:4;
  -ms-flex-order:4;
  -webkit-order:4;
  order:4;
}

.box4 {
  -webkit-box-ordinal-group:3;
  -ms-flex-order:3;
  -webkit-order:3;
  order:3;
}

@media screen and (max-width: 1024px) {

#cartForm label {
  vertical-align: middle;
  float: left;
  position: relative;
  top: 10px;
  left: 0px;
  margin-right: 20px;
  margin-left: 0px;
  margin-bottom: 10px;
}

}

@media screen and (min-width: 600px) {

  .box3 {
    -webkit-box-ordinal-group:3;
    -ms-flex-order:3;
    -webkit-order:3;
    order:3;
  }

  .box4 {
    -webkit-box-ordinal-group:4;
    -ms-flex-order:4;
    -webkit-order:4;
    order:4;
  }

}

#backtoTop {
  position: absolute;
  right: 20px;
  margin-top: 0px;
}

#backtoTop a:hover {
  color: #FF9562;
}

/* SNS Button */

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

#snsButton ul li {
  font-size: 200%;
  display: inline-block;
  margin: 0 .5rem;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flexbox::after {
    content:"";
    display: block;
    width: 30%;
  }

  .text-content {
    padding: 16px;
  }

  .text-content .title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: bold;
  }

  .text-content .caption {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #555;
    font-weight: lighter;
  }

/* icon */

.elink a[href^="http://"]:after {
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  content: '\f35d';
  font-weight: 900;
}

.elink a[href^="https://"]:after {
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  content: '\f35d';
  font-weight: 900;
}

a[href^="https://kiyaritei.com"]:after,
a[href^="https://www.facebook.com/"]:after,
a[href^="https://www.instagram.com/"]:after {
  content: none;
}

a[href^="https://goo.gl/"]:after {
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  content: '\f5a0';
  font-weight: 900;
}

a[href$=".pdf"]:after {
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  content: '\f1c1';
  font-weight: 900;
}

.anchorlink:after {
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  content: '\f107';
  font-weight: 900;
}

.pagelink:after {
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  content: '\f105';
  font-weight: 900;
}

/* MAP */

.map {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* SWIPER */

.swiper {
  margin: 0;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.swiper-slide {
  text-align: center;
  box-sizing: border-box;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swiper-slide img {
  height: auto;
  width: 100%;
}

.swiper-button-next, .swiper-button-prev {
  color: #FF9562;
}

.swiper-pagination-bullet {
  background-color:#FF9562;
  width: 10px;
  height: 10px;
  transition: .5s linear;
}

.swiper-pagination-bullet-active {
  background-color: #FF9562;
  width: 10px;
  height: 10px;
  transition: .5s;
}

@media only screen and (max-width: 991px) {

.nav-item {
  border-bottom: #e5e5e5 solid 1px !important;
  border: 0;
  padding-left: 1em;
}

.nav-item:hover {
  background-color: ##e5e5e5;
  color: #fff;
}

}

@media only screen and (max-width: 600px) {

.swiper-slide {
  width: 50% !important;
  height: 30vh !important;
}

 .navbar {
    margin: 0;
    padding: 0 1rem;
  }

  #mainNav .navbar-nav > li.nav-item > a {
    border-right: none;
    text-align: center;
  }

  a.btn:hover, button[type="button"]:hover {
      background: #fff;
      color: #FF9562;
  }

.nav-item {
  border-bottom: #e5e5e5 solid 1px !important;
  border: 0;
}

.nav-item:hover {
  background-color: ##e5e5e5;
  color: #fff;
}

}

@media only screen and (max-width: 400px) {

.swiper {
  display: none;
} 

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

br.pc {
  display: none;
}


br.smd {
  display: block;
}

}


/* clearfix */

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

.clearfix:before {
    content: "";
    display: block;
    clear: both;
}

.clearfix {
    display: block;
}
