@charset "utf-8";

/* 共通 ここから
----------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html body {
    font-size: 1.6rem;
}

body {
    min-width: unset !important;
    background-size: cover !important;
    background-position: center !important;
    margin: 0;
    padding: 0;
    font-family: "Yu Gothic", YuGothic, "Hiragino Sans", Meiryo, sans-serif !important;
    overflow-x: hidden;
    color: #333;
    line-height: 1.2;
}

#mymainback p,
#mymainback a,
#mymainback li {
    font-size: 1.6rem;
    line-height: normal;
}

a:focus {
    outline: none !important;
    -webkit-tap-highlight-color: transparent; /* タップ時の強調色を無効化 */
    -webkit-focus-ring-color: transparent !important; /* フォーカスリングの色を消す */
}

ol,
ul {
    list-style: none;
    padding-left: 0;
    line-height: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: normal;
}

.hide {
    position: absolute;
    left: -100em;
    top: -100em;
}

.external_link_text {
    display: none;
}

#viewSwitch {
    display: none !important;
}

#main_a {
    margin: 0;
    padding: 0;
}

.links_box a:hover img {
    opacity: 0.7;
    transition: 0.5s all;
    box-shadow: none;
}

#mymainback #main_a,
#main {
    margin: 0 !important;
}

img {
    max-width: 100% !important;
    height: auto !important;
}

.button-wrapper {
    text-align: center;
    margin: 2em 0 0;
}

.button-wrapper a,
#mymainback .button-wrapper a {
    display: inline-block;
    text-decoration: none;
    color: #004b62;
    font-size: 2rem !important;
    font-weight: bold;
    padding: 1.2rem 1.5rem;
    background-color: #fbc600;
    border: 3px solid #fff;
    border-radius: 50px;
    box-shadow: 4px 4px 0px #004b62;
    width: 20em;
}
/* 共通 ここまで
----------------------------------------- */

/* ヘッダー ここから
----------------------------------------- */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fbc600;
    border-radius: 0px 0px 2rem 2rem;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.16);
    padding: 7.5px 60px 7.5px 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

#header .logo-h1 {
    width: 16%;
    max-width: 270px;
    min-width: 0;
    height: auto;
    margin: 0;
}

#header .logo-h1 img {
    display: block;
    max-width: 230px !important;
}

nav ul {
    display: flex;
    gap: 6rem;
    list-style: none;
    padding: 0;
}

nav ul li a {
    font-size: 2rem;
    font-weight: bold;
    color: #333 !important;
    text-decoration: none !important;
    position: relative;
}

nav ul li a::before {
    content: "";
    opacity: 0;
    width: 0;
    height: 3px;
    background-color: #e96100;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover::before {
    opacity: 1;
    width: 100%;
}

.item {
    z-index: 999;
    display: none;
}

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
}
.menu-trigger {
    position: relative;
    width: 46px;
    height: 36px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
}
.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #004b62;
    border-radius: 6px;
}
.menu-trigger span:nth-of-type(1) {
    top: 0;
}
.menu-trigger span:nth-of-type(2) {
    top: 16px;
}
.menu-trigger span:nth-of-type(3) {
    bottom: 0;
}

#menu10.active span:nth-of-type(1) {
    transform: rotate(40deg) translate(12px, 13px);
}
#menu10.active span:nth-of-type(2) {
    opacity: 0;
}
#menu10.active span:nth-of-type(3) {
    transform: rotate(-40deg) translate(9px, -11px);
}
/* ヘッダー ここまで
----------------------------------------- */

/* トップスライド ここから
----------------------------------------- */
#m-a {
    background-image: url(/img/fukuken/bg_about.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    padding-top: 11rem;
}

.character {
    position: relative;
    max-width: calc(1100px + 180px *2 + 80px *2);
    margin: 0 auto;
}

.catchcopy {
    width: 44%;
    height: auto;
    position: absolute;
    left: 3%;
    top: calc(86% - 4rem);
    z-index: 9;
}

.character-item {
    content: "";
    width: 8%;
    height: 141px;
    position: absolute;
}

.character-item.character-1 {
    height: 170px;
    background-image: url(/img/fukuken/character1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 3%;
    top: 20%;
    transform: rotate(22deg);
}

.character-item.character-2 {
    background-image: url(/img/fukuken/character2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 5%;
    top: calc(64% - 4rem);
    transform: rotate(-12deg);
}

.character-item.character-3 {
    height: 160px;
    background-image: url(/img/fukuken/character3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    right: 5%;
    bottom: 14%;
    transform: rotate(16deg);
}

#m-a li.slick-slide {
    border-radius: 20px !important;
    overflow: hidden;
}

#m-a .slick-slide p {
    margin: 0 !important;
}

#m-a .slick-list.draggable {
    width: 90%;
    max-width: 1320px;
    height: auto;
    margin: 0 auto;
}

ul.main_slide.slick-initialized.slick-slider.slick-dotted {
    position: relative;
    margin: 0;
    margin-bottom: 4em;
    padding: 0 calc(200px);
}

#m-a button.slick-arrow {
    margin: 0;
    padding: 0;
    border: 0;
    background: no-repeat;
    width: 10%;
    max-width: 10rem;
    height: auto;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
}

#m-a button.slick-arrow.slick-next {
    left: unset;
    right: 0;
}

ul.slick-dots {
    justify-content: center;
    align-items: center;
}

.main_slide ul.slick-dots {
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

#tglBtn,
#tglBtn2 {
    width: 32px;
    height: 32px;
    padding: 10px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.16);
}

#tglBtn img,
#tglBtn2 img {
    display: block;
    width: 12px;
    height: 12px !important;
}


/* 1. スライダー全体の表示エリアを制限 */
#m-a .slick-list.draggable {
    width: 1100px;
    /*height: 700px;*/
    max-width: calc(100% - 50px * 2);
    margin: 0 auto;
}

/* 2. 各スライドアイテムの高さも統一 */
.main_slide .slick-slide {
   /* height: 700px;*/
}

/* 3. 中の p タグの余白を消して高さを100%に */
.main_slide .slick-slide p {
    margin: 0;
    height: 100%;
}

/* 4. 画像を「枠いっぱいに広げてトリミング」する設定 */
.main_slide .slick-slide img {
    /*
    width: 100% !important;
    height: 100% !important;
    object-position: center;
    display: block;
    */
    object-fit: cover;
    aspect-ratio: 11/7;
}

.slick-dots li.custom-ctrl {
    width: 32px;
    height: 32px;
}
/* トップスライド ここまで
----------------------------------------- */

/* メインボタン ここから
----------------------------------------- */
#generation {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
#generation ul {
    width: 96%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 6.8rem;
}
#generation ul li {
    position: absolute;
    max-width: 180px;
}
#generation ul li:nth-child(1) {
    top: calc(33%/2 - 180px/2);
    left: 2.5%;
}
#generation ul li:nth-child(2) {
    top: calc(50% - 180px/2);
    left: 0;
}
#generation ul li:nth-child(3) {
    top: calc((100% - 33%/2) - 180px/2);
    left: 2.5%;
}
#generation ul li:nth-child(4) {
    top: calc(33%/2 - 180px/2);
    right: 2.5%;
}
#generation ul li:nth-child(5) {
    top: calc(50% - 180px/2);
    right: 0;
}
#generation ul li:nth-child(6) {
    top: calc((100% - 33%/2) - 180px/2);
    right: 2.5%;
}

#generation ul li a img {
    display: block;
}
/* メインボタン ここまで
----------------------------------------- */

/* 建設業とは？ ここから
----------------------------------------- */
#about {
    position: relative;
    margin-bottom: 70px;
}

#about::before {
    content: "";
    width: 35%;
    height: 65%;
    background-image: url(/img/fukuken/bg_about1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    position: absolute;
    bottom: -20px;
    left: 0;
}

#about::after {
    content: "";
    width: 46%;
    height: 77%;
    background-image: url(/img/fukuken/bg_about2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    position: absolute;
    bottom: 60px;
    right: 0;
}

.about-bg {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 160px;
    padding-bottom: 270px;
}

.about-content {
    padding: 6rem 45rem 4.6rem 10.8rem;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    z-index: 9;
}

.about-content::before {
    content: "";
    width: 286px;
    height: 156px;
    background-image: url(/img/fukuken/item_about1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -50px;
    left: -140px;
}

.about-content::after {
    content: "";
    width: 489px;
    height: 407px;
    background-image: url(/img/fukuken/item_about2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 30px;
    right: -80px;
}

#about h2 {
    margin: 0;
    margin-bottom: 2.8rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
    padding-top: 92px;
    background-image: url(/img/fukuken/ttl_about.png);
    background-repeat: no-repeat;
    background-size: 35.6rem 7rem;
    background-position: top left;
}

#about p {
    margin: 0;
    margin-bottom: 3rem;
    font-size: 1.8rem;
}
/* 建設業とは？ ここまで
----------------------------------------- */

/* 目的でさがす ここから
----------------------------------------- */
#search {
    background-color: #8fd5ff;
    position: relative;
}
.search_inner {
    background-color: #fff;
    border-radius: 0 0 100px 100px;
    background-image: url(/img/fukuken/bg_search.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 6em 0 8em;
}
/*
#search::after {
    content: "";
    width: 100%;
    height: 180px;
    background-color: #fff;
    border-radius: 0 0 100px 100px;
    position: absolute;
    top: auto;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    z-index: 1;
}
*/

#search h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 5.6rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
    padding-top: 70px;
    background-image: url(/img/fukuken/ttl_search2.png);
    background-repeat: no-repeat;
    background-position: top center;
}

#search ul {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, max-content);;
    justify-content: center;
    gap: 4rem 6rem;
}

#search ul li {
    width: 180px;
    margin: 0 auto;
}

#search ul li a,
#search ul li a:link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
    background-color: #edfaf9;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    outline: none !important;
    color: #fbc600;
}

#search ul li a:hover,
#search ul li a:focus,
#search ul li a:link:hover {
    border: 4px solid #fbc600 !important;
    outline: none !important;
}

#search ul li a span {
    font-size: 2.4rem;
    font-weight: bold;
    color: #333;
}
/* 目的でさがす ここまで
----------------------------------------- */

/* 新着情報 ここから
----------------------------------------- */
#news {
    position: relative;
    margin-top: 10em;
    margin-bottom: 0;
}
#news::before {
    content: "";
    width: 35%;
    height: 65%;
    background-image: url(/img/fukuken/bg_about1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    position: absolute;
    left: 0;
    bottom: -20px;
    z-index: 1;
    
}

#news::after {
    content: "";
    width: 46%;
    height: 77%;
    background-image: url(/img/fukuken/bg_about2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    position: absolute;
    right: 0;
    bottom: 60px;
    z-index: 1;
}

.list_type_a_list {
    margin: 0;
    padding-bottom: 5.5rem;
    background: none;
    position: relative;
    z-index: 2;
}

.list_type_a_title {
    background: none;
}

.list_type_a_title h2 {
    float: unset;
    text-align: center;
    margin: 0;
    margin-bottom: 4rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
    padding: 0;
    padding-top: 70px;
    background-image: url(/img/fukuken/ttl_news2.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.list_ccc {
    width: 96%;
    margin: 0 auto;
    margin-bottom: 5rem;
    max-width: 1200px;
    padding: 5rem 4rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.16);
}
.list_ccc::before {
    content: "";
    width: 286px;
    height: 156px;
    background-image: url(/img/fukuken/item_about1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 70px;
    left: 5%;
    
    animation: droneHover 3s ease-in-out infinite alternate;
}

@keyframes droneHover {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-15px) rotate(2deg); /* わずかに傾く */
  }
}

.list_ccc li,
#main_body .list_ccc li {
    width: 96%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed #707070;
    margin: 0 auto;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.list_ccc .span_a {
    padding: 0;
    background: none;
    color: #333;
    font-size: 1.6rem;
    font-weight: bold;
}

#mymainback .list_ccc .span_b a {
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
}
/* 新着情報 ここまで
----------------------------------------- */

/* ピックアップ ここから
----------------------------------------- */
#pickup {
    background-image:
        url(/img/fukuken/item_pickup1.png), url(/img/fukuken/item_pickup2.png);
    background-repeat: no-repeat, no-repeat;
    background-size: 23%, 15%;
    background-position:
        top 10rem left,
        bottom right 5rem;
    background-color: #8fd5ff;
    padding-top: 5em;
    padding-bottom: 4em;
    position: relative;
}
/*
#pickup::before {
    content: "";
    width: 100%;
    height: 180px;
    background-color: #fff;
    border-radius: 0 0 100px 100px;
    position: absolute;
    top: -1px;
    left: 0;
}
*/

#pickup h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 5rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
    padding-top: 84px;
    background-image: url(/img/fukuken/ttl_pickup2.png);
    background-repeat: no-repeat;
    background-position: top center;
}

#pickup ul.pickup-slide {
    margin: 0;
}

#pickup .slick-list.draggable li {
    margin: 1em;
    padding: 1em;
    background-color: #fff;
    border: 4px solid #004b62;
    border-radius: 10px;
}

#pickup .slick-list.draggable {
    padding-bottom: 3em;
}

#pickup .slick-list.draggable a,
#pickup .slick-list.draggable a:link {
    color: #333 !important;
}

#pickup .slick-list.draggable img {
    object-fit: cover !important;
    aspect-ratio: 320/210;
}

.pickup_btn_box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 3rem;
}

.pickup_btn_box .slick-arrow {
    width: 32px;
    height: 32px;
    padding: 10px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.16);
    border: none;
}

.pickup_btn_box .slick-arrow img {
    width: 11.5px;
    height: 11.3px;
}

.slick-slide > p:nth-child(1) {
    display: flex;
    justify-content: center;
    margin: 0;
}
.slick-slide > p:nth-child(2) {
    padding: 0 0.5em;
    font-weight: 700;
}
/* ピックアップ ここまで
----------------------------------------- */

/* ふくしまの建設の動画 ここから
----------------------------------------- */
.youtube-bg {
    padding-top: 10rem;
    padding-bottom: 10rem;
    background-image: url(/img/fukuken/bg_youtube.png);
    background-repeat: repeat;
    background-size: 38.1rem 29.8rem;
    background-position: top left;
}

#youtube {
    padding-top: 7.3rem;
    padding-bottom: 4.5rem;
    background-color: rgba(255, 255, 255, 0.7);
}

#youtube h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 5rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
    padding-top: 70px;
    background-image: url(/img/fukuken/ttl_youtube2.png);
    background-repeat: no-repeat;
    background-position: top center;
}

#youtube h3 {
    text-align: center;
    margin: 0;
    margin-bottom: 6rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
}

.youtube-side {
    display: flex;
    gap: 8rem;
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.youtube-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*
.youtube-content > *:nth-child(2) {
    flex: 1;
    margin: 0;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/

.youtube-content > *:nth-child(2) iframe {
    border-radius: 1rem;
}

#youtube .youtube-content p {
    font-size: 1.8rem !important;
    font-weight: bold;
}

.detail_movie {
    width: 100%;
}






/* 外枠：600pxが収まるように計算上の幅を維持 */
.youtube-wrap {
    width: 100% !important;
    max-width: 1350px !important; 
    margin: 0 auto !important;
    position: relative;
    /* 600pxに拡大した際に上下が切れないよう、余白を少し増やします */
    padding: 0 !important; 
    overflow: hidden !important; 
}

/* スライドが表示されるエリア */
.youtube-wrap .slick-list {
    overflow: visible !important; 
    padding: 40px 0 !important; 
}

/* 左右のスライド（縮小して脇役にする） */
.youtube-wrap .detail_movie {
    transition: all 0.5s ease !important;
    /* 450px × 0.6 = 270px (メインを引き立てるため少し小さめに設定) */
    transform: scale(0.7) !important; 
    opacity: 0.3 !important;
    z-index: 1;
}

/* メインのスライド（600pxターゲット） */
.youtube-wrap .detail_movie.slick-center.slick-active,
.youtube-wrap .detail_html.slick-center.slick-active {
    /* 450px × 1.333 ≒ 600px */
    transform: scale(1.333) !important;
    opacity: 1 !important;
    z-index: 10;
    position: relative;
}

/* iframeの影などを微調整 */
/*
.detail_movie iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}
*/

/* 下部ドットの位置調整 */
.youtube-wrap .slick-dots {
    margin-top: 1em;
}
.youtube-wrap .slick-slide {
    margin: 0 10px !important;
}
/* 左右のスライド（縮小して脇役にする） */
.youtube-wrap .detail_movie,
.youtube-wrap .detail_html {
    transition: all 0.5s ease !important;
    /* 450px × 0.7 = 315px */
    transform: scale(0.7) !important; 
    opacity: 0.3 !important;
    z-index: 1;
}

/* メインのスライド（600pxターゲット） */
.youtube-wrap .detail_movie.slick-center.slick-current,
.youtube-wrap .detail_html.slick-center.slick-current,
.youtube-wrap .detail_movie.is-custom-center,
.youtube-wrap .detail_html.is-custom-center {
    /* 450px × 1.333 ≒ 600px */
    transform: scale(1.333) !important;
    opacity: 1 !important;
    z-index: 10;
    position: relative;
}

/* iframeの影などを微調整 */
#youtube .detail_movie iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}



/* ふくしまの建設の動画 ここまで
----------------------------------------- */

/* @fukushima_no_kensetsu ここから
----------------------------------------- */
#instagram {
    padding-top: 10rem;
    padding-bottom: 10rem;

    background: url(/img/fukuken/bg_news1.png), url(/img/fukuken/bg_news2.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
    background-color: #f5f3ee;
    background-position: center 5%, center 95%;
}

#instagram h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 5rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
    padding-top: 70px;
    background-image: url(/img/fukuken/ttl_instagram2.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.instagram-content {
    width: 96%;
    max-width: 1146px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

#youtube .slick-dots li button {
    background-color: #004B62;
}
#youtube .slick-dots li.slick-active button {
    background-color: #FBC600;
}
#youtube .slick-dots .slick-prev {
    width: 32px;
    height: 32px;
    background-image: url(/img/fukuken/arrow_prev_youtube.png);
    border: none;
    background-color: transparent;
    text-indent: -9999px;
}
#youtube .slick-dots .slick-next {
    width: 32px;
    height: 32px;
    background-image: url(/img/fukuken/arrow_next_youtube.png);
    border: none;
    background-color: transparent;
    text-indent: -9999px;
}






/* @fukushima_no_kensetsu ここまで
----------------------------------------- */

/* 関連リンク ここから
----------------------------------------- */
#link {
    padding-top: 10rem;
    padding-bottom: 20rem;
    background-image:
        url(/img/fukuken/bg_link1.png), url(/img/fukuken/bg_link2.png);
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
    background-position:
        left top,
        right top;
}

#link h2 {
    text-align: center;
    margin: 0;
    margin-bottom: 5rem;
    color: #004b62;
    font-size: 3.6rem;
    font-weight: bold;
}

#link #site_footer {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: none;
    border: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    gap: 1rem 2.4rem;
}

#link #site_footer p {
    margin: 0;
}

#link #site_footer p img {
    display: block;
    border-radius: 10px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.16);
    border: 1px solid #e4e4e4;
}
/* 関連リンク ここまで
----------------------------------------- */

/* フッター ここから
----------------------------------------- */
#mymainback #footer {
    background: none;
    margin: 0;
    padding: 0;
}

#mymainback #footer-y {
    padding: 4rem 0 6rem;
    background-color: #fbc600;
    border-radius: 0 0 100px 100px;
}

#mymainback #footer .footer-flex {
    width: 94%;
    max-width: 1070px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mymainback #footer .footer-content {
    width: 40%;
    min-width: 370px;
}

#mymainback #footer .footer-logo {
    width: 60%;
    max-width: 338px;
    margin-bottom: 2rem;
}

#mymainback #footer .footer-logo img {
    display: block;
}

#mymainback #footer .footer-address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#mymainback #footer .footer-address p {
    display: inline-block;
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

#mymainback #footer .footer-address p.footer-ka {
    font-weight: bold;
    font-size: 2rem;
}

#mymainback #footer .footer-address p.footer-place {
    margin-bottom: 1rem;
}

#mymainback #footer .button-wrapper,
#mymainback #footer #mymainback .button-wrapper {
    margin-bottom: 2rem;
}

#mymainback #footer .button-wrapper a,
#mymainback #footer #mymainback .button-wrapper a {
    padding: 1.5rem 3rem;
    background-color: #004b62;
    box-shadow: 6px 8px 0px rgba(0, 0, 0, 0.16);
    text-decoration: none !important;
    color: #fff;
    font-size: 1.6rem !important;
}

#mymainback #footer .footer-sns {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

#mymainback #footer .footer-sns a {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 3px 6px 0px rgba(0, 0, 0, 0.16);
}

#mymainback #footer .footer-sns a img {
    display: block;
}

#mymainback #footer .footer-cc {
    border-bottom: 20px solid #e96100;
}

#mymainback #footer .footer-cc p {
    text-align: center;
    margin: 0.2rem 0;
}

#mymainback #footer .footer-cc p small {
    font-size: 1.4rem;
}
/* フッター ここまで
----------------------------------------- */

/* ページトップへ ここから
----------------------------------------- */
#page-top {
    position: fixed;
    bottom: 0;
    right: 1%;
    z-index: 999;
    height: auto;
}

#page-top a img {
    display: block;
    max-width: 150px !important;
}
/* ページトップへ ここまで
----------------------------------------- */

/* 下層共通 ここから
----------------------------------------- */
#container.container-fukuken {
}

#mymainback.mymainback-fukuken {
    background-image: url(/img/fukuken/bg_kyara.png);
    background-repeat: repeat;
    background-size: 527px 210px;
    background-position: left top;
    background-color: #f5f3ee;
}

#main_header {
    margin: 0;
    padding-top: 15rem;
    padding-bottom: 6rem;
    background: none;
    background-color: #8fd5ff;
    position: relative;
}

#main_header::before {
    content: "";
    width: 18%;
    max-width: 358px;
    height: 100%;
    background-image: url(/img/fukuken/main_header1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    position: absolute;
    bottom: 0;
    left: 0;
}

#main_header::after {
    content: "";
    width: 18%;
    max-width: 356px;
    height: 100%;
    background-image: url(/img/fukuken/main_header2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    position: absolute;
    bottom: 0;
    right: 0;
}

#main_header .h1box {
    background: none;
}

#main_header .h1box .h1 {
    background: none;
}

#main_header .h1box .h1 h1 {
    width: 66%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 3.6rem;
    padding: 0;
    background: none;
}

#mymainback.mymainback-fukuken .pankuzu {
    background: none;
    padding: 0;
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
    font-size: 1.4rem;
}

#mymainback.mymainback-fukuken .pankuzu a:link {
    color: #333;
    font-size: 1.4rem !important;
}

#main_body {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 14rem;
    padding: 6rem 7rem 9rem 7rem;
    background-color: #fff;
    border-radius: 10px;
}
/* 下層共通 ここまで
----------------------------------------- */

/* 記事ページ ここから
----------------------------------------- */
#mymainback.mymainback-fukuken #detail_date {
    padding: 0;
    margin-bottom: 2rem;
}

#mymainback.mymainback-fukuken h2 {
    margin-bottom: 3rem;
    padding: 2.4rem 4rem 2.4rem 6rem;
    background-image: url(/img/fukuken/kiji_h2_2.png);
    background-repeat: no-repeat;
    background-size: 30% 100%;
    background-position: right bottom;
    background-color: #004b62;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 3rem;
    font-weight: bold;
    position: relative;
}

#mymainback.mymainback-fukuken h2::before {
    content: "";
    width: 108px;
    height: 74px;
    background-image: url(/img/fukuken/kiji_h2_1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -20px;
    left: -60px;
}

#mymainback.mymainback-fukuken h3 {
    margin-bottom: 3rem;
    padding: 1.8rem 4rem 1.6rem 6rem;
    background-image: url(/img/fukuken/kiji_h3_2.png);
    background-repeat: repeat-x;
    background-size: 40px 7px;
    background-position: right bottom;
    color: #333;
    border: none;
    font-size: 2.7rem;
    font-weight: bold;
    position: relative;
}

#mymainback.mymainback-fukuken h3::before {
    content: "";
    width: 48px;
    height: 58px;
    background-image: url(/img/fukuken/kiji_h3_1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    bottom: 7px;
    left: 0;
}

#mymainback.mymainback-fukuken h4 {
    margin-bottom: 3rem;
    padding: 1.6rem 4rem 1.6rem 4rem;
    background-image: url(/img/fukuken/kiji_h4.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right bottom;
    color: #333;
    border: 3px solid #fbc600;
    border-radius: 5px;
    font-size: 2.4rem;
    font-weight: bold;
}

#mymainback.mymainback-fukuken h5 {
    margin-left: 0;
    margin-bottom: 3rem;
    padding: 1.6rem 4rem 0.7rem 2rem;
    background-image: url(/img/fukuken/kiji_h5.png);
    background-repeat: no-repeat;
    background-size: 36px 50px;
    background-position: right 6px bottom;
    color: #333;
    border: none;
    border-bottom: 5px solid #fbc600;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}

#mymainback.mymainback-fukuken h5::before {
    content: "";
    width: 20%;
    height: 5px;
    background: #004b62;
    position: absolute;
    left: 0;
    bottom: -5px;
}

#mymainback.mymainback-fukuken h6 {
    margin-left: 0;
    margin-bottom: 3rem;
    padding: 1.6rem 4rem 1.2rem 2rem;
    background-image: url(/img/fukuken/kiji_h6.png);
    background-repeat: repeat-x;
    background-size: 6px 7px;
    background-position: right bottom;
    border: none;
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
}

#mymainback.mymainback-fukuken ul {
    list-style-type: disc;
    margin: 0 0 4rem 0;
    padding-left: 2rem;
}

#mymainback.mymainback-fukuken ol {
    list-style-type: decimal;
    margin: 0 0 4rem 0;
    padding-left: 2rem;
}

#mymainback.mymainback-fukuken table {
    border-color: #333 !important;
    border-collapse: collapse;
    border-style: solid;
    border-width: 2px;
    margin: 1em 0;
}

#mymainback.mymainback-fukuken table th {
    color: #fff;
    border-color: #fff !important;
    border-collapse: collapse;
    background: #004b62;
    border-style: solid;
    border-width: 2px;
    padding: 2rem 1rem;
}

#mymainback.mymainback-fukuken table td {
    border-color: #333333 !important;
    border-collapse: collapse;
    border-style: solid;
    border-width: 2px;
    padding: 2rem 1rem;
}

#mymainback.mymainback-fukuken .pdf_download,
#mymainback.mymainback-fukuken .wmplayer_download {
    margin: 4rem 0 2rem 0;
}

#mymainback.mymainback-fukuken .tenpu_txt {
    margin: 0;
}

/*
#mymainback.mymainback-fukuken iframe {
    width: 100%;
}
*/



/* 記事ページ ここまで
----------------------------------------- */

/* 小メニューページ ここから
----------------------------------------- */
#mymainback.mymainback-fukuken .list_ccc {
    width: 100%;
    background: none;
    border-radius: unset;
    box-shadow: unset;
    padding: 0;
    margin: 0;
}

#mymainback.mymainback-fukuken .list_ccc ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#mymainback.mymainback-fukuken .list_ccc ul li {
    padding: 0;
    margin-bottom: 2.6rem;
    width: 100%;
    max-width: unset;
    border-bottom: 4px dotted #707070;
    display: block;
    position: relative;
}

#mymainback.mymainback-fukuken .list_ccc ul li a {
    display: block;
    padding: 4.5rem 8rem 2rem 0;
    margin: 0;
    position: relative;
}

#mymainback.mymainback-fukuken .list_ccc ul li a::before {
    content: "";
    width: 30px;
    height: 30px;
    background: #004b62;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 3.9rem;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

#mymainback.mymainback-fukuken .list_ccc ul li a::after {
    content: "";
    width: 10px;
    height: 10px;
    border: 0;
    border-top: solid 3px #004b62;
    border-right: solid 3px #004b62;
    position: absolute;
    top: calc(50% - 1px);
    right: 5.3rem;
    transform: rotate(45deg) translateY(-50%);
    transition: all 0.3s ease-in-out;
}

#mymainback.mymainback-fukuken .list_ccc ul li a:hover:before {
    right: 2.4rem;
    opacity: 1;
}

#mymainback.mymainback-fukuken .list_ccc ul li a:hover:after {
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    right: 3.8rem;
}

#mymainback.mymainback-fukuken .list_ccc ul li:before {
    position: absolute;
    content: "";
    top: 40px;
    left: -9rem;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #004b62;
}

#mymainback.mymainback-fukuken .list_ccc .span_a {
    font-weight: normal;
    width: auto;
    padding: 0.7rem 3.5rem 0.7rem 9.2rem;
    background-color: #fbc600;
    border-radius: 0 5px 5px 0;
    position: absolute;
    top: 0;
    left: -9rem;
}

#mymainback.mymainback-fukuken .list_ccc .span_b a {
    font-size: 2rem !important;
}
/* 小メニューページ ここまで
----------------------------------------- */

/* 大メニューページ ここから
----------------------------------------- */
#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li {
    margin-bottom: 5.8rem;
    border: none;
    position: unset;
    position: relative;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li:before {
    content: none;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc .span_c {
    padding: 0;
    background: none;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li a {
    padding: 3rem 9rem 3rem 4rem;
    border: 3px solid #004b62;
    background: url(/img/fukuken/list_dai.png);
    background-repeat: no-repeat;
    background-size: 30% 100%;
    background-position: right bottom;
    font-size: 2.8rem !important;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li a:link {
    color: #333;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai
    .list_ccc
    ul
    li
    a::before {
    content: "";
    width: 32px;
    height: 32px;
    background: url(/img/fukuken/list_dai_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: unset;
    position: absolute;
    top: 50%;
    right: 3.5rem;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    opacity: 1;
    z-index: 3;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li a::after {
    content: none;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li::after {
    content: "";
    width: 30px;
    height: 100%;
    background-color: #004b62;
    border: 0;
    border-top: none;
    border-right: none;
    position: absolute;
    top: 0;
    right: unset;
    left: 0;
    transform: none;
    transition: all 0.3s ease-in-out;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li a:hover {
    color: #fff !important;
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai
    .list_ccc
    ul
    li
    a:hover:before {
    transform: translateY(-50%);
}

#mymainback.mymainback-fukuken.mymainback-fukuken-dai
    .list_ccc
    ul
    li:hover:after {
    transform: none;
    width: 100%;
}
/* 大メニューページ ここまで
----------------------------------------- */

/* レスポンシブ ここから
----------------------------------------- */
/* Slickの小数点+無限ループによる0.5枚ズレバグを相殺する魔法のコード */
@media (min-width: 1101px) {
    #pickup .pickup-slide .slick-slide {
        transform: translateX(-130%);
    }
}


@media all and (max-width:1400px){
    .character #generation ul li {
        max-width: 150px;
    }
    #generation ul li:nth-child(1), #generation ul li:nth-child(4) {
        top: calc(33%/2 - 150px/2);
    }
    #generation ul li:nth-child(2), #generation ul li:nth-child(5) {
        top: calc(50% - 150px/2);
    }
    #generation ul li:nth-child(3), #generation ul li:nth-child(6) {
        top: calc((100% - 33%/2) - 150px/2);
    }
    ul.main_slide.slick-initialized.slick-slider.slick-dotted {
        padding: 0 calc(180px) 0;
    }
}
@media all and (max-width:1200px){
    nav ul {
        display: flex;
        gap: 6rem 4rem;
        list-style: none;
        padding: 0;
    }
    nav ul li {
        flex: 1 1 auto;
    }
    .character #generation ul li {
        max-width: 120px;
    }
    #generation ul li:nth-child(1), #generation ul li:nth-child(4) {
        top: calc(33%/2 - 120px/2);
    }
    #generation ul li:nth-child(2), #generation ul li:nth-child(5) {
        top: calc(50% - 120px/2);
    }
    #generation ul li:nth-child(3), #generation ul li:nth-child(6) {
        top: calc((100% - 33%/2) - 120px/2);
    }
    ul.main_slide.slick-initialized.slick-slider.slick-dotted {
        padding: 0 calc(120px) 0;
    }
}


@media screen and (max-width: 1000px) {
    /* ヘッダー */
    #header {
        padding: 7.5px 30px 7.5px 20px;
    }
    #header .logo-h1 {
        width: 200px;
        max-width: none;
    }

    .item {
        display: block;
    }

    .spnav {
        position: fixed;
        top: 100px;
        right: 0;
        width: 100%;
        max-width: 280px;
        height: auto;
        padding: 20px;
        background-color: #fbc600;
        border-radius: 20px 0 0 20px;
        box-shadow: -3px 3px 6px rgba(0, 0, 0, 0.16);
        transform: translateX(200%);
        transition: all 0.3s ease-in-out;
        z-index: 99;
        border: 5px solid #fff;
        border-right: none;
    }

    .spnav.active {
        transform: translateX(0);
    }

    .spnav.active ul {
        flex-direction: column;
        gap: 4rem;
    }

    ul.main_slide.slick-initialized.slick-slider.slick-dotted {
        padding: 0;
    }
    #generation {
        position: static;
    }
    #generation ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1em 2em;
        flex-wrap: wrap;
        display: grid;
        justify-items: center;
        grid-template-columns: repeat(3, auto);
    }
    #generation ul li {
        position: static;
    }
    
    #m-a {
        padding-top: 8rem;
    }
    

    /*建設業とは？*/
    .about-bg {
        padding-top: 128px;
        padding-bottom: 216px;
    }

    .about-content {
        padding: 4.8rem 8.6rem;
    }

    .about-content::before {
        width: 130px;
        height: 71px;
        top: -30px;
        left: 0;
    }

    .about-content::after {
        width: 200px;
        height: 167px;
        top: -60px;
        right: -10px;
    }

    #about h2 {
        font-size: 2.8rem;
        background-size: 28.5rem 5.6rem;
        margin-bottom: 1.4rem;
        padding-top: 58px;
    }

    #search h2 {
        font-size: 2.8rem;
        padding-top: 60px;
    }

    /*目的でさがす*/
    #search h2 {
        margin-bottom: 3rem;
    }
    #search ul {
        grid-template-columns: repeat(4, max-content);
        gap: 2rem 1.5rem;
    }

    #search ul li {
        width: 144px;
    }
    .search_inner {
        border-radius: 0 0 50px 50px;
        padding: 4em 0 6em;
    }
    #search ul li a span {
        font-size: 1.8rem;
    }

    /*新着情報*/
    #news {
        margin-top: 5em;
    }
    #news h2 {
        font-size: 2.8rem;
        margin-bottom: 1.4rem;
        padding-top: 58px;
    }
    .list_type_a_title h2 {
        font-size: 2.8rem;
        padding-top: 60px;
    }

    .list_ccc {
        padding: 3rem 2rem 5rem;
    }
    .list_ccc::before {
        width: 120px;
        top: 0;
        left: 1%;
    }
    .list_type_a_list .list_ccc ul {
        padding: 1em 0 0;
    }

    .list_ccc .span_a {
        width: 12em;
    }

    /*ピックアップ*/
    #pickup {
    }

    #pickup::before {
        height: 144px;
        border-radius: 0 0 80px 80px;
    }

    #pickup h2 {
        font-size: 2.8rem;
        padding-top: 60px;
    }

    #pickup .slick-list.draggable {
        padding-bottom: 6rem !important;
    }

    #pickup .slick-list.draggable li {
        padding: 2rem;
    }

    /*動画集*/
    .youtube-bg {
        padding: 5rem 0;

    }
    #youtube h2 {
        margin-bottom: 4rem;
    }

    #youtube h3 {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    .youtube-side {
        gap: 6rem;
    }

    .youtube-content > *:nth-child(2) {
        margin-bottom: 3rem;
    }
    .youtube-wrap + .button-wrapper {
        margin-bottom: 0;
    }

    #youtube .youtube-content p {
        max-width: 600px;
    }

    /*Instagram*/
    #instagram {
        padding: 8rem 0;
    }

    #instagram h2 {
        font-size: 2.8rem;
        margin-bottom: 3rem;
    }

    /*関連リンク*/
    #link {
        padding-top: 6rem;
        padding-bottom: 10rem;
    }

    #link h2 {
        font-size: 2.8rem;
        margin-bottom: 4rem;
    }

    /* フッター */
    #mymainback #footer-y {
        border-radius: 0 0 50px 50px;
    }
}

@media screen and (max-width: 800px) {
    /*共通*/
    .button-wrapper a,
    #mymainback .button-wrapper a {
        font-size: 1.6rem !important;
        padding: 1.2rem 2rem;
    }

    #header .logo-h1 img {
        max-width: 180px !important;
    }

    /*メインスライド*/
    #m-a .slick-list.draggable {
        width: 100%;
        max-width: calc(100% - 15px * 2);
    }

    #m-a li.slick-slide {
        border-radius: 10px !important;
    }

    #m-a button.slick-arrow {
        width: 5%;
    }

    /*目的でさがす*/
    #search ul {
        grid-template-columns: repeat(3, max-content);
    }

    #search ul li {
        width: calc(33.333vw - 3rem);
    }

    #search ul li a img {
        width: 50%;
    }

    /*動画集*/
    .youtube-side {
        flex-direction: column;
    }

    .youtube-content {
        width: 100%;
    }

    /*関連リンク*/
    #link {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }
    #link h2 {
        margin-bottom: 2rem;
    }

    /*フッター*/
    #mymainback #footer-y {
        padding-top: 4rem;
        padding-bottom: 4rem;
        border-radius: 0 0 50px 50px;
    }

    #mymainback #footer .footer-flex {
        display: block;
    }

    #mymainback #footer .footer-content {
        width: 100%;
        min-width: unset;
    }

    #mymainback #footer .footer-content:first-of-type {
        margin-bottom: 0;
    }

    #mymainback #footer .button-wrapper,
    #mymainback #footer #mymainback .button-wrapper {
        margin: 1rem 0 2rem;
    }

    #mymainback #footer .button-wrapper a,
    #mymainback #footer #mymainback .button-wrapper a {
        padding: 1.2rem 2rem;
        margin: 0;
    }

    #mymainback #footer .footer-sns {
        gap: 2rem;
    }

    #mymainback #footer .footer-sns a {
        width: 40px;
        height: 40px;
        margin: 0;
    }

    #mymainback #footer .footer-cc p {
        margin: 1rem 0 1rem 0;
    }

    #mymainback #footer .footer-cc p small {
        font-size: 1.2rem;
    }

    /*記事ページ*/
    #main_header {
        padding-top: 12rem;
        padding-bottom: 4rem;
    }

    #main_header .h1box .h1 h1 {
        width: 96%;
        font-size: 3rem;
    }

    #mymainback.mymainback-fukuken .pankuzu {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    #main_body {
        padding: 4rem 5rem 7rem 5rem;
        margin-bottom: 10rem;
    }

    #mymainback.mymainback-fukuken #detail_date {
        font-size: 1.4rem;
    }

    #mymainback.mymainback-fukuken p,
    #mymainback.mymainback-fukuken a:link {
        font-size: 1.6rem !important;
    }

    #mymainback.mymainback-fukuken h2 {
        font-size: 2.7rem;
        padding: 2rem 2rem 2rem 3rem;
    }

    #mymainback.mymainback-fukuken h2::before {
        width: 86px;
        height: 59px;
    }

    #mymainback.mymainback-fukuken h3 {
        font-size: 2.4rem;
        padding: 1.4rem 2rem 1.2rem 3rem;
        background-size: 30px 5px;
    }

    #mymainback.mymainback-fukuken h3::before {
        width: 30px;
        height: 36px;
        bottom: 5px;
    }

    #mymainback.mymainback-fukuken h4 {
        font-size: 2rem;
        padding: 1rem 2rem 1rem 2rem;
    }

    #mymainback.mymainback-fukuken h5 {
        font-size: 1.8rem;
        border-bottom: 3px solid #fbc600;
        background-size: 30px 42px;
    }

    #mymainback.mymainback-fukuken h5::before {
        height: 3px;
        bottom: -3px;
    }

    #mymainback.mymainback-fukuken h6 {
        font-size: 1.8rem;
    }

    #mymainback.mymainback-fukuken ul li {
        font-size: 1.6rem !important;
    }

    #mymainback.mymainback-fukuken ol li {
        font-size: 1.6rem !important;
    }

    #mymainback.mymainback-fukuken #detail_date a#print_mode_link {
        display: none;
    }

    /*小メニューページ*/
    #mymainback.mymainback-fukuken .list_ccc .span_a {
        padding: 0.4rem 2rem 0.4rem 6.2rem;
        left: -6rem;
        font-size: 1.4rem;
    }

    #mymainback.mymainback-fukuken .list_ccc .span_b a {
        font-size: 1.8rem !important;
        padding: 3rem 4rem 1rem 0;
    }

    #mymainback.mymainback-fukuken .list_ccc ul li:before {
        left: -6rem;
        top: 30px;
        border-bottom: solid 10px transparent;
        border-right: solid 12px #004b62;
    }

    #mymainback.mymainback-fukuken .list_ccc ul li a::before {
        width: 20px;
        height: 20px;
        right: 2rem;
    }

    #mymainback.mymainback-fukuken .list_ccc ul li a::after {
        width: 8px;
        height: 8px;
        right: 3.1rem;
        border-top: solid 2px #004b62;
        border-right: solid 2px #004b62;
    }

    #mymainback.mymainback-fukuken .list_ccc ul li a:hover:before {
        right: 0;
    }

    #mymainback.mymainback-fukuken .list_ccc ul li a:hover:after {
        border-top: solid 2px #fff;
        border-right: solid 2px #fff;
        right: 1rem;
    }

    /*大メニューページ*/
    #mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li {
        margin-bottom: 3rem;
    }

    #mymainback.mymainback-fukuken.mymainback-fukuken-dai
        .list_ccc
        ul
        li::after {
        width: 14px;
    }

    #mymainback.mymainback-fukuken.mymainback-fukuken-dai .list_ccc ul li a {
        font-size: 2rem !important;
        padding: 2rem 3rem 2rem 2rem;
    }

    #mymainback.mymainback-fukuken.mymainback-fukuken-dai
        .list_ccc
        ul
        li
        a::before {
        width: 20px;
        height: 20px;
        right: 0.6rem;
    }
}

@media screen and (max-width: 600px) {
    .catchcopy {
        width: 70%;
        top: calc(92% - 4rem);
    }
    #generation ul {
        gap: 1em;
    }

    /*建設業とは？*/
    .about-bg {
        padding-top: 70px;
        padding-bottom: 130px;
    }

    .about-content {
        padding: 2.4rem;
    }

    .about-content::before {
        left: unset;
        right: 10px;
        top: -40px;
    }

    .about-content::after {
        content: none;
    }

    #about h2 {
        font-size: 2.4rem;
        background-size: 21.4rem 4.2rem;
        margin-bottom: 1.4rem;
        padding-top: 43px;
    }

    #about p {
        margin-bottom: 1.6rem;
    }

    /*目的でさがす*/
    #search {
        margin-top: 6rem;
        padding-bottom: 6rem;
    }
    .search_inner {
        padding: 0 0 4em;
    }

    #search h2 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
        background-size: calc(271px * 0.85);
    }

    #search ul {
        gap: 1rem 1.6rem;
        grid-template-columns: repeat(2, max-content);
    }
    #search ul li {
        width: calc(50vw - 3rem);
    }

    #search ul li a span {
        font-size: 1.6rem;
    }

    /*新着情報*/
    #news {
        margin-top: 3.5em;
    }
    #news h2 {
        font-size: 2.4rem;
        margin-bottom: 1.4rem;
        background-size: calc(200px * 0.85);
    }

    #news p {
        margin-bottom: 1.6rem;
    }
    .list_type_a_title h2 {
        font-size: 2.4rem;
        padding-top: 46px;
        margin-bottom: 2rem;
    }

    .list_ccc li,
    #main_body .list_ccc li {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .list_ccc {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .list_ccc .span_a {
        font-size: 1.4rem;
    }

    #mymainback .list_ccc .span_b a {
        font-size: 1.6rem !important;
    }
    

    /*ピックアップ*/
    #pickup {
        padding-top: 2rem;
        padding-bottom: 6rem;
        background-position:
            top 5rem left,
            bottom right 2%;
    }

    #pickup::before {
        height: 110px;
        border-radius: 0 0 40px 40px;
    }

    #pickup h2 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
        background-size: calc(279px * 0.85);
    }

    #pickup .slick-list.draggable {
        padding-bottom: 3rem !important;
    }

    #pickup .slick-list.draggable li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .pickup_btn_box {
        gap: 1.5rem 2rem;
    }

    .slick-dots {
        flex: 1 0 100%;
        gap: 1.5rem;
    }

    /*動画集*/
    #youtube {
        padding-top: 2rem;
    }
    .youtube-bg {
        margin: 0;
        padding: 6rem 0 2rem;
    }

    #youtube h2 {
        background-size: calc(356px * 0.85);
        font-size: 2.4rem;
    }

    #youtube h3 {
        font-size: 2.4rem;
    }
    .youtube-wrap .detail_movie.slick-center.slick-current,
    .youtube-wrap .detail_html.slick-center.slick-current,
    .youtube-wrap .detail_movie.is-custom-center,
    .youtube-wrap .detail_html.is-custom-center,
    .youtube-wrap .detail_movie,
    .youtube-wrap .detail_html {
        transform: scale(1) !important;
    }
    .youtube-wrap .slick-list {
        padding: 0 !important;
    }
    #youtube .button-wrapper {
        margin: 1em 0;
    }

    /*Instagram*/
    #instagram {
        padding-top: 10rem;
        padding-bottom: 7rem;
    }

    #instagram h2 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
        background-size: calc(420px * 0.85);
    }

    /*関連リンク*/
    #link {
        padding-top: 5rem;
        padding-bottom: 7rem;
    }

    #link h2 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }

    #link #site_footer {
        grid-area: 2rem;
        grid-template-columns: 1fr 1fr;
    }

    /*ページトップへ */
    #page-top a img {
        max-width: 120px !important;
    }
    

    /*記事ページ*/
    #main_body {
        padding: 2rem 2rem 5rem 2rem;
        margin-bottom: 8rem;
    }

    #mymainback.mymainback-fukuken h2::before {
        width: 65px;
        height: 44px;
        left: -20px;
    }

    /*小メニューページ*/
    #mymainback.mymainback-fukuken .list_ccc .span_a {
        padding: 0.4rem 2rem 0.4rem 3rem;
        left: -2.7rem;
    }

    #mymainback.mymainback-fukuken .list_ccc .span_b a {
        font-size: 1.8rem !important;
        padding: 3rem 4rem 1rem 0;
    }

    #mymainback.mymainback-fukuken .list_ccc ul li:before {
        left: -2.7rem;
        border-bottom: solid 8px transparent;
        border-right: solid 8px #004b62;
    }
}

@media screen and (max-width: 480px) {
    .list_ccc::before {
        width: 100px;
    }
}

.errrange {
    padding-top: 90px;
}


/* 印刷時のみ適用 */
@media print {

    html body {
        min-width: 1200px !important;
        max-width: 100%;
    }
    #header {
        position: absolute;
    }

}