@charset "UTF-8";
@import url("layout.css");
@import url("blog.css");

/*
Theme Name: 株式会社丸金交通 Version02
Description: 株式会社丸金交通 公式ホームページ
Author: MIA RESORT
*/
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
/*box-sizingを全ブラウザに対応*/
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
html { font-size: 62.5%; }
body {
    /*font-family: 'Noto Sans JP', sans-serif;*/
    font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(1.5rem, 1.475rem + 0.078vw, 1.6rem);
	line-height: 1.7;
    color: #333;
    margin: 0px;
}
#s_navi {
    display: none;
}
.top-haikei-sp {
    display: none;
}
.sub-haikei-sp {
    display: none;
}
/*===========================
  カスタムプロパティ(変数)
==========================*/
:root {
    --primary-color: #2D8E3C;
    --sub-color: #595757;
}
/*===========================
  header
==========================*/
/* ヘッダー固定から下りてくる */
#global-nav {
    transition: all 0.3s ease 0s;
    width: 96%;
    z-index: 100;
    margin: 0px auto;
}
#global-nav.m_fixed {
    position: fixed;
    top: 10px;
}
/* end */
.top-haikei {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
}
.top-haikei img {
    width: 100%;
    height: auto;
    animation: zoom-in 3s ease-in-out forwards; /* アニメーション設定 */
}
@keyframes zoom-in {
    0% {
        transform: scale(1); /* 初期サイズ */
    }
    100% {
        transform: scale(1.08); /* ズームインしたサイズ */
    }
}
.head-haikei-sp {
    display: none;
}
hgroup {
    margin-right: auto;
}
hgroup h1 img {
    width: clamp(18rem, 12.5rem + 17.188vw, 40rem);
    height: auto;
}
nav {
    display: flex;
    margin-right: 20px;
}
.page-header {
    display: flex;
    justify-content: end;
    align-items: center;
    height: auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 30px;
    border-radius: 20px;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 10px 30px;
    vertical-align: middle;
    white-space: nowrap;
}
.main-nav li {
    letter-spacing: 0.1rem;
    font-size: clamp(1.4rem, 1.335rem + 0.203vw, 1.7rem);
    line-height: 1;
    font-weight: 300;
}
.main-nav li a {
    text-decoration: none;
    color: #333;
    transition: all 0.8s;
}
.main-nav li a:hover {
	color: var(--primary-color);
}
.head-contact a {
    background-color: var(--primary-color);
    color: #FFF;
    font-size: clamp(1.4rem, 1.357rem + 0.135vw, 1.6rem);
    text-align: center;
    padding: 8px 35px;
    text-decoration: none;
    transition: all 0.8s;
    font-weight: 400;
    border-radius: 50px;
    white-space: nowrap;
}
.head-contact a:hover {
    background-color: #82C658;
}
/* TOPコピー */
.top-copy {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.top-copy h2 {
    font-size: clamp(3rem, 2.25rem + 2.344vw, 6rem);
    font-weight: 500;
    color: #FFF;
    line-height: 1.3;
    white-space: nowrap;
}
.top-copy-img {
    position: relative;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
}
/*===========================
  TOPページ PC
==========================*/
/* News */
.news {
    width: 85%;
    background: linear-gradient(90deg, #41b46a 0%, #7ad16f 45%, #cfe66d 100%);
    border-radius: 30px 0px 0px 30px;
    padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px);
    color: #FFF;
    margin-left: auto;
    position: relative;
}
.news__inner {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 56px);
}
/* 左カラム */
.news__head {
    flex: 0 0 clamp(180px, 18vw, 380px);
    align-self: flex-start;
}
.news__kicker {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 1.425rem + 0.234vw, 1.8rem);
}
.news__title {
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: .02em;
    font-size: clamp(54px, 6vw, 86px);
    margin-bottom: 25px;
}
/* 右カラム（一覧） */
.news__body {
    flex: 1 1 auto;
    min-width: 0;
}
.news__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #FFF;
}
.news__item {
    padding: 0;
    border-bottom: 1px solid #FFF;
}
.news__itemLink {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: clamp(1.5rem, 1.25rem + 0.781vw, 2.5rem);
    padding: clamp(24px, 3.6vw, 34px) 0;
    color: inherit;
    text-decoration: none;
}
.news__itemLink:hover {
    background: rgba(255, 255, 255, 0.2);
}
.news__date {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    opacity: .95;
    white-space: nowrap;
}
.news__link {
    color: var(--text);
    text-decoration: none;
    font-size: clamp(1.5rem, 1.45rem + 0.156vw, 1.7rem);
    letter-spacing: .02em;
    line-height: 1.6;
    min-width: 0;
    display: inline-block;
}
.taxi-illust {
    position: absolute;
    top: 180px;
    left: -100px;
    width: clamp(12rem, 8rem + 12.5vw, 28rem);
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
  }
.shaking-image {
    transition: transform 0.5s ease-in-out; /* アニメーションのトランジション設定 */
}
.shaking-image:hover {
    animation: shake 0.5s ease-in-out infinite; /* マウスオーバー時にアニメーションを適用 */
}
/* Our Business */
.top-business {
    width: min(94%, 1400px);
    margin: min(20%, 200px) auto 0px;
}
.four-business {
    display: flex;
    gap: 30px;
    text-align: center;
    font-size: 1.6rem;
    margin-top: 30px;
}
.busi-01 img {
    box-shadow: 10px 10px 0px rgba(45, 142, 60, 1);
    border-radius: 20px;
    margin-bottom: 20px;
}
.busi-02 img {
    box-shadow: 10px 10px 0px rgba(232, 171, 149, 1);
    border-radius: 20px;
    margin-bottom: 20px;
}
.busi-03 img {
    box-shadow: 10px 10px 0px rgba(149, 232, 202, 1);
    border-radius: 20px;
    margin-bottom: 20px;
}
.busi-04 img {
    box-shadow: 10px 10px 0px rgba(235, 132, 133, 1);
    border-radius: 20px;
    margin-bottom: 20px;
}
/* 地域を支えるサービス */
.top-service {
    background-color: #CCF2D2;
    border-radius: 80px 0px 0px 0px;
    margin-top: min(20%, 200px);
    padding: 60px;
}
.service-con {
    width: min(94%, 1400px);
    margin: auto;
}
.four-service {
    display: flex;
    gap: 30px;
    text-align: center;
    font-size: 1.6rem;
    margin-top: 40px;
}
.four-service img {
    border-radius: 20px;
    margin-bottom: 10px;
}
/* バナースペース */
.top-banner {
    width: min(94%, 1400px);
    margin: min(20%, 200px) auto 0px;
    display: flex;
    gap: 30px;
}

/*===========================
  下層ページ PC
==========================*/
/* 下層ページ共通 */
.sub-con {
    width: min(94%, 1400px);
    margin: min(20%, 180px) auto 0px;
}
.under-line {
    border-bottom: 1px solid #b5b5b5;
    margin: 80px 0px;
}
/* 事業内容 */
.sub-biz {
    display: flex;
    gap: 40px;
}
.sub-biz img {
    width: 50%;
    border-radius: 20px;
}
.sub-biz p {
    padding: 15px 0px;
}
/* 生活便利サービス */
.benri-midashi {
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 20px 20px 0px 0px;
    font-size: clamp(2rem, 1.875rem + 0.391vw, 2.5rem);
    padding: 15px;
    font-weight: 500;
    margin-top: min(20%, 120px);
}
.service-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    background-color: #ECFFEF;
    padding: 40px;
}
.service-box img {
    width: 50%;
    height: auto;
    border-radius: 20px;
}
.service-box p {
    padding: 15px 0px;
}
/*===========================
  footer コンタクト
==========================*/
.foot-contact {
    width: min(94%, 1400px);
    margin: min(20%, 200px) auto 0px;
    background-color: #87C390;
    border-radius: 40px;
    padding: 20px;
    text-align: center;
    color: #FFF;
}
.foot-contact h4 {
    font-size: clamp(3rem, 2.25rem + 2.344vw, 6rem);
}
.foot-con-button {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0px;
}
.foot-con-button img {
    width: 550px;
}
/*===========================
  footer
==========================*/
footer {
    background-color: #DCFFE1;
    padding: 50px 0px 10px;
    text-align: center;
    color: #333;
    margin-top: 5%;
}
footer h4 {
    color: #FFF;
    text-align: center;
    font-size: clamp(2rem, 1.5rem + 1.563vw, 4rem);
}
.foot-link {
    width: min(94%, 1400px);
    margin: 20px auto 0px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 30px 10px 25px;
}
footer p img {
    width: 300px;
    height: auto;
}
footer ul {
    width: min(94%, 1000px);
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
}
footer li {
    font-size: 1.6rem;
}
footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.8s;
}
footer ul li a:hover {
    color: var(--sub-color);
}
.foot-link p {
    font-size: clamp(1.4rem, 1.35rem + 0.156vw, 1.6rem);
}
.foot-banner {
    width: min(94%, 1100px);
    margin: 40px auto;
    display: flex;
    gap: 40px;
}
footer small {
    padding: 5px 0px 0px;
    display: block;
    color: #555;
}
footer small a {
    color: #9abc86;
}
/*===========================
メールフォームのスタイル
==========================*/
input,textarea,select {
    /* ress.min.cssでリセットされているのでここで命令 */
    background-color: #f8f8f8;
    border: 1px solid #e2e2e2;
}
.wpcf7 input[type="submit"] {
    font-size: 1.8rem;
    padding: 0.2em 0.4em;
    background: #eee;
    color: #555;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 1px rgba(0,0,0,.2);
    border: 1px solid #ccc;
    text-shadow: -1px 1px 0 rgba(255,255,255,1);
}
.wpcf7 input[type="submit"]:hover {
    box-shadow: 0 0 1px rgba(0,0,0,.2) inset;
}
span.wpcf7-list-item {/*チェックボックス改行*/
display: block!important;
}
#form {
    width: min(94%, 1200px);
    margin: 15px auto 15px;
    background-color: #FFF;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}
#form dt {
    font-size: 1.5rem;
    color: #333;
    padding: 10px 10px;
    background-color: #c6e8d3;
}
#form dd {
    font-size: 1.5rem;
    background-color: #FFF;
    padding: 15px 0px 20px 0px;
    max-width: 100%;
}
#form dd p{
    line-height: 170%;
}
.hiss {
    font-size: 1.2rem;
    background-color: #ff677d;
    padding: 2px 5px;
    color: #FFF;
    margin-left: 15px;
}
.mail_box {
    margin: 5px 0px;
    font-size: 1.5rem;
}
.form-width {/* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
#form p {
    padding: 0px 10px 10px;
}
/*===========================
  ブログページ
==========================*/

/* 記事一覧 */

/*/ _// _// _// _// _// _// _// _// _// _// _/
メディアクエリによる切り替え
/ _// _// _// _// _// _// _// _// _// _// _// _*/
@media only screen and (max-width: 1250px) {
.main-nav {
    gap: 10px 20px;
}
}
@media only screen and (max-width: 1024px) { /* 1024pxとそれ以下 */
.top-haikei-sp {
    display: block;
    position: relative;
    top: 0;
    width: 100%;
}
.top-haikei-sp img {
    width: 100%;
    height: auto;
    animation: zoom-in 3s ease-in-out forwards; /* アニメーション設定 */
}
@keyframes zoom-in {
    0% {
        transform: scale(1); /* 初期サイズ */
    }
    100% {
        transform: scale(1.03); /* ズームインしたサイズ */
    }
}
.top-copy-img-sp {
    position: relative;
    bottom: 8px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
/* topイメージ */
.top-copy-img {
    display: none;
}
.top-header {
    display: none;
}
.top-haikei-sp {/* 横スクロールが出てたのを抑える */
  overflow: hidden;
}
/* 下層ページ共通 */
.sub-head-haikei {
    display: none;
}
/* TOPコピースマホ */
.top-copy-sp {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.top-copy-sp h2 {
    font-size: clamp(2rem, 1.5rem + 1.563vw, 4rem);
    font-weight: 400;
    color: #FFF;
    line-height: 1.3;
    white-space: nowrap;
}
/*===========================
  TOPページ スマホ
==========================*/
/* News スマホ */
.news {
    width: 95%;
    border-radius: 20px 0px 0px 20px;
    margin-top: 40px;
}
.news__inner {
    display: block;
}
.taxi-illust {
    display: none;
}
/* Our Business スマホ */
.four-business {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}
/* 地域を支えるサービス */
.top-service {
    border-radius: 80px 0px 0px 0px;
    margin-top: min(20%, 200px);
    padding: 40px 20px 30px;
}
.four-service {
    display: flex;
    flex-direction: column;
}
/* バナースペース スマホ */
.top-banner {
    margin: min(20%, 200px) auto 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/*===========================
  下層ページ スマホ
==========================*/
/* 下層ページ共通 */
/* 事業内容 */
.sub-biz {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sub-biz img {
    width: 100%;
}
/* 生活便利サービス */
.benri-midashi {
    padding: 15px;
}
.service-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 10px;
}
.service-box img {
    width: 100%;
}
/*===========================
  footer コンタクト スマホ
==========================*/
.foot-contact {
    margin: min(20%, 200px) auto 0px;
    padding: 20px 40px;
}
.foot-con-button {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0px;
}
.foot-con-button img {
    width: 100%;
}
/*===========================
  footer スマホ
==========================*/
footer {
    padding: 30px 10px 5px;
}
footer p img {
    width: 250px;
    height: auto;
}
footer ul {
    margin: 20px auto;
    display: block;
}
footer li {
    margin-bottom: 15px;
}
.foot-banner {
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/*===========================
  ブログ スマホ
==========================*/

/*===========================
  トップスライドインナビゲーション
==========================*/
.menu-trigger,
.menu-trigger span{
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    cursor: pointer;
    align-items: flex-start;
}
.menu-trigger {
    position: relative;
    width: 85px;
    height: 70px;
    background: var(--primary-color);
    z-index: 35;
    float: right;
}
.menu-trigger span {
    position: absolute;
    background: #FFF;
    width: 30px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
}
.menu-trigger span:nth-of-type(1){
    top: 25px;
}
.menu-trigger span:nth-of-type(2){
    top: 0;
    bottom: 0;
}
.menu-trigger span:nth-of-type(3){
    bottom: 25px;
}
.menu-trigger span:nth-of-type(4){
    color: #FFF;
    font-size: 1rem;
    bottom: 22px;
    min-width: 60px;
    background: none;
    text-align: center;
}
.menu-trigger.active span:nth-of-type(1){
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2){
    opacity: 0;
}
.menu-trigger.active span:nth-of-type(3){
    -webkit-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(4){
    opacity: 0;
}
.g-nav {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh; /* 高さを画面全体に調整 */
    overflow-y: auto; /* 縦スクロールを許可 */
    z-index: 25;
    padding-top: 10px;
}
.tate-scroll {/* 縦スクロールをできるように */
    overflow-y: auto; /* スクロール可能にする */
    -webkit-overflow-scrolling: touch; /* 慣性スクロールを有効に */
}
.g-nav .list .item a{
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 5px 0;
    width: 100%; /* 幅を100%に設定 */
}
.list {
	margin-top: 50px;
    width: 100%; /* 幅を100%に設定 */
}
.list li {
	width: 90%;
	margin: 5px auto;
	border-bottom: 1px solid #D5D5D5;
	font-size: 1.5rem;
    padding: 10px 0px;
    text-align: center;
}
.list li:nth-of-type(n+2) {/*ボーダー重ならないように*/
    border-left: none;
    border-top: none;
}
#s_navi:after {
	content: "";
	display: block;
	clear: both;
}
#s_navi {
    display: block;
    position: static;
    top: 0px;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
}
.sp-head {
    display: flex;
    align-items: center;
}
.sp-logo {
    z-index: 50;
    width: 230px;
    height: auto;
    padding: 15px 0px 10px 3%;
}
.sp-head p {
    font-size: clamp(1.3rem, 1.235rem + 0.203vw, 1.6rem);
}
/*===========================
メールフォームのスタイル
==========================*/
#form {
    padding: 30px 15px;
}
.form-width {/* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
textarea,input {
    max-width: 100%;
}
.w-700 {
    width: auto;
    margin: auto;
}
}

@media only screen and (max-width: 767px) {

}