@charset "utf-8";


/*  圆柱型和盘式磁力联轴器ページ
---------------------------------------------------------------------------*/

.imai2{
	margin-top:0;
}

@media (max-width: 1050px) {
.tomm {
	margin-top: 15px;
}
.mag-text{
	margin-top: 25px;
}
}

/*  3種ぶら下がりリニューアル
---------------------------------------------------------------------------*/

.joto {
	margin: 0;
	padding: 10px 0 0 10px;
	font-size: 1.25rem;
}
.magnetic-wrapper2 {
  display: flex;
  gap: 0px;
  align-items: flex-start;
  margin-top: 25px;
}

.magnetic-image2 {
  width: 300px;
  height: auto;
  flex-shrink: 0;
}

.cosesm {
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
}

.cosesm2 {
  margin-top: 10px;
}

#opaco:hover {
	opacity: 0.55; 
}

#pdf56 {
	font-size: 1.25rem;
	margin: 5px 0 0 0;
	padding: 0 0 10px 10px;
}
#pdf56:hover {
	opacity: 0.5;
}

@media (max-width: 799px) {

.magnetic-wrapper2 {
    flex-direction: column;
	align-items: center;
}
  
.magnetic-image2 {
    max-width: 100%;
	margin: 0 auto;
}
.cosesm {
  padding-top: 10px;
}
.cosesm2 {
  padding-top: 8px;
}

.joto {
  padding-left: 0;
}

#pdf56 {
	padding-left: 0px;
}
 
}




/* 比較
---------------------------------------------------------------------------*/


.comparison-table-wrap {
	margin-top: 25px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 7px 10px;
    border: 1px solid #ccc;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.comparison-table th {
    font-weight: bold;
    text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 18%;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
    width: 41%;
}

@media (max-width: 800px) {
    .comparison-table {
        width: 800px;
    }
}




/*  
---------------------------------------------------------------------------*/



.kyuan {
	margin: 30px 0 30px 0;
}
.faqs {
	margin-bottom: 20px;
	margin-top: 50px;
}


.shiman{
	margin-top: 0;
}

.feature-link{
  position:relative;
  color:#2f4f6f;
  text-decoration:none;
}

.feature-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;

  width:100%;
  height:3px;

  background-image:
    radial-gradient(circle, rgba(0,0,0,.75) 1.2px, transparent 1.2px);

  background-size:6px 3px;
  background-repeat:repeat-x;

  animation:dotsMove 4.0s linear infinite;

  transition:
    background-image .2s ease;
}

.feature-link:hover{
  color:#0b5cab;
}

.feature-link:hover::after{
  background-image:
    radial-gradient(circle, #0b5cab 1.2px, transparent 1.2px);
}

@keyframes dotsMove{
  from{
    background-position:0 0;
  }
  to{
    background-position:10px 0;
  }
}

.h3desu{
	margin-top: 10px;
}

.deka {
	font-size: 1.35rem;
}


.magbe2-container {
	display: flex;
    flex-wrap: nowrap; /* 500pxまでは絶対改行しない */
    gap: 18px;          /* 画像間の余白 */
    margin: 10px 0 10px 0;
    /* justify-content: center; 縦並び時の中央寄せ用 */
}
.magbe2 {
	flex: 1;           /* 500px以上では均等に縮小 */
    min-width: 0;      /* 縮小を許可 */
    max-width: 1050px;  /* 1050px以上にはならない */
    height: auto;
    object-fit: contain;
	padding: 5px 0 2px 0;
}
.magbe-container {
	display: flex;
    flex-wrap: nowrap; /* 500pxまでは絶対改行しない */
    gap: 18px;          /* 画像間の余白 */
    margin-bottom: 25px;
    /* justify-content: center; 縦並び時の中央寄せ用 */
}
.magbe {
	flex: 1;           /* 500px以上では均等に縮小 */
    min-width: 0;      /* 縮小を許可 */
    max-width: 350px;  /* 350px以上にはならない */
    height: auto;
    object-fit: contain;
	padding: 5px 0 2px 0;
}

.tataki {
	margin-left: 30px;
	margin-bottom: 20px;
	font-size: 1.30rem;
	font-weight: 450;
}

.media-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.media-block img {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}
/* テキスト */
.media-block p {
  margin: 0;
}
#select:hover {
	opacity: 1;
}
.magbe-video {
    flex: 1;
    min-width: 0;
    max-width: 350px;  /* 動画だけ350px */
    height: auto;
    object-fit: contain;
    padding: 5px 0 2px 0;
}
.video-row {
    gap: 18px;  /* ←ここで隙間を調整（8px → 16pxなど） */
}
.conta {
	font-size: 1.1rem;
}
.conta:hover{
	opacity: 0.5;
}
.image-row {
  display: flex;
  gap: 15px;
}

.image-item img {
  display: block;
}

.image-item p {
  margin: 3px 0 0 0;
}
h2 {
	margin: 60px 0 15px 0;
	font-size: 1.6rem;
}
.couph2 {
	margin: 30px 0 15px 0;
}
h3 {
	margin: 30px 0 10px 0;
}
.reqpri {
	display: none;
}
.appli {
	list-style-type: disc;
}
.material {
	text-decoration: underline;
}
.bb {
	width: 100%;
	overflow: hidden;
	margin-top: 40px;
}
.tube {
	float: left;
	width: 60%;
}
.rrbox {
	float: left;
	width: 38%;
	padding-left: 2%;
}
footer {
	background-color: #0d62b2;
	padding: 10px;
}
.fmenu {
	text-align: center;
	display: flex;
	justify-content: center;
	margin: 5px 0 0 0;
}
.fmenu li{
	border-left: 1px white solid;
}
.fmenu li:last-child {
	border-right: 1px white solid;
}
.fmenu li a {
	padding: 0 10px;
	color: #fff;
	display: block;
}
.fmenu li a:hover {
	text-decoration: underline;
}
footer p {
	color: #fff;
	text-align: center;
	letter-spacing: 1px;
	line-height: 1.4;
}
.calc {
	background: #dcdcdc;
	padding: 5px 10px;
	border-radius: 5px;
}
.imgtop {
	padding-top:15px;
}
.title {
	font-size: 1.2rem;
	margin-top: 30px;
}
.fs {
	font-size: 0.8rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  border-collapse: collapse;
  width: max-content;
  min-width: 1100px; /* ←重要 */
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  border: 1px solid #444;
  padding: 6px 6px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.spec-table thead th {
  background: #eee;
}

@media (max-width: 768px) {
  .spec-table {
    font-size: 12px;
    min-width: 720px;
  }
}


@media (max-width : 800px){

.reqpri {
	display: block;
}
.term {
	width: 100%;
}
.couph2 {
	margin-top: 0px;
}

}




/* スマホ対応（縦並びにする） */
@media (max-width: 700px) {
  .media-block {
    flex-direction: column;
	gap: 5px; /* ←ここを小さくする */
  }

  .media-block img {
    width: 100%;
    max-width: 200px; /* 好みで調整 */
  }
}
@media screen and (max-width:640px){
.wc {
	display: flex;
	justify-content: center;
}
.fmenu {
	flex-flow: column;
	display:table-cell;
	vertical-align:top;
}
.fmenu li {
	border: none;
}
.fmenu li:last-child {
	border: none;
}
.fmenu li a {
	text-align: left;
	padding: 3px 10px 0 10px;
	text-decoration: underline;
}
}
@media screen and (max-width: 500px) {
	.magbe-video {
        flex: none;
        width: 300px;
        max-width: 90%;
        margin-bottom: 10px;
    }
}
@media screen and (max-width:360px){
.fmenu li a {
	font-size: 0.93rem;
}
}

.mag-wrap {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 30px;
}

.mag-img {
  flex: 0 0 600px;
}

.mag-img img {
  width: 100%;
  height: auto;
  display: block;
}

.mag-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

@media (max-width: 1050px) {
  .mag-wrap {
    flex-direction: column;
	gap: 0px;
	margin-top: 25px;
  }

 .mag-img {
    flex: none;       /* ←これが重要（リセット） */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .mag-img img {
    max-width: 600px;
    width: 100%;
    height: auto;
  }
    .mag-text p {
    margin-top: 20px;
  }
  
  .h3desu{
	margin-top: 25px;
}


}


@media screen and (max-width: 500px) {
    .magbe-container {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;    /* 中央寄せ */
		margin-bottom: 15px;
		
    }
    .magbe {
        flex: none;             /* 自動縮小・拡大を解除 */
        width: 300px;           /* 幅を300pxに固定 */
        max-width: 90%;         /* スマホの超小画面（300px以下）でのはみ出し防止 */
        margin-right: 0;
        margin-bottom: 10px;    /* 縦並び時の画像間の隙間 */
    }
	.magbe-video {
        flex: none;
        width: 300px;
        max-width: 90%;
        margin-bottom: 10px;
    }
	 .magbe2-container {
        flex-direction: column; /* 縦並びに変更 */
        align-items: center;    /* 中央寄せ */
    }
    .magbe2 {
        flex: none;             /* 自動縮小・拡大を解除 */
        width: 450px;           /* 幅を450pxに固定 */
        max-width: 90%;         /* スマホの超小画面（300px以下）でのはみ出し防止 */
        margin-right: 0;
        margin-bottom: 10px;    /* 縦並び時の画像間の隙間 */
    }
}

@media (max-width: 454px) {
.tataki {
	margin-left: 30px;
	margin-bottom: 20px;
	font-size: 1.25rem;
}
}


/* イラスト集 */

.illu {
	margin: 45px 0 3px 0; 
	padding: 0;
}

.magnetic-wrapper {
  display: flex;
  gap: 0px;
  align-items: flex-start;
}

.magnetic-image {
  width: 450px;
  height: auto;
  flex-shrink: 0;
}

.magnetic-text {
  flex: 1;
}

.magnetic-text p{
  padding-left: 10px;
}


/* 800px未満で縦並び */
@media (max-width: 799px) {
  .magnetic-wrapper {
    flex-direction: column;
  }

  .magnetic-image {
    width: 100%;
    max-width: 450px;
  }
  
  .magnetic-text p {
	margin-top: 0;
	padding-left: 0;
	}
  .illu {
	margin-top: 20px;	
	}
	
	  .double-image {
    width: 100%;
    max-width: 450px;
  }

  .double-image .magnetic-image {
    width: 100%;
    height: auto;
    display: block;
  }
	
}

.double-image {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 450px;
  max-width: 100%;
}

.double-image .magnetic-image {
  width: 100%;
  height: auto;
}


/* マグネットカップリングとは？ */
.coupling-container {
    display: flex;
    gap: 20px;
    flex-direction: row;
    /* 念のため親要素からはみ出さないように設定 */
    width: 100%;
    box-sizing: border-box;
}

.coupling-container img {
    /* 修正：幅を可変にし、縮小を許可する */
    width: 100%;
    /* 350px以上にはならないが、それ以下になっても縮小するようにする */
    max-width: 350px; 
    height: auto;
    /* 重要：画像が強制的に縮小できるようにする */
    flex: 1;
    min-width: 0; 
    object-fit: contain;
}

/* 画面幅が500px未満の時だけ縦並びに変更 */
@media (max-width: 500px) {
    .coupling-container {
        flex-direction: column;
        align-items: center;
    }
    .coupling-container img {
        /* 縦並び時は幅を制限しすぎないように調整 */
        max-width: 100%;
    }
}


