/*
Theme Name: View Fukushima-gata ORION Child
Description: View Fukushima-gata customizations for ORION TCD037. Static-review candidate; verify after deployment.
Template: orion_tcd037
Version: 0.1.1
Text Domain: view-fukushimagata-child
*/

/* 独自CSSは静的移植済み。Ver4.2との読み込み順と表示は未検証。 */

/* =====================================================================
 ビュー福島潟専用CSS（現行テーマの独自部分から移植）
 注意: Ver4.2の標準CSSとの最終デザイン照合は未完了。
===================================================================== */

/* フッター施設情報 */
#footer_menu_bottom li { display:inline-block; font-size:14px; }
#footer_menu_bottom li a { display:block; border-right:1px solid #ccc; padding:0 15px 0 0; margin:0 15px 0 0; }
#footer_menu_bottom li:last-child a { border:none; padding:0; margin:0; }


/* 20240327 フッターの会社情報を追加、20240423微調整 */
#footer_info_title {
   font-weight: bold;
   margin-top:30px;
}

#footer_info {
   font-size: 0.8rem;
   line-height: 2;
   margin-top:10px;
   margin-bottom:10px;
   padding-bottom: 20px;
}

/* コピーライト */

/* 独自ボタン */
.q_button { min-width:200px; max-width:90%; background-color:#EC9545; display:inline-block; vertical-align:middle; padding:.6em 1.3em .5em; font-weight:400; font-size:100%; color:#fff !important; margin:0; text-decoration:none; text-align:center; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; transition:all 0.3s ease-in-out 0s; box-shadow:0 1px 3px rgba(0,0,0,.15); } /* 20230306 背景枠の色変更 */
.q_button:hover, .q_button:focus { text-decoration:none; color:#fff; background-color:#FBC695; box-shadow:0 2px 2px rgba(0,0,0,.15) inset; }
.q_button_wrap{ text-align:center; margin: 2em auto; }
/* Button option */
.rounded { border-radius:6px; }
.pill { border-radius:50px; }
.sz_full { min-width:100px; max-width:100%; display:block; font-size:110%; padding:1em 1.5em .9em; }
.sz_l { min-width:350px; max-width:90%; font-size:110%; padding:.8em 1.5em .7em; }
@media screen and (max-width: 479px) {
  .sz_l { min-width:320px; max-width:95%; }
}
.sz_s { min-width:100px; max-width:90%; font-size:85%; padding:.4em 1em .3em; }
.bt_red{ background:#c01f0e; color:#fff; }
.bt_red:hover, .bt_red:focus { background-color:#d33929; color:#fff; }
.bt_yellow{ background:#f1c40f; color:#fff; }
.bt_yellow:hover, .bt_yellow:focus { background-color:#f9d441; color:#fff; }
.bt_blue{ background:#2980b9; color:#fff; }
.bt_blue:hover, .bt_blue:focus { background-color:#3a91c9; color:#fff; }
.bt_green{ background:#27ae60; color:#fff; }
.bt_green:hover, .bt_green:focus { background-color:#39c574; color:#fff; }


/* フリースペースの余白 */
.index_freespace_inner { padding-top: 0; padding-bottom: 50px; }

/* ----------------------------------------------------------------------
 20240329 フッターの画像４列固定バナー
---------------------------------------------------------------------- */

.flexbox{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.flexbox div{
  justify-content: center;
  margin-top: 10px;
}

@media (min-width: 1024px) {
  .flexbox div{
    width: 25%;
  }
}




/* ----------------------------------------------------------------------
 20240725～ カスタム投稿「自然情報(毎週更新)」の最新1記事をTOPに表示
---------------------------------------------------------------------- */

/* Container for the front page */
.front-page-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 100px;
    padding: 0 10px;
}

/* Header for nature info */
.header-nature-info {
    background-color: #0eaeb8;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 20px;
}

/* Latest post title */
.latest-title-nature-info {
    font-size: 28px;
    color: #0eaeb8;
    text-align: center;
    margin-bottom: 30px;
}

/* Two columns for the content */
.columns-nature-info {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Left column styling */
.left-column-nature-info {
    width: 30%;
}

.eyecatch-nature-info {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.eyecatch-midashi {
    font-size: 9px;
    text-align: center;
}

/* Right column styling */
.right-column-nature-info {
    width: 65%;
}

.heading-nature-info {
    color: #333333;
    font-size: 24px;
    border-bottom: 6px solid #0eaeb8;
    padding-bottom: 10px;
    margin: 10px 0;
}

.content-nature-info {
    padding: 5px 0;
}

.gyokan {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    .columns-nature-info {
        flex-direction: column;
    }

    .left-column-nature-info, .right-column-nature-info {
        width: 100%;
    }

    .eyecatch-nature-info {
        width: 80%;
        display: block;
        margin: 0 auto 10px;
    }

    .eyecatch-midashi {
        text-align: center;
    }

    .content-nature-info {
        width: 97%;
        margin: 0 auto;
    }

    .latest-title-nature-info {
        font-size: 24px;
    }

    .header-nature-info {
        font-size: 20px;
        padding: 10px 0;
    }

    .heading-nature-info {
        font-size: 20px;
        padding-bottom: 8px;
    }
}








/* カスタム投稿「自然情報」記事内 */
p.gyokan{ line-height: 180%; width: initial; }


.container-nature-info {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
}

.eyecatch-midashi {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.section-nature-info {
    margin-bottom: 20px;
}

.section-title-nature-info {
    background-color: #0eaeb8;
    color: white;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.heading-nature-info {
    color: #333333;
    font-size: 24px;
    border-bottom: 6px solid #0eaeb8;
    padding-bottom: 10px;
    margin: 10px 0;
}

.content-nature-info {
    padding: 5px 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .section-title-nature-info, .heading-nature-info {
        font-size: 20px;
        padding: 8px;
    }

    .heading-nature-info {
        font-size: 18px;
        border-bottom-width: 4px;
    }

    .content-nature-info {
        padding: 5px 0;
    }
}


@media (max-width: 767px) {
 .index_freespace_inner { width:100%; padding:25px 0; }
 .index_freespace_inner .index_freespace_content { margin:0 20px; }
 #top.header_content_style_type3 { height:calc(100svw * 9 / 16 + 55px) !important; }
 #header_youtube, #header_youtube .mbYTP_wrapper iframe { height:calc(100svw * 9 / 16) !important; }
}

/* ===============================================================
  旧ORION Ver.3.7から確認できた追加の独自設定（移行作業用）
  Ver.4.2との見た目は未検証。親テーマを丸ごとコピーしないこと。
=============================================================== */
#post_image img { width: 60%; position: relative; left: 50%; transform: translateX(-50%); }

#archive_headline { font-size: 28px; }

#dis_single_title .title { font-size: 40px; }

.index_content1 { padding: 60px 0 55px; }

.index_freespace_inner { padding: 0px 0 50px; }

.index_content_header .headline { color: #2D8696; }

.index_content_header3 .headline { color: #2D8696; }

.index_box_list .headline { color: #2D8696; }

.index_box_list .link { background: #0EAEB8; }

.index_content_header2 .link a { background: #0EAEB8; }

.post_content th { background: #FFF; }

.post_content p { word-wrap: break-word; }

.cardlink_excerpt { font-size: 14px; }

.wpcf7 { font-size: 15px; }

.wpcf7 p { font-size: 15px; }

.wpcf7 input.wpcf7-submit, .wpcf7 .wpcf7-previous { font-size: 15px; }

/* table-01を追加　20240404～ */
.table-01 {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
.table-01 th {
  width: 18%;
  background: #d5e8d6;
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 15px;
  vertical-align: middle;
  text-align: left;
}
.table-01 td {
  background: #fff;
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 15px;
  vertical-align: top;
  text-align: left;
}
@media all and (max-width: 600px) {
  .table-01 th, .table-01 td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .table-01 tr:last-child td:last-child {
    border-bottom: 1px solid #ccc;
  }
}

/* 問合せフォーム　追加CSS　*/
.blue-required::after {
 content: "必須";
 color: #ffffff;
 background: #3159A0;
 font-size: 0.8em;
 padding: 0.3em;
 border-radius: 0.3em;
 margin-right:0.3em;
}

/* 問合せフォーム　入力欄変更　*/
.wpcf7 input[name="your-company"] ,
.wpcf7 input[name="your-name"] ,
.wpcf7 input[name="your-furigana"] ,
.wpcf7 input[name="your-tel"] ,
.wpcf7 input[name="your-email"] {
	width: 85%;
}
.wpcf7 textarea[name="your-message"] {
	width: 90%;
}

.wpcf7 textarea[name="your-message"] {
	height: 100px !important; /* 現行CSSのコロン抜けを修正 */
}

.wp-block-embed__wrapper { position: relative; width: 100%; padding-top: 56.25%; }

.wp-block-embed__wrapper iframe { position: absolute; top: 0; right: 0; width: 100%; height: 100%; }


/* =====================================================================
  STEP 6: 現行テーマで確認した未移植カスタマイズの補完（実画面未検証）
===================================================================== */

/* 自然情報の見出し・表 */
.midashi_green { margin-bottom:20px; background-color:#0eaeb8; padding:5px; }
.midashi_green_title { color:#fff; font-size:28px; text-align:center; }
.nature_headline { margin-bottom:30px; }
.midashi_green_headline { color:#2d8696; font-size:24px; text-align:center; }
.nature-table { table-layout:fixed; width:100%; margin:20px auto; }
.nature-table tr:nth-child(odd) { border-bottom:6px solid #0eaeb8; }
.nature-table p { font-size:14px; font-weight:normal; color:#333; text-align:center; margin:20px auto 10px; }
.nature-table th { padding:10px; }
.nature-table td { border-style:none; padding:10px; }

/* グローバルメニュー：現行の色とドロップダウン幅 */
.pc #global_menu > ul > li > a:hover { background:#DCF4F3; }
.pc #global_menu ul ul { width:230px; }
.pc #global_menu ul ul a { background:#2d8696; }

/* フッター：現行の背景色と内側余白 */
#footer_top { background:#FFFAFA; }
#footer_top_inner { padding-bottom:10px; }

@media screen and (max-width:768px) {
  .nature-table { width:80%; }
  .nature-table th, .nature-table td { border-bottom:none; display:block; width:100%; }
  .nature-table .last td:last-child { border-bottom:none; width:100%; }
}

/* ビュー福島潟：一覧ボタンの背景色 */
.q_button_wrap .q_button {
  background-color: #EC9545;
  color: #fff !important;
}

/* マウスを重ねたとき */
.q_button_wrap .q_button:hover,
.q_button_wrap .q_button:focus {
  background-color: #FBC695;
  color: #fff !important;
}