@charset "utf-8";
/***
 * css/style.css
 */

/* -------------------------------------------------------
// # initialize
// ------------------------------------------------------*/
h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, picture { display: block; margin: 0; padding: 0; list-style: none; }

/* -------------------------------------------------------
// # color
// ------------------------------------------------------*/
:root {
  --theme-color: #aa2217;
  --theme2-color: #e1b4b3;
  --theme3-color: #ff4040;
  --text-color: #000;
  --text-light-color: #555;
  --link-color: #5C90E4;
  --border-color: #cccccc;
}

/* -------------------------------------------------------
// # typography
// ------------------------------------------------------*/
html {
  font-family: Helvetica, Arial, YuGothic, "游ゴシック体", "メイリオ", sans-serif;
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.4;
  font-size: 14px;
}
h1 {
  background: url(../images/common_bg_h1.png) no-repeat 0 0;
  background-size: 100% auto;
  color: #fff;
  font-size: 18px;
  line-height: 1.0;
  padding: 15px 20px;
  display: flex;
  gap: 15px;
  align-items: end;
  margin-bottom: 20px;
}
h1 i {
  font-size: 0.6em;
  color: #888;
  font-style: normal;
  font-weight: normal;
}
h2 {
  color: var(--theme-color);
  font-size: 15px;
  font-weight: bold;
  position: relative;
  background: url(../images/common_bg_h2.png) no-repeat 0 0;
  padding: 8px 20px;
  margin-bottom: 20px;
}
h2::after {
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to right,#d00000 0%,#e06060 40%,#f0b0b0 70%,#ffffff 100%);
}
h3 {
  position: relative;
  font-size: 15px;
  color: var(--theme3-color);
  padding-bottom: 7px;
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
  align-items: center;
}
h3::before {
  content: "";
  width: 35px;
  height: 14px;
  background: url(../images/ico_arrow.gif) no-repeat 0 0;
  background-size: contain;
}
h4 {
  color: var(--theme3-color);
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}
a, a:link, a:visited {
  color: var(--link-color);
}
b, strong {
  font-weight: bold;
}

.underline {
  position: relative;
}
.underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

/* main elms */
main p {
  line-height: 1.7;
  margin-bottom: 2em;
  text-align: justify;
}
main p.center {
  text-align: center;
}
main p.error {
  color: var(--theme3-color);
}
main i, main em {
  font-style: normal;
}
main .slogan {
  font-size: 1.4rem;
  color: var(--theme3-color);
  display: block;
  padding: 25px 0;
  text-align: center;
}
main .signature {
  text-align: right;
}
main ul:not([class]),
main ol:not([class]) {
  margin-left: 1rem;
  margin-bottom: 2rem;
}
main ul:not([class]) li,
main ol:not([class]) li {
  display: list-item;
  margin-bottom: 0.3em;
}
main ul:not([class]) li {
  list-style: disc;
}
main ol:not([class]) li {
  list-style: decimal;
}

 /* -------------------------------------------------------
// # html, body
// ------------------------------------------------------*/
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html, body {
  margin: 0;
  padding: 0;
}

/* -------------------------------------------------------
// # skeltone
// ------------------------------------------------------*/
#wrap {
  width: 960px;
  margin: 0 auto;
}
#content {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 25px;
  margin-bottom: 30px;
}
aside {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}
main {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}
section {
  margin-bottom: 40px;
}
figure {
  display: block;
  margin-bottom: 20px;
}
.spacer {
  height: 40px;
}

/* -------------------------------------------------------
// # header
// ------------------------------------------------------*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
#brandlogo {
  user-select: none;
}
#brandlogo img {
  width: 280px;
  height: auto;
}
header .contact {
  text-align: right;
}
header .addr {
  font-size: 12px;
  font-weight: bold;
}
header .telfax {
  display: flex;
  justify-content: end;
  gap: 10px;
}
header .telfax a, header .telfax p {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #777;
  text-decoration: none;
}

/* global navi */
#gnav {
  background-color: #111;
  margin-bottom: 20px;
}
#gnav ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background-color: #999;
}
#gnav li {
  background-color: #111; 
}
#gnav a {
  display: block;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  padding: 13px 0;
  transition: all .3s;
  user-select: none;
}
#gnav li.current a,
#gnav a:hover {
  background-color: #444;
}
#gnav a span {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 3px;
  box-sizing: border-box;
  border-right: 1px solid #999;
}
#gnav li:last-child a span {
  border-right: none;
}
#gnav a i {
  font-size: 10px;
  font-style: normal;
  color: #ccc;
}

/* -------------------------------------------------------
// # footer
// ------------------------------------------------------*/
footer {
  border-top: 1px solid var(--border-color);
}
#gotop {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}
#gotop a {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-light-color);
  padding: 5px 0;
  font-size: 12px;
  font-weight: bold;
}
#gotop a::after {
  content: "";
  background: url(../images/ico_bullet.svg) no-repeat 0 0;
  background-size: content;
  display: block;
  width: 17px;
  height: 17px;
  rotate: -90deg;
}

/* footer navi */
#fnav {
  margin-bottom: 20px;
}
#fnav ul {
  display: flex;
  gap: 8px;
}
#fnav a {
  text-decoration: none;
  color: var(--text-light-color);
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 2px;
}
#fnav a::before {
  content: "▶︎";
  font-size: 10px;
  zoom: 0.8;
  color: var(--theme2-color);
}

/* footer signature */
.fsignature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.fsignature .logo {
  position: relative;
  overflow: visible;
}
.fsignature .logo img {
  width: 260px;
  height: auto;
}
.fsignature span {
  position: absolute;
  bottom: 0;
  left: 119px;
  font-size: 12px;
  white-space: nowrap;
}
.fsignature .telfax {
  display: flex;
  justify-content: end;
  gap: 10px;
}
.fsignature .telfax a, .fsignature .telfax p {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #777;
  text-decoration: none;
}

/* Copyright */
.copyright {
  background-color: var(--theme-color);
  color: #fff;
  box-sizing: border-box;
  padding: 100px 5px 15px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 2px;
}

/* -------------------------------------------------------
// # sidebar
// ------------------------------------------------------*/
.contact_box {
  border: 1px solid var(--border-color);
  padding: 15px;
  font-size: 12px;
  margin-bottom: 20px;
}
.contact_box h4 {
  color: var(--text-light-color);
  font-size: 14px;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: dotted 2px var(--border-color);
  margin-bottom: 15px;
}
.contact_box .telfax {
  padding: 10px 0;
  border-bottom: dotted 2px var(--border-color);
  margin-bottom: 10px;
}
.contact_box .telfax a, .contact_box .telfax p {
  display: block;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--theme-color);
  text-decoration: none;
}
.contact_box .envelope {
  padding: 4px 0;
  display: grid;
  justify-items: center;
}
.contact_box .envelope img {
  width: 50px;
  height: auto;
}
.contact_box .small {
  font-size: 11px;
  text-align: center;
}
.sidenavi li {
  border-top: dotted 2px var(--border-color);
}
.sidenavi li:last-child {
  border-bottom: dotted 2px var(--border-color);
}
.sidenavi li a,
.sidenavi li a:link,
.sidenavi li a:visited {
  color: #666;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 14px 0;
}
.sidenavi li a::before {
  content: "";
  display: block;
  background: url(../images/ico_bullet.svg) no-repeat 0 0;
  background-size: contain;
  width: 16px;
  height: 16px;
}

/* -------------------------------------------------------
// # slideshow
// ------------------------------------------------------*/
#slideshow ul {
  position: relative;
  height: 354px;
  overflow: hidden;
}
#slideshow li {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
#slideshow li.is-prev {
  opacity: 1;
  z-index: 1;
}
#slideshow li.is-active {
  opacity: 1;
  z-index: 2;
}
#slideshow img {
  display: block;
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------
// # main elms
// ------------------------------------------------------*/

/* -------------------------------------------------------
// # TOPページ
// ------------------------------------------------------*/
#slogan img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------
// # 問い合わせボックス
// ------------------------------------------------------*/
#inquiry_box {
  box-sizing: border-box;
  border: 8px solid var(--theme2-color);
  padding: 10px;
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  align-items: center;
  gap: 20px;
  color: var(--text-light-color);
}
#inquiry_box h4 {
  color: var(--text-light-color);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0;
}
#inquiry_box .telfax {
  border-right: 1px dashed var(--border-color);
}
#inquiry_box .telfax a, #inquiry_box .telfax p {
  display: block;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--theme-color);
  text-decoration: none;
  margin-bottom: 0;
}
#inquiry_box .mailform {
  text-align: center;
}
#inquiry_box .mailform img {
  width: 75px;
  height: auto;
}
#inquiry_box .mailform p {
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 0;
  text-align: center;
}

/* -------------------------------------------------------
// # サブメニュー
// ------------------------------------------------------*/
.submenu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.submenu span {
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--text-light-color);
  font-weight: bold;
}
.submenu span::before {
  content: "■";
  font-size: 16px;
}
.submenu a {
  transition: all .3s;
  filter: saturate(0.5);
}
.submenu a:hover,
.submenu a:active,
.submenu a:focus {
  filter: saturate(1.5);
}

/* -------------------------------------------------------
// # 画像＋文章
// ------------------------------------------------------*/
.img_txt, .txt_img {
  display: grid;
  gap: 30px;
  margin-bottom: 20px;
}
/* 画像左 文章右 */
.img_txt {
  grid-template-columns: 2fr 3fr;
}
/* 文章左 画像右 */
.txt_img {
  grid-template-columns: 3fr 2fr
}
.img_txt figure,
.txt_img figure {
  text-align: center;
}
.img_txt img,
.txt_img img {
  max-width: 100%;
  height: auto;
}

/* 画像大きめ */
.img_txt.large_image,
.txt_img.large_image {
  grid-template-columns: 1fr 1fr
}

/* -------------------------------------------------------
// # see also
// # こちらもご覧ください的な誘導ボタン
// ------------------------------------------------------*/
.seealso {
  display: grid;
  gap: 10px;
}
main .seealso {
  padding-top: 40px;
  grid-template-columns: repeat(3, 1fr);
}
.seealso > a,
.seealso > li > a {
  text-decoration: none;
  color: var(--theme-color);
  border: 2px solid var(--theme-color);
  padding: 10px 16px;
  font-weight: bold;
  display: block;
}
.seealso > a.current,
.seealso > li > a.current {
  background-color: var(--theme-color);
  color: #fff;
}
main .seealso ul {
  padding-top: 10px;
  margin: 0;
  font-size: 12px;
}
main .seealso ul li {
  list-style: none;
}
.seealso ul li a {
  color: var(--text-light-color);
  text-decoration: none;
  display: flex;
  gap: 3px;
  align-items: center;
}
.seealso ul li a::before {
  content: "▶︎";
  font-size: 10px;
  color: var(--theme-color);
}

/* サポートツールページではサイドバーで読み込まれるケースあり */
aside .seealso {
  margin-bottom: 30px;
}
aside .seealso > a,
aside .seealso > li > a {
  margin-bottom: 10px;
}
aside .seealso.products {
  gap: 4px;
}
aside .seealso.products > li > a {
  margin-bottom: 0;
}

/* -------------------------------------------------------
// # 会社概要テーブル
// ------------------------------------------------------*/
.gaiyou {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 6px 20px;
}
.gaiyou dt {
  text-align: right;
}

/* -------------------------------------------------------
// # 沿革テーブル
// ------------------------------------------------------*/
.history {}
.history li {
  display: grid;
  grid-template-columns: 60px 30px 1fr;
  gap: 5px 10px;
  margin-bottom: 5px;
}
.history li span:nth-of-type(2) {
  text-align: right;
}

/* -------------------------------------------------------
// # 求人情報
// ------------------------------------------------------*/
.joboffer {
  margin-bottom: 0;
  padding-bottom: 30px;
}
.joboffer + .joboffer {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}
.condstable {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 6px 20px;
}

/* 求人一覧（recruit.php） */
.joblist {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
}
.joblist a {
  display: block;
  border: 2px solid var(--theme-color);
  padding: 12px 16px;
  text-decoration: none;
}
.joblist-title {
  display: block;
  color: var(--theme-color);
  font-weight: bold;
  margin-bottom: 4px;
}
.joblist-meta {
  display: block;
  font-size: 12px;
  color: var(--text-light-color);
}

/* 求人詳細の本文（recruit_detail.php） */
.jobdescription {
  margin-bottom: 30px;
}

/* -------------------------------------------------------
// # news list
// ------------------------------------------------------*/
.newslist {
  display: grid;
  gap: 6px;
}
.newslist li {
  display: grid;
  grid-template-columns: 60px 65px 1fr;
  gap: 5px;
}
.newslist .date {}
.newslist p {
  margin-bottom: 0;
}

/* -------------------------------------------------------
// # post list
// ------------------------------------------------------*/
.post-item {
  padding-top: 30px;
  padding-bottom: 50px;
}
.post-item + .post-item {
  border-top: 1px solid var(--border-color);
}
.post-item .date {
  font-size: 1.1rem;
  color: var(--theme3-color);
  margin-bottom: 0.5em;
}
.post-item figure {
  margin-bottom: 2em;
}
.post-item figure img {
  max-width: 100%;
  height: auto;
}


/* -------------------------------------------------------
// # プライバシーポリシー
// ------------------------------------------------------*/
.privacy-policy {
  margin-left: 2em;
  margin-bottom: 100px;
  padding-top: 20px;
}
.privacy-policy li {
  display: list-item;
  list-style: decimal;
  line-height: 1.8;
  margin-bottom: 1.7em;
}

/* -------------------------------------------------------
// # サイトマップ
// ------------------------------------------------------*/
.sitemap {
  margin-left: 2em;
  margin-bottom: 100px;
  padding-top: 20px;
}
.sitemap li {
  display: list-item;
  list-style: disc;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* -------------------------------------------------------
// # gmap
// ------------------------------------------------------*/
iframe#gmap {
  width: 80%;
  margin-bottom: 20px;
}

/* -------------------------------------------------------
// # access info
// ------------------------------------------------------*/
.accessinfo {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 5px 10px;
}

/* -------------------------------------------------------
// # 問い合わせフォーム
// ------------------------------------------------------*/
form.contactform {
  margin-bottom: 40px;
  font-size: 1rem;
}
.contactform dl {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 15px;
}
.contactform dt,
.contactform dd > div {
  padding: 10px 0;
}
.contactform dt.required::after {
  content: "(必須)";
  font-size: 80%;
  color: var(--theme3-color);
  margin-left: 4px;
}
.contactform input, .contactform textarea {
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  border: 1px solid #777;
  border-radius: 3px;
  box-shadow: inset 0 0 5px #ddd;
}
.contactform textarea {
  width: 100%;
  height: 15em;
}
.contactform input:focus,
.contactform input:active,
.contactform textarea:focus,
.contactform textarea:active {
  outline-color: var(--theme-color);
}

/* 問い合わせ　confirm */
.contactform.confirm dl {
  margin-bottom: 40px;
}


/* フォームボタン */
.sleeve {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.sleeve input[type="submit"],
.sleeve input[type="reset"] {
  appearance: none;
  -webkit-appearance: none;
  min-width: 10em;
  padding: .8em 2em;
  font: inherit;
  font-weight: bold;
  letter-spacing: .1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .1s;
}

/* 主ボタン：塗り */
.sleeve input[type="submit"] {
  color: #fff;
  background-color: var(--theme-color);
  border: 2px solid var(--theme-color);
  box-shadow: 0 2px 6px rgba(170, 34, 23, .25);
}
.sleeve input[type="submit"]:hover {
  background-color: #8c1b12;
  border-color: #8c1b12;
  box-shadow: 0 4px 12px rgba(170, 34, 23, .3);
}

/* 副ボタン：線だけ */
.sleeve input[type="reset"],
.sleeve input[type="button"] {
  color: var(--text-light-color);
  background-color: #fff;
  border: 2px solid var(--border-color);
}
.sleeve input[type="reset"]:hover,
.sleeve input[type="button"]:hover {
  color: var(--text-color);
  border-color: var(--text-light-color);
}

/* 共通 */
.sleeve input:active {
  transform: translateY(1px);
}
.sleeve input:focus-visible {
  outline: 3px solid var(--theme2-color);
  outline-offset: 2px;
}

