/*================================共通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
==========================================================================================================*/

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

.flex {
  display: flex;
}
.grid {
  display: grid;
}

/*ページ記事 page_block.php
---------------------------------------------------------------------------*/
.page_block {
  width: 100%;
}
.page_block img {
  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_text.wrap,
.page_text2.wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 30px;
  flex-direction: column-reverse;
}
.page_all_text {
  display: block;
  width: 100%;
  text-align: left;
}

@media screen and (min-width: 1000px) {
  .text_contencts {
    margin-top: 0;
  }
  .page_text.wrap {
    flex-direction: column;
  }
  .page_text2.wrap {
    flex-direction: row-reverse;
  }
  .img_box,
  .img_box2 {
    width: 30%;
  }
  .ttl-com_wrap {
    flex: 1;
  }
}

/*ページ内リンク*/
.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 0;
}
.contact_form .contact_mailform {
  margin: 0 auto;
  background: #fff;
}
.contact_form .big_text_bold {
  text-align: left;
  color: #ff0000;
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .contact_form {
    margin: 0 auto;
  }
  .contact_form .inquiry_form {
    width: 100%;
    font-size: 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 .wrap label {
  width: auto;
  margin-right: 1rem;
}
.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: #fff;
  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: #fff;
  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: #fff;
  background-color: #ff0000;
  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: #fff;
  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.pp_list {
  display: flex;
  flex-direction: column;
  width: 100%;
  counter-reset: dt-counter; /* 番号リセット */
}
.pp_list dt {
  font-weight: bold;
  font-size: 1.1em;
  counter-increment: dt-counter; /* 番号インクリメント */
  position: relative;
  padding-left: 2em;
  padding-top: 20px;
}
.pp_list dt::before {
  content: counter(dt-counter) "．"; /* 1. 2. 3. */
  position: absolute;
  left: 0;
  font-weight: bold;
}
.pp_list dt,
.pp_list dd {
  flex-basis: 100%;
}
.pp_list dd {
  border-bottom: 1px solid #cecece;
}
.pp_list dd:last-of-type {
  border-bottom: none;
}

/*サイトポリシー site_policy_block.php
---------------------------------------------------------------------------*/
dl.site_policy_list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.site_policy_list dt {
  font-weight: bold;
  font-size: 1.1em;
  padding-top: 20px;
}
.site_policy_list dd {
  border-bottom: 1px solid #cecece;
}
.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.profile.table {
  width: 100%;
  text-align: left;
}
table.profile.table tr {
  border-bottom: 1px solid #fff;
  flex-wrap: wrap;
  padding: 20px 0;
}
table.profile.table th {
  width: 100%;
}
table.profile.table th::before {
  content: "■ ";
}
table.profile.table td {
  font-weight: normal;
}
table.profile.table tr:last-of-type {
  border-bottom: none;
}
@media screen and (min-width: 768px) {
  table.profile.table tr {
    padding: 20px;
    justify-content: space-between;
  }
  table.profile.table th {
    width: 20%;
  }
  table.profile.table th::before {
    content: none;
  }
  table.profile.table td {
    width: 75%;
  }
}

/*更新履歴 topics_block.php
---------------------------------------------------------------------------*/
/* 更新履歴
---------------------------------------------------------------------------*/
.topics .btn-wrap {
  display: flex;
  justify-content: center;
}
.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;
}
/* アイコン共通 */
.ul_news span.icon {
  display: flex;
  width: auto;
  border-radius: 3px;
  color: #fff;
  padding: 5px 10px;
  font-size: 80%;
  line-height: 1.5;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  min-width: 4.5em;
  background: #616161; /* デフォルト背景色 */
}
/* 新着アイコン */
.ul_news span.icon.new {
  background: #ff0000;
  min-width: auto;
}

.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;
  }
}

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