@charset "UTF-8";
/******************************************************************
Theme Name: SHINNIHONKOSAN ver.2025
Theme URI: https://stg03.resta.jp/shinnihonkosan
Description: 新日本興産株式会社様のオリジナルテーマです。
Version: 1.0.0
Author: VALUEPAGE
Author URI: https://vpage.co.jp/
******************************************************************/

body {
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
  letter-spacing: .05em;
  position: relative;
}
a:hover {
  opacity: .75;
}
/*-------------------------------------------------------------
▼カラー設定（基本）
--------------------------------------------------------------*/
:root {
  --black: #333;
}
.text-red {
  color: var(--bs-red);
}
/*-------------------------------------------------------------
▼パンくず設定
--------------------------------------------------------------*/
#breadcrumb {
  font-size: 60%;
  margin: 7px auto 0;
}
#breadcrumb ol {
  display: flex;
  align-items: center;
  max-width: calc(100%);
  list-style: none;
  overflow: auto;
  white-space: nowrap;
  padding-left: 0;
}
#breadcrumb ol li {
  margin-left: 0.5em;
}
#breadcrumb ol li:first-child {
  margin-left: 0;
}
#breadcrumb ol li a::after {
  color: var(--bs-gray-600);
  content: "＞";
  display: inline-block;
  line-height: 1.7;
  margin-left: 5px;
}
#breadcrumb ol li a:hover {
  opacity: .5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha(opacity=50)";
}
#breadcrumb li a {
  text-decoration: none;
}
@media print, screen and (min-width: 768px) {
  #breadcrumb {
    font-size: 70%;
    margin: 1em auto 0;
  }
}
/*-------------------------------------------------------------
▼フォーム設定（基本）
--------------------------------------------------------------*/
button {
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
input[type="submit"] {
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
input[type="text"] {
  display: block;
  padding: 10px 2%;
  font-size: 1em;
  color: var(--bs-gray-600);
  -webkit-transition: background-color .24s ease-in-out;
  transition: background-color .24s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid var(--bs-gray-400);
}
input[type="email"] {
  display: block;
  padding: 10px 2%;
  font-size: 1em;
  color: var(--bs-gray-600);
  -webkit-transition: background-color .24s ease-in-out;
  transition: background-color .24s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid var(--bs-gray-400);
}
input[type="url"] {
  display: block;
  padding: 10px 2%;
  font-size: 1em;
  color: var(--bs-gray-600);
  -webkit-transition: background-color .24s ease-in-out;
  transition: background-color .24s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid var(--bs-gray-400);
}
textarea {
  display: block;
  padding: 10px 2%;
  font-size: 1em;
  color: var(--bs-gray-600);
  -webkit-transition: background-color .24s ease-in-out;
  transition: background-color .24s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid var(--bs-gray-400);
  resize: vertical;
}
select {
  width: auto;
  border: 1px solid var(--bs-gray-400);
  padding: 10px 30px 10px 2%;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(./library/images/material/select-arrow.svg);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 13px 13px;
}
.asterisk {
  color: var(--bs-red);
}
input[type="search"] {
  display: block;
  padding: 10px 2%;
  font-size: 16px;
  -webkit-transition: background-color .24s ease-in-out;
  transition: background-color .24s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
  width: calc(100% - 70px);
  height: 40px;
  line-height: 40px;
  border: 1px solid var(--bs-gray-400);
}
.searchform button {
  height: 40px;
  width: 50px;
  cursor: pointer;
  position: relative;
  border: none;
  border-radius: 4px;
  background: var(--bs-gray-600);
}
.searchform button::before {
  content: " ";
  background-image: url(./library/images/icon/search.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  width: 23px;
  height: 22px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*--------------------------------------------------------------------
▼プライバシー、サイトポリシー設定
---------------------------------------------------------------------*/
.policy ul {
  list-style: none;
  padding-left: 0;
}
.policy ul li {
  position: relative;
  padding-left: 25px;
}
.policy ul li span {
  position: absolute;
  left: 0;
}
/*-------------------------------------------------------------
▼トップに戻るボタン設定
--------------------------------------------------------------*/
#page-top {
  right: 10px;
  z-index: 8;
  cursor: pointer;
}
#page-top img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.2);
}
@media print, screen and (min-width: 768px) {
  #page-top {
    right: 20px;
  }
  #page-top img {
    height: 50px;
    width: 50px;
  }
}
/*-------------------------------------------------------------
▼404設定
--------------------------------------------------------------*/
#not-found {
  border: 1px solid var(--primary);
  padding: 40px 20px;
  border-radius: 20px;
}
#not-found ul {
  list-style-type: disc;
  margin-left: 15px;
}
#not-found ul::marker {
  color: var(--primary);
}
#not-found ul li a {
  text-decoration: underline;
}
#not-found h2 {
  font-size: 2em;
  line-height: 1.2;
}
#not-found h3 {
  border-bottom: 2px solid var(--bs-gray-400);
  color: var(--bs-gray-600);
  position: relative;
  padding-left: 25px;
  line-height: 1.2;
  padding-bottom: 5px;
}
#not-found h3::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 10px 0 10px;
  border-color: var(--bs-gray-600) transparent transparent transparent;
  position: absolute;
  left: 0;
  top: calc(50% - 2.5px);
  transform: translateY(-50%);
}
#post-not-found {
  border: 1px solid var(--primary);
  padding: 40px 20px;
  border-radius: 20px;
}
#post-not-found ul {
  list-style-type: disc;
  list-style-type: disc;
  list-style-type: disc;
  margin-left: 15px;
  margin-left: 15px;
  margin-left: 15px;
}
#post-not-found ul::marker {
  color: var(--primary);
}
#post-not-found ul li a {
  text-decoration: underline;
  text-decoration: underline;
  text-decoration: underline;
}
#post-not-found h2 {
  font-size: 2em;
  line-height: 1.2;
}
#post-not-found h3 {
  border-bottom: 2px solid var(--bs-gray-400);
  color: var(--bs-gray-600);
  position: relative;
  padding-left: 25px;
  line-height: 1.2;
  padding-bottom: 5px;
}
#post-not-found h3::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 10px 0 10px;
  border-color: var(--bs-gray-600) transparent transparent transparent;
  position: absolute;
  left: 0;
  top: calc(50% - 2.5px);
  transform: translateY(-50%);
}
@media print, screen and (min-width: 768px) {
  #not-found {
    padding: 40px;
  }
  #not-found h2 {
    font-size: 2.5em;
  }
  #post-not-found {
    padding: 40px;
  }
  #post-not-found h2 {
    font-size: 2.5em;
  }
}
/*****ここまではテーマの基本設定なのでなるべく変更不可*****/
/*☆☆☆☆☆☆☆☆☆☆☆  サイト用個別設定  ☆☆☆☆☆☆☆☆☆☆☆*/
/*-------------------------------------------------------------
▼カラー設定
--------------------------------------------------------------*/
:root {
  --primary: #3686BB;
  --secondary: #009FE8;
  --white-rgba: rgba(255, 255, 255, .7);
  /* --bs-key: #FF7600; */
}
.text-primary {
  color: var(--primary);
}
.bg-primary {
  background-color: var(--primary);
}
/*-------------------------------------------------------------
▼テキスト設定
--------------------------------------------------------------*/
/*-------------------------------------------------------------
▼ヘッダー設定
--------------------------------------------------------------*/
.header {
  height: 60px;
}
.header-hamburger-btn {
  height: 60px;
  cursor: pointer;
  width: 40px;
  background: transparent;
  border: none;
  padding: 0;
  position: fixed;
  right: 15px;
  top: 0;
  z-index: 11;
}
.header-logo img {
  height: 35px;
}
.header-hamburger-btn-line {
  height: 3px;
  width: 100%;
  background: var(--bs-gray-600);
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
.header-hamburger-btn-line:nth-child(1) {
  top: calc(50% - 13px);
}
.header-hamburger-btn-line:nth-child(2) {
  transform: translateY(-50%);
}
.header-hamburger-btn-line:nth-child(3) {
  top: calc(50% + 10px);
}
.open .header-hamburger-btn-line:nth-child(1) {
  top: 50%;
  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  transform: rotate(315deg);
}
.open .header-hamburger-btn-line:nth-child(2) {
  width: 0;
  left: 50%;
}
.open .header-hamburger-btn-line:nth-child(3) {
  top: 50%;
  -webkit-transform: rotate(-315deg);
  -moz-transform: rotate(-315deg);
  transform: rotate(-315deg);
}
.header-hamburger-nav {
  position: fixed;
  right: -769px;
  z-index: 10;
  width: 100%;
  max-width: 300px;
  -webkit-transition: all .3s;
  transition: all .3s;
  box-shadow: -1px 0px 1px 1px rgba(0, 0, 0, 0.07);
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.header-hamburger-nav::-webkit-scrollbar {
  display: none;
}
.header-hamburger-nav-logo {
  height: 60px;
  display: flex;
  align-items: center;
  padding-left: 15px;
}
.header-hamburger-nav-logo img {
  height: 30px;
}
.header-hamburger-nav-inner ul {
  list-style: none;
}
.header-hamburger-nav-inner ul:not(.sub-menu) {
  padding: 0 15px 15px;
}
.header-hamburger-nav-inner ul:not(.sub-menu) li {
  position: relative;
}
.header-hamburger-nav-inner a {
  display: block;
  padding: 15px 50px 15px 0;
  line-height: 1.2;
  border-bottom: 1px solid var(--bs-gray-600);
}
.header-hamburger-nav-inner .accordion_icon {
  transition: all .4s;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  top: 0;
  z-index: 11;
  cursor: pointer;
  margin: 5px 0;
}
.header-hamburger-nav-inner .accordion_icon::after {
  content: "";
  position: absolute;
  top: -2.5px;
  bottom: 0;
  right: 12.5px;
  width: 7px;
  height: 7px;
  margin: auto 5px;
  border-top: 2px solid var(--bs-white);
  border-right: 2px solid var(--bs-white);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  -webkit-transition: all .3s;
  transition: all .3s;
}
.header-hamburger-nav-inner .accordion_icon.sp-menu-close::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: all .3s;
  transition: all .3s;
  top: 2.5px;
}
.header-hamburger-nav-inner .sub-menu {
  display: none;
  padding-left: 0;
}
.header-hamburger-nav-inner .sub-menu a {
  padding: 10px 10px 10px 20px;
  font-weight: normal;
  position: relative;
}
.header-hamburger-nav-inner .sub-menu a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  -webkit-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
  -webkit-transition: all .3s;
  transition: all .3s;
}
.header-contact-btn {
  border-radius: 25px;
  padding: 5px 10px;
  text-decoration: none;
  transition: all ease-in 0.2s;
}
@media print, screen and (min-width: 576px) {
  .header-hamburger-nav {
    width: 320px;
  }
}
@media print, screen and (min-width: 768px) {
  .header {
    height: 80px;
  }
  .header-logo img {
    height: 40px;
  }
  .header-global-nav ul {
    display: flex;
    margin-bottom: 0;
  }
  .header-global-nav ul li {
    padding: 0 5px;
    position: relative;
    list-style: none;
  }
  .header-global-nav ul li:last-child {
    padding-right: 0;
  }
  .header-global-nav ul:not(.sub-menu) li:hover .sub-menu {
    display: block;
    width: 250px;
  }
  .header-global-nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 2;
    padding-top: 10px;
  }
  .header-global-nav ul.sub-menu li {
    padding: 0;
  }
  .header-global-nav ul.sub-menu li a {
    padding: 10px;
    border: 1px solid var(--bs-gray-600);
    display: block;
    line-height: 1;
    margin-top: -1px;
    background: var(--bs-gray-100);
  }
  .header-global-nav ul.sub-menu li a:hover {
    background: var(--primary);
    color: var(--bs-white);
    opacity: 1;
  }
  .header-contact-btn {
    font-size: clamp(0.85rem, 1vw, 1rem);
  }
}
@media print, screen and (min-width: 992px) {
  .header-contact-btn {
    padding: 8px 16px;
  }
}
@media print, screen and (min-width: 1400px) {
  .header-global-nav ul li {
    padding: 0 10px;
  }
  .header-contact-btn {
    padding: 8px 24px;
  }
}
/*--------------------------------------------------------------------
▼フッター設定
---------------------------------------------------------------------*/
.footer-logo img {
  height: 35px;
}
.footer-menu ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}
.footer-menu li {
  width: calc(100% / 2);
}
.footer-menu li a {
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}
.policy-menu ul {
  list-style: none;
  padding-left: 0;
}
.policy-menu li a {
  font-weight: 400;
  font-size: 14px;
}
.footer-copy {
  font-size: clamp(10px, 1vw, 12px);
}
@media print, screen and (min-width: 768px) {
  .footer-logo img {
    height: 40px;
  }
  .footer-menu ul {
    flex-wrap: nowrap;
    justify-content: center;
    justify-content: space-between;
    font-weight: bold;
  }
  .footer-menu li {
    width: auto;
  }
  .policy-menu.footer-menu ul {
    justify-content: flex-start;
  }
  .policy-menu.footer-menu ul li:not(:last-child) {
    padding-right: 30px;
  }
}
/*--------------------------------------------------------------------
▼ヘッドライン設定(全ページ共通で使用するタイトル)
---------------------------------------------------------------------*/
.main-ttl {
  border-left: 5px solid var(--primary);
}
/*--------------------------------------------------------------------
▼ボタン設定(全ページ共通で使用するボタン)
---------------------------------------------------------------------*/
.main-btn {
  background: var(--primary);
  color: var(--bs-white);
  width: 100%;
  border: 1px solid var(--primary);
  border-radius: 60px;
  padding: .75rem 1.5rem;
  position: relative;
  box-shadow: 0 0 10px var(--bs-gray-400);
  display: inline-block;
  text-align: center;
}
.main-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  width: 7px;
  height: 7px;
  margin: auto 0;
  border-top: 1px solid var(--bs-white);
  border-right: 1px solid var(--bs-white);
  transform: rotate(45deg);
  transition: all 0.3s;
}
@media print, screen and (min-width: 768px) {
  .main-btn {
    max-width: 250px;
  }
  .main-btn.thin {
    padding: .5rem 1.5rem;
  }
}
@media print, screen and (min-width: 1200px) {
  .main-btn {
    padding: 1rem 1.5rem;
  }
}
/*--------------------------------------------------------------------
▼お問い合わせフォーム設定
---------------------------------------------------------------------*/
table.form {
  margin-top: -15px;
}
table.form tr th {
  vertical-align: text-top;
  padding: 15px 0 0;
}
table.sp-block-table tr th {
  display: block;
  width: 100%;
  text-align: left;
}
table.sp-block-table tr td {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 0 0;
}
.contact-btn-flex-box {
  display: flex;
  justify-content: center;
  margin-left: -7.5px;
  margin-right: -7.5px;
}
.contact-btn-flex-box button {
  margin: 0 7.5px;
}
@media print, screen and (min-width: 768px) {
  table.sp-block-table tr th {
    display: table-cell;
    width: auto;
  }
  table.sp-block-table tr td {
    display: table-cell;
    width: auto;
    padding: 20px 0;
  }
  table.form.sp-block-table tr th {
    padding: 20px 10px 20px 0;
    font-size: 20px;
    line-height: 1.2;
    width: 280px;
    vertical-align: middle;
  }
}
/*--------------------------------------------------------------------
▼テーブル設定
---------------------------------------------------------------------*/
table {
  border-collapse: collapse;
}
table th, table td {
  width: 100%;
  display: inline-block;
  padding: .85em 0;
  text-align: left;
}
table th + td {
  padding-top: 0;
}
table td {
  border-bottom: 1px solid var(--bs-gray-400);
}
@media print, screen and (min-width: 768px) {
table th, table td {
  display: table-cell;
  width: auto;
}
table tr {
  border-bottom: 1px solid var(--bs-gray-400);
}
table th + td {
  padding-top: .85em;
}
table td {
  border-bottom: none;
}
.company-table th {
  width: 40%;
}
}
/*--------------------------------------------------------------------
▼フロントページ設定（トップスライダー等トップページのみのデザイン設定）
---------------------------------------------------------------------*/
.bg-img-right {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../../../wp-content/uploads/2025/04/front-img01.jpg);
}
.bg-rgba-white {
  background-color: var(--white-rgba);
}
@media print, screen and (min-width: 576px) {
  .bg-img-right {
    background-position: right;
    background-size: inherit;
  }
}
@media print, screen and (min-width: 768px) {
  .bg-img-right-box {
    flex: 0 0 75%;
    max-width: 75%;
  }
}
/*--------------------------------------------------------------------
▼ブロック、コンテンツ設定
---------------------------------------------------------------------*/
.page-top-visual {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.category-name {
  padding: .2em .5em;
  opacity: .9;
  filter: alpha(opacity=90);
  -ms-filter: "alpha(opacity=90)";
  font-size: 65%;
}

@media print, screen and (min-width: 768px) {

}
@media print, screen and (min-width: 992px) {

}



