@charset "utf-8";

/*
Theme Name: 双三光学塗装株式会社ホームページ
Author: 株式会社クラフト
Description: 双三光学塗装株式会社ホームページのWordpressテーマです。
Version： 1.0.0
*/

/*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;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
svg, img {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}
li {
  list-style: none;
}
ins {
  text-decoration: none;
  color: #000;
  background-color: #ff9;
}

mark {
  font-weight: bold;
  font-style: italic;
  color: #000;
  background-color: #ff9;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  cursor: help;
  border-bottom: 1px dotted;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}
.bold {
  font-weight: bold;
}
.bg-yellow {
  background-color: var(--bg-color);
}
.grecaptcha-badge { visibility: hidden; }


/* 変数定義 */
:root {
  --main-color: #9D232B;
  --sub-color1: #C5454E;
  --bg-color: #F9F8EE;
  --bg-color2:#FEF1B3;
  --white-color: #fff;
  --black-color: #000;
  --gray-color: #707070;
}



/*サイト全体の基準となるCSSを記述*/
html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;/*フォントの指定*/
  line-height: 1.4;/*行間の指定*/
  margin: 0;
  padding: 0;
  color: #000;/*サイトのデフォルトとなる文字の色を指定*/
  position: relative;
}
body.modal-open {
  overflow: hidden;
}

/*見出しを全て太字で表示 + 文字色を黒に*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  color: #000;
}

h2.wp-block-heading {
  padding: 3rem;
  font-size: 2rem;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
}


/*コンテンツのサイズ指定*/
.header-inner,
.footer-inner,
.container {
  max-width: 1080px;
}

.container {
  margin: 0 auto;
  padding-bottom: 4rem;
  display: flex;
  gap: 3rem;
}
.container.archive {
  padding-top: 5rem;
}
.contents {
  width: 100%;
}
.text-center {
  text-align: center;
}

.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
.pc-inline {
  display: inline !important;
}
/*タブレットレイアウト*/
@media (max-width: 1280px) {
  html {
    font-size: 15px;
  }
}

/*スマホレイアウト*/
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  .pc-inline {
    display: none !important;
  }

  .container {
    padding-top: 1.4rem;
  }
}




/*ヘッダー*/
.header {
  position: fixed;
  z-index: 100;
}
.header-mask {
  position: absolute;
  top: -8rem;
  left: 0;
}
.header-mask-large {
  position: absolute;
  top: -4rem;
  
}
.header-inner {
  position: relative;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  padding-left: 2.25rem;
}
.site-title-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 45rem;
  z-index: 1;
}
.site-title-area>p {
  position: absolute;
  top: 8.2rem;
  left: 6rem;
  color: var(--white-color);
  font-weight: bold;
  font-size: 1.7rem;
  z-index: 2;
}
.site-title-container {
  position: relative;
  padding-top: 2rem;
  padding-left: 1.5rem;
  color: var(--white-color);
  display: flex;
  align-items: end;
  gap: 3rem;
  z-index: 2;
}
.site-title-container .logo-box p {
  margin-top: 0.2rem;
}
.site-title-container p {
  font-size: 0.7rem;
}
.header-iso-box {
  display: flex;
  flex-direction: column;
}
.header-iso-box strong {
  margin-right: 0.5rem;
  letter-spacing: 0.05rem;
  font-size: 0.9rem;
}
.site-title {
  line-height: 1;
  display: inline-block;
}
.site-title a {
  display: block;
  text-decoration: none;
}
.site-title p {
  padding-top: 0.7rem;
  color: var(--white-color);
  font-weight: normal;
}
.site-title a img {
  height: 2.5rem;
}
.site-title a img {
  display: block;
  width: auto;
  height: 2.7rem;
}
.header-nav li a {
  display: block;
  text-decoration: none;
}
.header-nav-header {
  height: 110px;
  flex-shrink: 0;
}
.header-nav-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  min-height: 0;
}
.header-nav-box #header-nav {
  /* padding-top: 10rem; */
  width: 20rem;
}
.header-nav-box #header-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.header-nav-box #header-nav ul li {
  border: 1px solid var(--white-color);
  background-color: var(--white-color);
  padding: 0.6rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.header-nav-box #header-nav ul li:hover {
  background-color: var(--sub-color1);
}
.header-nav-box #header-nav ul li a {
  color: var(--black-color);
  text-align: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.header-nav-box #header-nav ul li:hover a {
  color: var(--white-color);
}
.header-nav-box .header-bav-btn {
  margin-top: 2rem;
  padding-bottom: 1rem;
  display: flex;
  gap: 3rem;
}
.header-nav-box .header-bav-btn a {
  width: 5rem;
  height: 5rem;
  border: 2px solid var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}
.header-nav-box .header-bav-btn a svg {
  width: 100%;
  height: 2rem;
}
a.tel {
  background-color: #36C474;
  transition: all 0.3s ease;
}
a.tel:hover {
  opacity: 0.8;
}
a.tel svg {
  height: 2.3rem;
}
a.tel svg {
  fill: var(--white-color);
}
.header-nav-box .header-bav-btn a.mail {
  background-color: #3B3B3B;
  transition: all 0.3s ease;
}
.header-nav-box .header-bav-btn a.mail:hover {
  background-color: #3B3B3B;
  opacity: 0.8;
}
.external-site {
  padding-top: 0.2rem;
  color: var(--white-color);
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 97px;
  height: 97px;
  background-color: var(--sub-color1);
  border: none;
  cursor: pointer;
  padding: 10px 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
  z-index: 5000;
}
.hamburger-line {
  width: 100%;
  height: 1px;
  background-color: var(--white-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu p {
  color: var(--white-color);
  margin-top: 0;
}
/* アクティブ状態（Xアニメーション） */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(12px, -12px);
}
/* スライドメニュー */
.slide-menu {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: var(--sub-color1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  /* overflow-y: auto; */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
.slide-menu.active {
  right: 0;
}
.menu-list {
  list-style: none;
  padding: 80px 0 0 0;
  margin: 0;
}
.menu-list li {
  margin: 0;
  padding: 0;
}
.menu-list a {
  display: block;
  padding: 15px 30px;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.menu-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/*フッター*/
.footer {
  background-color: var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}
.footer-inner .logo-box p {
  font-size: 0.7rem;
  text-align: center;
}
.footer p {
  color: var(--white-color);
}
.footer-info {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}
.footer-address {
  display: flex;
  gap: 1rem;
}
.copyright {
  padding: 1rem;
  text-align: center;
}
.copyright p {
  font-size: .75rem;
  color: #fff;
}
.iso-box  {
  display: flex;
  gap: 1.5rem;
}
.iso-box .iso-image-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.iso-box img {
  width: 5rem;
}
.iso-box strong {
  color: var(--white-color);
  letter-spacing: 0.1rem;
  font-size: 0.8rem;
}

/*投稿*/
.info-title {
  padding-top: 8rem;
  width: 100%;
  height: 120px;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: end;
}
.info-title .inner {
  width: 90%;
  max-width: 1200px;
}
.info-title .inner div {
  width: 50%;
  border-bottom: 4px solid var(--main-color);
}
.info-title .inner div h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
}
.wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrapper .inner {
  width: 80%;
  display: block;
}
.article-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-head {
  padding-top: 5rem;
  width: 100%;
}
.article-head .article-info {
  margin-bottom: .5rem;
}
.article-title-box {
  background-color: var(--sub-color1);
  width: 100%;
  padding: 0.7rem 0;
}
.article-title-box h1 {
  font-size: 1.4rem;
  color: var(--white-color);
  margin-left: 1rem;
}

.article-head .article-info .article-cat {
  display: inline-block;
  vertical-align: middle;
  margin-top: 1rem;
}
.article-head .article-info .article-date {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
}
.article-head .article-img {
  margin-bottom: 2rem;
}
.article-head .article-img img {
  display: block;
}
.article-date {
  margin-top: 1rem;
  margin-left: 0.8rem;
  color: var(--black-color);
}
.article-main {
  width: 100%;
  padding-top: 2rem;
}
.article-main p {
  line-height: 2;
  font-size: 1.1rem;
}
.article-foot .article-tag {
  margin-bottom: 1rem;
  text-align: right;
}
.article-foot .article-tag ul {
  list-style: none;
}
.article-foot .article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}
.article-foot .article-tag ul li:last-child {
  margin-right: 0;
}
.article-foot .article-tag ul li a {
  line-height: 1;
  display: block;
  padding: .25rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}
.article-foot .article-tag ul li a:hover {
  opacity: .6;
}
.article-foot .article-author {
  font-weight: 500;
  line-height: 1;
  text-align: right;
  vertical-align: middle;
}
.article-foot .article-author i {
  font-size: 1.25rem;
  position: relative;
  top: .25rem;
}
.previous-next-link {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.previous-next-link a {
  text-decoration: none;
  color: var(--black-color);
}
.previous-next-link span.divider {
  color: var(--gray-color);
  font-size: 1.2rem;
}


@media(max-width: 768px) {
  .article-head h1 {
    font-size: 1.75rem;
  }
}

.editor-content p code,
.editor-content p img,
.editor-content p iframe,
.editor-content p object,
.editor-content figure img,
.editor-content figure iframe,
.editor-content figure video,
.editor-content figure audio,
.editor-content pre code {
  margin-bottom: 0;
}
.editor-content th,
.editor-content td {
  border-color: #ddd;
}
.editor-content p,
.editor-content ul,
.editor-content ol,
.editor-content table,
.editor-content dl,
.editor-content blockquote,
.editor-content pre,
.editor-content code,
.editor-content img,
.editor-content picture img,
.editor-content figure,
.editor-content iframe,
.editor-content object,
.editor-content hr,
.editor-content video,
.editor-content audio {
  margin-bottom: 2.5em;
  letter-spacing: 1px;
}
.editor-content b,
.editor-content strong {
  font-weight: bold;
}
.editor-content a {
  text-decoration: underline;
}
.editor-content ul:not([class]) {
  padding-left: 1.25em;
  list-style: disc;
}
.editor-content ol:not([class]) {
  padding-left: 1.875em;
  list-style: decimal;
}
.editor-content table {
  width: 100%;
}
.editor-content img,
.editor-content iframe,
.editor-content object,
.editor-content video,
.editor-content audio {
  line-height: 1;
}
.editor-content figure {
  max-width: 100%;
}
.editor-content iframe,
.editor-content object {
  width: 100%;
}
.editor-content blockquote {
  line-height: 1.5;
  position: relative;
  padding: 3.125em 1.875em .625em;
  color: #555;
  background-color: #f1f4f4;
}
.editor-content blockquote::before {
  font-family: "Material Symbols Outlined";
  font-size: 1.875em;
  font-weight: 900;
  position: absolute;
  top: .3125em;
  left: .9375em;
  content: "\e244";
  color: #ccc;
}
.editor-content blockquote p,
.editor-content blockquote cite {
  margin-bottom: 1em;
}
.editor-content blockquote p cite {
  margin-bottom: 0;
}
.editor-content blockquote cite {
  font-size: .6125em;
  display: block;
  text-align: right;
}
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5 {
  line-height: 1.4;
  margin: 3rem 0 2rem;
  letter-spacing: 1px;
}
.editor-content h2 {
  font-size: 1.875rem;
  padding: .75rem 0;
  border-bottom: solid 5px #03162f;
}
.editor-content h3 {
  font-size: 1.5rem;
  padding: 0 1rem;
  border-left: solid .375rem #415671;
  background: transparent;
}
.editor-content h4 {
  font-size: 1.25rem;
}
.editor-content h5 {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .editor-content p,
  .editor-content ul,
  .editor-content ol,
  .editor-content table,
  .editor-content dl,
  .editor-content blockquote,
  .editor-content pre,
  .editor-content code,
  .editor-content img,
  .editor-content picture img,
  .editor-content figure,
  .editor-content iframe,
  .editor-content object,
  .editor-content hr,
  .editor-content video,
  .editor-content audio {
    margin-bottom: 1.5em;
  }
  .editor-content th,
  .editor-content td {
    padding: .625em;
  }
  .editor-content blockquote {
    padding: 2.5em 1.875em 1.875em;
  }
  .editor-content blockquote::before
  .editor-content blockquote::after {
    font-size: 1.25em;
  }
  .editor-content blockquote p,
  .editor-content blockquote cite {
    margin-bottom: .625em;
  }
  .editor-content h2,
  .editor-content h3,
  .editor-content h4,
  .editor-content h5 {
    margin: 2rem 0;
  }
  .editor-content h2 {
    font-size: 1.5rem;
  }
  .editor-content h3 {
    font-size: 1.375rem;
  }
  .editor-content h4 {
    font-size: 1.25rem;
  }
  .editor-content h5 {
    font-size: 1rem;
  }
  .editor-content h6 {
    font-size: .9375rem;
  }
}

/*サイドバーウィジェット*/
#sidebar {
  width: 21rem;
}
.sidebar-wrapper {
  margin-bottom: 1rem;
}

.sidebar .sidebar-title,
.sidebar .wp-block-heading {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 auto;
  padding: .375rem;
  letter-spacing: 1px;
}
.sidebar h4 {
  padding-top: 0rem !important;
  text-align: center;
}
.sidebar a {
  text-decoration: none;
  color: var(--black-color);
}
.sidebar ul {
  list-style: none;
}
.sidebar li {
  border: 1px solid var(--gray-color);
  border-radius: 5px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.sidebar li:hover {
  background-color: var(--gray-color);
}
.sidebar li a {
  display: block;
  padding: .5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.sidebar li:hover a {
  color: var(--white-color);
}
.sidebar select {
  display: block;
  width: 100%;
  padding: .5rem;
  border: 1px solid var(--gray-color);
}
.single .sidebar,
.page .sidebar {
  margin-top: 5rem;
}

/*記事アーカイブ*/
.article-list.info-list-all {
  padding-top: 5rem;
}
.article-list .article-item {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}
.article-list .article-item>a {
  display: flex;
  text-decoration: none;
  color: var(--black-color);
}
.article-list .article-item .img-wrap {
  min-width: 8rem;
}
.article-list .article-item img {
  width: 8rem;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
  flex: 0 0 8rem;
  flex-shrink: 0;
}
.article-list .article-item .text-wrap {
  padding: 0 1rem;
  flex: 1;
}
.article-cat {
  font-size: .875rem;
  line-height: 1;
  display: inline-block;
  margin-left: 1rem;
  padding: .3rem .7rem;
  vertical-align: middle;
  text-decoration: none;
  color: var(--black-color);
  border-radius: 5px;
}
.article-list .article-item .text-wrap .article-date {
  margin: 0;
}
.article-list .article-item .article-date {
  font-size: .875rem;
  display: inline-block;
  vertical-align: middle;
}
.article-list .article-item .text-wrap h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.article-list .article-item .text-wrap p {
  margin-top: 0.3rem;
}

/*ページネーション*/
.pagination {
  margin: 4rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.pagination .page-numbers {
  color: var(--black-color);
  width: 2rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--gray-color);
  font-size: 1.2rem;
  text-decoration: none
}
.pagination .page-numbers.current {
  color: var(--white-color);
  background-color: var(--gray-color);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  display: none;
}
.pagination ul.page-numbers {
  font-size: 0;
  border: none;
  display: flex;
  gap: 0.5rem;
}
.pagination ul li {
  color: var(--black-color);
  width: 2rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  text-decoration: none
}

.home .container {
  padding-top: 0.3rem;
}
.top-view>div {
  width: 100%;
  display: flex;
  position: relative;
}
.top-view .slick-list,
.top-view .slick-list .slick-track,
.top-view .slick-list .slick-track .slick-slide img {
  height: 100%;
}
.top-view-left>div {
  width: 5rem;
  margin-top: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.top-view-left .logo2 img {
  width: 1.5rem;
}
.top-view-left p {
  text-align: center;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.8;
}
.top-view-left .icon-sns>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.name-sns-box img {
  width: 2.5rem;
}
.top-view-image {
  /* overflow: hidden; */
  width: calc(100vw - 5rem);
}
.top-view-image img {
  width: calc(100vw - 5rem);
  height: 100vh;
  object-fit: cover;
}
.top-view-yokushiru {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -60%);
}
.top-view-slogan .slogan-mask {
  position: absolute;
  right: 0;
  bottom: 0;
}
.top-view-slogan .slogan-mask>img {
  width: 47vw;
  min-width: 35rem;
}
.top-view-slogan .slogan-image {
  position: absolute;
  right: 2rem;
  bottom: 0;
}
.top-view-slogan .slogan-image>img {
  width: 34vw;
  min-width: 25rem;
}
.top-features-mask {
  position: relative;
}
.top-features-mask>div>figure:first-child img{
  width: 95vw;
}
.top-features-mask .mask-box {
  position: absolute;
  top: -9rem;
  left: 0;
  z-index: -1;
}
.top-features-mask .mask img {
  width: 100%;
}
.top-features-mask .mask-box p {
  width: 100%;
  position: absolute;
  top: 1.5rem;
  left: 4rem;
  color: var(--white-color);
  font-size: 1.3rem;
  line-height: 1.6;
}
.top-features .inner {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 9rem;
}
.top-features .top-features-mask .inner .wp-block-group__inner-container {
  position: relative;
  z-index: 1;
}
.top-features .top-features-mask .inner .wp-block-column p {
  padding: 0.3rem 0 1.5rem;
  text-align: center;
}
.top-features .explanation>div {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top-features .explanation .bold {
  padding-bottom: 2rem;
  font-size: 1.8rem;
}
.top-features .explanation p {
  font-size: 1.2rem;
  text-align: center;
}
.top-features .factories {
  padding: 3rem 0 7rem;
}
.top-features .factories .wp-block-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top-features .factories .wp-block-column .factory-name {
  font-weight: bold;
  font-size: 1.2rem;
}
.top-features .factories .wp-block-column img {
  margin-top: 1.5rem;
  width: 450px;
  height: 300px;
  object-fit: cover;
}
.detail-btn {
  position: absolute;
  bottom: -3rem;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  border: 1px solid var(--main-color);
  background-color: var(--white-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.detail-btn:hover {
  background-color: var(--main-color);
}
.detail-btn .text {
  line-height: 1.4;
  font-size: 1rem;
  font-weight: bold;
  color: var(--black-color);
  transition: all 0.3s ease;
}
.detail-btn:hover .text {
  color: var(--white-color);
}
.detail-btn::after {
  content: "";
  position: absolute;
  bottom: 14px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--main-color);
  margin-top: 2px;
  transition: all 0.3s ease;
}
.detail-btn:hover::after {
  border-left: 10px solid var(--white-color);
}
.top-features .painting-examples {
  padding-bottom: 3rem;
}
.top-features .painting-examples .rows>div {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.top-features .painting-examples .row>div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}
.top-features .painting-examples .rows h4 {
  padding-bottom: 0.5rem;
  text-align: center;
  border-bottom: 2px solid var(--main-color);
}
.rows h4.heading-1 { grid-column: span 5; }
.rows h4.heading-2 { grid-column: span 3; }
.rows h4.heading-3 { grid-column: span 1; }

.heading-group>div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}
.top-features .painting-examples .item {
  margin-bottom: 2rem;
}
.top-features .painting-examples .item figure {
  position: relative;
  height: 100%;
  display: inline-block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.top-features .painting-examples .item figure::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  background-image: url("./images/painting-examples-tip.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.top-features .painting-examples .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-lightbox-overlay .wp-block-image img {
  width: auto !important;
  height: auto !important;
  min-width: auto !important;
  min-height: auto !important;
  object-fit: contain !important;
}
.top-features .painting-examples .item p {
  margin-top: 0.2rem;
  text-align: center;
  font-size: 0.8rem;
}
.top-features .painting-examples .example2 img {
  object-position: 10px 7px;
  transform: scale(1.1);
}
.top-features .painting-examples .example3 img {
  object-position: -23px 37px;
  transform: scale(1.5);
}
.top-features .painting-examples .example4 img {
  object-position: -65px 18px;
  transform: scale(1.3);
}
.top-features .painting-examples .example5 img {
  object-position: -62px -14px;
  transform: scale(1.3);
}
.top-features .painting-examples .example6 img {
  object-position: -56px 9px;
  transform: scale(1.1);
}
.top-features .painting-examples .example7 img {
  object-position: -19px 0px;
}
.top-features .painting-examples .example8 img {
  object-position: -8px 9px;
  transform: scale(1.1);
}
.top-features .painting-examples .example9 img {
  object-position: 25px 31px;
  transform: scale(1.4);
}
.company-introduction .inner {
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto !important;
}
.company-introduction .center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.company-introduction .center h3 {
  width: 13rem;
  padding: 1rem 0;
  background-color: var(--main-color);
  color: var(--white-color);
  font-size: 1.5rem;
  text-align: center;
}
.company-introduction .wp-block-columns {
  margin: 4rem 0;
}
.company-introduction .wp-block-columns .bold {
  font-size: 1.1rem;
}
.company-introduction .wp-block-columns p {
  padding-bottom: 1.7rem;
  line-height: 2;
}
.company-introduction .wp-block-columns li {
  line-height: 1.7;
}
.company-introduction .greeting {
  font-size: 1.5rem !important;
}
.company-introduction .president-name {
  text-align: end;
}
.company-introduction .president-name span {
  font-weight: 500;
  font-size: 1.4rem;
}
.company-introduction .bg-yellow {
  padding: 2rem 0;
}
.company-introduction .iso-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 3rem;
  border-right: 1px solid var(--gray-color);
}
.company-introduction .iso-column.center {
  border-right: none;
}
.company-introduction .iso-column .iso-quality {
  padding-top: 3rem;
}
.company-introduction .iso-column .iso-quality p {
  margin: 0 auto;
}
.company-introduction .iso-column p {
  width: 11rem;
  padding-bottom: 0.5rem;
}
table {
  margin: 3rem auto;
  table-layout: fixed;
  width: 85% !important;
}
table td {
  padding-left: 3rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  vertical-align: middle;
}
table td:first-child {
  width: 11rem;
  padding-left: 1rem;
  background-color: #F5F5F5;
}
.table-two-column {
  display: flex;
}
.table-two-column .label {
  width: 19rem;
}
.table-two-column .label-empty {
  width: 12rem;
}
.wp-block-table td,
.wp-block-table th {
  border: none;
  border-top: 1px solid #999999;
  border-bottom: 1px solid #999999;
}
.company-introduction .wp-block-table td {
  padding: 0.9em 1.2em;
}
.company-introduction .wp-block-table td:nth-child(2) {
  padding-left: 2rem;
}
.company-introduction .image-box {
  margin: 0;
  margin-bottom: 5rem;
}
.company-introduction img {
  object-fit: cover;
  width: 100%;
  height: 17rem;
}
.company-introduction .iso-image img{
  height: 10rem;
}
.history-container div.history-text-upper {
  padding-bottom: 0 !important;
}
.history-container .row {
  padding-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
}
.history-container .row .year {
  width: 7rem;
}

.top-recruitment {
  overflow: hidden;
  background-color: var(--bg-color2);
  padding-bottom: 11rem;
}
.top-recruitment .inner {
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}
.top-recruitment .image-area>div {
  position: relative;

}
.top-recruitment .bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-recruitment .mask {
  position: absolute;
}
.top-recruitment .mask-left {
  top: 0;
  left: 0;
  width: 100%;
}
.top-recruitment .mask-left img {
  width: 45%;
}
.top-recruitment .mask-right {
  right: 0;
  bottom: -6rem;
}
.top-recruitment .mask-right img {
  width: 100%;
}
.top-recruitment p {
  position: absolute;
  color: var(--white-color);
}
.top-recruitment p.bold {
  top: 5%;
  left: 2rem;
  font-size: 1.5rem;
}
.top-recruitment p.right-text {
  right: 1rem;
  bottom: -1rem;
  font-size: 1.3rem;
}
.top-recruitment .slogan {
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 100%;
}
.top-recruitment .slogan img {
  width: 36%;
}
.top-recruitment .yokushiru {
  position: absolute;
  top: 19%;
  right: 25%;
}
.top-recruitment .yokushiru img {
  width: 11rem;
}
.top-recruitment .detail-btn {
  position: absolute;
  left: 50%;
  bottom: -12rem;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.top-info {
  margin-bottom: 2rem;
}
.top-info .info-list img {
  width: 7rem !important;
  aspect-ratio: 1/1 !important;
}
.top-info .info-list .text-wrap h2 {
  padding: 0.3rem 0;
  text-align: start;
}
.top-info .detail-btn {
  position: relative;
  bottom: -1rem;
  margin: 0 auto;
  text-decoration: none;
}
a.detail-btn .text {
  color: var(--black-color);
}
.top-info  a.detail-btn::after {
  bottom: 17px;
}

/* 採用情報ページ */
.recruit-top-view {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  background-color: var(--bg-color2);
  display: flex;
  justify-content: center;
}
.recruit-top-view>div {
  width: 100%;
}
.recruit-top-view .static-content {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.recruit-top-view .static-content>div {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.recruit-top-view .static-content .recruit-top-image1 {
  width: 22vw;
  height: 30vw;
  max-width: 24rem;
  min-width: 12rem;
  max-height: 33rem;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.recruit-top-view .static-content .recruit-top-image1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: -121px 0;
}
.recruit-top-view .static-content .recruit-top-image2 {
  width: 22vw;
  height: 30vw;
  max-width: 24rem;
  min-width: 12rem;
  max-height: 33rem;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.recruit-top-view .static-content .recruit-top-image2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: -273px -35px;
  transform: scale(1.4);
}
.recruit-top-view .static-content .yokushiru {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}
.recruit-top-view .static-content .yokushiru img {
  width: 25vw;
  max-width: 24rem;
  min-width: 21rem;
}
.recruit-top-view .left-box,
.recruit-top-view .right-box {
  position: relative;
}
.recruit-top-view .left-box .human {
  position: absolute;
  top: 3rem;
  right: -1rem;
}
.recruit-top-view .left-box .human img {
  width: 11vw;
  max-width: 7rem;
}
.recruit-top-view .right-box .human {
  position: absolute;
  top: -8rem;
  left: -1rem;
}
.recruit-top-view .right-box .human img {
  width: 11vw;
  max-width: 7rem;
}
.recruit-qa {
  position: relative;
  background-color: var(--bg-color2);
}
.recruit-qa .message-container {
  position: relative;
  margin-right: 25vw;
}
.recruit-qa .message-container>div>div:first-child {
  position: absolute;
  top: -5rem;
  right: 10vw;
  margin-left: 1rem;
}
.recruit-qa .message {
  position: relative;
  z-index: 20;
  padding: 0 0.5rem;
  box-decoration-break: clone;
  display: inline;
  background-color: var(--white-color);
  line-height: 2.5;
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
}
.recruit-qa .message-image {
  position: relative;
  z-index: 0;
}
.recruit-qa .message-image img {
  width: 75vw;
  padding-top: 5rem;
}
.recruit-qa .message-container .human-box {
  position: absolute;
  top: -7rem;
  right: -8rem;
}
.recruit-qa>div>.human-box {
  position: absolute;
  top: 36vw;
  left: 42%;
}
.recruit-qa .human-box {
  position: absolute;
  width: 17rem;
  height: 17rem;
  background-color: var(--white-color);
  border-radius: 50%;
  z-index: auto;
}
.recruit-qa .human-box .human0 {
  position: absolute;
  top: 1rem;
  left: 2rem;
  z-index: 2;
}
.recruit-qa .human-box .human0 img {
  width: 13rem;
}
.recruit-qa .slogan {
  position: absolute;
  bottom: -5rem;
  left: 5rem;
  z-index: 10;
}
.recruit-qa .slogan img {
  width: 37vw;
  max-width: 26rem;
}
.recruit-qa .inner {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}
.recruit-qa .inner>div {
  display: flex;
}
.recruit-qa .qa-box {
  position: relative;
  width: 33vw;
  max-width: 30rem;
  min-width: 25rem;
  height: 20rem;
  padding: 1.8rem 2.5rem;
  background-color: var(--white-color);
  border-radius: 20px;
  border: 1px solid #FF8800;
  box-shadow: 6px 6px 0 #FF8800;
}
.recruit-qa .qa-box .qa-title>div {
  display: flex;
  gap: 2rem;
  padding-bottom: 2rem;
}
.recruit-qa .qa-box .qa-title p {
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  font-weight: bold;
  color: #F35528;
}
.recruit-qa .qa-box .qa-title+p {
  line-height: 1.7;
} 
.recruit-qa .inner p.bold {
  width: 30vw;
  max-width: 26rem;
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}
.recruit-qa .text-detail-box>div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.recruit-qa .detail-btn {
  position: relative;
  bottom: auto;
  text-decoration: none;
  flex-shrink: 0;
}
.recruit-qa .box-01 .inner>div {
  justify-content: space-between;
  align-items: flex-end;
}
.recruit-qa .box-01 {
  position: relative;
  top: -7rem;
}
.recruit-qa .box-01 .human {
  position: absolute;
  top: 2rem;
  left: 45%;
  z-index: 2;
}
.recruit-qa .box-02 {
  position: relative;
  top: -4rem;
}
.recruit-qa .box-02 .inner>div {
  justify-content: space-between;
}
.recruit-qa .box-02 .text-detail-box>div {
  padding-top: 2rem;
}
.recruit-qa .box-02 .text-detail-box p.bold {
  display: flex;
  justify-content: flex-end;
}
.recruit-qa .box-02 .human-box {
  left: 50%;
}
.recruit-qa .box-02 .human-box .human {
  position: absolute;
  left: -7rem;
  z-index: 2;
}
.recruit-qa .box-02 .human-box .human img {
  width: 21vw;
  max-width: 17rem;
}
.recruit-qa .box-03 {
  position: relative;
  top: -8rem;
}
.recruit-qa .box-03 .inner>div {
  justify-content: space-between;
  align-items: flex-end;
}
.recruit-qa .box-03 .text-detail {
  order: 1;
}
.recruit-qa .box-03 .qa-box {
  order: 2;
}
.recruit-qa .box-03 .human-box {
  right: 38%;
}
.recruit-qa .box-03 .human-box .human {
  position: absolute;
  top: 1rem;
  left: 5rem;
  z-index: 2;
}
.recruit-qa .box-03 .human-box .human img {
  width: 15vw;
  max-width: 13rem;
}
.recruit-qa .box-03 .text-detail-box>div {
  width: 33rem;
  padding-bottom: 2rem;
}
.recruit-qa .box-04 {
  position: relative;
  top: -5rem;
}
.recruit-qa .box-04 .inner>div {
  justify-content: space-between;
  align-items: center;
}
.recruit-qa .box-04 .text-detail-box p.bold {
  display: flex;
  justify-content: flex-end;
}
.recruit-qa .box-04 .human-box {
  left: 52%;
}
.recruit-qa .box-04 .human-box .human {
  position: absolute;
  top: -1rem;
  left: -10rem;
  z-index: 2;
}
.recruit-qa .box-04 .human-box .human img {
  width: 15vw;
  max-width: 13rem;
}
.recruit-rewarding {
  background-color: var(--bg-color2);
  padding-bottom: 3rem;
}
.recruit-rewarding .inner {
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}
.recruit-rewarding .inner>div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.recruit-rewarding .rewarding-images {
  position: relative;
}
.recruit-rewarding .rewarding-image img {
  width: 100%;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}
.recruit-rewarding .rewarding-title-image {
  position: absolute;
  top: -2rem;
  left: 60%;
}
.recruit-rewarding .employee-introduction-box {
  position: relative;
  top: -18rem;
  margin-bottom: -13rem;
}
.recruit-rewarding .employee-introduction-box>div {
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.recruit-rewarding .employee-introduction-left>div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.recruit-rewarding .employee-introduction {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.8rem;
  background-color: #FFFFD6;
  border-radius: 20px;
  border: 1px solid #FF8800;
  box-shadow: 6px 6px 0 #FF8800;
}
.recruit-rewarding .employee-introduction .bold {
  padding-bottom: 0.5rem;
}
.recruit-rewarding .employee-introduction .bold.tb {
  display: none;
}
.recruit-rewarding .employee-introduction p {
  line-height: 1.6;
}
.recruit-rewarding .employee-introduction .bold:nth-child(2) {
  font-size: 1.2rem;
}
.recruit-rewarding .employee-introduction .img-heading-box>div {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.recruit-rewarding .employee-introduction .img-heading-box img {
  width: 8rem;
}

.recruit-job-description {
  margin-bottom: 6rem;
}
.recruit-job-description .inner {
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto !important;
}
.recruit-job-description .wp-block-button {
  margin: 0 auto;
}
.recruit-job-description .wp-block-button a {
  width: 28rem;
  margin-top: 2rem;
  color: var(--black-color);
  border: 1px solid var(--black-color);
  background-color: #F6B3B8;
  font-weight: bold;
  transition: all 0.3s ease;
}
.recruit-job-description .wp-block-button a:hover {
  color: #F6B3B8;
  background-color: var(--black-color);
}

/* お問い合わせ */
.text-center .required {
  margin-right: 0.2rem;
}
span.required {
  background-color: #F22929;
  color: var(--white-color);
  padding: 0.2rem 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
table.contact {
  width: 100% !important;
}
table.contact td:first-child {
  width: 20rem;
}
table.contact .label-flex {
  display: flex;
  justify-content: space-between;
}
table.contact span.required {
  margin-right: 1rem;
}
table.contact input[type=text],
table.contact input[type=email] {
  width: 70%;
  height: 1.3rem;
  border: 1px solid var(--gray-color);
}
table.contact textarea {
  width: 100%;
  border: 1px solid var(--gray-color);
}
.consent-submit-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.consent-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.consent-box p {
  margin-bottom: 1rem;
}
.consent-btn {
  display: flex;
  align-items: center;
}
.submit-btn input.wpcf7-submit {
  background: #979797;
  color: var(--white-color);
  border: 1px solid #979797; 
  padding: 0.6rem 7rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  appearance: none;
}
.submit-btn input.wpcf7-submit:hover {
  background: var(--white-color);
  color: #979797;
}
.wpcf7-spinner {
  display: none;
}
.wpcf7-form-control-wrap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  transform: scale(1.2);
  margin-right: 8px;
  border: 1px solid var(--gray-color);
  border-radius: 0;
}
.wpcf7-form-control-wrap input[type="checkbox"] {
  vertical-align: middle;
}
.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.wpcf7-form-control-wrap input[type="radio"] {
  width: 20px;
  height: 20px;
  transform: scale(1.1);
  margin-right: 8px;
  vertical-align: middle;
}

/* モーダル */
.modalArea {
  display: none;
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}
.modalBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 80%;
  height: 80%;
  max-width: 650px;
  padding: 10px 10px;
  background-color: #fff;
}
/* #modalThai .modalBtn {
  height: 21rem;
} */
.modalBtn .factory-1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.modalWrapper {
  width: 100%;
  height: 100%;
  overflow : auto;

}
.closeModal {
  position: absolute;
  top: -2.1rem;
  right: 0;
  cursor: pointer;
  background-color: #fff;
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
#openModal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
}
.modalContents {
  padding: 1rem;
}
#modalThai .modalContents {
  padding-top: 0.2rem;
}
.modalContents .factory-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.modalContents h1 {
  font-size: 1.7rem;
  margin: 0.4rem 0;
}
#modalThai .modalContents .factory-head h1 {
  margin: 0;
}
.modalContents .factory-head h1 span {
  font-size: 1.1rem;
}
.modalContents .factory-head img {
  width: 9rem;
  height: 7rem;
  object-fit: cover;
}
.modalContents .factory-head .name-address-tel {
  width: 72%;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modalContents .factory-head .name-address {
  font-size: 0.9rem;
  margin-right: 3rem;
}
.modalContents .factory-head a {
  width: 4.1rem;
  height: 4.1rem;
  border: 2px solid var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}
.modalContents .factory-head a svg {
  width: 2.2rem;
  height: 2.2rem;
}
.modalContents .factory-overview {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}
.modalContents .factory-overview img {
  width: 50%;
  height: 12rem;
  object-fit: cover;
}
.modalContents .factory-overview .overview {
  width: 50%;
}
.modalContents .factory-overview .overview p {
  font-size: 0.9rem;
}
.modalContents h2 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}
.modalContents .machine {
  margin: 1rem 0;
}
.modalContents .machine li {
  padding: 0.5rem 0.5rem 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-color);
}
.modalContents .machine li:first-child {
  border-top: 1px solid var(--gray-color);
}
.modalContents .machine li p {
  font-size: 0.9rem;
}
.modalContents .map iframe {
  height: 20rem;
}

/*タブレットレイアウト*/
@media (max-width: 1280px) {
  /* トップページ */
  .top-view-image img {
    height: 88vh;
  }
  .top-features-mask .mask-box .mask {
    height: 13rem;
    overflow: hidden;
  }
  .top-features-mask .mask img {
    transform: scale(1.4, 1.4);
    object-fit: cover;
    transform-origin: right top;
  }
  .top-features-mask .mask-box p {
    width: 84%;
    left: 1.3rem;
    font-size: 1rem;
  }
  .top-features .inner:has(.factories) {
    margin-top: 5rem;
  }
  .top-features .factories .wp-block-column img {
    height: 215px;
  }
  .top-features .painting-examples .example2 img {
    object-position: 4px 6px;
  }
  .top-features .painting-examples .example3 img {
    object-position: -13px 21px;
  }
  .top-features .painting-examples .example4 img {
    object-position: -46px 15px;
  }
  .top-features .painting-examples .example5 img {
    object-position: -46px -14px;
  }
  .top-features .painting-examples .example6 img {
    object-position: -38px 6px;
  }
  .top-features .painting-examples .example7 img {
    object-position: -9px 0px;
  }
  .top-features .painting-examples .example8 img {
    object-position: -10px 4px;
  }
  .top-features .painting-examples .example9 img {
    object-position: 18px 18px;
  }
  .company-introduction .iso-image img {
    height: 8rem;
  }
  .history-container .row {
    flex-direction: column;
    padding-bottom: 0;
    gap: 0.4rem;
  }
  .history-container .row .text {
    padding-bottom: 0.5rem;
  }
  .top-recruitment .mask-left img {
    width: 58%;
  }
  .top-recruitment p.right-text {
    bottom: -1.6rem;
    font-size: 1rem;
  }
  .top-recruitment .detail-btn {
    bottom: -13rem;
  }
  .top-recruitment .slogan {
    bottom: -2.6rem;
  }
  .detail-btn {
    bottom: -3.3rem;
    width: 100px;
    height: 100px;
  }

  /* お問い合わせフォーム */
  table.contact td:first-child {
    width: 17rem;
  }

  /* 採用  */
  .recruit-top-view .static-content .recruit-top-image1 img {
    object-position: -96px 0;
  }
  .recruit-top-view .static-content .recruit-top-image2 img {
    object-position: -216px -28px;
  }
  .recruit-qa .qa-box {
    width: 38vw;
    height: 100%;
    min-width: auto;
    padding: 1.8rem 1.5rem;
  }
  .recruit-qa .inner p.bold {
    width: 33vw;
  }
  .recruit-qa .human-box {
    width: 14rem;
    height: 14rem;
  }
  .recruit-qa>div>.human-box {
    top: 47vw;
    left: 40%;
  }
  .recruit-qa .qa-box .qa-title>div {
    gap: 1rem;
  }
  .recruit-qa .box-01 .human img {
    width: 9rem;
  }
  .recruit-qa .box-02 .human-box {
    top: -2rem;
    left: 55%;
  }
  .recruit-qa .box-02 .text-detail-box>div {
    padding-top: 0;
    flex-direction: column;
  }
  .recruit-qa .box-02 .text-detail-box p.bold {
    margin-top: 1.2rem;
  }
  .recruit-qa .box-03 .text-detail-box>div {
    width: 22rem;
    padding-top: 5.5rem;
    flex-direction: column;
  }
  .recruit-qa .box-03 .human-box {
    right: 45%;
  }
  .recruit-qa .box-04 .text-detail-box>div {
    flex-direction: column;
  }
  .recruit-qa .box-04 .human-box .human {
    left: -4rem;
  }
  .recruit-rewarding .employee-introduction {
    width: 100%;
    height: 100%;
  }
  .recruit-rewarding .employee-introduction-box {
    top: -7rem;
    margin-bottom: -6rem;
  }
  .recruit-rewarding .employee-introduction .bold.pc {
    display: none !important;
  }
  .recruit-rewarding .employee-introduction .img-heading-box>div {
    align-items: center;
  }
  .recruit-rewarding .employee-introduction .bold.tb {
    display: block;
  }
  .company-introduction img {
    height: 15rem;
  }
}

/*スマホレイアウト*/
@media (max-width: 768px) {
  h2.wp-block-heading {
    padding: 1.2rem;
    font-size: 1.6rem;
  }
  .wrapper .inner {
    width: 90%;
  }
  .header-mask {
    position: static;
  }
  .container {
    flex-direction: column;
  }
  .container.archive {
    padding-top: 1rem;
  }
  .pagination {
    margin: 2rem 0;
  }
  /* ヘッダー  */
  .header-nav-header {
    height: 95px;
  }
  .hamburger-menu {
    width: 78px;
    height: 78px;
    padding: 10px 13px;
    gap: 11px;
  }
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
  }
  .slide-menu {
    right: -100vw;
    width: 100%;
  }
  .site-title-area {
    position: static;
    width: 100%;
  }
  .site-title-area>p {
    top: 41vw;
    left: 1rem;
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.4);
  }
  .header-mask-large {
    position: static;
  }
  .site-title-container {
    position: absolute;
    top: 0;
    padding-top: 0.8rem;
    padding-left: 1rem;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }
  .iso-box strong {
    font-size: 0.8rem;
  }
  .iso-box img {
    width: 4.6rem;
  }
  
  /*フッター*/
  .footer-info {
    gap: 0.4rem;
  }
  .footer-info>p {
    margin-bottom: 0.2rem;
  }
  .footer-address {
    flex-direction: column;
    gap: 0.2rem;
  }

  /* サイドバー */
  #sidebar {
    width: auto;
  }

  /* トップページ */
  .top-view>div {
    flex-direction: column;
  }
  .top-view .top-view-left {
    height: 100%;
    padding-top: 1rem;
  }
  .top-view-left>div {
    width: 4rem;
    height: 100%;
    margin-top: 0;
    gap: 1rem;
    justify-content: space-between;
  }
  .top-view-left .icon-sns>div {
    gap: 1.2rem;
  }
  .name-sns-box {
    position: absolute;
    bottom: 0;
    z-index: 10;
    height: 100%;
    padding-bottom: 1rem;
    display: flex;
    align-items: flex-end;
  }
  .name-sns-box img {
    width: 2.4rem;
  }
  .name-sns-box>div {
    height: 100%;
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;

  }
  .name-sns-box p {
    color: var(--white-color);
    text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.4);
    font-weight: bold;
    font-size: 1.7rem;
  }
  .name-sns-box .mail-box {
    height: 100%;
  }
  .name-sns-box .mail-box>div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .top-view-slogan .slogan-mask>img {
    width: 90vw;
    min-width: auto;
  }
  .top-view-slogan .slogan-image {
    right: 0.5rem;
  }
  .top-view-slogan .slogan-image>img {
    width: 65vw;
    min-width: auto;
  }
  .top-view-image {
    width: 100%;
  }
  .top-view-image img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
  }
  .factory-place {
    text-align: center;
    background-color: var(--bg-color);
    padding: 1rem 0 2.5rem;
  }
  #modalThai .modalBtn {
    height: 80%;
  }
  .modalContents {
    padding: 0.5rem;
  }
  .modalContents .factory-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .modalContents .factory-head .name-address-tel {
    width: 100%;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .modalContents .factory-head .name-address {
    margin-right: 1rem;
  }
  .modalContents .factory-overview {
    flex-direction: column;
    gap: 0.5rem;
  }
  .modalContents .factory-overview img {
    width: 100%;
    height: 49vw;
  }
  .modalBtn .factory-1 {
    margin-bottom: 3rem;
  }
  .modalContents .factory-overview .overview {
    width: 100%;
  }
  .modalContents .map iframe {
    width: 100%;
    height: 14rem;
  }
  .top-features-mask .inner {
    width: 100vw;
    margin-top: 15rem;
  }
  .top-features .inner:has(.factories) {
    margin-top: 2rem;
  }
  .top-features-mask>div>figure:first-child img {
    width: 100%;
  }
  .top-features-mask .mask {
    position: static;
    height: auto;
  }
  .top-features-mask .mask img {
    transform: none;
    width: 100%;
  }
  .top-features-mask .mask-box {
    top: -14rem;
    width: 100%;
  }
  .top-features-mask .mask-box .mask {
    height: 100%;
  }
  .top-features-mask .mask-box p {
    top: 3vw;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .top-features .top-features-mask .inner .wp-block-column {
    padding: 0 1.2rem;
  }
  .top-features .top-features-mask .inner .wp-block-column p {
    padding: 0.3rem 0 0.5rem;
  }
  .top-features .top-features-mask .inner .wp-block-column .watch-text {
    padding-bottom: 2rem;
  }
  .top-features .factories .wp-block-column img {
    height: auto;
  }
  .top-features .explanation .bold {
    font-size: 1.4rem;
  }
  .top-features .explanation>div {
    padding: 2.5rem 0;
  }
  .top-features .explanation p {
    font-size: 1.1rem;
  }
  .top-features .factories {
    padding: 2rem 0 7rem;
    gap: 5.3rem;
  }
  .top-features .painting-examples .row>div {
    grid-template-columns: repeat(2, 1fr);
  }
  .rows h4.heading-2 { grid-column: span 5; }
  .rows h4.heading-3 { grid-column: span 5; }

  .heading-group {
    grid-template-columns: 1fr;
  }
  .top-features .painting-examples .item {
    margin-bottom: 0;
  }
  .top-features .painting-examples .rows h4 {
    margin-top: 2rem;
  }
  .company-introduction .inner .wp-block-table {
    overflow-x: visible;
  }
  .company-introduction .wp-block-columns {
    margin: 3rem 0 1rem;
  }
  .president-image {
    margin: 0 auto;
  }
  .company-introduction .president-image img {
    width: 65%;
    height: auto;
    margin: 0 auto;
  }
  .company-introduction .greeting {
    text-align: center;
  }
  .company-introduction .center {
    align-items: flex-start;
  }
  .company-introduction .center h3 {
    width: 50%;
    padding: 0.6rem 0 0.6rem 3rem;
    box-sizing: border-box;
    text-align: start;
    font-size: 1.3rem
  }
  .company-introduction .center h3.work-place {
    padding: 0.6rem 0 0.6rem 1.8rem;
  }
  .company-introduction .iso-column {
    margin-right: 0;
    border-right: none;
  }
  .company-introduction .iso-column .iso-quality {
    margin: 0 auto;
    padding-top: 1.5rem;
  }
  .company-introduction img {
    height: 66vw;
  }
  .hide-mobile-environment,
  .hide-mobile-history {
    display: none;
  }
  div.more-btn-environment,
  div.more-btn-history {
    width: 10rem;
    display: block !important;
    margin: 0 auto !important;
  }
  .more-btn-environment a,
  .more-btn-history a {
    color: var(--main-color);
    text-align: center;
    background-color: transparent;
    border: 1px solid var(--main-color);
    padding: 0.7rem 0;
  }
  .more-btn-history a {
    margin-top: 1rem;
  }
  .more-btn-environment {
    padding: 1.5rem;
  }
  .bg-yellow.history-container {
    background-color: transparent;
  }
  .wp-block-table td, .wp-block-table th {
    border-top: none;
    border-bottom: none;
  }

  table {
    width: 100% !important;
  }
  table tr {
    display: flex;
    flex-direction: column;
  }
  table td:first-child {
    border-top: 1px solid var(--gray-color);
    font-weight: bold;
  }
  table tr:last-child td:last-child {
    border-bottom: 1px solid var(--gray-color);
  }
  .company-introduction .wp-block-table td {
    width: 92%;
    padding: 0.6em 0.7em;
  }
  .company-introduction .wp-block-table td:nth-child(2) {
    padding-left: 0.4em;
  }
  .top-recruitment .bg-image {
    padding-right: 0;
  }
  .top-recruitment {
    margin-bottom: 5rem;
    padding-bottom: 5rem;
  }
  .top-recruitment .inner {
    width: 100%;
  }
  .top-recruitment .bg-image img {
    width: 100%;
    height: 48vw;
    object-fit: cover;
    object-position: 100% 100%;
  }
  .top-recruitment .mask {
    position: static;
  }
  .top-recruitment .mask-left img {
    width: 100%;
    height: 24vw;
    min-height: 170px;
  }
  .top-recruitment .mask-right {
    transform: none;
  }
  .top-recruitment .mask-right img {
    width: 100%;
    height: 30vw;
    min-height: 269px;
  }
  .top-recruitment p.bold {
    top: 1rem;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 85%;
    font-size: 1.4rem;
    line-height: 1.7;
  }
  .top-recruitment .yokushiru {
    top: 2%;
    right: 7%;
  }
  .top-recruitment .yokushiru img {
    width: 8rem;
  }
  .top-recruitment .slogan {
    bottom: 10rem;
    left: 15%;
    right: auto;
  }
  .top-recruitment .slogan img {
    width: 18rem;
  }
  .top-recruitment p.right-text {
    bottom: 4.5rem;
    left: 50%;
    right: auto;
    transform: translate(-50%, 0%);
    width: 85%;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.5;
  }
  .top-recruitment .detail-btn {
    top: auto;
    bottom: -6.5rem;
  }
  .article-list {
    margin-top: 2rem;
  }
  .article-list .article-item .img-wrap {
    min-width: 0;
  }

  /* お知らせ  */
  .single .sidebar, .page .sidebar {
    margin-top: 0;
  }
  .info-title {
    padding-top: 1rem;
    height: auto;
  }
  .info-title .inner div {
    width: 65%;
  }
  .article-head {
    padding-top: 1rem;
  }
  .article-list.info-list-all {
    padding-top: 0;
  }

  /* お問い合わせ */
  table.contact .label-flex {
    justify-content: flex-start;
  }
  table.contact span.required {
    margin-left: 1rem;
  }
  table.contact td:first-child {
    width: 92%;
  }
  .text-center:has(.required) {
    text-align: start;
  }

  /* 採用  */
  .recruit-top-view {
    height: 60vh;
    max-height: 1500px;
    min-height: 520px;
  }
  .recruit-top-view .static-content {
    position: relative;
    display: block;
  }
  .recruit-top-view .static-content>div {
    display: block;
  }
  .recruit-top-view .static-content .yokushiru {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-43%, -62%);
  }
  .recruit-top-view .static-content .yokushiru img {
    width: 12rem;
    max-width: none;
    min-width: auto;
  }
  .recruit-top-view .static-content .recruit-top-image1 {
    position: absolute;
    top: 2rem;
    left: 1rem;
    width: 45vw;
    height: 38vw;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    aspect-ratio: 5 / 4;
  }
  .recruit-top-view .static-content .recruit-top-image2 {
    position: absolute;
    right: 1rem;
    bottom: 4rem;
    width: 45vw;
    height: 38vw;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    aspect-ratio: 5 / 4;
  }
  .recruit-top-view .static-content .recruit-top-image1 img,
  .recruit-top-view .static-content .recruit-top-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
   .recruit-top-view .static-content .recruit-top-image1 img {
    object-position: -16px 2px;
    transform: scale(1.5);
  }
  .recruit-top-view .static-content .recruit-top-image2 img {
    object-position: -47px -8px;
  }
  .recruit-top-view .left-box,
  .recruit-top-view .right-box {
    position: static;
  }
  .recruit-top-view .left-box .human {
    top: auto;
    left: 50%;
    bottom: 4rem;
    transform: translate(-70%, 0);
  }
  .recruit-top-view .left-box .human img {
    width: 4rem;
  }
  .recruit-top-view .right-box .human {
    top: 5rem;
    left: 50%;
    transform: translate(92%, 0);
  }
  .recruit-top-view .right-box .human img {
    width: 4rem;
  }
  .yokushiru-recruit-info {
    position: relative;
    margin-top: -2.5rem;
    padding: 0 2rem 2rem;
    background-color: var(--bg-color2);
  }
  .yokushiru-recruit-info img {
    width: 18rem;
    margin: 0 auto;
  }
  .recruit-qa {
    overflow: hidden;
  }
  .recruit-qa>div>.human-box {
    top: 25%;
    left: 10%;
  }
  .recruit-qa .human-box {
    width: 11rem;
    height: 11rem;
  }
  .recruit-qa .message-container {
    margin-right: 0;
  }
  .recruit-qa .message-container>div>div:first-child {
    position: static;
    padding: 8rem 0 1rem;
  }
  .recruit-qa .message-container .human-box {
    width: 14rem;
    height: 14rem;
    top: 3rem;
    right: 1rem;
  }
  .recruit-qa .human-box .human0 {
    top: -1rem;
    left: 1.5rem;
    z-index: 2;
    width: 11rem;
  }
  .recruit-qa .message-image {
    width: 95vw;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
  }
  .recruit-qa .message-image img {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    object-fit: cover;
  }
  .recruit-qa .message {
    line-height: 2.2;
  }
  .recruit-qa .slogan {
    bottom: -5.3rem;
    left: 50%;
    width: 100%;
    transform: translateX(-45%);
  }
  .recruit-qa .slogan img {
    width: 82%;
  }
  .recruit-qa .inner {
    width: 100%;
    padding: 1rem 0.8rem;
  }
  .recruit-qa .inner>div {
    flex-direction: column;
  }
  .recruit-qa .inner p.bold {
    width: 100%;
  }
  .recruit-qa .box-01 .inner p.bold {
    padding-top: 6rem;
  }
  .recruit-qa .box-01,
  .recruit-qa .box-02,
  .recruit-qa .box-03,
  .recruit-qa .box-04 {
    position: static;
  }
  .recruit-qa .qa-box {
    width: 100%;
    height: 100%;
    max-width: none;
    min-width: auto;
    padding: 1.8rem 1.2rem;
  }
  .recruit-qa .qa-box .qa-title p {
    font-size: 1.5rem;
    font-weight: 900;
  }
  .recruit-qa .qa-box .qa-title>div {
    padding-bottom: 1.4rem;
  }
  .recruit-qa .text-detail-box>div {
    flex-direction: column;
  }
  .recruit-qa .box-01 .qa-box {
    margin-top: 5rem;
  }
  .recruit-qa .box-01 .num {
    position: relative;
    top: 4rem;
    right: 2rem;
  }
  .recruit-qa .box-01 .human {
    top: 38.1%;
    left: 17%;
    z-index: 0;
  }
  .recruit-qa .box-01 .human img {
    width: 7.5rem;
  }
  .recruit-qa .box-02 .num {
    position: relative;
    top: -1rem;
    left: 2rem;
    margin-top: 8rem;
  }
  .recruit-qa .box-02 .human-box {
    top: 2rem;
  }
  .recruit-qa .box-02 .human-box .human {
    top: 1rem;
    left: 0;
  }
  .recruit-qa .box-02 .human-box .human img {
    width: 11rem;
  }
  .recruit-qa .box-02 .text-detail-box p.bold {
    justify-content: center;
  }
  .recruit-qa .box-03 .num {
    position: relative;
    top: -1rem;
    right: -7rem;
    margin-top: 4rem;
  }
  .recruit-qa .box-03 .qa-box {
    order: 0;
  }
  .recruit-qa .box-03 .text-detail-box>div {
    width: 100%;
  }
  .recruit-qa .box-03 .human-box {
    right: 43%;
  }
  .recruit-qa .box-03 .human-box .human {
    top: 0.5rem;
    left: 1rem;
  }
  .recruit-qa .box-03 .human-box .human img {
    width: 9rem;
  }
  .recruit-qa .box-03 .text-detail-box>div {
    padding-top: 1.5rem;
  }
  .recruit-qa .box-03 .inner>div {
    align-items: center;
  }
  .recruit-qa .box-04 .num {
    position: relative;
    top: -1rem;
    left: 1rem;
    margin-top: 7rem;
  }
  .recruit-qa .box-04 .inner>div {
    align-items: flex-start;
  }
  .recruit-qa .box-04 .human-box {
    left: 49%;
  }
  .recruit-qa .box-04 .human-box .human {
    left: auto;
    right: 0;
  }
  .recruit-qa .box-04 .human-box .human img {
    width: 11rem;
  }
  .recruit-qa .box-04 .text-detail-box {
    margin: 0 auto;
    padding-top: 1.5rem;
  }

  .recruit-rewarding {
    padding-top: 3rem;
  }
  .recruit-rewarding .rewarding-image img {
    width: 95vw;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .recruit-rewarding .rewarding-title-image {
    top: 1.7rem;
    left: 46%;
  }
  .recruit-rewarding .rewarding-title-image img {
    width: 4.3rem;
  }
  .recruit-rewarding .inner {
    width: 100%;
  }
  .recruit-rewarding .employee-introduction {
    width: 100%;
    height: 100%;
    padding: 1.5rem 1.3rem;
  }
  .recruit-rewarding .employee-introduction-box {
    position: static;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }
  .recruit-rewarding .employee-introduction-box>div {
    flex-direction: column;
    padding: 1rem 0.8rem;
  }
  .recruit-rewarding .employee-introduction .bold:nth-child(2) {
    display: block;
  }
  .recruit-job-description .wp-block-button a {
    width: 20rem;
  }
  .recruit-rewarding .employee-introduction .img-heading-box img {
    width: 9rem;
  }
  .recruit-rewarding .employee-introduction .img-heading-box>div {
    padding-bottom: 1rem;
  }
  .recruit-rewarding .employee-introduction .bold:first-child {
    font-size: 1.1rem;
  }
  .recruit-rewarding .employee-introduction .bold:nth-child(2) {
    padding-bottom: 0.7rem;
    font-size: 1.3rem;
  }
  .company-introduction .image-box { 
    margin-top: 0;
  }  
}