/*================================共通cssですがサイトによって調整してください================================

*****注意事項*****
※レスポンシブ対応してありますが、各ページによって適宜修正・変更は行ってください
※不具合があった場合、伊藤までお知らせください
※修正・追加・入力するとスタイルが崩れる場合があるので、クラス名を追加するなどの対応をして修正を行ってください
*****************

【共通設定】
【ページ記事】page_block.php
【スクロール画像】slide_block.php→スライドpc・sp切り替え
【お問合わせ】contact3_block.php　※お問合わせのボタンの設定は各自で設定してください。『 /*ボタン設定 』で検索してください
【個人情報保護方針】pp_block.php
【サイトポリシー】site_policy_block.php
【サイトマップ】site_map_block.php
【フッターメニュー】foot_menu_block.php
【コピーライト】copyright_block.php
【更新履歴】topics_block.php ※モーダル部分のスタイルしか入れてません。アイコン等は各自で設定してください。
【mode=login】login_form_top_block.php

※※※※重要：setting.phpに下記を入れないと機能しません。※※※※　
<!-- SwiperのCSSを読み込み -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" />
<!-- SwiperのJSを読み込み -->
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
==========================================================================================================*/

/*pc・sp切り替え
----------------------*/
.smart-only {
  display: block;
}
.pc-only {
  display: none;
}
@media screen and (min-width: 768px) {
  .pc-only {
    display: block !important;
  }
  .smart-only {
    display: none !important;
  }
}

/*改行設定
----------------------*/
/* スマホ用<br> */
@media screen and (max-width: 767px) {
  .br-sp {
    display: block;
  }
  .br-tb {
    display: none;
  }
  .br-pc {
    display: none;
  }
}
/* tablet 縦用<br> */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .br-sp {
    display: none;
  }
  .br-tb {
    display: block;
  }
  .br-pc {
    display: none;
  }
}
/* pc用<br> */
@media screen and (min-width: 1024px) {
  .br-sp {
    display: none;
  }
  .br-tb {
    display: none;
  }
  .br-pc {
    display: block;
  }
}

/*ページ記事 page_block.php
---------------------------------------------------------------------------*/
.page_block {
  width: 100%;
}
.page_block img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}
.img_box,
.img_box2 {
  width: 100%;
}
.img_all_box {
  display: block;
  width: 100%;
  margin: auto;
}
.text_contencts {
  flex: 1;
  margin-top: 1rem;
}
.page_text2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 30px;
}
.page_text {
  padding: 0 1.5rem;
}
.page_all_text {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0 1.5rem;
}
@media screen and (min-width: 768px) {
  .page_text2 {
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 1024px) {
  .text_contencts {
    margin-top: 0;
  }
  .page_text {
    flex-direction: column;
  }
  .img_box,
  .img_box2 {
    width: auto;
  }
}

/*ページ内リンク*/
.page-anchor {
  display: block;
  position: relative;
  top: -50px; /* ヘッダ固定分などのオフセット */
  height: 0; /* アンカーそのものは見えない */
  overflow: hidden;
}
input.btn-detail,
button.btn-detail {
  padding: 10px !important;
  background: #ededed !important;
  border: 1px solid #747474 !important;
  border-radius: 5px !important;
  margin-top: 1rem;
  cursor: pointer;
}

/*スライドpc・sp切り替え slide_block.php
---------------------------------------------------------------------------*/
.smart-slide_only {
  display: block;
}
.pc-slide_only {
  display: none;
}
@media screen and (min-width: 1024px) {
  .pc-slide_only {
    display: block !important;
  }
  .smart-slide_only {
    display: none !important;
  }
}

/*お問合わせ contact3_block.php
---------------------------------------------------------------------------*/
/*リンク設定*/
a .tel {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}
/* フォーム全体*/
.contact_form .inquiry_form {
  width: 90%;
  margin: 0 auto;
}
.contact_telArea {
  margin-top: 1em;
}
.contact_form .contact_tel_fax {
  margin-bottom: 1em;
}
.contact_form .contact_tel_fax p.txt {
  margin-bottom: 1em;
}
.contact_form .contact_tel_fax .tel {
  font-size: 130%;
  font-weight: bold;
}
.contact_form .text_area {
  text-align: center;
  margin: 1rem;
  font-size: 1.2rem;
}
.contact_form .contact_mailform {
  margin: 0 auto;
  background: var(--white);
  padding: 1rem 0;
}
.contact_form .big_text_bold {
  text-align: left;
  color: var(--red);
  display: flex;
  justify-content: center;
}
/*上部注意書き*/
.contact .notice-wrap {
  display: flex;
  justify-content: center;
  text-align: left;
  border: 2px solid var(--alert);
  width: 90%;
  padding: 1rem;
  background: var(--white);
  font-size: 1.2rem;
  margin: 0 auto 2rem;
}
.contact .notice {
  text-align: center;
  margin: 1rem auto;
  color: var(--red);
  white-space: pre-line;
}

@media screen and (min-width: 768px) {
  .contact_form {
    width: 80%;
    margin: 0 auto;
  }
  .contact_form .inquiry_form {
    width: 100%;
    font-size: 1rem;
  }
  .contact_form .contact_mailform {
    padding: 1rem;
  }
}

/*入力項目ブロック*/
.contact_form .contact_item {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.contact_form .contact_article {
  font-weight: bold;
  text-align: left;
  padding: 5px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.contact_form .contact_input_area {
  width: 100%;
  text-align: left;
}
.contact_form .contact_input_area .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact_form .contact_input_area span {
  font-size: 90%;
}

@media screen and (min-width: 768px) {
  .contact_form .contact_item {
    justify-content: space-around;
    border-bottom: 1px solid #cecece;
  }
  .contact_form .contact_article {
    width: 40%;
  }
  .contact_form .contact_input_area {
    width: 55%;
  }
  .contact_form .contact_input_area .input_space_03 {
    width: 70%;
  }
}

/*入力欄（テキスト・セレクト）*/
.contact_form select {
  margin-right: 1rem;
  line-height: 30px;
  outline: none;
  background: var(--white);
  padding: 0.5rem;
  border: solid 1px #cecece;
  border-radius: 3px;
}
::placeholder {
  color: #acacac;
}
label {
  white-space: nowrap;
  width: 50%;
}
.contact_form .contact_input_area input,
.contact_form .contact_input_area textarea,
.contact_form .contact_input_area button {
  background-color: var(--white);
  border: solid 1px #cecece;
  border-radius: 3px;
  box-sizing: border-box;
}
.contact_form .contact_input_area .input_space_01,
.contact_form .contact_input_area .input_space_02,
.contact_form .contact_input_area .input_space_03 {
  width: 100%;
  padding: 10px;
}
.contact_form .contact_input_area .input_space_03 {
  height: 2em;
}

/* 必須表示 */
.contact_form .need {
  padding: 0.5em;
  font-size: 0.7em;
  color: var(--white);
  background-color: var(--alert);
  margin: 0 1em 0 0;
  border-radius: 4px;
}

/*ボタン*/
.contact .btn.btnGY,
.contact .btn.alert {
  letter-spacing: 0.4em;
}
.contact_form .btnArea_submit {
  margin: 2rem auto;
  text-align: center;
}
.contact_form input.btn.btnGY {
  background: #585858;
  border: 1px solid #585858;
  color: var(--white);
  width: auto;
}
.contact_form .btnArea_submit2 {
  clear: both;
  padding-top: 2em;
  flex-wrap: nowrap;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 30px;
  display: flex;
}
/*入力確認ページ*/
dl.contact_confirm {
  display: flex;
  flex-flow: column;
  width: 100%;
  text-align: left;
  padding: 2em 0 0;
}
.contact_confirm dt {
  flex-basis: 35%;
  padding: 10px 20px 0;
  border-bottom: none;
  font-weight: bold;
}
.contact_confirm dd {
  flex-basis: 50%;
  padding: 10px 20px;
  border-bottom: 1px solid #cecece;
}

@media screen and (min-width: 768px) {
  dl.contact_confirm {
    flex-flow: row wrap;
    justify-content: center;
  }
  .contact_confirm dt {
    border-bottom: 1px solid #cecece;
    padding: 20px;
  }
  .contact_confirm dd {
    padding: 20px;
  }
}

/*個人情報保護方針 pp_block.php
---------------------------------------------------------------------------*/
/* DL全体 */
ul.pp_list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.pp_list li {
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}
.pp_list li:last-of-type {
  border-bottom: none;
}

/*サイトポリシー site_policy_block.php
---------------------------------------------------------------------------*/
dl.site_policy_list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}
.site_policy_list dt {
  font-weight: bold;
  font-size: 1.1em;
  padding-top: 20px;
  padding-bottom: 5px;
}
.site_policy_list dd {
  margin: 0;
  padding: 0 0 20px 1em;
  border-bottom: 1px solid #ccc;
}
.site_policy_list dd:last-of-type {
  border-bottom: none;
}

/*サイトマップ site_map_block.php
---------------------------------------------------------------------------*/
ul.sitemap_list {
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap_list > .parent-menu {
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
}
.sitemap_list .sm_list {
  margin-right: 0.3em;
}
.child-menu {
  list-style: none;
  padding: 5px 0 0 20px;
  margin: 0;
}
.child-menu .sm_clist {
  position: relative;
  padding-left: 15px;
  text-decoration: none;
}
.menu-comment {
  margin: 5px 0 0 35px;
}

@media screen and (min-width: 768px) {
  ul.sitemap_list {
    flex-flow: row wrap;
  }
  .sitemap_list > .parent-menu {
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
    border-bottom: none;
  }
  .child-menu {
    padding-left: 25px;
  }
}

/*会社概要 profile_block.php
---------------------------------------------------------------------------*/
table.table_profile {
  width: 100%;
  text-align: left;
  margin: 0 auto;
  margin: 2% auto;
}
table.table_profile tr {
  border: 1px solid #c7c7c7;
}
table.table_profile th,
table.table_profile td {
  display: block;
  border-spacing: 0px;
  width: auto;
  padding: 10px;
}
table.table_profile th {
  background: #ededed;
}
@media screen and (min-width: 768px) {
  table.table_profile th {
    width: 20%;
  }
  table.table_profile th,
  table.table_profile td {
    display: table-cell;
    padding: 20px;
  }
}

/*更新履歴 topics_block.php
---------------------------------------------------------------------------*/
/* 更新履歴
---------------------------------------------------------------------------*/
.ul_news li {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  padding: 0.6em 0;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}
/* 日付表示 */
.ul_news span.news_date {
  min-width: 6em;
  display: inline-block;
}
/* アイコン*/
span.icon.new {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 5px 10px;
  margin: 0 5px 0 0;
  border-radius: 3px;
  font-size: 80%;
  line-height: 1.5;
  vertical-align: middle;
}

.ul_news span.link-title {
  flex-basis: 100%;
  order: 99;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .ul_news span.link-title {
    flex-basis: auto;
    order: 0;
  }
}

/* 「すべて表示」リンク */
.topics_all {
  margin: 2rem auto 0;
  text-align: center;
}

/*モーダル*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  border-radius: 8px;
}
.modal-content h2 {
  font-size: 1.1rem;
  padding: var(--space-small) 0;
  text-align: left;
}
.modal-content p {
  overflow-wrap: break-word;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: #595959;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: bolder;
  border: none;
}
.close-modal:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}
.modal.active {
  display: flex;
}
.hidden {
  display: none;
}
.mySwiper img {
  width: 100%;
  height: 500px;
  object-fit: contain;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 3px 4px #000;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  background: #333;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: static;
  margin-top: 0;
  text-align: center;
}

/*mode=login login_form_top_block.php
---------------------------------------------------------------------------*/
.login-form {
  padding: 0.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #cecece;
  padding-top: 1rem;
}

.login-form .login-row {
  display: flex;
  gap: 1rem;
}

.login-form .login-row input {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-form .login-submit {
  text-align: right;
}

.login-form .logged-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  border-radius: 4px;
}

.login-form .login-message {
  color: red;
  font-size: 0.9rem;
}

.login-form .btn-detail {
  margin: 0;
}
