@charset "UTF-8";


/* 背景写真 */
.wrapper
 {
	background-image: url(../images/main.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	position: relative;
}

/* Wrapper background position for medium screens */
@media screen and (max-width: 1015px) {
	.wrapper {
		background-position: right top;
	}
}

@media (max-width: 767px) {

  .wrapper {
		background-position: right top;
	}
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }

  .feature-box h3 {
    font-size: 1.6rem !important;
    text-align: center;
	font-weight: bold;
  }

  .feature-box p {
    font-size: 1.3rem !important;
    text-align: center;
    padding: 0 8px 12px;
  }

  .img-wrap { 
	position: relative; 
  }
  .img-wrap img { 
	display:block; width:100%; height:auto; 
  }
  .img-wrap .img-text {
    position: absolute;            
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;             
    padding: 10px;
    text-align: center;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    overflow-wrap: anywhere; word-break: break-word;
  }
  
}

#machinery_mortam24 {
	background-image: url("../../items/images/main.jpg") !important;
}


p {
	margin-bottom: 15px;
}

h5 {
	padding-left: 25px;
	font-weight: bold;
	background: url("/common/images/icon_maru.gif") 0 11px no-repeat;
	color: #336500;
	margin-bottom: 15px;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 13px;
	line-height: 1.5em;
	padding-top: 10px;
}
h3 {
	padding-top: 25px;
	clear: both;
}
.p_none {
	margin-bottom: 0px;
}
.h3_none {
	padding-top: 0px;
}
table {
	margin-bottom: 30px;
	font-family: "Noto Sans JP", sans-serif;
}
th {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 12px;
	text-align: center;
	padding-top: 5px;
}
.boxclear {
	clear: both;
}
.jamesway_table {
	clear: both;
	margin-bottom: 10px;
}
.jamesway_table th {
	font-weight: bold;
	background-color: #F3F2EC;
	padding-bottom: 5px;
}
.jamesway_table td {
	font-size: 12px;
	padding: 5px;
	text-align: center;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
}



/* ミルキングシステム */
.milkingsys_box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 0 30px;
	padding-bottom: 10px;
	width: 100%;
}
.milkingsys_box_right {
	width: 59%;
}
.icon_ul_milkingsys {
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #E8E6D9;
	margin-bottom: 10px;
}
.icon_ul_milkingsys li {
	background-image: url(../../common/images/icon_maru.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 25px;
	padding-bottom: 10px;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #E8E6D9;
	padding-top: 10px;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 12px;
}
.photo_left {
	width: 38%;
}
.photo_left li {
	margin-bottom: 10px;
}
.milkingsys_h3_box {
	margin-bottom: 40px;
	padding: 10px;
	border: 10px solid #E8E6D9;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.milkingsys_h3_box_left {
	width: 40%;
}
.milkingsys_h3_box_right {
	width: 60%;
	padding: 0 0 0 15px;
}
.milkingsys_h3_box .milkingsys_h3_box_right h3 {
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
}
.h3_milkingsy {
	width: 400px;
}

#machinery_cooler .milkingsys_h5 ,
#machinery_milkingsys .milkingsys_h5 {
	padding-left: 0px;
	background-image: none;
	font-size:15px !important; 
	font-family: "Noto Sans JP", sans-serif;
}
.milkingsys_h5_none {
	padding-top: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
}
.margin10 {
	margin-bottom: 10px;
}
.font_small {
	line-height: 1.8em;
}
img[src="images/plus.jpg"] {
	width: 10% !important;
	display: inline-block;
}


/* カウコンフォート */
.h2_cowcomfortzone_margin {
	padding-top: 70px;
}

.cowcomfortzone_table {
	clear: both;
	margin-bottom: 10px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCCCCC;
}
.cowcomfortzone_table th {
	font-weight: bold;
	background-color: #F3F2EC;
	padding-bottom: 5px;
	padding-right: 5px;
	padding-left: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
}
.cowcomfortzone_table td {
	font-size: 12px;
	padding: 5px;
	text-align: left;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
	line-height: 1.8em;
}
.machine_ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}
.machine_ul li {
	padding-top: 10px;
	padding-bottom: 10px;
	margin: 0 15px;
	width: calc((100% - 61px) / 2 );
	height: auto !important;
	line-height: 2em;
}
.machine_ul img {
	margin-bottom: 10px;
}
/* kifco */
.new_arrivals {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: bold;
	color: #35681A;
	background-color: #FC0;
	margin-right: 5px;
	padding-top: 1px;
	padding-right: 5px;
	padding-bottom: 1px;
	padding-left: 5px;
}

/* .cowcomfortzone-box */
.cowcomfortzone-box {
	display: flex;
	justify-content: space-between;
}

.cowcomfortzone-box .cowcomfortzone-box__img {
	width: 35%;
}

.cowcomfortzone-box .cowcomfortzone-box__txt {
	width: 62%;
}

.cowcomfortzone-box .cowcomfortzone-box__txt h5 {
	padding: 0 !important;
}


/* .cowcomfortzone-other */
.cowcomfortzone-other {
	display: flex;
	margin: 0 -2px;
}

.cowcomfortzone-other .cowcomfortzone-other__inner {
	width: calc((100% - 7px) / 3 );
	margin: 0 2px;
}


/* .parlor-box */
.parlor-box {
	display: flex;
	justify-content: space-between;
}

.parlor-box .parlor-box__left {
	width: 50%;
	margin-right: 10px; 
}

#machinery_milkingsys .parlor-box .parlor-box__left {
	width: 35%;
	margin-right: 15px; 
}

#machinery_cooler .parlor-box .parlor-box__left {
	width: 30%;
	margin-right: 15px; 
}

.parlor-box .parlor-box__right {
	width: 50%;
	margin-left: 10px; 
}

#machinery_milkingsys .parlor-box .parlor-box__right {
	width: 65%;
	margin-left: 15px; 
}

#machinery_cooler .parlor-box .parlor-box__right {
	width: 70%;
	margin-left: 15px; 
}


/* #machinery_tmrmixer */
.tmrmixer-logo {
	max-width: 30%;
	display: block;
	margin: 0 auto;
}

#machinery_tmrmixer .milkingsys_box {
	display: block;
	border-width:8px;
	border-color:#336619; 
	border-style:solid; 
	text-align:center;
	border-radius:25px;
	padding: 15px;
	margin: 0 0 60px;
	width: auto !important;
}

#machinery_tmrmixer table {
	box-sizing: border-box;
	width: 100%;
	table-layout: fixed;
}


/* #machinery_kifco */
#machinery_kifco table td {
	padding: 0;
	margin: 0;
	width: 50%;
	vertical-align: top;
}

#machinery_kifco table td a {
	display: block;
	width: 100%;
}

#machinery_kifco img[src="../../cow/semex/image/reader_logo.gif"] {
	width: 10% !important;
	height: auto !important;
	margin: 0 5px 0 0;
}

#machinery_kifco .kifco-ttl ,
#machinery_mortam24 .mortam-ttl {
	display: flex;
	margin: 0 0 20px;
	padding: 10px 0 0 !important;
}

#machinery_kifco .new_arrivals ,
#machinery_mortam24 .new_arrivals {
	width: 60px;
	max-width: 60px;
	max-height: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 15px 0 0;
	padding: 0 10px;
}

#machinery_kifco .kifco-ttl__txt ,
#machinery_mortam24 .mortam-ttl__txt {
	line-height: 1.6;
	color: #336600;
	font-weight: bold;
	font-size: 18px;
	margin: 0;
}


/* #machinery_mortam24 */
#machinery_mortam24 .mortam24-box {
	display: flex;
	justify-content: space-between;
}

#machinery_mortam24 .mortam24-box .mortam24-box__img {
	width: 40%;
}

#machinery_mortam24 .mortam24-box .mortam24-box__txt {
	width: 60%;
	padding: 0 0 0 20px;
}

#machinery_mortam24 .mortam24-img {
	display: flex;
	margin: 20px 0 30px;
}

#machinery_mortam24 table .new_arrivals {
	max-width: 50px;
	font-size: 20px;
	color: #ff0000;
}

#machinery_mortam24 .img-app {
	display: block;
	width: 80%;
}

#machinery_mortam24 .list {
	font-size: 14px;
	margin: 0 0 20px;
}

#machinery_mortam24 .column {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

#machinery_mortam24 .column a {
	display: block;
}


#machinery_smart_dairy_sd .iframe {
	padding-bottom: 87.71% !important;
	margin: 20px 0;
}
#machinery_smart_dairy_sd .iframe object,
#machinery_smart_dairy_sd .iframe embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
}

/* #machinery_ai_et */
#machinery_ai_et h4 {
	font-family: "Noto Sans JP", sans-serif;
	margin-top: 20px !important;
	display: block !important;
	font-weight: bold !important;
}
#machinery_ai_et h3 {
	margin-top: 20px !important;
	padding-top: 10px !important;
	padding-bottom: 0px !important;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: bold;
	color: #000 !important;
	border-width : 0px 0px 1px 0px;
	border-style : solid;
	border-color: #CCC;
}
#machinery_ai_et p.catalog_name {
	padding-top: 15px;
	line-height: 21px;
	color: #F00;
	margin-bottom: 0px;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	font-size: 16px;
	margin: 0 0 15px;
}
#machinery_ai_etp.w_catalog a {
	text-decoration: none !important;
	padding-left: 5px !important;
}
#machinery_ai_et p.w_catalog a:hover {
	color: #ffad3b;
}
#machinery_ai_et p.toiawase {
	line-height: 1;
	margin: 20px 0 0;
}
#machinery_ai_et p.toiawase a {
	color: #FFF;
	text-decoration: none !important;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: bold;
	background: url(/common/images/yajirushi_white.png) 15px center no-repeat #FF6633;
	max-width: 260px;
	display: block;
	padding-top: 7px;
	padding-bottom: 7px;
	padding-left: 30px;
	padding-right: 15px;
}
#machinery_ai_et table th {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500 !important;
	font-size: 15px;
	vertical-align: center;
	padding-bottom: 8px !important;
	padding-top: 8px !important;
}
#machinery_ai_et table p {
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.5em !important;
	font-weight: 500 !important;
	margin-bottom: 5px !important;
}
#machinery_ai_et table td.yokosp {
	padding-left: 5px !important;
}
#machinery_ai_et table td img {
	padding-bottom: 5px !important;
	width: auto !important;
}
#machinery_ai_et table tr.title {
	background: #FFCC33 !important;
}
#machinery_ai_et table tr.sh1 {
}
#machinery_ai_et table tr.title td {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500 !important;
	font-size: 15px;
	vertical-align: center !important;
	text-align: center !important;
	padding-bottom: 8px !important;
	padding-top: 8px !important;
	bgcolor: #fff19a !important;
	background: #fff19a !important;
}

#machinery_ai_et .catalog-box {
	display: flex;
	justify-content: space-between;
}

#machinery_ai_et img[src="images/icon_book.svg"] {
	width: 8% !important;
	margin: 0 15px 0 0;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.feature-box {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.feature-box img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-box h3 {
  margin: 16px 0 8px;
  font-size: 1.1rem;
  text-align: center;
}

.feature-box p {
  padding: 0 16px 16px;
  font-size: 0.95rem;
  text-align: left;
}

.img-wrap {
    position: relative;          /* key: creates the positioning context */
    max-width: 1100px;            /* optional: control the block width */
    margin: 0 auto;              /* optional: center the block on the page */
 }
.img-wrap .img {
    display: block;              /* removes gaps below images */
    width: 100%;                 /* responsive */
    height: auto;
}
.img-wrap .img-text {
    position: absolute;          /* float on top of the image */
    top: 20%;                    
    left: 45%;                   
    transform: translate(-60%, -70%);
    z-index: 1;                  /* make sure it's above the image */
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 12px 14px;
    text-align: left;
    text-shadow: 2px 2px 6px rgba(0,0,0,.65);   /* readability on bright photos */
    background: rgb(14 13 13 / 50%);                /* optional subtle pill */
    border-radius: 0px;                        /* optional */
	white-space: nowrap;
}

.embed-container {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container embed {
     position: absolute; top: 0; left: 0; width: 100%; height: 100%;
 }