﻿@charset "UTF-8";

body {
	margin: 0;
	padding: 0;
	color: #333;
}

/* 画像拡大表示 */
body.image-viewer-open {
  overflow: hidden;
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-sizing: border-box;
}

.image-viewer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(20, 24, 20, 0.88);
  cursor: zoom-out;
}

.image-viewer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  width: min(1120px, 100%);
  max-height: 100%;
  padding: 50px 12px 14px;
  border: 1px solid #7b837a;
  border-radius: 4px;
  background: #f8f7f2;
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.image-viewer-panel figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.image-viewer-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  margin: 0 auto;
  object-fit: contain;
}

.image-viewer-caption {
  min-height: 1.5em;
  padding: 10px 8px 0;
  color: #263326;
  font-size: 15px;
  line-height: 1.5;
}

.image-viewer-close,
.image-viewer-prev,
.image-viewer-next {
  border: 1px solid #6d766b;
  border-radius: 3px;
  background: #fff;
  color: #263326;
  cursor: pointer;
}

.image-viewer-close:hover,
.image-viewer-prev:hover,
.image-viewer-next:hover {
  background: #e7eee5;
}

.image-viewer-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 38px;
  height: 34px;
  font-size: 27px;
  line-height: 1;
}

.image-viewer-prev,
.image-viewer-next {
  width: 40px;
  height: 58px;
  font-size: 38px;
  line-height: 1;
}

/* お問い合わせ結果 */
.contact-result-panel {
  margin: 20px 0 30px;
  padding: 24px 26px;
  border: 1px solid #cfc8bb;
  border-left: 5px solid #5d8c5b;
  background: #faf9f5;
}

.contact-result-panel h2 {
  margin-top: 0;
}

.contact-result-panel p {
  line-height: 1.9;
}

.contact-result-error {
  border-left-color: #a43d32;
}

.contact-result-errors {
  margin: 18px 0;
  padding: 12px 16px;
  border: 1px solid #d7aaa5;
  background: #fff5f4;
  color: #8f2e25;
}

.contact-result-errors .error_messe {
  margin: 5px 0;
}

.contact-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 4px;
}

.contact-result-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid #426640;
  border-radius: 3px;
  background: #4f774c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.contact-result-actions a:hover {
  background: #3e603c;
}

@media screen and (max-width: 640px) {
  .image-viewer {
    padding: 10px;
  }

  .image-viewer-panel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 48px 5px 10px;
  }

  .image-viewer-image {
    max-height: calc(100vh - 150px);
  }

  .image-viewer-prev,
  .image-viewer-next {
    width: 36px;
    height: 52px;
  }

  .contact-result-panel {
    padding: 18px 15px;
  }

  .contact-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 50%;
	z-index: 10000;
	transform: translate(-50%, -160%);
	padding: 10px 18px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #0a3906;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

.skip-link:focus {
	transform: translate(-50%, 0);
	color: #fff;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex="0"]:focus {
	outline: 3px solid #d28700;
	outline-offset: 3px;
}

@supports selector(:focus-visible) {
	a:focus:not(:focus-visible),
	button:focus:not(:focus-visible),
	input:focus:not(:focus-visible),
	select:focus:not(:focus-visible),
	textarea:focus:not(:focus-visible),
	[tabindex="0"]:focus:not(:focus-visible) {
		outline: none;
	}
}

main[tabindex="-1"]:focus {
	outline: none;
}

[hidden] {
	display: none !important;
}

#entry [hidden] {
	display: none !important;
}

#main a {
	overflow-wrap: anywhere;
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}


p.right {text-align: right; margin-right: 2em;}
a { color: #b7a077; }
a:visited {color: #a8a8a8; }
a:hover {
	color: #988564;
	font-weight: bold;
	text-decoration: none;
}
a img { transition: opacity 0.2s linear; }
a:hover img { opacity: 0.7; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
p {
	margin-top: 0;
	line-height: 1.6;
}
img { vertical-align: bottom; }
#main h1 {
	background-image: url(../img/header_bg.jpg);
	padding: 30px 30px 30px 20px;
font-size: 26px;
	border-bottom:solid 1px #8b7348;
}
#main h2 {
	font-size: 22px;
	border: 1px solid #b7a077;
	padding: 11px 22px;
	border-radius: 5px;
}
#main h3 {
	font-size:18px;
	border-left: solid 3px #b7a077;
	padding: 4px 9px 4px 14px;
}
.page-policy #main .policy-intro {
	margin-bottom: 28px;
	padding: 4px 9px 4px 14px;
	border-left: solid 3px #b7a077;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.6;
}
header {
	width: 980px;
	margin: 0 auto;
}
.desktop-site-header .site-logo {
	float: left;
	margin: 5px 0 10px;
	line-height: 0;
}
header #header_contact {
	float: right;
	margin: 35px 0 0;
}
#global_navi {
	width: 980px;
	clear: both;
	overflow: hidden;
	margin: 16px auto;
}
#global_navi ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
#global_navi ul li {
	width: 195px;
	float: left;
	margin-right: 1px;
	text-align: center;
}
#global_navi ul li a {
	display: flex;               /* ← 追加：高さ内で中央揃え */
	align-items: center;         /* ← 追加：縦中央 */
	justify-content: center;     /* ← 追加：横中央 */
	height: 50px;                /* ← 追加：ボタン高さを統一 */
	padding: 0 12px;             /* ← 変更：上下は0、左右だけ余白 */
	box-sizing: border-box;      /* ← 追加：はみ出し防止 */

	background-color: #0A3906;
	color: #FFF;
	text-decoration: none;
	transition: background-color 0.2s linear;
}
#global_navi ul li.current a{
	background-color: #5D8C5B;
}
#global_navi ul li a:hover {
	background-color: #5D8C5B;
}
#wrapper {
	width: 980px;
	margin: 0 auto;
	overflow: hidden;
}
#main {
	width: 730px;
	float: left;
}
#sidebar {
	width: 230px;
	float: right;
}
#side_banner { margin-bottom: 30px; }
#side_banner h2 {
	background-color: #716961;
	color: #fff;
	padding: 7px;
	font-size: 14px;
	text-align: center;
}
#side_banner ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#side_banner ul li {margin-bottom: 10px; }
#side_contact { margin-bottom: 30px; }
#side_contact {
	border: 1px solid #b7a077;
	color: #7F7259;
	text-align: center;
}
#side_contact h2 {
	background-color: #b7a077;
	color: #fff;
	padding: 7px;
	font-size: 14px;
}
#side_contact address {
	font-weight: bold;
	font-size: 20px;
	font-style: normal;
}
#side_contact address img {
	vertical-align: middle;
	margin-right: 5px;
}
#side_news { margin-bottom: 30px; }
#side_news {
	border: 1px solid #b7a077;
	color: #7F7259;
	text-align: left;
}
#side_news h2 {
	background-color: #b7a077;
	color: #fff;
	padding: 7px;
	font-size: 14px;
	text-align: center;
}
footer {
	background-color: #0A3906;
	text-align: center;
}
footer #footer_nav {
	background-color: #0A3906;
	padding: 10px 0;
}
footer #footer_nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer #footer_nav li {
	display: inline;
	border-left: solid 1px #aaa;
	margin-left: 8px;
	padding-left: 8px;
	font-size: smaller;
}
footer #footer_nav li:last-child {
	border-right: solid 1px #aaa;
	padding: 0 8px;
}
footer small {
	display: block;
	padding: 8px 0;
	color: #fff;
}
#breadcrumb { font-size: smaller; }
#breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
#breadcrumb ol li { display: inline; }
#breadcrumb ol li::after {
	content: ">";
	padding-left: 7px;
}
#breadcrumb ol li:last-child::after { content: none; }
#main_visual {
	width: 980px;
	margin: 0 auto 48px;
}
#report table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
#report th,
#report td {
	border: 1px solid #c7c7c7;
	padding: 8px;
}
#report th {
	background-color: #f1ede4;
	text-align: left;
	width: 5em;
}
#point,
.point-section { margin-bottom: 30px; }
#point section,
.point-section section {
	margin-bottom: 10px;
	overflow: hidden;
}
#point figure,
.point-section figure {
	float: right;
	margin: 0 0 0 16px;
}
#point figcaption,
.point-section figcaption {
	font-size: 12px;
	color: #000;
	text-align: center;
}
#contents ul {
	display: grid;
	grid-template-columns: repeat(3, 222px);
	justify-content: space-between;
	overflow: visible;
	list-style: none;
	margin: 0;
	padding: 0;
}
#contents ul li {
	width: 220px;
	margin: 0 0 30px;
	padding: 0 0;
	border: solid 1px #ccc;
	float: none;
	text-align: center;
	font-weight: bold;
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
}

#clear{
    clear: left;
}

#entry dl {
	background: #f1ede4;
	border: 1px solid #ddd;
	border-top: 0;
}
#entry dl dt,
#entry dl dd {
	padding: 10px;
	border-top: 1px solid #ddd;
}
#entry dl dt {
	width: 18em;
	float: left;
	clear: both;
	font-weight: bold;
}
#entry dl dd {
	background-color: #fff;
	border-left: 1px solid #ddd;
	margin-left: 18em;
}
.must { color: #f00; }
.must2 { color: #00f; }
.hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
#entry #company,
#entry #name,
#entry #name_kana,
#entry #email,
#entry #tel,
#entry #fax,
#entry #attachments,
#entry #detail {
	width: 90%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 3px;
}
#entry #cate2 {
	margin-left: 15px;
}
#entry #detail {
	height: 15em;
}

#entry #file_list {
	margin: 6px 0;
	padding-left: 1.2em;
	font-size: 90%;
}

#entry #file_list li {
	list-style: disc;
}

#entry .file-remove {
	margin-left: 8px;
	font-size: 85%;
}

#entry #file_clear,
#entry #file_error {
	margin-top: 6px;
}

#entry #file_error,
#entry .field_error {
	color: #c00;
}

#entry .field-invalid {
	outline: 2px solid #c00;
	outline-offset: 2px;
}

#entry #file_help {
	font-size: 90%;
}
#entry #submit_button_cover {
	text-align: center;
}
#entry #submit_button {
	padding: 15px 100px;
	border-radius: 10px;
	font-size: 18px;
	cursor: pointer;
	transition: background-color 0.1s linear;
}
#entry #submit_reset {
	padding: 15px 100px;
	border-radius: 10px;
	font-size: 18px;
	cursor: pointer;
	transition: background-color 0.1s linear;
}
#entry #submit_button:hover {
	background-color: #c7ae81;

}

div.sign { text-align: right; }

#header-middle {
    float: left;
    margin-top:5px;
    margin-left:5em;
    vertical-align:middle;
    letter-spacing:0.5em;
    line-height:15pt;
    padding-top:10px;
}
#header-tel{
	float: right;
    margin-top: 0px;
    margin-right: 10px;
	margin-left: auto;
	margin-right: auto;
	letter-spacing: 0.1em;
	padding-right: 20px;
	padding-top: 25px;
}
#header-tel p.tel{
    /* 電話番号の文字設定 */
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 6px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    text-align: right;
	font-size: 1.4em;
	color: #3cc482;
	font-weight: bold;
	vertical-align: middle;
}
#header-tel p.address{
    /* 住所文字設定 */
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    line-height: 1.2;
    text-align: right;
}
#company dl{
    margin-top: 0;
    margin-right: 15px;
    margin-bottom: 30px;
    margin-left: 10px;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
}

#company dt{
    float: left;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    text-align: left;
    line-height: 16px;
    min-height: 16px;
    font-weight: normal;
    width: 140px !important;
    padding-top: 10px;
    padding-right: 0;
    padding-bottom: 10px;
    padding-left: 20px;
    background-image : url(../img/point.png);
    background-position: 5px 11px;
    background-repeat: no-repeat;
}

#company dd{
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    text-align: left;
    line-height: 16px;
    min-height: 16px;
    padding-left: 165px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #c8dcbd;
}

#current-news dd p {
    margin: 0 0 8px;
}

#current-news dd p:last-child {
    margin-bottom: 0;
}

#current-news .managed-content-empty {
    padding-left: 20px;
    color: #6a7168;
}

#current-updates p {
    margin: 0;
    padding: 9px 10px;
    border-bottom: 1px solid #d8ccb4;
    line-height: 1.55;
}

#current-updates p:last-child {
    border-bottom: 0;
}

#current-updates time {
    font-size: 13px;
}

#current-updates .managed-content-empty {
    text-align: center;
}
#header-logo{
    width: 470px;
	float: left;
    margin-top: 7px;
	margin-left: auto;
	margin-right: auto;
}
#factory {
	width: 730px;
	margin: 0 auto 48px;
}
.map{
    width:730px;
    margin:25px auto;
}
    .map iframe{
        height:600px;
		border:0;
    }
@media screen and (max-width : 980px){
    .map{
        width:95%;
    }
        .map iframe{
            height:500px;
        }
  img {
    max-width: 100%;
  }
  header,
  #global_navi,
  #sidebar,
  #wrapper{
    width: 100%;
  }  
  .desktop-site-header .site-logo {
    float: none;
    text-align: center;
  }
  .desktop-site-header .site-logo img {
    width: 50%;
  }
  header #header_contact {
    display: none;
  }
  #global_navi ul li {
    width: 25%;
    padding: 0.5px;
    margin: 0;
    box-sizing: border-box;
  }
  #global_navi ul li a {
    margin: 0;
    height: 46px;        /* ← 追加：スマホは少し低めに */
    padding: 0 10px;     /* ← 追加：左右だけ余白 */
  }
  #global_navi ul li:last-child {
    width: 100%;
  }
  #main {
    width: 100%;
    min-width: 0;
    padding: 0 5%;
    box-sizing: border-box;
  }
  #main figure {
    text-align: center;
  }
  /* ===== スマホ用：dt/dd を縦積み（左の無駄な余白を解消）===== */
  #entry dl {
    display: block;
    background: transparent;
    border: none;
  }
  #entry dl dt,
  #entry dl dd {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
    background: none;
  }
  #entry dl dt {
    background: #f7f7f7;
    font-weight: bold;
  }
  #entry dl dd {
    margin-left: 0 !important;      /* デスクトップの18emを打ち消し */
    border-left: none !important;
    background: #fff;
  }
  /* 入力は全幅へ */
  #entry dl dd input[type="text"],
  #entry dl dd input[type="email"],
  #entry dl dd input[type="tel"],
  #entry dl dd textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* ラジオ/チェックのラベル：1行基調（狭い時は自然に折り返し） */
  #entry dl dd label {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    margin: 4px 8px 4px 0;
    line-height: 1.4;
  }
  /* JSのエラーBox（レイアウト圧迫しないようブロック表示） */
  .field_error{
    display: block;
    margin-top: 6px;
    font-size: 90%;
    line-height: 1.5;
    color: #c00;
  }
  /* ===== 添付（dlの外の dt/dd）は “縦積み” のまま扱いやすく ===== */
  #entry > dt,
  #entry > dd {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    box-sizing: border-box;
    border: none;
    background: none;
  }
  #entry > dt {
    border-top: 1px solid #ddd;
    background: #f7f7f7;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
  }
  #entry > dd {
    background: #fff;
    padding-left: 10px;
    padding-right: 10px;
  }
  #entry > dd input[type="file"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #main_visual {
    width: 100%;
    height: auto;
  }
  #point figure,
  .point-section figure {
    float: none;
    margin: 0 0 11px 0;
  }
  #side_banner ul li {
    text-align: center;
    margin: 11px auto;
  }
  #side_contact address img {
    width: 14px;
    height: 20px;
  }
}

/* ==== フォーム(#entry) スマホ最優先オーバーライド ===================== */
/* 左カラムが広すぎる問題を強制修正。dl型/ table型どちらでも効く */
@media screen and (max-width: 820px){
  /* --- dlレイアウトを縦積みに --- */
  #entry dl{ display:block !important; }
  #entry dl dt,
  #entry dl dd{
    display:block !important;
    width:100% !important;
    float:none !important;
    margin:0 !important;
    padding:10px !important;
    box-sizing:border-box;
    border-top:1px solid #ddd !important;
    background:none !important;
  }
  #entry dl dd{
    margin-left:0 !important;      /* 既存の dd{margin-left:18em;} を打ち消し */
    border-left:none !important;
  }

  /* --- tableレイアウトも縦積みに（保険） --- */
  #entry table,
  #entry table tr,
  #entry table th,
  #entry table td{
    display:block !important;
    width:100% !important;
    float:none !important;
  }
  #entry table th{
    margin:12px 0 6px !important;
    padding:10px !important;
    background:#f7f7f7 !important;
    font-weight:bold !important;
    text-align:left !important;
  }
  #entry table td{
    margin:0 0 16px 0 !important;
    padding:10px !important;
  }
  /* --- ラジオ/チェックのラベルは横並び基調（狭ければ自動折返し） --- */
  #entry label{
    display:inline-flex !important;
    align-items:center;
    gap:.35em;
    vertical-align:middle;
    line-height:1.4;
    white-space:normal !important;      /* 不要な横スクロール抑止 */
  }

  /* --- JSのエラー表示ボックス --- */
  #entry .field_error{
    display:block !important;
    margin-top:6px !important;
    font-size:90% !important;
    line-height:1.5 !important;
    color:#c00 !important;
  }
}
/* ===================================================================== */

@media screen and (max-width: 980px){
/* 添付ファイル部分だけは表形式を解除して独立ブロックにする */
#entry dl dt.files-label,
#entry dl dd.files-field {
  display: block !important;     /* table-cellを解除 */
  width: auto !important;
  background: transparent !important;
  border: none !important;
  margin: 0;
  padding: 8px 0;
  box-sizing: border-box;
}

/* 添付ラベルを区切りっぽく見せる */
#entry dl dt.files-label {
  margin-top: 1em;
  padding-top: 10px;
  border-top: 1px solid #ccc;
  font-weight: bold;
}

/* 添付フィールド内の左寄せ調整 */
#entry dl dd.files-field {
  margin-left: 0 !important;  /* 既存ddのインデントを解除 */
}
}

/* =====================================================================
   v1.3 mobile layout prototype
   PC layout is intentionally unchanged at 1024px and above.
   ===================================================================== */

.mobile-site-header {
  display: none;
}

/* v1.3.2: prevent the desktop navigation from wrapping at intermediate widths */
.desktop-site-header #global_navi ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
}

.desktop-site-header #global_navi ul li,
.desktop-site-header #global_navi ul li:last-child {
  width: auto;
  margin: 0;
  padding: 0;
  float: none;
}

.page-top-link {
  text-align: right;
}

.legacy-update-item {
  padding-left: 1em;
}

.machine-product-link {
  text-align: right;
  overflow-wrap: anywhere;
}

.business-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 18px 0 24px;
}

.point-section .business-photo-grid figure {
  width: auto;
  min-width: 0;
  margin: 0;
  float: none;
  text-align: center;
}

.business-photo-grid img {
  width: 100%;
  height: auto;
}

.business-photo-grid figcaption {
  overflow-wrap: anywhere;
}

.company-license-table {
  width: 100%;
  border-collapse: collapse;
}

.company-license-table th,
.company-license-table td {
  padding: 4px 6px;
  vertical-align: middle;
  text-align: left;
}

.company-license-table th {
  font-weight: normal;
}

.sdgs-goals-table {
  width: 100%;
}

.business-sales-note {
  margin: 28px 0;
  color: #0000ff;
  font-size: larger;
  font-weight: bold;
}

.business-sales-note h3 {
  display: none;
}

.business-sales-note p:last-child {
  margin-bottom: 0;
}

.location-section + .location-section {
  margin-top: 72px;
}

.location-actions {
  display: none;
}

.location-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid #0a3906;
  border-radius: 4px;
  color: #0a3906;
  text-decoration: none;
}

.contact-guidance {
  margin: 0 0 20px;
}

.contact-guidance p {
  margin-bottom: 8px;
}

.contact-guidance ul {
  margin: 0 0 20px;
  padding-left: 1.4em;
}

.article-copy {
  font-weight: bold;
}

.article-media {
  margin-top: 22px;
  text-align: center;
}

.article-media img {
  max-width: 100%;
}

.article-media a + a,
.article-media a + img {
  margin-left: 12px;
}

.page-award .article-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.article-sign {
  margin-top: 24px;
  text-align: right;
}

.notice-danger {
  color: #b52218;
}

#entry #submit_reset {
  margin-left: 20px;
}

/* v1.3.1: keep the home notice compact on desktop and tablet widths */
@media screen and (min-width: 768px) {
  .page-home .important-notice {
    width: 100%;
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid #c5a38b;
    border-top: 4px solid #9a4b35;
    box-sizing: border-box;
    background: #fffaf7;
  }

  .page-home #main .important-notice h2 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7b2f20;
    font-size: 22px;
    line-height: 1.45;
  }

  .page-home .important-notice h2 a,
  .page-home .important-notice h2 a:visited,
  .page-home .important-notice-link a,
  .page-home .important-notice-link a:visited {
    color: #7b2f20;
  }

  .page-home .important-notice p {
    margin-bottom: 8px;
  }

  .page-home .important-notice-link {
    margin-bottom: 0;
    text-align: right;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .desktop-site-header,
  .desktop-site-header #global_navi,
  #wrapper,
  #main_visual {
    width: 100%;
    max-width: 900px;
  }

  .desktop-site-header {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .desktop-site-header .site-logo {
    float: left;
    text-align: left;
  }

  .desktop-site-header .site-logo img {
    width: auto;
  }

  .desktop-site-header #header-middle {
    display: none;
  }

  .desktop-site-header #header-tel {
    float: right;
    margin: 0;
    padding: 20px 0 0;
  }

  .desktop-site-header #global_navi ul li,
  .desktop-site-header #global_navi ul li:last-child {
    width: auto;
  }

  #wrapper {
    padding: 0 20px;
    box-sizing: border-box;
  }

  #main,
  #sidebar {
    width: 100%;
    float: none;
  }

  #main {
    padding: 0;
  }

  #sidebar {
    margin-top: 36px;
  }

  .page-home #main,
  .page-home #sidebar {
    width: 730px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .page-home #sidebar {
    margin-top: 36px;
  }

  #main_visual {
    margin-bottom: 36px;
  }

  #main_visual img {
    width: 100%;
    height: auto;
  }

  .map,
  #factory {
    width: 100%;
  }

  .map iframe {
    height: 440px;
  }
}

@media screen and (max-width: 767px) {
  html {
    scroll-behavior: smooth;
  }

  body {
    min-width: 0;
    color: #2f332f;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

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

  a:hover {
    font-weight: inherit;
  }

  .desktop-site-header {
    display: none;
  }

  .mobile-site-header {
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #d8d2c7;
    background: #fff;
  }

  .mobile-brand-row {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 16px;
    box-sizing: border-box;
  }

  .mobile-logo {
    display: block;
    max-width: 190px;
  }

  .mobile-logo img {
    display: block;
    width: 100%;
  }

  .mobile-menu-button {
    display: inline-flex;
    min-width: 68px;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 8px 5px;
    border: 1px solid #0a3906;
    border-radius: 4px;
    background: #fff;
    color: #0a3906;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
  }

  .mobile-menu-icon {
    position: relative;
    display: block;
    width: 25px;
    height: 18px;
    flex: 0 0 18px;
  }

  .mobile-menu-icon::before,
  .mobile-menu-icon::after {
    position: absolute;
    left: 0;
    display: block;
    width: 25px;
    height: 2px;
    background: #0a3906;
    content: "";
    transition: top .15s ease, bottom .15s ease, transform .15s ease, box-shadow .15s ease;
  }

  .mobile-menu-icon::before {
    top: 1px;
    box-shadow: 0 7px 0 #0a3906;
  }

  .mobile-menu-icon::after {
    bottom: 1px;
  }

  .is-menu-open .mobile-menu-icon::before {
    top: 8px;
    box-shadow: none;
    transform: rotate(45deg);
  }

  .is-menu-open .mobile-menu-icon::after {
    bottom: 8px;
    transform: rotate(-45deg);
  }

  .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e6e0d6;
    background: #f7f5f0;
  }

  .mobile-quick-actions a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 3px;
    border-right: 1px solid #ded7cb;
    box-sizing: border-box;
    color: #0a3906;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }

  .mobile-quick-actions a:last-child {
    border-right: 0;
  }

  .mobile-quick-actions a.current {
    background: #e7efe4;
  }

  .mobile-quick-actions i {
    font-size: 18px;
  }

  .mobile-navigation[hidden] {
    display: none !important;
  }

  .mobile-navigation {
    border-top: 1px solid #d8d2c7;
    background: #0a3906;
  }

  .mobile-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-navigation li {
    border-right: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .mobile-navigation li:nth-child(2n) {
    border-right: 0;
  }

  .mobile-navigation a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-navigation .current a {
    background: #5d8c5b;
  }

  #wrapper,
  #main,
  #sidebar {
    width: 100%;
  }

  #wrapper {
    margin: 0;
    overflow: visible;
  }

  #main,
  #sidebar {
    float: none;
    box-sizing: border-box;
  }

  #main {
    padding: 22px 16px 40px;
  }

  #breadcrumb {
    margin: 0 0 14px;
    color: #6c706b;
    font-size: 12px;
  }

  #main > article > h1 {
    margin: 0 -16px 24px;
    padding: 17px 16px 15px;
    border-top: 1px solid #d7d1c6;
    border-bottom: 3px solid #0a3906;
    background: #f5f2eb;
    background-image: none;
    color: #263126;
    font-size: 24px;
    line-height: 1.35;
  }

  #main h2 {
    padding: 10px 13px;
    border: 0;
    border-left: 5px solid #5d8c5b;
    border-radius: 0;
    background: #f2f5ef;
    font-size: 21px;
    line-height: 1.4;
  }

  #main h3 {
    margin-bottom: 13px;
    padding: 5px 8px 5px 11px;
    border-left-color: #b7a077;
    font-size: 18px;
    line-height: 1.45;
  }

  footer #footer_nav {
    padding: 8px 12px 4px;
  }

  footer #footer_nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  footer #footer_nav li,
  footer #footer_nav li:last-child {
    margin: 0;
    padding: 0;
    border: 0;
  }

  footer #footer_nav a {
    display: block;
    padding: 8px 9px;
    color: #fff;
  }

  footer small {
    padding: 10px 0 16px;
  }

  /* Home */
  .page-home #main_visual {
    width: 100%;
    margin: 0 0 18px;
    background: #eef0e9;
  }

  .page-home #main_visual p {
    margin: 0;
  }

  .page-home #main_visual img {
    display: block;
    width: 100%;
  }

  .page-home #main {
    padding-top: 0;
  }

  .important-notice {
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #c5a38b;
    border-top: 4px solid #9a4b35;
    background: #fffaf7;
  }

  #main .important-notice h2 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7b2f20;
    font-size: 19px;
  }

  .important-notice h2 a {
    color: inherit;
  }

  .important-notice p {
    margin-bottom: 8px;
  }

  .important-notice-link {
    text-align: right;
  }

  .important-notice-link a {
    color: #7b2f20;
    font-weight: 700;
  }

  #contents ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
  }

  #contents ul li,
  #contents ul li:nth-child(2n) {
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    border-color: #d8d2c7;
    box-shadow: 0 2px 5px rgba(27, 41, 26, .08);
  }

  #contents ul li a {
    display: block;
    color: #253525;
    text-decoration: none;
  }

  #contents ul li img {
    display: block;
    width: 100%;
  }

  #contents ul li p {
    margin: 0;
    padding: 9px 4px 10px;
    line-height: 1.35;
  }

  .page-home #company {
    margin-top: 32px;
  }

  .page-home #company dl {
    margin: 0;
  }

  .page-home #company dt,
  .page-home #company dd {
    width: auto !important;
    float: none;
    padding: 8px 0;
    background: none;
    line-height: 1.6;
  }

  .page-home #company dt {
    color: #52634f;
    font-size: 14px;
    font-weight: 700;
  }

  .page-home #company dd {
    border-bottom-color: #d8e2d3;
  }

  .page-home #sidebar {
    display: block;
    padding: 0 16px 32px;
  }

  .page-home #side_banner,
  .page-home #side_news {
    display: none;
  }

  .page-home #side_contact {
    margin: 0;
    border-color: #b7a077;
    text-align: left;
  }

  .page-home #side_contact h2 {
    margin: 0;
    padding: 9px 13px;
    font-size: 17px;
    text-align: left;
  }

  .page-home #side_contact address {
    padding: 12px 14px 3px;
    font-size: 15px;
  }

  .page-home #side_contact address p {
    margin-bottom: 12px;
  }

  /* Business */
  .page-business .page-jump-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
  }

  .page-business .page-jump-nav a {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid #0a3906;
    border-radius: 4px;
    color: #0a3906;
    font-weight: 700;
    text-decoration: none;
  }

  .page-business .point-section {
    margin-bottom: 38px;
  }

  .page-business .point-section > section {
    margin-bottom: 34px;
    overflow: visible;
  }

  .page-business .point-section figure {
    width: 100%;
    margin: 0 0 15px;
    float: none;
    text-align: center;
  }

  .page-business .point-section figure img {
    max-height: 290px;
    object-fit: contain;
  }

  .page-business .point-section table {
    width: 100%;
    table-layout: fixed;
  }

  .page-business .point-section table img {
    width: 100%;
  }

  .page-business .point-section table th,
  .page-business .point-section table td {
    padding: 2px;
    vertical-align: top;
  }

  .page-business .business-photo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-business .business-photo-grid img {
    width: auto;
  }

  .page-business .point-section br + br + br {
    display: none;
  }

  .business-sales-note {
    margin: 24px 0 0;
    padding: 16px;
    border: 1px solid #5d8c5b;
    border-left-width: 4px;
    background: #f3f7f1;
    color: #2f332f;
    font-size: 16px;
    font-weight: normal;
  }

  #main .business-sales-note h3 {
    display: block;
    padding: 0;
    border: 0;
    color: #0a3906;
    font-size: 19px;
  }

  .page-business #sidebar,
  .page-access #sidebar,
  .page-contact #sidebar {
    display: none;
  }

  .page-top-link a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #0a3906;
  }

  /* Access */
  .page-access .location-section + .location-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #d8d2c7;
  }

  .page-access .location-content {
    margin: 0;
  }

  .page-access #factory {
    width: 100%;
    margin: 0 0 22px;
  }

  .page-access #factory p,
  .page-access .location-content > p:first-child {
    margin-bottom: 20px;
  }

  .page-access .location-content > p:first-child img,
  .page-access #factory img {
    display: block;
    width: 100%;
  }

  .location-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0 28px;
  }

  .location-actions a {
    min-height: 50px;
    padding: 0 12px;
    border-radius: 4px;
    background: #fff;
    font-weight: 700;
  }

  .location-actions a:first-child {
    background: #0a3906;
    color: #fff;
  }

  .page-access .map {
    width: 100%;
    margin: 14px 0 0;
  }

  .page-access .map iframe {
    display: block;
    width: 100%;
    height: 280px;
  }

  /* Contact */
  .page-contact .lead {
    font-size: 17px;
    font-weight: 700;
  }

  .contact-guidance {
    margin-bottom: 32px;
    padding: 15px 16px;
    border-left: 4px solid #b7a077;
    background: #f7f4ee;
  }

  .contact-guidance ul {
    padding-left: 1.2em;
  }

  .page-contact #entry dl {
    margin: 0 0 20px;
  }

  .page-contact #entry dl dt,
  .page-contact #entry dl dd,
  .page-contact #entry dl dt.files-label,
  .page-contact #entry dl dd.files-field {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .page-contact #entry dl dt,
  .page-contact #entry dl dt.files-label {
    padding: 13px 12px 7px !important;
    border: 0 !important;
    background: #f3f1eb !important;
  }

  .page-contact #entry dl dd,
  .page-contact #entry dl dd.files-field {
    padding: 10px 12px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #ddd7cc !important;
    background: #fff !important;
  }

  .page-contact #entry input[type="text"],
  .page-contact #entry input[type="email"],
  .page-contact #entry input[type="tel"],
  .page-contact #entry input[type="file"],
  .page-contact #entry textarea {
    width: 100% !important;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 11px;
    border: 1px solid #999f98;
    border-radius: 3px;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 16px;
  }

  .page-contact #entry input[type="file"] {
    padding: 8px;
  }

  .page-contact #entry textarea {
    min-height: 190px;
    resize: vertical;
  }

  /* PC用の区分改行は、選択肢が縦並びになるスマホでは不要。 */
  .page-contact #entry dd[aria-labelledby="contact-category-label"] > br {
    display: none;
  }

  .page-contact #entry dl dd > label {
    display: flex !important;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    margin: 0 0 7px;
    padding: 7px 10px;
    border: 1px solid #d1cec7;
    border-radius: 3px;
    box-sizing: border-box;
    background: #fafafa;
  }

  .page-contact #entry dl dd > label:last-of-type {
    margin-bottom: 0;
  }

  .page-contact #entry input[type="radio"] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin: 0;
  }

  .page-contact #file_list {
    padding-left: 1.2em !important;
  }

  .page-contact #file_list li {
    margin-bottom: 10px;
  }

  .page-contact .file-remove,
  .page-contact #file_clear {
    min-height: 40px;
    padding: 6px 10px;
  }

  .page-contact .cf-turnstile {
    width: 100%;
    margin: 22px 0;
  }

  .page-contact #submit_button_cover {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0 0;
  }

  .page-contact #entry #submit_button,
  .page-contact #entry #submit_reset {
    width: 100%;
    min-height: 54px;
    padding: 10px 16px;
    border: 1px solid #0a3906;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 17px;
    font-weight: 700;
  }

  .page-contact #entry #submit_button {
    background: #0a3906;
    color: #fff;
  }

  .page-contact #entry #submit_button:disabled {
    background: #6f786f;
  }

  .page-contact #entry #submit_reset {
    margin-left: 0;
    background: #fff;
    color: #3e463e;
  }
}

/* v1.3 mobile layout: remaining pages */
@media screen and (max-width: 767px) {
  body:not(.page-home) #sidebar {
    display: none;
  }

  /* Company */
  .page-company .company-greeting {
    font-weight: normal;
  }

  .page-company .company-greeting p {
    margin-bottom: 1.15em;
  }

  .page-company .sign {
    margin: 22px 0 34px;
    line-height: 1.8;
  }

  .page-company #company dl {
    margin: 0 0 34px;
  }

  .page-company #company dt,
  .page-company #company dd {
    width: auto !important;
    min-height: 0;
    float: none;
    box-sizing: border-box;
    line-height: 1.7;
  }

  .page-company #company dt {
    padding: 11px 12px 6px;
    background: #f3f1eb;
    color: #374b35;
    font-size: 14px;
    font-weight: 700;
  }

  .page-company #company dd {
    margin: 0;
    padding: 8px 12px 15px;
    border-bottom: 1px solid #ded8cd;
  }

  .page-company #company dd p {
    margin: 8px 0 0 !important;
  }

  .page-company .company-facts table,
  .page-company .company-facts tbody,
  .page-company .company-facts tr,
  .page-company .company-facts th,
  .page-company .company-facts td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .page-company .company-facts table {
    margin: 6px 0;
    border-top: 1px solid #d8d2c7;
  }

  .page-company .company-facts tr {
    padding: 9px 0;
    border-bottom: 1px solid #d8d2c7;
  }

  .page-company .company-facts th {
    padding: 0;
    font-weight: 700;
  }

  .page-company .company-facts th + td {
    margin-top: 2px;
    color: #536052;
    font-size: 14px;
  }

  .page-company .company-facts img {
    width: 44px;
    margin: 2px;
  }

  .page-company .company-history dt {
    padding-bottom: 2px;
    background: none;
    color: #0a3906;
    font-size: 15px;
  }

  .page-company .company-history dd {
    position: relative;
    padding-top: 3px;
    padding-left: 20px;
  }

  .page-company .company-history dd::before {
    position: absolute;
    top: 14px;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b7a077;
    content: "";
  }

  /* Machines */
  .page-machine .page-jump-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
  }

  .page-machine .page-jump-nav a {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid #0a3906;
    border-radius: 4px;
    box-sizing: border-box;
    color: #0a3906;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
  }

  .page-machine .point-section {
    margin-bottom: 44px;
  }

  .page-machine .point-section > section {
    margin-bottom: 34px;
    overflow: visible;
  }

  .page-machine .point-section > br,
  .page-machine .point-section p br + br {
    display: none;
  }

  .page-machine .point-section figure {
    width: 100%;
    margin: 0 0 15px;
    float: none;
    text-align: center;
  }

  .page-machine .point-section figure img {
    max-height: 310px;
    object-fit: contain;
  }

  .page-machine .point-section p[style*="text-align: right"] {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-left: 3px solid #b7a077;
    background: #f7f4ee;
    font-size: 14px;
    line-height: 1.65;
    text-align: left !important;
  }

  /* News */
  .page-news .news-list {
    margin: 0;
  }

  .page-news .news-list dt {
    margin-top: 18px;
    padding: 8px 10px 5px;
    border-left: 4px solid #5d8c5b;
    background: #f2f5ef;
    color: #334b31;
    font-size: 14px;
    font-weight: 700;
  }

  .page-news .news-list dd {
    margin: 0;
    padding: 9px 10px 14px;
    border-bottom: 1px solid #ded8cd;
    line-height: 1.7;
  }

  .page-news .news-list dd li {
    margin: 0;
    list-style: none;
  }

  /* Recruit */
  .page-recruit .recruit-status {
    margin: 4px 0 20px;
    padding: 18px 16px 8px;
    border: 1px solid #cfc8bb;
    background: #f8f6f1;
  }

  .page-recruit #main .recruit-status h2 {
    margin: 0 0 14px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 2px solid #5d8c5b;
    background: none;
    font-size: 20px;
  }

  /* Privacy policy */
  .page-policy #main .policy-intro {
    margin-bottom: 28px;
    padding: 13px 14px;
    border: 0;
    background: #f3f1eb;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.8;
  }

  .page-policy #main article section section {
    margin-bottom: 30px;
  }

  .page-policy #main article ul {
    padding-left: 1.3em;
  }

  .page-policy #main article li {
    margin-bottom: 7px;
  }

  /* News articles, awards and SDGs */
  .page-article #main > article > h1 {
    font-size: 22px;
  }

  .page-article #point {
    margin-bottom: 20px;
  }

  .page-article #point > b {
    font-weight: normal;
  }

  .page-article .article-copy {
    font-weight: normal;
  }

  .page-article .article-media,
  .page-award .article-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .page-article .article-media a,
  .page-article .article-media img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .page-article .article-sign {
    margin-top: 24px;
    line-height: 1.8;
  }

  .page-article center {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .page-article center br {
    display: none;
  }

  .page-article center a,
  .page-article center img {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .page-sdgs #point table,
  .page-sdgs #point tbody,
  .page-sdgs #point tr,
  .page-sdgs #point td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .page-sdgs #point tr {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #d8d2c7;
  }

  .page-sdgs #point td:first-child {
    margin-bottom: 12px;
    text-align: center;
  }

  .page-sdgs #point td:first-child img {
    width: 120px;
  }
}


/* =====================================================================
   v1.4 information architecture and receiving guide
   ===================================================================== */

/* v1.6 scheduled notices */
.scheduled-notices {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.scheduled-notices[hidden] {
  display: none;
}

.scheduled-notice {
  padding: 18px 20px;
  border: 1px solid #b8c6bb;
  border-left: 5px solid #5f879f;
  box-sizing: border-box;
  background: #f5fafd;
}

.scheduled-notice-holiday {
  border-color: #c66d66;
  background: #fff7f6;
}

.scheduled-notice-important {
  border-color: #d19b39;
  background: #fffaf0;
}

.scheduled-notice-normal {
  border-color: #5f879f;
  background: #f5fafd;
}

.scheduled-notice-kind {
  margin: 0 0 3px;
  color: #66706a;
  font-size: 13px;
  font-weight: 700;
}

#main .scheduled-notice h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b2f20;
  font-size: 22px;
  line-height: 1.45;
}

#main .scheduled-notice-important h2 {
  color: #765012;
}

#main .scheduled-notice-normal h2 {
  color: #315d78;
}

.scheduled-notice-body {
  margin: 0;
  white-space: pre-line;
}

.scheduled-notice-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
  padding: 0 15px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: #65442f;
  font-weight: 700;
  text-decoration: none;
}

.scheduled-notice-link:hover,
.scheduled-notice-link:focus {
  background: rgba(255, 255, 255, .72);
}

.important-notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.important-notice-actions a,
.business-receive-link a,
.receive-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #7b5b3d;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
  color: #65442f;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.important-notice-actions .important-notice-primary,
.receive-actions .receive-action-primary {
  border-color: #0a3906;
  background: #0a3906;
  color: #fff;
}

.business-receive-link {
  margin-top: 18px;
  text-align: right;
}

.contact-category-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid #cfc8bb;
  border-left: 4px solid #5d8c5b;
  box-sizing: border-box;
  background: #f7f6f1;
}

#main .contact-category-guidance h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #334b31;
  font-size: 18px;
}

.contact-category-guidance p:last-child {
  margin-bottom: 0;
}

/* 全案内を同じセルに重ね、未選択時から必要な高さを確保する。 */
.contact-category-guidance > [data-category-guide],
.contact-category-guidance > [data-category-default] {
  grid-area: 1 / 1;
  align-self: start;
  min-width: 0;
}

/* 高さの計算には参加させるが、非選択の案内は表示・操作させない。 */
.contact-category-guidance > [data-category-guide][hidden],
.contact-category-guidance > [data-category-default][hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.historical-notice {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 4px solid #9a4b35;
  background: #fff7f2;
}

.historical-notice p {
  margin: 0;
  font-weight: normal;
}

.historical-notice a {
  color: #7b2f20;
  font-weight: 700;
}

.page-receive .lead {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.8;
}

.receive-jump-nav ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.receive-jump-nav a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid #7c9277;
  box-sizing: border-box;
  background: #f3f6f1;
  color: #294526;
  text-align: center;
  text-decoration: none;
}

.receive-section {
  margin: 0 0 42px;
}

.receive-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.receive-summary-card {
  padding: 18px 20px;
  border: 1px solid #d4cec2;
  box-sizing: border-box;
  background: #faf9f5;
}

#main .receive-summary-card h3 {
  margin-bottom: 12px;
}

.receive-summary-card p:last-child {
  margin-bottom: 0;
}

.receive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.receive-important {
  padding: 18px 20px 8px;
  border: 1px solid #c5a38b;
  border-left: 5px solid #9a4b35;
  box-sizing: border-box;
  background: #fffaf7;
}

#main .receive-important h2 {
  margin: 0 0 14px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid #d9baa4;
  border-radius: 0;
  color: #7b2f20;
}

.receive-check-list {
  margin: 0;
  padding: 17px 20px 17px 42px;
  border: 1px solid #d8d2c7;
  background: #f8f7f3;
}

.receive-check-list li + li {
  margin-top: 8px;
}

.receive-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.receive-table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.65;
}

.receive-table th,
.receive-table td {
  padding: 12px 13px;
  border: 1px solid #cfc8bb;
  box-sizing: border-box;
  vertical-align: middle;
  text-align: left;
}

.receive-table tbody th,
.receive-table tbody td {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.receive-table thead th {
  background: #375c34;
  color: #fff;
  text-align: center;
}

.receive-table tbody th {
  width: 25%;
  background: #f1f4ed;
  color: #2f482d;
}

.receive-table td:last-child {
  width: 20%;
}

.receive-table sup {
  line-height: 1;
}

.receive-decision-flow {
  margin-top: 24px;
  padding: 18px 20px 8px;
  border-left: 4px solid #5d8c5b;
  background: #f4f7f2;
}

#main .receive-decision-flow h3 {
  margin-bottom: 12px;
}

.receive-decision-flow ol {
  margin: 0;
  padding-left: 1.5em;
}

.receive-decision-flow li {
  margin-bottom: 12px;
  padding-left: 5px;
}

.receive-price-note {
  margin-top: -8px;
  padding: 11px 14px;
  background: #fff8e7;
  font-weight: 700;
}

.receive-contact {
  padding: 18px 20px 8px;
  border: 1px solid #cfc8bb;
  background: #f8f7f3;
}

.receive-small-note {
  color: #5c5c56;
  font-size: 13px;
}

.page-news .news-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #d8d2c7;
  list-style: none;
}

.page-news .news-list > li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border-bottom: 1px solid #d8d2c7;
}

.page-news .news-list time {
  padding: 13px 12px;
  background: #f1f4ed;
  color: #334b31;
  font-weight: 700;
}

.page-news .news-list > li > div {
  padding: 13px 16px;
  line-height: 1.7;
}

.page-news .news-list p {
  margin-bottom: 8px;
}

.page-news .news-list p:last-child {
  margin-bottom: 0;
}

.page-news .managed-news-archive:not([hidden]) {
  margin-bottom: 0;
}

.page-news .managed-news-archive:not([hidden]) + .news-list {
  border-top: 0;
}

.managed-recruit {
  margin: 0 0 34px;
}

.page-recruit .recruit-status,
.page-recruit .recruit-intro {
  padding: 20px 22px 10px;
  border: 1px solid #d3cec3;
  border-left: 5px solid #5d8c5b;
  background: #f8f7f3;
}

.page-recruit #main .recruit-status h2,
.page-recruit #main .recruit-intro h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f482d;
  font-size: 22px;
}

.recruit-opening-list {
  display: grid;
  gap: 30px;
  margin-top: 24px;
}

.recruit-opening {
  overflow: hidden;
  border: 1px solid #cfc8bb;
  background: #fff;
}

.recruit-opening-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: #375c34;
  color: #fff;
}

.page-recruit #main .recruit-opening-header h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 22px;
}

.recruit-apply-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid #fff;
  box-sizing: border-box;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.recruit-apply-link:hover,
.recruit-apply-link:focus {
  background: #fff;
  color: #2f482d;
}

.recruit-detail-group {
  margin: 0;
  padding: 20px 18px 0;
}

.page-recruit #main .recruit-detail-group h3 {
  margin: 0 0 10px;
  padding: 0 0 7px;
  border-bottom: 2px solid #7d9f75;
  color: #2f482d;
  font-size: 18px;
}

.recruit-detail-group dl {
  margin: 0;
  border-top: 1px solid #d8d2c7;
}

.recruit-detail-group dl > div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  border-right: 1px solid #d8d2c7;
  border-bottom: 1px solid #d8d2c7;
  border-left: 1px solid #d8d2c7;
}

.recruit-detail-group dt,
.recruit-detail-group dd {
  margin: 0;
  padding: 11px 13px;
  box-sizing: border-box;
  line-height: 1.65;
}

.recruit-detail-group dt {
  background: #f1f4ed;
  color: #334b31;
  font-weight: 700;
}

.recruit-detail-group dd {
  border-left: 1px solid #d8d2c7;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.recruit-detail-action {
  margin: 14px 18px 0;
  text-align: right;
}

.recruit-business-link {
  font-weight: 700;
}

.recruit-opening > .recruit-detail-group:last-child {
  padding-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .scheduled-notices {
    margin-bottom: 20px;
  }

  .scheduled-notice {
    padding: 16px;
  }

  #main .scheduled-notice h2 {
    font-size: 19px;
  }

  .scheduled-notice-link {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 7px 12px;
    box-sizing: border-box;
  }

  .important-notice-actions,
  .receive-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .important-notice-actions a,
  .business-receive-link a,
  .receive-actions a {
    width: 100%;
    min-height: 50px;
    padding: 8px 14px;
  }

  .business-receive-link {
    text-align: left;
  }

  .contact-category-guidance {
    margin-bottom: 28px;
    padding: 15px 16px;
  }

  #main .contact-category-guidance h2 {
    font-size: 18px;
  }

  .receive-jump-nav ul {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 30px;
  }

  .receive-jump-nav a {
    min-height: 48px;
    justify-content: flex-start;
    padding: 8px 14px;
    text-align: left;
  }

  .receive-section {
    margin-bottom: 36px;
  }

  .receive-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .receive-summary-card,
  .receive-important,
  .receive-contact {
    padding: 16px 15px 7px;
  }

  .receive-check-list {
    padding: 15px 15px 15px 36px;
  }

  .receive-table-wrap {
    overflow: visible;
  }

  .receive-table,
  .receive-table tbody,
  .receive-table tr,
  .receive-table th,
  .receive-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .receive-table {
    margin-bottom: 22px;
    border: 0;
  }

  .receive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .receive-table tr {
    margin-bottom: 14px;
    border: 1px solid #cfc8bb;
  }

  .receive-table tbody th {
    padding: 11px 12px;
    border: 0;
    background: #375c34;
    color: #fff;
  }

  .receive-table td,
  .receive-table td:last-child {
    display: grid;
    width: 100%;
    grid-template-columns: 7.2em minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid #ded8cd;
  }

  .receive-table td::before {
    content: attr(data-label);
    color: #4b5c49;
    font-weight: 700;
  }

  .receive-table .receive-table-empty {
    border: 0;
  }

  .receive-table .receive-table-empty td {
    display: block;
    text-align: center;
    white-space: normal;
  }

  .receive-table .receive-table-empty td::before {
    content: none;
  }

  .receive-decision-flow {
    padding: 16px 15px 5px;
  }

  .page-news .news-list > li {
    display: block;
  }

  .page-news .news-list time {
    display: block;
    padding: 8px 11px;
    border-left: 4px solid #5d8c5b;
    font-size: 14px;
  }

  .page-news .news-list > li > div {
    padding: 10px 11px 16px;
  }

  .page-recruit .recruit-status,
  .page-recruit .recruit-intro {
    padding: 16px 15px 7px;
  }

  .page-recruit #main .recruit-status h2,
  .page-recruit #main .recruit-intro h2,
  .page-recruit #main .recruit-opening-header h2 {
    font-size: 19px;
  }

  .recruit-opening-list {
    gap: 22px;
  }

  .recruit-opening-header {
    display: block;
    padding: 15px;
  }

  .recruit-apply-link {
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
  }

  .recruit-detail-group {
    padding: 17px 14px 0;
  }

  .recruit-detail-group dl > div {
    display: block;
  }

  .recruit-detail-group dt,
  .recruit-detail-group dd {
    padding: 9px 11px;
  }

  .recruit-detail-group dd {
    border-top: 1px solid #d8d2c7;
    border-left: 0;
  }

  .recruit-detail-action {
    margin: 12px 14px 0;
  }

  .recruit-opening > .recruit-detail-group:last-child {
    padding-bottom: 16px;
  }
}

/* 案内とエラーを同じ場所に表示し、通常の検証で行高を変えない。 */
#entry .field-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 6px;
  font-size: 90%;
  line-height: 1.5;
  min-height: 1.5em;
}
#entry .field-message > .field-hint,
#entry .field-message > .field_error {
  grid-area: 1 / 1;
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  overflow-wrap: anywhere;
}
#entry .field-message > .field-hint { color: #606860; }
#entry .field-message > .field_error[hidden] { display: none !important; }
#entry .field-message:has(> .field_error:not([hidden]):not(:empty)) > .field-hint {
  visibility: hidden;
}
#entry input.field-invalid:not([type="radio"]):not([type="checkbox"]),
#entry textarea.field-invalid {
  outline: none;
  border-color: #c00;
  box-shadow: inset 0 0 0 1px #c00;
}
#entry input.field-invalid[type="radio"] {
  outline: none;
  box-shadow: 0 0 0 1px #c00;
  border-radius: 50%;
}
#entry #file_error { min-height: 1.5em; line-height: 1.5; }
@media screen and (max-width: 767px) {
  #entry .field-message, #entry #file_error { min-height: 3em; }
}
/* 写真と説明の行を共有し、説明の折り返しにかかわらず写真の下端を揃える。 */
@media screen and (min-width: 768px) {
  .point-section > .business-forest {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 240px;
    column-gap: 6px;
  }
  .business-forest > h3 { grid-column: 1 / -1; }
  .business-forest > p { grid-column: 1 / 4; grid-row: 2; }
  .business-forest > .business-photo-grid { display: contents; }
  .point-section .business-forest .business-photo-grid > figure {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 3 / 5;
    margin: 18px 0 0;
  }
  .business-forest .business-photo-grid > figure:nth-child(1) { grid-column: 1; }
  .business-forest .business-photo-grid > figure:nth-child(2) { grid-column: 2; }
  .business-forest .business-photo-grid > figure:nth-child(3) { grid-column: 3; }
  .point-section .business-forest > figure {
    display: grid;
    grid-template-rows: subgrid;
    grid-column: 4;
    grid-row: 2 / 5;
    float: none;
    margin: 0 0 0 10px;
  }
  .business-forest > figure > a { grid-row: 1 / 3; }
  .business-forest figure > a { align-self: end; }
  .business-forest figure img { display: block; max-width: 100%; height: auto; }
  .business-forest figure figcaption { line-height: 1.5; }
}
