/*
Theme Name: 総合運輸テーマ
Description: 総合運輸コーポレートサイト用テーマ
Author: UF Lab
Version: 1.2.6
Template: habakiri
*/

@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,700&subset=japanese');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif, 'Noto Serif JP';
    font-size: 16px;
    line-height: 1.8em;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin: 0;
}
p, ul, ol, dl, table {
    margin: 0;
}

/*
 * スマホのみ改行
 *  <br class="sp">
 */
@media screen and (min-width: 768px) { /*横幅が768px以上になったら適用*/
	.sp{ display: none; }
}

hr {
    border-top: 1px dashed #aaa;
}

.section-separator {
    margin-bottom: 80px;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: none !important; }
.sp { display: block !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media screen and (min-width: 768px) {
    .pc { display: block !important; }
    .sp { display: none !important; }
}


/*
 * ヘッダー部のスタイル調整
 */
h1 {
    padding-left: 16px;
    font-family: 'Kosugi Maru';
    letter-spacing: 0.05em;
    /*font-family: 'Noto Serif JP';*/
    /* font-weight: bold; */
    font-weight: normal;
}
.menu {
    font-weight: bold;
}
.site-branding {
    padding: 10px 0;
}
.responsive-nav .menu>.menu-item>a, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.menu-item>a {
    padding: 10px 20px !important;
}


/*
 * フッター部のスタイル調整 
 */
#footer-info {
    position: relative;
    margin-bottom: 1.5em;
    padding-top: 3em;
    text-align: center;

    background: linear-gradient(to bottom, gainsboro, #FFF, #FFF, #FFF, #FFF, #FFF);
}
#footer-info .company {
    font-size: 34px;
    /*font-family: 'Noto Serif JP';*/
    font-family: 'Kosugi Maru';
    letter-spacing: 0.08em;
    font-weight: bold;
    border-bottom: solid 2px #50A1E6;
    padding: 0 10px 0 10px;
}
#footer-info .address {
    margin-top: 8px;
    font-size: 1em;
}

#footer-info .gmark-logo {
    float: right;
    width: 60px;
    margin-left: 5px;
}

#footer-info .logo_area {
    position: absolute;
    top: 50%;
    right: 10px;
    /* transform: translateY(-50%); */
}
#footer-info .logo_area img {
    max-width: 80px;
}

@media screen and (max-width: 767px) {
    #footer-info .logo_area {
        position:relative;
        margin-top: 10px;
    }
}





.copyright {
    background-color: #263E6E;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
.footer-widget-area {
    font-size: 16px;
    font-weight: normal;
    padding: 10px 0 10px 0;
}






/* 文字装飾・ハイライト表示 */
.text-highlight {
    color: #FC6D06;
}

/* 文字装飾・太字 */
.text-bold {
    font-weight: bold;
}


/*
 * サブページの見出しスタイル
 */

#sub-h3-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    margin: 40px 0 10px 0;
}

#sub-h3-container .sub-h3 {
    font-size: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    margin-bottom: 10px; /* 下線の領域分マージンを広めに */
}
#sub-h3-container .sub-h3::before,
.sub-h3::after {
    content: '';
    display: block;
    width: calc(100% + 70px); /* 文字より左右12px広めに */
    height: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#sub-h3-container .sub-h3::before {
    background-color: #50A1E6;
    bottom: -0px; /* 下段の位置 */
}
#sub-h3-container .sub-h3::after {
    background-color: gray;
    bottom: -3px; /* 上段と下段の間隔を1px開ける */
}

#sub-h3-container p {
    /* display: block; */
    font-size: 20px;
    color: #555;
    margin: 10px 0;
}
@media (max-width: 767px) {
    #sub-h3-container p {
    font-size: 16px;
  }
}












.link-btn {
}

.link-btn a {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    background: transparent;
    padding: 6px 18px;
    border: 2px solid #fff;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    transition: .3s;
  }
  .link-btn a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: #fff;
    transform-origin: 50% 0%;
    transform: scaleY(0);
    transition: transform ease .3s;
  }
  .link-btn a:hover {
    color: #333;
  }
  .link-btn a:hover::before {
    transform-origin: 50% 100%;
    transform: scaleY(1);
  }