@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 3.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/


.top-page {
    margin-top: 0 !important;
}

.top-img {
    overflow: hidden;
    height: 95vh;
}

.top-img img {
    width: 100%;
}

.front-area {
    width: 100%;
}

.front-box {
    padding: 2rem;
    background: #fff;
}

.front-blog h2 {
    margin-top: 0;
}

.front-blog ul {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.front-blog li {
    width: calc(100%/2);
    display: block;
    padding: 1rem;
    overflow: hidden;
}

.front-blog li img {}

.front-blog li::after {
    content: "";
    clear: both;
}

.thum-box {
    overflow: hidden;
}

.thum-box img {
    transition: all 0.6s ease 0s;
}

.thum-box img:hover {
    cursor: pointer;
    transform: scale(1.1, 1.1);
}

.front-blog h3 {
    font-size: 20px;
    margin: 1rem 0 .5rem;
    font-weight: 400;
    line-height: 20px;
}

.front-blog-area {
    padding-top: 1rem !important;
}

.front-blog h3 a {
    color: #1a1a1a;
}

.front-blog p {
    color: #996600;
    margin: 0;
    text-align: right;
    font-size: 90%;
}

.front-blog p span {
    font-size: 85%;
}

.top-page section {
    padding: 3rem 0 0;
}


.top-page section h2 {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6ab943;
    margin-bottom: 2rem;
    margin-top: 0;
}


.top-page section h2::before,
.top-page section h2::after {
    content: "";
    flex-grow: 1;
    border-bottom: 1px dotted #6ab943;
}

/* 左側の線 */
.top-page section h2::before {
    margin-right: 50px;
    padding-left: 15px;
}

/* 右側の線 */
.top-page section h2::after {
    margin-left: 50px;
    padding-right: 15px;
}

.right-box {
    background: url(img/top1.jpg) no-repeat left center;
    background-size: 558px;
    padding: 3rem 0;
}

.left-box {
    background: url(img/top2.jpg) no-repeat right center;
    background-size: 558px;
    padding: 3rem 0;
}

.right-box2 {
    background: url(img/top3.jpg) no-repeat left center;
    background-size: 558px;
}

.left-box2 {
    background: url(img/top4.jpg) no-repeat right center;
    background-size: 558px;
}

.right-box3 {
    background: url(https://midoris.jp/wp-content/uploads/2024/10/yultime_yoko.jpg) no-repeat left center;
    background-size: 558px;
	    padding: 2rem 0;
}

.right-box3 a{
	    color: #252525;
}

.right-box3 a:hover{
    text-decoration: none;
    opacity: 0.5;
}


.right-box .text-area {
    width: 50%;
    margin: 0 0 0 auto;
    text-align: center;
}

.left-box .text-area {
    width: 50%;
    margin: 0 auto 0 0;
    text-align: center;
}

.right-box h3,
.left-box h3 {}

.right-box p,
.left-box p {
    padding: 0 40px;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 2px;
    text-align: left;
}

.company {
    margin-top: 1rem;
}

.company table,
.contact table {
    width: 500px;
    margin: 0 auto;
}

.company th,
.company td {
    padding: 10px;
}

.company th {
    width: 30%;
}

.company tr {
    border-bottom: 1px dotted #f0c43d;
}

.contact th,
.contact td {
    padding: 10px;
}

.contact th {
    width: 30%;
}

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
    display: block;
    width: 100%;
    height: 45px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 0;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: none;
    color: #5c6b80;
    font-size: 1em;
    vertical-align: middle;
    line-height: 45px;
    transition: background-color 0.24s ease-in-out;
    border: 2px solid #f0c43d;
}

span.wpcf7-list-item {
    display: block;
}

a.blog-link {
    background: #f0c43d;
    border-radius: 10px;
    color: #fff;
    display: block;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    width: 400px;
}

a.blog-link:hover {
    background: #6ab944;
    text-decoration: none;
}

.contact .wpcf7-submit {
    background: #f0c43d;
    border-radius: 10px;
    color: #fff;
    display: block;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    width: 400px;
    border: none;
}

.wrap-video {
    position: relative;
}

.wrap-video video {
    width: 100%;
    height: 100%
}

.wrap-video .text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*上下左右中央寄せ*/
    text-align: center;
}

.wrap-video .text p {
    font-size: 16px;
    font-weight: bold;
    color: white;
}

.wrap-video .text .headline {
    font-size: 20px;
}

.moviebg {
    width: 100%;
    height: 98.7%;
    position: absolute;
    background: url(./img/backmovie.png);
}

.movie-text {
    position: absolute;
    top: 21%;
    left: 30%;
}

.movie-text img {
    width: 500px;
}

.scb {
    position: absolute;
    bottom: 10%;
    width: 100%;
    text-align: center;
}

.scb a {
    padding-top: 80px;
}

.scb a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 35px;
    height: 35px;
    margin-left: -17px;
    border-left: 5px solid #fff;
    border-bottom: 5px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}

.scb a span:nth-of-type(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.scb a span:nth-of-type(2) {
    top: 20px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}

.scb a span:nth-of-type(3) {
    top: 40px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}

p.rec {
    font-size: 10px;
    margin-top: 10px;
}

.grecaptcha-badge {
    visibility: hidden;
}

@-webkit-keyframes sdb {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes sdb {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media screen and (min-width:370px) and (max-width:768px) {
    .movie-text img {
        width: 250px;
    }

    .movie-text {
        top: 15%;
        left: 18%;
    }

    .top-img {
        overflow: hidden;
        height: 200px;
    }

    .front-blog li {
        width: calc(100%/1);
        float: none;
    }

    .scb {
        display: none;
    }

    a.blog-link {
        width: 100%;
    }

    .right-box .text-area {
        width: 100%;
        margin: 0 auto;
    }

    .right-box {
        background: url(img/top1.jpg) no-repeat top;
        background-size: 558px;
        padding: 19rem 0 0;
        margin-top: 4rem;
    }

    .right-box2 {
        background: url(img/top3.jpg) no-repeat top;
        background-size: 558px;
    }

    .left-box .text-area {
        width: 100%;
        margin: 0 auto;
    }

    .left-box .text-area {
        width: 100%;
        margin: 0 auto 0 0;
    }

    .left-box {
        background: url(img/top2.jpg) no-repeat top;
        background-size: 558px;
        padding: 19rem 0 0;
        margin-top: 4rem;
    }

    .left-box2 {
        background: url(img/top4.jpg) no-repeat top;
        background-size: 558px;
    }
	
	.right-box3 {
        background: url(https://midoris.jp/wp-content/uploads/2024/10/yultime_tate.jpg) no-repeat center top;
        background-size: contain;
}

    .company table,
    .contact table {
        width: 100%;
    }

    .contact .wpcf7-submit {
        width: 100%;
        border: none;
    }

    textarea,
    .field {
        line-height: 20px;
    }

    .mobile-nav .current-menu-item {
        border-bottom-color: #fff !important;
    }
}

@media screen and (min-width:769px) and (max-width:812px) {
    .right-box {
        background: url(img/top1.jpg) no-repeat left center;
        background-size: 357px;
        padding: 50px 0;
    }

    .left-box {
        background: url(img/top2.jpg) no-repeat right center;
        background-size: 357px;
        padding: 50px 0;
    }

    .right-box h3,
    .left-box h3 {
        margin: 0;
    }

    .right-box p,
    .left-box p {
        margin: 0;
        line-height: 17px;
        font-size: 12px;
        letter-spacing: .5px;
    }

    .left-box .text-area {
        padding: 20px 0;
    }
}

@media screen and (min-width:813px) and (max-width:1024px) {
    .right-box {
        background: url(img/top1.jpg) no-repeat left center;
        background-size: 460px;
        padding: 40px 0;
    }

    .left-box {
        background: url(img/top2.jpg) no-repeat right center;
        background-size: 460px;
        padding: 40px 0;
    }

    .right-box h3,
    .left-box h3 {
        margin: 0;
    }

    .right-box p,
    .left-box p {
        margin: 0;
        line-height: 20px;
    }
}

.entry-header .updated:before {
    content: "最終更新日:";
    opacity: 1;
}

/* トップページの新着記事は、他の一覧と同じくアイコンで投稿日／更新日を区別する
   （旧実装ではどちらか一方しか出なかったため time 全体にラベルを付けていた） */
.front-blog .mdrs-dates {
    justify-content: flex-end;
}

.js-scrollable table,
.js-scrollable2 table {
    width: 180% !important;

}

.js-scrollable,
.js-scrollable2 {
    margin-bottom: 2rem !important;
}

.js-scrollable table tbody tr td:first-child {
    position: sticky;
    left: 0;
        background: #fff;
}

.js-scrollable table tbody tr td:first-child::before{
        content: "";
    position: absolute;
    top: -1px;
    left: -2px;
    width: 100%;
    height: 100%;
    border-right: 2px solid #e0e0e0;
    border-left: 2px solid #e0e0e0;
}

.ad-box-bottom h3{
        color: #ffffff;
    background-color: #ddad63;
        margin-bottom: 0;
    padding: 7px 13px;
    font-size: 1.2em;
}

.osusume-box ul{
    gap: 2rem;
    margin-top: 1rem;
}

.osusume-box li {
    margin: 0 !important;
    padding: 0;
    width: 100%;
}

/*
 * スマホでの表示はプラグイン「Midoris Toolkit」の設定（おすすめ記事 → スマートフォンの表示）
 * に任せる。以前ここにあった「横スクロールを止めて1列に折り返す」指定は、
 * 設定で選んだ横スクロールまで打ち消してしまうため削除した。
 */

.js-scrollable a {
    position: relative;
    z-index: 1;
}
/* --------------------------------------------------------------
 * トップページは1カラム（サイドバーなし）のため、本文を全幅にする。
 * 親テーマ 3.x の #main は既定でサイドバー分を差し引く指定になっており、
 * 旧テーマのグリッド指定（m-all / t-2of3 / d-5of7）は現行CSSから
 * 削除されているため、ここで打ち消す必要がある。
 * -------------------------------------------------------------- */
.top-page #main {
  width: 100%;
  padding-right: 0;
}

/* --------------------------------------------------------------
 * 見積フォーム（入力・確認）も1カラム。
 * この2つのテンプレートはテーマ標準の #content ラッパーではなく
 * 独自の #primary を使っているため column_class() が付かず、
 * 上と同じくサイドバー分が差し引かれてしまう。
 * 対象: page-kurapia-form.php / kurapia-form-confirm.php
 * -------------------------------------------------------------- */
#primary #main {
  width: 100%;
  padding-right: 0;
}

/* --------------------------------------------------------------
 * 見積フォームのお客様情報入力欄の幅。
 * page-kurapia-form.php は div の閉じタグが4つ抜けており、
 * ブラウザの自動補正で .order-details-area が
 * .calc-area > .total-box > .form-box-inner の中に入り込んでいた。
 * 閉じタグを正しく補ったことで本来の位置（#order-form の直下）に
 * 戻ったが、幅が変わって見えないよう、これまでと同じ幅を再現する。
 *   これまでの幅 = .calc-area の内側幅 - .form-box-inner の左右余白(40px)
 * -------------------------------------------------------------- */
.page-id-3665 .order-details-area {
  width: calc(100% - 80px);
  max-width: 760px; /* .calc-area の 840px - 40px * 2 */
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 767px) {
  /* この幅では .form-box-inner の余白が 0 になり、
     代わりに .calc-area の左右 16px が効いていた */
  .page-id-3665 .order-details-area {
    width: calc(100% - 32px);
    max-width: 808px;
  }
}

/* --------------------------------------------------------------
 * 記事一覧のカードに投稿日と更新日を併記したときの表示。
 * 親テーマ側で time が block 指定のため、1行に並ぶよう打ち消す。
 * 更新日には回転矢印のアイコンを付けて投稿日と区別する。
 * -------------------------------------------------------------- */
.mdrs-dates {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15em .5em;
}
.mdrs-dates time {
  display: inline-block !important;
  margin: 0 !important;
}
.mdrs-dates time.updated::before {
  content: "\f021";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: .3em;
  font-size: .85em;
  opacity: .7;
}

