/*
 * Theme Name: sansyu-eng
 */

@charset "utf-8";

@font-face {
	font-family: Noto Sans JP;
	font-style: normal;
	font-weight: 400;
	src: url("https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/themes/sansyu-eng/font/NotoSansJP-Regular.ttf") format("TrueType");
}
@font-face {
	font-family: Noto Sans JP;
	font-style: normal;
	font-weight: 500;
	src: url("https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/themes/sansyu-eng/font/NotoSansJP-Medium.ttf") format("TrueType");
}
@font-face {
	font-family: Noto Sans JP;
	font-style: normal;
	font-weight: 600;
	src: url("https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/themes/sansyu-eng/font/NotoSansJP-SemiBold.ttf") format("TrueType");
}
@font-face {
	font-family: Noto Sans JP;
	font-style: normal;
	font-weight: 700;
	src: url("https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/themes/sansyu-eng/font/NotoSansJP-Bold.ttf") format("TrueType");
}
  
/*SPの設定*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
    font-feature-settings: "palt";
}
html {
    color: #000000;
    font-family: 'Noto Sans JP', 'Helvetica', 'Arial', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', '游ゴシック', '游ゴシック体', 'Yu Gothic', 'YuGothic', 'Meiryo UI', 'メイリオ', 'Meiryo', sans-serif;
    font-size: 62.5%;
    margin: 0px;
    padding: 0px;
}
body {
    margin: 0px;
    padding: 0px;
    font-size: 1.4rem;
    color: #575757;
    background-color: #FFFFFF;
	letter-spacing: 0.1rem;
    line-height: 1.6;
}
body.active {
    overflow: hidden;
}
header, footer, main, nav, section, article, dl, dt, dd {
    margin: 0px;
    padding: 0px;
    display: block;
}
p, h1, h2, h3, h4, h5, h6 {
    margin: 0px;
    padding: 0px;
}
img {
    margin: 0px;
    padding: 0px;
    border-style: none;
    width: auto;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    display: inline;
}

a {
    text-decoration: none;
    color: #575757;
}

a:hover {
    color: #00bb30;
}

a.link_kyo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00bb30;
    color: #ffffff;
    height: 47px;
    width: 100%;
    max-width: 330px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
	padding-bottom: 2px;
}

a.link_kyo::after {
	content: "";
    background-color: #ffffff;
    display: block;
	position: absolute;
	right: 18px;
	top: 0;
	bottom: 0;
	margin: auto;
    width: 26px;
    height: 30px;
    mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100%;
    -webkit-mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100%;
}

a.link_kyo2 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #00bb30;
    height: 60px;
    width: 100%;
    max-width: 330px;
    margin-top: 20px;
    margin-left: 0;
    margin-right: auto;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

a.link_kyo2::after {
	content: "";
    background-color: #00bb30;
    display: block;
	position: absolute;
	right: 20px;
	top: 0;
	bottom: 0;
	margin: auto;
    width: 30px;
    height: 30px;
    mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100%;
    -webkit-mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100%;
}

.mds {
    text-align: center;
    font-size: 4.2rem;
    font-weight: normal;
	line-height: 1.5;
}

.mds span {
    display: block;
    font-size: 1.4rem;
    color: #00bb30;
    line-height: 1.4;
}

header {
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 0;
    border-top: 3px solid #00bb30;
    background-color: #ffffff;
}

header > div {
    width: 94%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
	height: 54px;
}

header > div #logo {
	width: 65%;
	max-width: 270px;
}

header > div #logo img {
    width: 100%;
}

header > div #menu #menu_bb {
    display: flex;
    flex-flow: column;
    align-items: start;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    height: 100lvh;
    height: 0;
    z-index: 10;
    overflow: hidden;
}

header.active > div #menu #menu_bb {
    height: 100lvh;
}

header > div #menu #menu_bb::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: -1;
}

header > div #menu #menu_bb > div {
    width: 100%;
}

header > div #menu #menu_bb > div > * {
    padding: 10px 0;
}

header > div #menu #menu_bb > div > * > * a {
    font-size: 1.6rem;
    color: #000000;
    width: 100%;
	height: 100%;
    display: flex;
	justify-content: space-between;
	align-items: center;
}
	
header > div #menu #menu_bb > div > * > * a::after {
	content: "";
    background-color: #00bb30;
    display: block;
    width: 30px;
    height: 30px;
    mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100%;
    -webkit-mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100%;
}

header > div #menu #menu_bb > div > * > *:last-of-type a {
    color: #00bb30;
}

header > div #menu #menu_bb > div > ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    gap: 0;
    flex-flow: column;
    width: 100%;
	border-top: solid 1px #575757;
}

header > div #menu #menu_bb > div > ul > li {
    padding: 0 3%;
    height: 50px;
	border-bottom: solid 1px #575757;
    display: flex;
	align-items: center;
}



header #menu #hamburger {
    position: relative;
    width: 30px;
    height: 30px;
    margin-left: auto;
    margin-right: 0;
    cursor: pointer;
    pointer-events: auto;
    z-index: 20;
    text-align: right;
}

header #menu #hamburger > div {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    background-color: #00bb30;
}

header #menu #hamburger .open {
    display: flex;
    mask-image: url("/sansyu_wp/wp-content/uploads/2026/01/menu_open.svg");
    mask-repeat: no-repeat;
    mask-position: 0 0;
    mask-size: 100%;
    /* Chrome, Safari用 */
    -webkit-mask-image: url("/sansyu_wp/wp-content/uploads/2026/01/menu_open.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 0 0;
    -webkit-mask-size: 100%;
}

header #menu #hamburger .close {
    background-color: #575757;
    display: none;
    mask-image: url("/sansyu_wp/wp-content/uploads/2026/01/menu_close.svg");
    mask-repeat: no-repeat;
    mask-position: 0 0;
    mask-size: 100%;
    /* Chrome, Safari用 */
    -webkit-mask-image: url("/sansyu_wp/wp-content/uploads/2026/01/menu_close.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 0 0;
    -webkit-mask-size: 100%;
}

header.active #menu #hamburger .open {
    display: none;
}

header.active #menu #hamburger .close {
    display: flex;
}


main {
    background-image: url(https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/uploads/2026/01/0hh.png);
    position: relative;
    padding-bottom: 10px;
}

main#top {
    overflow: hidden;
    padding-bottom: 0;
}

main::after {
    content: "";
    display: block;
    position: absolute;
	bottom: 77px;
    background-image: url(https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/uploads/2026/01/0deco3.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 80px;
    height: 47px;
}

main#not_found {
	min-height: calc(100svh - 170px);
}

main#not_found > div {
    width: 94%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
	padding:150px 0 80px;
}

main#not_found::after {
    display: none;
}

main#top::after {
    display: none;
}

#top #mainp {
    display: flex;
    flex-flow: column-reverse;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#top #mainp > div {
    padding: 0;
}

#top #mainp > div:first-of-type {
    width: 94%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#top #mainp > div:first-of-type .img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    margin-top: 0;
	opacity: 0;
}

#top #mainp.active > div:first-of-type .img {
    animation: slideIn_sp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes slideIn_sp {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}

#top #mainp > div:first-of-type .zb {
    display: none;
}

#top #mainp > div:first-of-type h1 {
    font-size: 2.4rem;
	font-weight: 600;
	line-height: 1.5;
}

#top #mainp > div:first-of-type p {
    font-size: 1.4rem;
    line-height: 1.9;
    margin-top: 10px;
}

#top #mainp > div:last-of-type {
    width: 100%;
}

#top #mainp > div:last-of-type .zb {
    position: relative;
    width: 100%;
    max-width: 850px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

#top #mainp > div:last-of-type .zb img {
    width: 100%;
}

#top #mainp > div:last-of-type .img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
}

#top #mainp.active > div:last-of-type .img {
    animation: slideIn2_sp 1s 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes slideIn2_sp {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
#service{
    position: relative;
}

#top #service::before {
    content: "";
    display: none;
    background-color: yellowgreen;
    border-radius: 50%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    aspect-ratio: 1 / 1;
}

#top #service > div {
    max-width: 1200px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
}

#top #service dl {
    display: flex;
    flex-flow: column;
    gap: 10px;
    margin-top: 32px;
}

#top #service dl > div {
    display: flex;
    flex-flow: column;
    border: solid 2px #00bb30;
    border-top: solid 7px #00bb30;
    position: relative;
    padding: 0 20px 20px 20px;
    background-color: #ffffff;
    width: 100%;
}

#top #service dl > div::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 6px;
    background-color: #00bb30;
}

#top #service dl > div > * {
    order: 2;
}

#top #service dl > div > dt {
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
}

#top #service dl > div > dd {
    text-align: center;
    margin-top: 9px;
}

#top #service dl > div > dd:last-of-type {
    order: 1;
    display: flex;
    align-items: center;
    margin-top: 0;
    justify-content: center;
    padding: 20px 0;
}

#top #service dl > div > dd:last-of-type img {
    object-fit: contain;
	object-position: center;
    width: 73%;
    height: auto;
}

#top #rcruit {
    position: relative;
    padding-bottom: 100px;
}

#top #rcruit > * {
	position: relative;
	z-index:10;
}

#top #rcruit > div.swiper {
    max-width: 100%;
    width: 100%;
    margin-top: 40px;
}

#top #rcruit > div h2 {
    padding-top: 100px;
}

#top #rcruit > div > p {
    text-align: left;
    margin-top: 30px;
    line-height: 2;
    width: 86%;
    margin-left: auto;
    margin-right: auto;
}

#top #rcruit > div > .img {
    text-align: center;
    margin-top: 30px;
    width: 78.4%;
    margin-left: auto;
    margin-right: auto;
}

#top #rcruit > div > .slider {
    margin-top: 50px;
}
#top .swiper-wrapper {
  transition-timing-function: linear;
  margin: 0;
  padding: 0;
}
#top .swiper-slide{
    width: 100%;
}
#top .swiper-slide img{
    width: 100%;
}

#top #rcruit > .link {
    margin-top: 40px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

#top #rcruit > .zb {
    content: "";
    display: block;
    position: absolute;
    top: 40px;
    bottom: 0;
    width: 100%;
    background-image: url(https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/uploads/2026/01/0hh2.svg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
	max-width: 100%;
	z-index:0;
}



#top #company_contact > div > dl {
    display: flex;
    position: relative;
    flex-flow: column;
    max-width: 1200px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
	margin-top: 37px;
    color: #ffffff;
    gap: 10px;
}

#top #company_contact > div > dl > div {
    background-color: #00bb30;
	padding: 26px 20px 40px;
}

#top #company_contact > div > dl::before {
    display: none;
}

#top #company_contact > div > dl .mds {
    text-align: left;
}

#top #company_contact > div > dl .mds > span {
    color: #ffffff;
    opacity: 0.7;
    margin-top: 10px;
}

#top #company_contact > div > dl > div > dd > p {
    margin-top: 20px;
}

#top #company_contact > div > dl > div > dd > a {
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

#top #news {
	margin-top: 60px;
    padding-bottom: 80px;
}

#top #news > div {
    max-width: 1200px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

#top #news > div > div {
    display: flex;
    flex-flow: column;
	margin-top: 5px;
}

#top #news > div > div > * {
    border-bottom: solid 1px #a3a3a3;
    padding: 30px 20px 27px;
    display: flex;
    flex-flow: column;
    align-items: start;
	gap: 7px;
}

#top #news > div > div > * > span:first-of-type {
    width: 6em;
    color: #00bb30;
}

#top #news > div > .link_kyo {
    margin-top: 40px;
}


footer #footer_menu {
    max-width: 1200px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

footer #footer_menu #footer_logo {
    max-width: 330px;
}

footer #footer_menu nav {
    display: none;
}

footer #footer_menu nav > div > ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

footer #copy {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-color: #00bb30;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
}


#pan {
    display: flex;
    justify-content: space-between;
	padding-top: 53px;
    max-width: 1200px;
	width: calc(100% - 90px);
    margin-left: auto;
    margin-right: 3%;
}

#pan > div {
    position: absolute;
    left: 0;
    top: 53px;
    width: 60px;
}

#pan > ul {
    display: block;
    justify-content: end;
    margin: 17px 0 0 auto;
    padding: 0;
    list-style: none;
    font-size: 1rem;
}

#pan > ul > li {
	display: inline;
    margin: 0;
    padding: 0;
	padding-left: 20px;
    position: relative;
}

#pan > ul > li:first-child {
	padding-left: 0;
}

#pan > ul > li::after {
    content: "";
    display: block;
    width: 4px;
    height: 1.6em;
    background: #575757;
    position: absolute;
    top: 0;
	left: 6px;
    mask-image: url("/sansyu_wp/wp-content/uploads/2026/02/1yaji1.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100%;
}

#pan > ul > li:first-child::after {
    display: none;
}

#pan > ul > li:last-child {
    color: #00bb30;
}

#pan > ul > li:last-child::after {
    background: #00bb30;
}

#content {
    max-width: 1200px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

#title_txt {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

#title_txt > h1 {
    font-size: 4.2rem;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
}

#title_txt > h1 > span {
    display: block;
    font-size: 1.4rem;
    color: #00bb30;
    line-height: 1.4;
}

#title_txt > p {
    text-align: center;
    margin-top: 22px;
}

.box > div {
    background-color: #ffffff;
    margin-top: 20px;
}

.box:first-of-type > div {
    margin-top: 40px;
}

.business_box {
	padding-top: 50px;
    margin-top: -50px;
}

.box.business_box > div {
    padding: 20px 0 30px;
}

.business_box .overview {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.business_box .overview > .txt {
    width: 94%;
}

.business_box .overview > .txt > h2 {
    color: #00bb30;
    font-size: 2rem;
    font-weight: 400;
}

.business_box .overview > .txt > p {
    margin-top: 20px;
}

.business_box .overview > .txt > p.font_b {
    font-size: 1.8rem;
    font-weight: 500;
}

.business_box .overview > .business_slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin-top: 20px;
}

#kikaku.business_box .overview > .business_slider {
    margin-top: 30px;
}

.business_box .overview > .business_slider .swiper-wrapper {
  transition-timing-function: ease-out !important;
    padding: 0;
	margin-top: 0;
	margin-bottom: 0;
}

.business_box .overview > .business_slider .swiper-pagination {
    position: relative;
    text-align: right;
	padding-right: 3%;
    line-height: 0;
    padding-top: 10px;
    display: flex;
    gap: 7px;
    justify-content: end;
}

.business_box .overview > .business_slider .swiper-pagination-bullet {
    border-radius: 0;
    width: 20px;
    height: 4px;
    background:#e6e6e6;
    opacity: 1;
    margin: 0;
}

.business_box .overview > .business_slider .swiper-pagination-bullet-active {
    background:#00bb30;
}

.business_box .overview > .business_slider .swiper-horizontal>.swiper-pagination-bullets, .business_box .overview > .business_slider .swiper-pagination-bullets.swiper-pagination-horizontal, .business_box .overview > .business_slider .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0;
    top: 0;
}


.business_box .content {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
	width: 94%;
}

.business_box .content > div {
    border-bottom: solid 1px #a3a3a3;
    padding: 17px 0 17px;
}

.business_box .content > div > dt {
    font-size: 1.6rem;
    color: #00bb30;
    display: flex;
    flex-flow: column;
    align-items: start;
}

.business_box .content > div > dt span {
    font-size: 1.4rem;
    color: #575757;
}

.business_box .content > div > dd {
    padding-top: 12px;
}

.business_box .content > div > dd > dl {
    padding-top: 10px;
}

.business_box .content > div > dd > dl > div {
    padding-top: 20px;
}

.business_box .content > div > dd > dl > div > dt {
    font-weight: bold;
}

.business_box .content > div > dd > dl > div > dd {
    padding: 0 1em;
}

.business_box .content > div > dd > dl > div > dd > div {
    display: flex;
    flex-flow: column;
    gap: 10px;
    border: solid 1px #e6e6e6;
    margin-top: 20px;
    padding: 20px 20px;
}

.business_box .content > div > dd > dl > div > dd > div > div:first-of-type {
    white-space: nowrap;
}

.business_box .content > div > dd > dl > div > dd > div ul {
    margin: 0;
    padding: 0 0 5px 0;
    list-style: none;
}

.business_box .content > div > dd > dl > div > dd > div ul > li {
    display: flex;
    padding-top: 5px;
}

.business_box .content > div > dd > dl > div > dd > div ul > li::before {
    content: "・";
}

.business_box .overview > .business_slider .swiper-slide {
    height: auto;
}



.box.recruit_box > div {
    padding: 30px 0 30px;
}

.recruit_box .overview {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 20px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

.businesrecruit_boxs_box .overview > .txt {
    width: 100%;
}

.recruit_box .overview > .txt > h2 {
    color: #00bb30;
    font-size: 2rem;
    font-weight: normal;
}

.recruit_box .overview > .txt > p {
    margin-top: 12px;
}

.recruit_box .overview > .img {
    transform: scale(-1, 1);
	width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.recruit_box .overview > .img img {
    display: block;
	width: 100%;
}

.recruit_box .content {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 94%;
}

.recruit_box .content > div {
    border-bottom: solid 1px #a3a3a3;
    padding: 17px 0;
}

.recruit_box .content > div > dt {
    color: #00bb30;
}

.recruit_box .content > div > dd {
    padding-top: 12px;
}


.box.company_box > div {
    padding: 5px 0 60px;
}

.company_box .content {
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.company_box .content > div {
    border-bottom: solid 1px #a3a3a3;
    padding: 17px 0;
}

.company_box .content > div > dt {
    color: #00bb30;
}

.company_box .content > div > dd {
    padding-top: 12px;
}



.company_box .content > div > dd > * {
	margin-top: 10px;
}

.company_box .content > div > dd > p > a {
	text-decoration: underline;
}

.company_box .content > div > dd > ul {
	margin-bottom: 0;
	padding-left: 1.5em;
}

.company_box .content > div > dd > .wp-block-heading {
    margin-top: 30px;
	color: #575757;
	font-weight: bold;
}

.company_box .content > div > dd > h1.wp-block-heading {
    font-size: 2.8rem;
}

.company_box .content > div > dd > h2.wp-block-heading {
    font-size: 2.6rem;
}

.company_box .content > div > dd > h3.wp-block-heading {
    font-size: 2.4rem;
}

.company_box .content > div > dd > h4.wp-block-heading {
    font-size: 2.2rem;
}

.company_box .content > div > dd > h5.wp-block-heading {
	font-size: 2.0rem;
}

.company_box .content > div > dd > h6.wp-block-heading {
	font-size: 1.8rem;
}

.company_box .content > div > dd > *:first-child {
    margin-top: 0;
}









.inquiry_box > .content {
    display: flex;
    flex-flow: column;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
    padding-bottom: 30px;
}

.inquiry_box > .content > div {
    width: 100%;
    border: solid 2px #00bb30;
    border-top: solid 7px #00bb30;
    background-color: #ffffff;
    position: relative;
	padding: 20px 20px 20px;
    text-align: left;
}

.inquiry_box > .content > div::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 6px;
    background-color: #00bb30;
}

.inquiry_box > .content > div > dt {
    color: #00bb30;
    font-size: 1.6rem;
	font-weight: bold;
}

.inquiry_box > .content > div > dd {
    padding-top: 30px;
}

.inquiry_box > .content > div > dd a {
    font-size: 2rem;
    font-weight: bold;
}

.inquiry_box > .content > div > dd .font_b {
    font-size: 2.4rem;
}

.inquiry_box > .content > div > dd p {
    padding-top: 30px;
    font-size: 1.4rem;
    font-weight: normal;
}


.box.news_box > div {
    padding: 5px 0 60px;
}

.news_box .content {
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.news_box .content > * {
    display: block;
    border-bottom: solid 1px #a3a3a3;
    padding: 17px 0;
}

.news_box .content > * > span {
    display: block;
}

.news_box .content > * > span:first-of-type {
    color: #00bb30;
}

.news_box .content > * > span:last-of-type {
    padding-top: 12px;
}

.news_box .pagination {
    display: flex;
	justify-content: center;
	gap: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.news_box .pagination > * {
    display: flex;
    width: 3em;
	height: 3em;
    border: solid 1px #a3a3a3;
	align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.news_box .pagination > *.next ,.news_box .pagination > *.prev {
    width: 4em;
    border: none;
	text-align: center;
}

.box.news_detail_box > div {
    padding: 5px 0 60px;
}

.news_detail_box .content {
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
	padding-top: 15px;
}

.news_detail_box .content h2 {
    font-size: 2rem;
    font-weight: 500;
    color: #00bb30;
}

.news_detail_box .content .day {
    padding-top: 10px;
}

.news_detail_box .content .txt {
    padding-top: 20px;
}

.news_detail_box .content .txt > * {
	margin-top: 10px;
}

.news_detail_box .content .txt > p > a {
	text-decoration: underline;
}

.news_detail_box .content .txt > ul {
	margin-bottom: 0;
	padding-left: 1.5em;
}

.news_detail_box .content .txt > .wp-block-heading {
    margin-top: 30px;
	color: #575757;
	font-weight: bold;
}

.news_detail_box .content .txt > h1.wp-block-heading {
    font-size: 2.8rem;
}

.news_detail_box .content .txt > h2.wp-block-heading {
    font-size: 2.6rem;
}

.news_detail_box .content .txt > h3.wp-block-heading {
    font-size: 2.4rem;
}

.news_detail_box .content .txt > h4.wp-block-heading {
    font-size: 2.2rem;
}

.news_detail_box .content .txt > h5.wp-block-heading {
	font-size: 2.0rem;
}

.news_detail_box .content .txt > h6.wp-block-heading {
	font-size: 1.8rem;
}

.news_detail_box .content .txt > *:first-child {
    margin-top: 0;
}

.wp-block-image {
	width: fit-content;
    max-width: 100%;
}

.wp-block-image img {
    box-sizing: border-box;
    height: auto;
	width: auto;
    max-width: 100%;
    vertical-align: bottom;
}

.wp-block-image .wp-element-caption a {
	text-decoration: underline;
}

.wp-block-file__button , .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00bb30;
    color: #ffffff;
    height: 47px;
    width: 316px;
	min-width: 316px;
    max-width: 340px;
    margin-top: 0;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
	padding: 0;
	padding-bottom: 2px;
	border-radius: 0;
}

.wp-block-file__button::after , .wp-block-button__link::after {
	content: "";
    background-color: #ffffff;
    display: block;
	position: absolute;
	right: 18px;
	top: 0;
	bottom: 0;
	margin: auto;
    width: 26px;
    height: 30px;
    mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100%;
    -webkit-mask-image: url(/sansyu_wp/wp-content/uploads/2026/01/yaji.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100%;
}

.wp-block-file__button {
	margin-top: 5px;
}

.wp-block-file *+.wp-block-file__button {
	margin-left: 0;
}

.wp-block-file.aligncenter .wp-block-file__button {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-file.alignright .wp-block-file__button {
    margin-left: auto;
    margin-right: 0;
}

.wp-block-file__button:hover , .wp-block-button__link:hover {
    color: #ffffff;
}

.wp-block-footnotes {
	border: solid 1px #a3a3a3;
	padding: 20px;
	font-size: 1.3rem;
}

.wp-block-footnotes > li {
    margin-left: 20px;
    margin-right: 20px;
}
.wp-block-image .alignright {
	float: none;
    margin-left: auto;
    margin-right: 0;
}

.wp-block-image:has(.alignright){
    margin-left: auto;
    margin-right: 0;
}

.wp-block-image .alignleft {
	float: none;
    margin-left: 0;
    margin-right: auto;
}

.wp-block-image:has(.alignleft){
    margin-left: 0;
    margin-right: auto;
}

.wp-block-image:has(.aligncenter){
    margin-left: auto;
    margin-right: auto;
}

.wp-block-list a {
	text-decoration: underline;
}

.wp-block-file:not(.wp-element-button) {
    margin-bottom: 0 !important;
}

.wp-block-file {
    width: fit-content;
	text-align: center !important;
}

.wp-block-file.alignright {
    margin-left: auto;
    margin-right: 0;
}

.wp-block-file.alignleft {
    margin-left: 0;
    margin-right: auto;
}

.wp-block-file.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-element-caption {
	text-align: center;
}

#pagetop {
    display: block;
    width: fit-content;
    position:sticky;
    bottom: 0;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    z-index: 10;
	padding-bottom: 20px;
	overflow: hidden;
	margin-top: -25px;
}

#pagetop a {
	display: block;
	position: relative;
	right: -150px;
	transition: all 0.5s 0s ease;
}

#pagetop.active a {
	right: 0px;
	transition: all 0.5s 0s ease;
}

#pagetop img {
    width: 100px;
}

#inquiry #pagetop a {
	display: block;
	position: relative;
	right: 0px;
	transition: none;
}



/***********************************************/
@media only screen and (min-width:768px) {
/*PCの設定*/
body {
    font-size: 1.6rem;
}

a.link_kyo {
    font-size: clamp(1.4rem, 1.5vw, 1.8rem);
    margin-top: 20px;
    height: 60px;
}
a.link_kyo::after {
	right: 20px;
    width: 30px;
}

a.link_kyo:hover {
	opacity: 0.8;
}

a.link_kyo2 {
    font-size: clamp(1.4rem, 1.5vw, 1.8rem);
    margin-top: 30px;
}

a.link_kyo2:hover {
	opacity: 0.8;
}

.mds {
    font-size: clamp(3rem, 5vw, 7rem);
	line-height: 1.6;
}

.mds span {
    font-size: clamp(1.8rem, 1.8vw, 2.4rem);
	padding-top: 0px;
}

header > div {
    height: 88px;
}

header > div #logo {
    width: 250px;
	max-width: 250px;
}

header > div #menu #menu_bb {
    display: flex;
    flex-flow: row;
    gap: 30px;
    position: relative;
    height: auto;
    top: 0;
}

header > div #menu #menu_bb::before {
    display: none;
}

header > div #menu #menu_bb > div > ul {
    flex-flow: row;
    align-items: center;
    gap: 30px;
    width: auto;
	border-top: none;
}
	
header > div #menu #menu_bb > div > ul > li {
    padding: 0;
    height: auto;
	border-bottom: none;
}
	
header > div #menu #menu_bb > div > * > * a {
    font-size: clamp(1.4rem, 1.5vw, 1.8rem);
	height: auto;
}
	
header > div #menu #menu_bb > div > * > * a:hover {
    color: #00bb30;
}
	
header > div #menu #menu_bb > div > * > * a::after {
    display: none;
}

header > div #menu #menu_bb > div > * > *:last-of-type a {
    display: block;
    background-color: #00bb30;
    padding: 10px 30px;
    color: #ffffff;
}

header > div #menu #menu_bb > div > * > *:last-of-type a:hover {
    color: #ffffff;
	opacity: 0.8;
}
	
header > div #menu #menu_bb > div > ul > li a[aria-current="page"] {
	color: #00bb30;
}
	
header > div #menu #menu_bb > div > ul > li:last-of-type a[aria-current="page"] {
	color: #ffffff;
}

header #menu #hamburger {
    display: none;
}

main::after {
    bottom: 40px;
    width: 108px;
    height: 63px;
}

main#top::after {
    display: none;
}

main#not_found {
	min-height: calc(100svh - 200px);
}

#top #mainp {
    flex-flow: row;
    width: 94%;
    gap: 40px;
}

#top #mainp > div {
    padding: 160px 0 0;
}

#top #mainp > div:first-of-type {
    width: 40%;
    text-align: left;
    position: relative;
}

#top #mainp > div:first-of-type h1 {
    font-size: clamp(2.4rem, 3.45vw, 4.8rem);
	line-height: 1.4;
}

#top #mainp > div:first-of-type p {
    margin-top: 11px;
    font-size: clamp(1.6rem, 1.55vw, 2rem);
    line-height: 1.8;
}

#top #mainp > div:first-of-type .img {
    display: block;
    position: relative;
    top: 0;
    left: -3vw;
    margin-top: 58px;
    max-width: 280px;
    width: 70%;
	opacity: 0;
}

#top #mainp.active > div:first-of-type .img {
    animation: slideIn 1s 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes slideIn {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}

#top #mainp > div:first-of-type .zb {
    display: block;
    position: absolute;
    bottom: clamp(180px, 23vw, 300px);
    right: -2%;
    z-index: 10;
    margin-top: 36px;
}

#top #mainp > div:last-of-type {
    width: 60%;
    position: relative;
    padding-top: 0;
}

#top #mainp > div:last-of-type .zb {
    position: relative;
    width: 125%;
    max-width: 862px;
    min-width: 680px;
    top: -30px;
    bottom: 0;
    display: flex;
    align-items: center;
}

#top #mainp > div:last-of-type .zb img {
    width: 100%;
}

#top #mainp > div:last-of-type .img {
    position: absolute;
    bottom: 17%;
    right: -3vw;
    left: auto;
    top: auto;
    max-width: 203px;
    width: 32%;
    opacity: 0;
}

#top #mainp.active > div:last-of-type .img {
    animation: slideIn2 1s 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
 
@keyframes slideIn2 {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}

#top #service dl {
    flex-flow: row;
    gap: 3.5%;
    margin-top: 35px;
}

#top #service > div {
    padding-top: 0px;
}

#top #service dl > div {
    border-top: solid 10px #00bb30;
}

#top #service dl > div::before {
    height: 10px;
}

#top #service dl > div > dd {
    margin-top: 15px;
}

#top #service dl > div > dd:last-of-type {
    padding: 30px 0;
}

#top #service dl > div > dd:last-of-type img {
    max-width: 240px;
    width: 100%;
    aspect-ratio: 240 / 200;
}

#top #service dl > div > dt {
    font-size: clamp(1.8rem, 1.8vw, 2.4rem);
}

#top #rcruit {
    padding-bottom: 175px;
}

#top #rcruit::before {
	content:"";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    background-repeat: no-repeat;
    background-position: top 183px left;
	background-image:url(https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/uploads/2026/01/0deco3.svg);
	z-index:2;
}

#top #rcruit::after {
	content:"";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    background-repeat: no-repeat;
    background-position: top 49px right;
	background-image:url(https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/uploads/2026/01/0deco2.svg);
	z-index:2;
}


#top #rcruit > div {
    margin-top: 15px;
}

#top #rcruit > div h2 {
    padding-top: 110px;
}

#top #rcruit > div > p {
    font-size: clamp(1.6rem, 1.55vw, 2rem);
    margin-top: 45px;
    width: 100%;
    text-align: center;
}

#top #rcruit > div > .img {
    margin-top: 45px;
    width: auto;
}

#top #rcruit > div.swiper {
    margin-top: 46px;
}

#top #rcruit > .link {
    margin-top: 60px;
}

#top #rcruit > .link::before {
	content: "";
	display: block;
	position: absolute;
	top: 130px;
	left: 0;
	right: 0;
	height: 100px;
	max-width: 1200px;
	margin: auto;
    background-repeat: no-repeat;
    background-position: top right;
	background-image:url(https://www.sansyu-eng.co.jp/sansyu_wp/wp-content/uploads/2026/01/0deco1.svg);
}

#top #rcruit > .zb {
    top: 0;
}




#top #company_contact > div > dl {
    flex-flow: row;
    gap: 120px;
    padding: 60px;
    background-color: #00bb30;
    margin-top: 22px;
}

#top #company_contact > div > dl::before {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: calc(100% - 120px);
    background-color: #ffffff;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 60px;
    margin: auto;
    opacity: 0.3;
}

#top #company_contact > div > dl > div {
    padding: 0;
    width: 100%;
}

#top #company_contact > div > dl > div > dt.mds {
    font-size: clamp(3rem, 4.5vw, 5.8rem);
	line-height: 1;
}

#top #company_contact > div > dl > div > dd > p {
    margin-top: 35px;
}

#top #company_contact > div > dl > div > dd > a {
    margin-left: 0;
    margin-top: 60px;
}

#top #news {
    margin-top: 72px;
    padding-bottom: 60px;
}

#top #news > div > div {
    margin-top: 25px;
}

#top #news > div > div > * {
	padding: 25px 20px;
    flex-flow: row;
    align-items: center;
    gap: 40px;
}

#top #news > div > .link_kyo {
    margin-top: 40px;
}


footer #footer_menu {
    height: 160px;
    justify-content: space-between;
    gap: 40px;
}

footer #footer_menu #footer_logo {
    max-width: 100%;
}

footer #footer_menu nav {
    display: block;
}

footer #footer_menu nav > div > ul {
    display: flex;
    gap: 28px;
}

footer #copy {
    font-size: 1.2rem;
}




#pan {
    display: flex;
    justify-content: space-between;
	padding-top: 91px;
    max-width: 1200px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

#pan > div {
    top: 91px;
    width: 108px;
}

#pan > ul {
    font-size: 1.2rem;
    margin: 15px 0 0 auto;
	padding-left: 100px;
}

#pan > ul > li {
	padding-left: 24px;
}
	
#pan > ul > li::after {
    left: 10px;
}

#title_txt {
    flex-flow: row;
    margin-top: 33px;
}

#title_txt > h1 {
    text-align: left;
    font-size: 5.8rem;
    line-height: 1.4;
}

#title_txt > h1 > span {
    font-size: 2.2rem;
}


#title_txt > p {
    text-align: right;
    margin-top: 10px;
}

.box > div {
    margin-top: 40px;
}

.box:first-of-type > div {
    margin-top: 60px;
}

.box.business_box > div {
    padding: 0 0 60px;
}

.business_box .overview {
    width: 100%;
    flex-flow: row;
    padding-left: 50px;
	justify-content: space-between;
}

.business_box .overview > .txt {
    padding-right: 60px;
    padding-bottom: 30px;
	width: 47.5%;
}

.business_box .overview > .txt > h2 {
    font-size: 2.8rem;
}

.business_box .overview > .txt > p {
    margin-top: 20px;
}

.business_box .overview > .txt > p.font_b {
    font-size: 2rem;
}

.business_box .overview > .business_slider {
    margin-top: 0;
    width: 52.5%;
    max-width: 600px;
}

.business_box .overview > .business_slider .swiper-pagination {
    padding-right: 50px;
	padding-top: 12px;
    gap: 10px;
}

.business_box .overview > .business_slider .swiper-pagination-bullet {
    width: 30px;
    height: 6px;
}

#kikaku.business_box .overview > .business_slider {
    margin-top: 0;
}

.business_box .content {
    width: 100%;
    margin-top: 27px;
    padding-left: 50px;
    padding-right: 50px;
}

.business_box .content > div {
    padding: 27px 20px 30px;
}

.business_box .content > div > dt {
    font-size: 1.8rem;
    flex-flow: row;
    align-items: center;
}

.business_box .content > div > dt span {
    padding-left: 20px;
    font-size: 1.6rem;
}

.business_box .content > div > dd {
    padding-top: 12px;
}

.business_box .content > div > dd > dl > div > dd > div {
    flex-flow: row;
    gap: 40px;
    padding: 20px 30px;
}

.business_box .content > div > dd > dl > div > dd > div ul > li {
    padding-top: 0;
}


.box.recruit_box > div {
    padding: 0 0 60px;
}

.recruit_box .overview {
    width: 100%;
    flex-flow: row;
    justify-content: space-between;
    gap: 0;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 60px;
}

.recruit_box .overview > .txt {
    padding-right: 0;
    width: 67%;
}

.recruit_box .overview > .txt > h2 {
    font-size: 3.2rem;
}

.recruit_box .overview > .txt > p {
    margin-top: 20px;
}

.recruit_box .overview > .img {
    width: 30%;
    max-width: 320px;
    margin-right: 0px;
}

.recruit_box .content {
    width: 100%;
    margin-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
}

.recruit_box .content > div {
    display: flex;
    align-items: start;
    padding: 30px 20px;
}

.recruit_box .content > div > dt {
    width: 9em;
}

.recruit_box .content > div > dd {
    padding-top: 0;
}

.box.company_box > div {
    padding: 0 0 60px;
}

.company_box .content {
    flex-flow: row;
    width: 100%;
    margin-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 30px;
}

.company_box .content > div {
    width: 100%;
    display: flex;
    align-items: start;
    padding: 30px 20px;
}

.company_box .content > div > dt {
    width: 9em;
	padding-right: 1em;
}

.company_box .content > div > dd {
	width: calc(100% - 9em);
    padding-top: 0;
}

.company_box .content > div > dd > * {
	margin-top: 20px;
}

.company_box .content > div > dd > h1.wp-block-heading {
    font-size: 3rem;
}

.company_box .content > div > dd > .wp-block-heading {
    margin-top: 50px;
}

.company_box .content > div > dd > h2.wp-block-heading {
    font-size: 2.8rem;
}

.company_box .content > div > dd > h3.wp-block-heading {
    font-size: 2.6rem;
}

.company_box .content > div > dd > h4.wp-block-heading {
    font-size: 2.4rem;
}

.company_box .content > div > dd > h5.wp-block-heading {
	font-size: 2.2rem;
}

.company_box .content > div > dd > h6.wp-block-heading {
	font-size: 2rem;
}
	
.company_box .content > div > dd > *:first-child {
    margin-top: 0;
}



.inquiry_box > .content {
    flex-flow: row;
    padding-bottom: 40px;
    gap: 40px;
    margin-top: 60px;
}

.inquiry_box > .content > div {
    border-top: solid 10px #00bb30;
    padding: 25px 30px 25px;
    text-align: center;
	display: flex;
	justify-content: space-between;
	flex-flow: column;
}
.inquiry_box > .content > div::before {
    height: 10px;
}

.inquiry_box > .content > div > dt {
    font-size: 2rem;
}

.inquiry_box > .content > div > dd {
    padding-top: 50px;
}

.inquiry_box > .content > div:first-child > dd {
    padding-top: 37px;
}

.inquiry_box > .content > div:last-child > dd {
    padding-top: 20px;
}

.inquiry_box > .content > div > dd a {
    font-size: 3rem;
}

.inquiry_box > .content > div > dd .font_b {
    font-size: 5rem;
}

.inquiry_box > .content > div > dd p {
    padding-top: 50px;
    font-size: 1.6rem;
}

.inquiry_box > .content > div:first-child > dd p {
    padding-top: 42px;
}

.inquiry_box > .content > div:last-child > dd p {
    padding-top: 25px;
}




.box.news_box > div {
    padding: 0 0 60px;
}

.news_box .content {
    flex-flow: row;
    width: 100%;
    margin-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 30px;
}

.news_box .content > * {
    width: 100%;
    display: flex;
    align-items: start;
    padding: 30px 20px;
}

.news_box .content > * > span:first-of-type {
    width: 9em;
}

.news_box .content > * > span:last-of-type {
    padding-top: 0;
}


.box.news_detail_box > div {
    padding: 0 0 60px;
}

.news_detail_box .content {
    flex-flow: row;
    width: 100%;
    margin-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 60px;
}

.news_detail_box .content h2 {
    font-size: 2.4rem;
}

.news_detail_box .content .txt {
    padding-top: 50px;
}

.news_detail_box .content .txt > * {
	margin-top: 20px;
}

.news_detail_box .content .txt > h1.wp-block-heading {
    font-size: 3rem;
}

.news_detail_box .content .txt > .wp-block-heading {
    margin-top: 50px;
}

.news_detail_box .content .txt > h2.wp-block-heading {
    font-size: 2.8rem;
}

.news_detail_box .content .txt > h3.wp-block-heading {
    font-size: 2.6rem;
}

.news_detail_box .content .txt > h4.wp-block-heading {
    font-size: 2.4rem;
}

.news_detail_box .content .txt > h5.wp-block-heading {
	font-size: 2.2rem;
}

.news_detail_box .content .txt > h6.wp-block-heading {
	font-size: 2rem;
}
	
.news_detail_box .content .txt > *:first-child {
    margin-top: 0;
}


.wp-block-file__button , .wp-block-button__link {
    font-size: clamp(1.4rem, 1.5vw, 1.8rem);
    height: 60px;
	width: 340px !important;
}
.wp-block-file__button {
	margin-top: 10px;
}
.wp-block-file__button::after , .wp-block-button__link::after {
	right: 20px;
    width: 30px;
}

.wp-block-file__button:hover , .wp-block-button__link:hover {
    opacity: 0.8;
}

.news_detail_box .content .day {
    padding-top: 8px;
}

.wp-block-buttons {
	gap: 15px 40px;
}

#pagetop {
	margin-top: -82px;
}

#pagetop img {
    width: 128px;
}

#pagetop a:hover {
	opacity: 0.8;
}


}


@media only screen and (min-width:980px) {


header > div #logo {
    width: 396px;
	max-width: 396px;
}

footer #footer_menu nav > div > ul {
    gap: 40px;
}

}



@media only screen and (min-width:1200px) {

header > div #menu #menu_bb > div > ul {
    gap: 50px;
}
#top #mainp > div:first-of-type .img {
    left: min(-3vw, calc((100vw - 1200px) / -2));
}

#top #mainp > div:last-of-type .img {
    right: min(-3vw, calc((100vw - 1200px) / -2));
}


}




/***********************************************/
@media only screen and (min-width:1351px) {

#top #mainp > div:first-of-type .img {
    left: -68px;
}

#top #mainp > div:last-of-type .img {
    right: -68px;
}

}