@charset "utf-8";
/*
Theme Name: Kyotoseiki
Author: DIGITRUE
Description: Kyotoseiki スタイルシート
Version: 1.1.0
*/


/* カスタムプロパティ
------------------------------------------------------------------------------------------- */


:root {
  /* font-size設定 */
  --f64: clamp(2rem, 5vw, 4rem);
  /*1280px以上は64pt、640px以下は32px、その間は可変*/
  --f36: clamp(1.13rem, 2.81vw, 2.25rem);
  /*1280px以上は36pt、640px以下は18px、その間は可変*/
  --f24: clamp(0.9rem, 1.875vw, 1.5rem);
  /*1280px以上は24pt、640px以下は14.4px、その間は可変*/
  --f20: clamp(0.75rem, 1.563vw, 1.25rem);
  /*1280px以上は20pt、640px以下は12px、その間は可変*/
  --f16: clamp(0.625rem, 1.25vw, 1rem);
  /*1280px以上は16pt、640px以下は10x、その間は可変*/
  --f14: clamp(0.625rem, 1.09vw, 0.875rem);
  /*1280px以上は14pt、640px以下は10x、その間は可変*/
  --f12: clamp(0.56rem, 0.94vw, 0.75rem);
  /*1280px以上は14pt、640px以下は9x、その間は可変*/
  --sm-font-size: 4.375vw;
  /*スマホの基準サイズ*/

  /* カラー */
  --base-color: #5b5c5e;
  --key-color: #ec4d37;
  --rgb-color: 236, 77, 55; /* RGBカラー */
  --text-color: #333;

  --gray-color: #f8f8f8;
}


/* 基本
------------------------------------------------------------------------------------------- */


/*-- cssのリセット -----*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,
blockquote,pre,abbr,address,cite,code,del,dfn,em,img,
ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,
ol,ul,li,fieldset,form,label,legend,table,caption,
tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,
figcaption,figure,footer,header,hgroup,menu,nav,section,
summary,time,mark,audio,video {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0;
  outline: 0;
  background: transparent;
}

html {
  background-color: #FFF;
  overflow-y: scroll;
  overflow-x: hidden;
}

body {
  position: relative;
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  color: var(--text-color);
  font-size: var(--sm-font-size);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-ideograph;
  -webkit-text-size-adjust: none;
  overflow-wrap: break-word;
  background-color: #FFF;
}

@media screen and (min-width: 960px) {
  body {
    font-size: var(--f16);
  }
}

li {
  list-style: none;
}

p {
  margin: 1em 0;
}
p.no-margin {
  margin: 0;
}

strong {
}

::selection {
  background-color: var(--key-color);
  color: #FFF!important;
}


/*-- スマホ・PCの表示切り替え -----*/
br.pc {
  display: none;
}

span.pc,
div.pc {
  display: none;
}


@media screen and (min-width: 960px) {
  br.sm {
    display: none;
  }
  br.pc {
    display: block;
  }

  span.pc {
    display: inline;
  }
  span.sm,
  div.sm {
    display: none;
  }
  div.pc {
    display: block;
  }

}


/*-- フォントサイズ -----*/
h1, h2, h3, h4, h5 {
  font-weight: normal;
}
.main-title {
  font-size: 180%;
  line-height: 1;
  margin: 0;
}

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

  .main-title {
    font-size: 280%;
  }

}


/*-- 画像イメージ -----*/
svg {
  width: 100%;
  height: auto; /* アスペクト比を保つ */
  display: block; /* 余計な余白をなくす */
}

img {
  max-width: 100%;
  width: auto;
  height: auto;
  border: 0;
  vertical-align: bottom;
  margin: 0;
  padding: 0;
}

@media screen and (min-width: 960px) {
  .item img {
    max-width: 960px;
    max-height: 640px;
  }
}


/*-- リンク -----*/
a {
  position: relative;
  display: inline-block;
  color: var(--key-color);
  text-decoration: none;
  transition: 0.4s ease;
}

/*-- リンク画像 -----*/
a.img {
  transition: .2s ease;
}
a.img:hover {
  opacity: .8;
}

/*-- リンク下線付き -----*/
a.border {
  font-size: 85%;
  letter-spacing: 0.1em;
  /*vertical-align: middle;*/
}
a.border.ja {
  font-size: 100%;
  letter-spacing: 0;
}
a.border::after,
.article-main a:not([rel*="shadowbox"])::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  border-bottom: solid 1px var(--key-color);
  transition: 0.4s ease;
}
a.border:hover::after,
.article-main a:hover::after {
  width: 100%;
}

/*-- リンクアイコン矢印 -----*/
a.arrow {
  font-size: 85%;
  letter-spacing: 0.1em;
  vertical-align: top;
}
a.arrow.ja {
  font-size: 100%;
  letter-spacing: 0;
}
a.arrow::before {
  content: '';
  display: inline-block;
  left: 0.5em;
  width: 0.5em;
  height: 0.5em;
  border-top: 1px solid var(--key-color);
  border-right: 1px solid var(--key-color);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-right: 0.7em;
  margin-bottom: 0.05em;
}

/*-- リンクアイコン三角 -----*/
a.triangle,
a.re-triangle {
  position: relative;
  font-size: 85%;
  letter-spacing: 0.1em;
}
a.triangle.ja,
a.re-triangle.ja {
  font-size: 100%;
  letter-spacing: 0;
}
a.triangle::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: .4em solid transparent;
  border-bottom: .4em solid transparent;
  border-left: .6em solid var(--key-color);
  margin-right: .5em;
}

a.re-triangle {
  padding-right: 1.2em;
}
a.re-triangle::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-55%);
  width: 0;
  height: 0;
  border-top: .4em solid transparent;
  border-bottom: .4em solid transparent;
  border-left: .6em solid var(--key-color);
}

/*-- リンクボタン -----*/
.btn {
  width: 100%;
  text-align: center;
}
.btn a {
  display: inline-block;
  color: #FFF;
  height: 3.5em;
  line-height: 3.5;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  background-color: var(--key-color);
  border: 1px var(--key-color) solid;
  padding: 0 3em 0 3.5em;
  margin: 1.5em 0 0 0;
  transition: 0.2s ease;
}
.btn a:hover {
  color: var(--key-color);
  background-color: #FFF;
}
.btn a::after {
  content: '>';
  display: inline-block;
  font-size: 105%;
  line-height: 1;
  margin: -0.25em 0 0 1em;
}


/* html, body, wrapper, main ページの高さを画面いっぱいに
------------------------------------------------------------------------------------------- */

/*-- ヘッダーの高さ -----*/
:root {
  --header-height: 3.8em;
}

@media screen and (min-width: 960px) {
  :root {
    --header-height: 6em;
  }
}

html, body {
  height: 100%;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  margin-top: var(--header-height);
}


/* header
------------------------------------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #FFF;
  box-shadow: .2vw 0 .2em rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.header {
  width: 100%;
  margin: 0 auto;
}
.site-title {
  width: calc(100% - 6em);
  padding: .7em 1.2em .7em .8em;
  box-sizing: border-box;
  margin: 0;
}
.site-title a {
  width: 100%;
}
.site-title a img {
  width: 100%;
  height: auto;
}


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

  header {
    height: 6em;
    padding: 1em 2em;
    box-sizing: border-box;
  }

  .header {
    display: flex;
    justify-content: center;
  }

  .site-title {
    width: 30%;
    max-width: 23em;
    padding: 0;
    margin: 0;
  }

}


/* ハンバーガーメニュー
------------------------------------------------------------------------------------------- */
#panel-btn {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 2em;
  height: 2em;
  margin: 1.1em 1em 0 0;
  z-index: 3;
}
#panel-btn-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2em;
  height: 2px;
  line-height: 4em;
  text-align: center;
  margin: -.3em 0 0 -1em;
  background: var(--key-color);
  transition: .3s ease;
}
#panel-btn-icon:before, #panel-btn-icon:after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 2em;
  height: 2px;
  background: var(--key-color);
  transition: .3s ease;
}
#panel-btn-icon:before {
  margin-top: -.7em;
}
#panel-btn-icon:after {
  margin-top: .6em;
}
#panel-btn .close{
  background: transparent;
}
#panel-btn .close:before, #panel-btn .close:after {
  margin-top: 0;
}
#panel-btn .close:before {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#panel-btn .close:after {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

@media screen and (min-width: 960px) {
  #panel-btn{
    display: none;
  }
}


/* #global-nav
------------------------------------------------------------------------------------------- */
#global-nav {
  position: relative;;
  width: 100%;
}
#global-nav ul.main-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  height: 100vh;
  color: #FFF;
  background-color: rgba(255,255,255,0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  padding-top: 5em;
  box-sizing: border-box;
  z-index: 2;
}
ul.main-menu > li {
  border-bottom: 1px rgba(0,0,0,0.3) solid;
  width: calc(100% - 4em);
  box-sizing: border-box;
  margin: 0 auto;
}
ul.main-menu > li:last-child {
  border: 0;
}
ul.main-menu li a {
  width: 100%;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 1em 0.5em;
  box-sizing: border-box;
  white-space: nowrap;
}
ul.main-menu > li a span {
  display: block;
  font-size: 60%;
  padding-top: .7em;
}
ul.main-menu > li a span:nth-child(odd) {
  color: var(--key-color);
  font-size: 140%;
  padding: 0;
}
ul.main-menu > li a span:nth-child(even) {
  color: var(--base-color);
  font-size: 95%;
}


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

  #global-nav {
    width: 70%;
  }
  #global-nav ul.main-menu {
    position: relative;
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    height: 5em;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }
  ul.main-menu > li {
    width: auto;
    height: 100%;
    border: 0!important;
    margin: 0;
  }
  ul.main-menu > li a {
    position: relative;
    width: 9em;
    height: 100%;
    line-height: 1;
    text-align: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
  ul.main-menu > li a span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    color: var(--key-color)!important;
    font-size: 110%!important;
    line-height: 5;
    text-align: center;
    padding: 0;
    transition: .4s ease;
  }
  ul.main-menu > li a span:nth-child(odd) {
    top: 0;
    letter-spacing: 0;
    opacity: 1;
  }
  ul.main-menu > li a span:nth-child(even) {
    top: .5em;
    letter-spacing: .05em;
    opacity: 0;
  }
  ul.main-menu > li a:hover span:nth-child(odd),
  ul.main-menu > li a.active span:nth-child(odd) {
    top: -.5em;
    opacity: 0;
  }
  ul.main-menu > li a:hover span:nth-child(even),
  ul.main-menu > li a.active span:nth-child(even) {
    top: 0;
    opacity: 1;
  }

}


/* トップスライダー
------------------------------------------------------------------------------------------- */

/*-- ローディング --*/
.slider-loading {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 30;
  color: var(--key-color, #333);
  transition: opacity 1s ease, visibility 1s ease;
}

.slider-loading.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/*-- スライダー --*/
.swiper {
  position: relative;
  width: 100vw;
  min-height: 300px; /* 読み込み前の保険 */
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
}

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

/*-- ロゴ --*/
.slider-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.slider-logo img {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(.05em .05em 0 rgba(0, 0, 0, .7))
    drop-shadow(.1em .1em .1em rgba(0, 0, 0, 0.3));
}

@media screen and (min-width: 960px) {
  .slider-logo {
    width: 18em;
  }
}


/* main
------------------------------------------------------------------------------------------- */
main {
  position: relative;
  width: 100%;
}


/* TOPページ
------------------------------------------------------------------------------------------- */

/*-- topics-list -----*/
.topics-headline {
  width: 100%;
  background-color: var(--gray-color);
  padding: 1.8em 1.5em;
  box-sizing: border-box;
}
.headline h2 {
  color: var(--key-color);
  font-size: 120%;
}
.headline h2 span {
  display: inline-block;
  color: var(--base-color);
  font-size: 70%;
  margin-left: .7em;
}

.topics-list {
  width: 100%;
  border-top: 1px #CCC solid;
  margin: .5em 0 1em 0;
}
.topics-list a {
  display: block;
  border-bottom: 1px #CCC solid;
  padding: .7em 0;
  box-sizing: border-box;
}
.topics-list-date,
.topics-list-cat {
  display: inline-block;
  font-size: 80%;
  margin-right: 1em;
}
.topics-list-date {
  color: var(--base-color);
}
.topics-list-cat {
  border: 1px var(--key-color) solid;
  padding: .1em .7em 0 .7em;
}
.topics-list-title {
  color: var(--text-color);
  margin-top: .2em;
  transition: .2s ease;
}
a:hover .topics-list-title {
  color: var(--key-color);
}

.headline .all-view {
  width: 100%;
  text-align: center;
}


/*-- greeting -----*/
.greeting {
  width: 100%;
  padding: 1.5em;
  box-sizing: border-box;
}
.greeting p {
  position: relative;
  line-height: 2;
}
.greeting p:first-child {
  margin-bottom: -.5em;
}
.greeting span {
  position: relative;
  display: inline-block;
}
.greeting span::before {
  content: "●";
  font-size: 1em;
  color: var(--key-color);
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translateX(-50%);
}
.kyoto-map {
  width: 13em;
  padding-right: 5em;
  margin: 1em auto;
}


/*-- product -----*/
.top-product {
  width: 100%;
  box-shadow: 0 -.1em .1em rgba(0, 0, 0, .1);
  padding: 0 1.5em;
  box-sizing: border-box;
}
.product-column {
  width: 100%;
  padding: 2.5em 0;
  box-sizing: border-box;
}
.product-column h2 {
  color: var(--key-color);
}
.product-column p {
  line-height: 2;
}
.product-column .product-image {
  margin: 1.5em 0 .5em 0;
}


/*-- company -----*/
.top-company {
  position: relative;
  width: 100%;
  padding: 1.5em 0;
  box-sizing: border-box;
}
.company-column {
  position: relative;
  width: calc(100% - 3em);
  background-color: var(--key-color);
  padding: 1.5em 1.5em;
  box-sizing: border-box;
  margin: -3.5em auto 0 auto;
}
.company-column-inner {
  color: #FFF;
}
.company-column-inner p {
  line-height: 2;
  margin-bottom: .5em;
}
.company-column-inner .btn a {
  color: var(--key-color);
  background-color: #FFF;
  border: 1px #FFF solid;
}
.company-column-inner .btn a:hover {
  color: #FFF;
  background-color: var(--key-color);
}


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

  .headline {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
  }
  .headline h2 span {
    display: block;
    margin: 0;
  }
  .topics-list {
    border: 0;
    padding: 0;
    margin: 0 2em;
  }
  .topics-list a {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    border: 0;
    padding: .1em 0;
    margin-top: .8em;
  }
  .topics-list li:first-child a {
    margin: 0;
  }
  .headline .all-view {
    align-self: flex-end;
    font-size: 85%;
    width: 11em;
  }

  /*-- greeting -----*/
  .greeting {
    text-align: center;
    padding: 3em 0;
  }
  .greeting p:first-child {
    margin-bottom: -.8em;
  }
  .kyoto-map {
    width: 15em;
    margin: 1.5em auto;
  }

  /*-- product -----*/
  .product-column {
    position: relative;
    max-width: 1080px;
    padding: 4em 0;
    margin: 0 auto;
  }
  .product-column .product-image {
    position: absolute;
    top: 4em;
    right: 0;
    width: 59%;
    margin: 0;
  }
  .product-column .product-image div {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 21em;
  }
  .product-column img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: none;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    display: block;
  }
  .product-column .btn {
    text-align: left;
    margin-top: 3em;
  }

  /*-- company -----*/
  .top-company {
    margin: 5em 0;
  }
  .top-company::before {
    content: '';
    display: block;
    background: #f8f8f8;
    width: 35%;
    height: 27em;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
  }
  .top-company::after {
    content: '';
    display: block;
    background: var(--key-color);
    width: 65%;
    height: 29em;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: -2;
  }
  .top-company-area {
    position: relative;
    max-width: calc(1080px + 3em);
    padding: 0 1.5em;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .company-image {
    position: relative;
    overflow: hidden;
    width: 59%;
    height: 21em;
  }
  .company-image img {
    max-width: none;
    position: absolute;
    top: 0;
    left: 50%;
    max-width: none;
    width: 100%;
    height: auto;
    transform: translateX(-50%);
    display: block;
  }
  .company-column {
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    height: 21em;
    background: none;
    padding: 0;
    margin: 0;
    transform: translateY(-50%);
  }
  .company-column-inner {
    position: absolute;
    right: 1.5em;
    color: #fff;
  }
  .company-column-inner p {
    margin-bottom: 1em;
  }
  .company-column-inner .btn {
    text-align: left;
    margin-top: 3em;
  }

}


/* page-title
------------------------------------------------------------------------------------------- */
.page-title-wrap {
  width: 100%;
  background: var(--base-color);
  padding: 1.5em;
  box-sizing: border-box;
}
.page-title {
  position: relative;
  width: 100%;
  padding-left: 1em;
  box-sizing: border-box;
}
.page-title::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: -1.5em;
  width: 3px;
  height: 6.5em;
  background: var(--key-color);
}
.page-title .main-title {
  color: #FFF;
}
.page-title .main-title span {
  display: block;
  font-size: 60%;
  margin-top: .3em;
}

/*-- logo-title -----*/
.logo-title {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  align-items: flex-end;
  color: var(--key-color);
  font-size: 1.3em;
  line-height: 1;
}
.logo-title::before {
  content: '';
  display: block;
  width: 2.5em;
  height: 1.7em;
  background: url("images/logo-mark.svg") center center no-repeat;
  background-size: contain;
}


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

  .page-title {
    max-width: calc(1080px + 3em);
    padding-left: 1.5em;
    margin: 0 auto;
  }
  .page-title::before {
    height: 8em;
  }
  .page-title .main-title span {
    font-size: 55%;
  }

}


/* breadcrumb
------------------------------------------------------------------------------------------- */
.breadcrumb {
  width: 100%;
  padding: 0 1.5em;
  box-sizing: border-box;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  color: #9f9f9f;
  font-size: 80%;
  line-height: 1.5;
  border-left: 3px var(--key-color) solid;
  padding: .5em 0 .3em 1em;
  box-sizing: border-box;
}
.breadcrumb li + li::before {
  content: '>';
  padding: 0 .5em;
}
.breadcrumb a {
  color: var(--base-color);
}
.breadcrumb a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  border-bottom: solid 1px var(--base-color);
  transition: 0.4s ease;
}
.breadcrumb a:hover::after {
  width: 100%;
}

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

  .breadcrumb {
    max-width: calc(1080px + 6em);
    margin: 0 auto;
  }
  .breadcrumb ol {
    padding: .8em 0 .6em 2em;
  }

}


/* container contents two-columns article
------------------------------------------------------------------------------------------- */
.container {
  width: 100%;
  padding: 1.5em;
  box-sizing: border-box;
  margin-top: 1em;
}

.lead-title-section {
  width: 100%;
  max-width: 1080px;
  box-sizing: border-box;
  margin: 0 auto;
}

.article-list {
  width: 100%;
  margin-bottom: 1.5em;
}
.article-list a {
  display: block;
  width: 100%;
  padding: 1.5em;
  box-sizing: border-box;
  border: 1px #CCC solid;
}


@media screen and (min-width: 960px) {
  .container {
    margin-top: 2em;
  }
}


/* page-nation
------------------------------------------------------------------------------------------- */
.pagination {
  margin: 1.5em 0 3em;
}
.page-numbers {
  display: flex;
  justify-content: center;
}
.page-numbers .current,
.page-numbers a {
  position: relative;
  line-height: 2.5em;
  padding: 0 .3em;
  box-sizing: border-box;
  margin: 0 .6em;
}
.page-numbers .current {
  color: var(--key-color);
  font-weight: bold;
}
.page-numbers .current::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  border-bottom: solid 2px var(--key-color);
}
.page-numbers a {
  color: var(--text-color);
  transition: .2s ease;
}
.page-numbers a:hover {
  color: var(--key-color);
  font-weight: bold;
}
.page-numbers a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  border-bottom: solid 2px var(--key-color);
  transition: 0.2s ease;
}
.page-numbers a:hover::after {
  width: 100%;
}


/* company
------------------------------------------------------------------------------------------- */
.company .content {
  max-width: 1080px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr; /* スマホなら1列に */
  /*gap: 8px 16px;*/ /* 行と列のすき間 */
  border: 1px #CCC solid;
  margin: 1.5em 0;
}
.info-grid div {
  padding: .5em 1em;
}
.info-grid .label {
  background-color: var(--gray-color);
}
.info-grid div:nth-child(odd):not(:first-of-type) {
  border-top: 1px #CCC solid;
}

.info-grid div .small {
  font-size: .9em;
}
.info-grid div p {
  text-align: right;
  margin: 0;
}
.info-grid div .digimal {
  display: block;
  margin-left: 1em;
}
.info-grid div .digimal::before {
  content: '●';
  display: inline-block;
  text-indent: -1em;
}
.info-grid div .indent {
  display: block;
  text-indent: -1em;
  margin-left: 2em;
}


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

  .info-grid {
    grid-template-columns: 18em 1fr; /* 左：固定幅、右：残り全部 */
    margin-bottom: 3em;
  }
  .info-grid div {
    padding: 1em 3em;
  }
  .info-grid div:nth-child(even):not(:nth-child(2)) {
    border-top: 1px #CCC solid;
  }

}


/* equipment
------------------------------------------------------------------------------------------- */
.equipment .content {
  max-width: 1080px;
  margin: 0 auto;
}
.equip-list {
  margin: 1.5em 0;
}
.equip-list h3 {
  color: #FFF;
  background: var(--key-color);
  line-height: 2.1;
  width: 100%;
  height: 2.1em;
  padding-left: 1em;
  box-sizing: border-box;
}
.equip-grid {
  margin-bottom: 1.5em;
}
.equip-grid .row {
  display: grid;
  grid-template-columns: 1fr 1fr 2em 7em;
  gap: 1em;
  width: 100%;
  font-size: .8em;
  line-height: 1.2;
  text-align: left;
  border-bottom: 1px #999 dotted;
  padding: 1em 0 .8em;
}
.equip-grid .row:last-child {
  border-bottom: none;
}
.equip-grid .row span:nth-child(3) {
  text-align: center;
}
.equip-grid .row span:nth-child(4) {
  padding-left: 2em;
}
.equip-grid.col-4 .row span:nth-child(4) {
  padding-left: 0;
}


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

  .equip-list {
    margin-bottom: 3em;
  }
  .equip-list h3 {
    font-size: 1.2em;
    padding-left: 2em;
  }
  .equip-grid .row,
  .equip-grid.col-4 .row {
   grid-template-columns: 1fr 1fr 8em 20em;
    font-size: inherit;
  }
  .equip-grid .row > span:first-child {
    padding-left: 4em;
  }
  .equip-grid .row span:nth-child(4),
  .equip-grid.col-4 .row span:nth-child(4) {
    padding-left: 4em;
  }

}


/* product
------------------------------------------------------------------------------------------- */
.product .two-columns {
  width: 100%;
  max-width: 1080px;
  box-sizing: border-box;
  margin: 0 auto;
}

.product .article-list {
  width: 100%;
  border: 1px #CCC solid;
  padding: 1em;
  box-sizing: border-box;
  margin-top: 2em;
}
.product .article-list h2 {
  font-size: 1.2em;
  line-height: 1.5;
  margin: 1em 0 .3em;
}
.product .article-list .text p {
  margin: 0;
}

/*-- お問い合わせエリア -----*/
section.contact-area {
  width: 100%;
  text-align: center;
  background: var(--gray-color);
  padding-bottom: 2.5em;
  box-sizing: border-box;
  margin-bottom: -2em;
}
section.contact-area img {
  margin-bottom: 1em;
}
section.contact-area .btn a {
  letter-spacing: .1em;
  padding: 0 1.5em 0 2em;
}


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

  .product .two-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .two-columns .article-list {
    width: calc(50% - 1.7em);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 0;
    padding: 0;
    margin-top: 3em;
  }
  .product .article-list .thumb {
    width: calc(50% - 1em);
  }
  .product .article-list .text {
    width: 50%;
  }
  .product .article-list h2 {
    margin: 0 0 .5em;
  }

  /*-- お問い合わせエリア -----*/
  section.contact-area {
    padding: 2.5em 0;
    margin-top: 4em;
  }
  section.contact-area .contact-contents {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
  }
  section.contact-area .contact-contents picture {
    width: 35%;
    padding-right: 5em;
  }
  section.contact-area .contact-contents .text {
    width: auto;
    font-size: 1.2em;
  }
  section.contact-area img {
    margin: 0;
  }

}


/* topics
------------------------------------------------------------------------------------------- */

/*-- article-list -----*/
.topics .article-list .thumb {
  display: none;
}
.topics .article-list h2 {
  font-size: 120%;
  line-height: 1.5;
  margin-top: .6em;
}

/*-- new-badge -----*/
.new-badge {
  display: inline-block;
  color: #fff;
  font-size: 0.7em;
  font-weight: bold;
  background-color: crimson;
  padding: .1em .5em 0;
  border-radius: .2em;
  margin-left: .5em;
  vertical-align: text-bottom;
}

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

  .topics.container {
    display: flex;
    gap: 3em;
    flex-flow; row wrap;
    justify-content: space-between;
    max-width: calc(1080px + 3em);
    margin: 3em auto 0;
  }
  .topics .contents {
    width: 75%;
    box-sizing: border-box;
  }
  .topics aside {
    width: 25%;
    box-sizing: border-box;
  }

  /*-- article-list -----*/
  .topics .article-list a {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    align-items: center;
  }
  .topics .article-list .thumb {
    display: block;
    width: 8em;
  }
  .topics .article-list .thumb img {
    width: 8em;
    height: 8em;
    object-fit: cover;
  }
  .topics .article-list .text {
    width: calc(100% - 10em);
  }
  .topics .article-list h2 {
    font-size: 130%;
  }

}


/* single
------------------------------------------------------------------------------------------- */
.article-date,
.article-cat {
  display: inline-block;
}

.article-date {
  color: var(--base-color);
  font-size: 85%;
}

.article-cat a {
  line-height: 1.2;
  border: 1px var(--key-color) solid;
  padding: .2em .7em .1em;
  margin-left: 1em;
}
.article-cat a {
  transition: .2s ease;
}
.article-cat a:hover {
  color: #FFF;
  background: var(--key-color);
}

article h1 {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.5;
  border-bottom: 1px #999 solid;
  padding: 1em 0;
}

.article-tag {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: .5em;
}
.article-tag a {
  position: relative;
  color: var(--text-color);
  font-size: .8em;
  transition: .2s ease;
}
.article-tag a::before {
  content: '#';
  display: inline-block;
  margin-right: .2em;
}
.article-tag a:hover {
  color: var(--key-color);
}
.article-tag a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  border-bottom: solid 1px var(--key-color);
  transition: 0.2s ease;
}
.article-tag a:hover::after {
  width: 100%;
}

.article-head {
  position: relative;
  margin-bottom: 1.5em;
}
.article-main {
  margin-bottom: 2.5em;
}
.article-foot {
  margin-bottom: 2.5em;
}

/*-- 写真イメージ -----*/
.article-main img {
  max-height: 22em;
  margin: .5em 0;
}

.article-head .post-edit {
  position: absolute;
  bottom: 0;
  left: 0;
}

/*-- 記事を編集 -----*/
.post-edit a {
  position: relative;
  font-size: .8em;
  font-weight: bold;
}
.post-edit a::before {
  content: '> ';
}
.post-edit a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  border-bottom: solid 1px var(--key-color);
  transition: 0.2s ease;
}
.post-edit a:hover::after {
  width: 100%;
}


@media screen and (min-width: 960px) {
  .article-main img {
    max-width: 95%;
    max-height: 800px;
  }
}

.article-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px #999 solid;
  border-bottom: 1px #999 solid;
  padding: 1em;
  margin: 1em 0;
}
.article-pagination a {
  color: var(--text-color);
  font-size: .9em;
  line-height: 1;
  transition: .2s ease;
}
.article-pagination a:hover {
  color: var(--key-color);
}


/* aside
------------------------------------------------------------------------------------------- */
.topics aside h3 {
  color: var(--key-color);
  line-height: 1;
  border-bottom: 1px var(--key-color) solid;
  padding-bottom: .3em;
  margin-bottom: 1em;
  margin-top: 2em;
}
.topics aside li {
  line-height: 1.5;
  margin: .7em 1em;
}
.topics aside li a {
  color: var(--text-color);
  transition: .2s ease;
}
.topics aside li a:hover {
  color: var(--key-color);
}

/*-- contact-banner -----*/
.contact-banner {
  margin-top: 3em;
}
.contact-banner a {
  border: 3px var(--key-color) solid;
  box-sizing: border-box;
}
.contact-banner .btn {
  display: inline-block;
  color: #FFF;
  height: 3.5em;
  line-height: 3.5;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  background-color: var(--key-color);
  box-sizing: border-box;
  transition: 0.2s ease;
}
.contact-banner a:hover .btn {
  color: var(--key-color);
  background-color: #FFF;
}
.contact-banner .btn::after {
  content: '>';
  display: inline-block;
  font-size: 105%;
  line-height: 1;
  margin: -0.25em 0 0 1em;
}
.contact-banner a img {
  transition: .2s ease;
}
.contact-banner a:hover img {
  opacity: .5;
}


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

  .topics aside h3:first-of-type {
    margin-top: 0;
  }

}


/* contact
------------------------------------------------------------------------------------------- */
.contact .lead-text {
  border-bottom: 1px #999 solid;
  padding-bottom: 2em;
  margin: 0;
}
.contact .content {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.contact .form {
  max-width: 800px;
  margin: 0 auto;
}
.contact .logo-title {
  padding-top: 2em;
}
span.kome {
  display: inline-block;
  font-size: 1.2em;
  color: red;
  vertical-align: middle;
}
.contact .notice {
  font-size: .8em;
  margin-left: 5em;
}
.contact .form-column {
  margin-top: 2em;
}

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

  .contact .lead-text {
    padding-bottom: 3em;
    margin-bottom: 1em;
  }
  .contact .form {
    margin-bottom: 3em;
  }

}


/* contact form 7
------------------------------------------------------------------------------------------- */
/*-- スマホで入力時にズームさせない -----*/
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
  font-size: max(100%, 16px);
  font-family: inherit!important;
  padding-bottom: .2em;
}

/*-- 入力欄の幅 -----*/
.wpcf7-form-control-wrap input {
  max-width: 90%;
  box-sizing: border-box;
}
.wpcf7-form-control-wrap textarea {
  min-width: 90%;
  max-width: 90%;
  box-sizing: border-box;
}

/* チェックボックスのマージン */
.wpcf7-list-item {
  margin: 0 1em 0 0!important;
}

/*-- 送信ボタン -----*/
.wpcf7 input[type="submit"] {/* iOSのボタンをリセット */
  -webkit-appearance: none;
  border-radius: 0;
}
.wpcf7 .wpcf7-submit {
  /*font-family: 'Noto Sans Japanese', sans-serif;*/
  font-size: 105%;
  font-weight: 500;
  cursor: pointer;
  display :inline-block;
  height: 3em;
  line-height: 3em;
  color: #FFF;
  background: none;
  background-color: var(--key-color);
  border: 1px var(--key-color) solid;
  padding: 0 3em;
  margin: 1em 1em 1em 0;
  transition: .2s;
}
.wpcf7 .wpcf7-submit:disabled {
  opacity: .5!important;
}
.wpcf7 .wpcf7-submit:not(:disabled):hover {
  color: var(--key-color);
  background-color: #FFF;
}

/*-- メッセージの表示 -----*/
.wpcf7 form .wpcf7-response-output {
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  padding: 1em;
  margin: 1em 0 2em 0!important;
}

/*-- cloud flear ウィジェット -----*/
.cf-turnstile {
  margin-bottom: 1.5em;
}


/* Privacy Policy
------------------------------------------------------------------------------------------- */
.privacy .content {
  width: 100%;
  max-width: 1080px;
  padding-bottom: 1em;
  margin: 0 auto;
}
.privacy .logo-title {
  margin-bottom: 1.5em;
}
.privacy .lead-text {
  border-bottom: 1px #999 solid;
  padding-bottom: 2em;
}

.privacy-column {
  max-width: 800px;
  padding: 1em 0;
  margin: 0 auto;
}
.privacy h3 {
  font-size: 1.2em;
  margin-top: 1.5em;
}
.privacy li {
  list-style: revert; /* ブラウザのデフォルトに戻す */
}
.privacy ol {
  list-style-type: decimal; /* 他に lower-roman, upper-alpha なども */
  margin-left: 2em;
}


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

  .privacy .content {
    padding-bottom: 3em;
  }
  .privacy-column {
    padding: 2em 0;
  }

}


/* footer
------------------------------------------------------------------------------------------- */
footer {
  width: 100%;
  border-top: 1px rgba(0, 0, 0, .2) solid;
  margin-top: 2em;
}
.front-page footer {
  border: 0;
  margin-top: 0;
}

.footer {
  padding: 2.5em 0;
  box-sizing: border-box;
}
.footer-com-area {
  width: 80%;
  padding: 0 2vw;
  box-sizing: border-box;
  margin: 0 auto;
}
.footer-title {
  margin-bottom: 1.6em;
}
.footer-title a {
  width: 100%;
}
.footer-title a img {
  width: 100%;
  height: auto;
}

.footer-address {
  font-size: 90%;
  line-height: 1.5;
}
.footer-address div {
  margin: .8em 0 0 1.5em;
}
.footer-address div span {
  display: block;
  font-size: 90%;
  margin-top: .2em;
}
.footer-address div:last-child {
  margin-top: 1.2em;
}
.footer-address div:last-child span {
  font-size: 85%;
}

.footer-nav nav {
  display: none;
}

.copyright {
  font-size: 80%;
  text-align: center;
  padding: 1.6em 0;
  border-top: 1px rgba(0,0,0,.2) solid;
}


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

  .front-page footer {
    margin-top: -2em;
  }
  .footer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-end;
    max-width: calc(1080px + 3em);
    padding: 5em 1.5em;
    margin: 0 auto;
  }

  .footer-com-area {
    width: auto;
    padding: 0;
    margin: 0;
  }
  .footer-title {
    max-width: 23em;
  }
  .footer-address div span {
    display: inline-block;
    margin-right: 1.2em;
  }

  .footer-nav nav {
    display: block;
  }
  .footer-nav ul {
    display: flex;
    flex-flow: row wrap;
    width: calc(12 * 3em);
  }
  .footer-nav ul li {
    width: 12em;
    padding: 1em 0 1em 4em;
    box-sizing: border-box;
  }
  .footer-nav ul a {
    font-size: inherit;
    font-weight: bold;
    letter-spacing: 0;
  }
  .footer-nav ul span {
    display: block;
    color: var(--base-color);
    font-size: 80%;
    font-weight: normal;
    padding-left: 1.5em;
  }

}


/* pagetop
------------------------------------------------------------------------------------------- */
#pagetop {
  position: fixed;
  bottom: 4em;
  right: 1.5em;
  font-size: 80%;
  line-height: 1.2;
  text-align: center;
}
#pagetop span::before {
  content: '▲';
  display: block;
  margin-bottom: .1em;
}
#pagetop a {
  color: #FFF;
  width: 5em;
  height: 5em;
  background: rgba(var(--rgb-color), .7);
  border-radius: 50%;
  padding-top: .5em;
  box-sizing: border-box;
  transition: .2s ease;
}
#pagetop a:hover {
  color: var(--key-color);
  background: #FFF;
  border: 1px var(--key-color) solid;
}


/* 投稿設定
------------------------------------------------------------------------------------------- */
.article-main blockquote {
  position: relative;
  background-color:#ededed;
  border: 1px #CCC solid;
  border-radius: 4px;
  padding: 1em 1em 1em 3em;
  margin: 10px;
}
.article-main blockquote:before {
  content: "“";
  font-size: 600%;
  line-height: 1em;
  color: #999;
  position: absolute;
  left: 0;
  top: 0;
}

.article-main ol {
  counter-reset: li;
  padding: 0;
  list-style: none;
}
.article-main ol li {
  position: relative;
  margin: 12px 0 10px 2em;
  padding: 1px 0 0 5px;
}
.article-main ol li:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  top: -2px;
  left: -2em;
  width: 2em;
  padding: 3px 0;
  color: #fff;
  background: #999;
  font-family: Arial, sans-serif;
  text-align: center;
}

.article-main ul {
  padding: 0;
  list-style: none;
}
.article-main ul li {
  position: relative;
  list-style: disc;
  margin: 10px 0 10px 2em;
  padding: 0 0 0 5px;
}
.article-main ul li:before {
  position: absolute;
  top: 0;
  left: -2em;
  width: 2em;
  text-align: center;
}


/* ログイン画面
------------------------------------------------------------------------------------------- */
.login .content {
  max-width: 600px;
  margin: 0 auto;
}
.login label {
  display: inline-block;
}
.login input[type="text"],
.login input[type="password"] {
  width: 100%;
  padding: .5em 1em;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.login input[type="submit"] {
  font-size: 105%;
  font-weight: 500;
  cursor: pointer;
  display :inline-block;
  height: 3em;
  line-height: 3em;
  color: #FFF;
  background: none;
  background-color: var(--key-color);
  border: 1px var(--key-color) solid;
  padding: 0 3em;
  margin: 1em 1em 1em 0;
  transition: .2s;
}
.login input[type="submit"]:disabled {
  opacity: .5!important;
}
.login input[type="submit"]:not(:disabled):hover {
  color: var(--key-color);
  background-color: #FFF;
}

.login .logout-message {
  color: var(--key-color);
  margin-bottom: 3em;
}
.login .login-error {
  color: crimson;
}
