@charset "UTF-8";

/* -----------------------------------------------
 1366px
-------------------------------------------------- */

@media screen and (max-width: 1600px) {

}

/* -----------------------------------------------
 1200px
-------------------------------------------------- */

@media screen and (max-width: 1200px) {
#cover .cover_ttl h1 {
  font-size: 4em;
}
.container_top {
  width:1000px;
}
/* 中央寄せコンテナ */
.container_ve {
  max-width: 1000px;
}    

#eventa li .date {
	width: 25%;
}
#eventa li .title {
	width: 75%;
}
.container_pr {
    width: 100%;
    margin: 0 ;
   gap: 2em;
  }
/* 見出し部分 */
.vertical-text h3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.4rem;
  letter-spacing: 6px;    
  line-height: 1.8;
  margin-right: 0;
}
.vtext-body {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  line-height: 2.6;
  color: #333;
  text-align: justify;
   word-break: break-all;    /* ← 改行を許可 */
  overflow-wrap: break-word; /* ← 長い語も折り返し */    
  white-space: normal;
  margin: 0; 
  z-index: 3;    
}
.product h3 {
  font-size: 3em;
}
.product p {
  left: 40px;
  top: 60px;
}
  .view-more_pr {
    margin-top: 1.5em;
    text-align: left;
  }    
    
}
/* -----------------------------------------------
1024px
-------------------------------------------------- */

@media screen and (max-width: 1024px) {
  #cover .slider img {
    
    margin: 0px auto 0;
  }
#cover #cover01{
    position: absolute;
	width: 100%;
	top:1%;
	right: -2%;
    z-index: 1;
}
#cover #cover02 {
display: none;
}
#cover #cover03{
    display: none;
}

#cover #cover04{
    position: absolute;
	width: 30%;
	top:50%;
	right: -7%;
    z-index: 2;
    overflow: hidden;
}

#cover #cover05{
     position: absolute;
	width: 34%;
	top:0%;
	left: -7%;
    z-index: 2;
    overflow: hidden;
}    
}
/* -----------------------------------------------
 991px
-------------------------------------------------- */
@media screen and (max-width: 991px) {


.pc { display: none !important; }
.sp { display: block !important; }
#cover {
  height: 80vh;
}
#cover .cover_ttl {
  bottom: 2%;
  left: 5%;    
}
#cover .cover_ttl p.sn {
  font-size: 1.5em;
  letter-spacing: 5px;
  margin-bottom: 0.75em;
}
#cover .cover_ttl h1 {
  font-size: 2.75em;
  line-height: 2;
  margin-bottom: 10px;
}
#cover .cover_ttl h2 {
  font-size: 1.75em;
letter-spacing: 0.115em;
  margin-bottom: 1em;
}

#cover2 .cover_ttl {
  top: 55%;
}
#cover3 h1 {
  font-size: 2.9em;
}
#eventa  {
	width: 90%;
	margin-bottom: 4em;
}
#eventa li .date {
	width: 30%;
}
#eventa li .title {
	width: 70%;
}


 .container_top {
    width: 100%;
    margin: 2em auto;
  }

  .tategaki {
    writing-mode: horizontal-tb !important; /* 横書きに戻す */
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    margin: 0 0 1em 4%;
  }

  .tategaki h3 {
    color: #0066ff;
    font-family: "Sansation", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
   position: absolute;
   text-align: left; 
   top:0px; 
    
  }

  /* Topics と view more を横並び */
  .topics-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* 「メーカーからのお知らせ」は下に配置 */
  .tategaki p {
    font-size: 0.9em;
    color: #333;
    font-weight: 700;
    margin-top: 0em;
    position: absolute;
    top: 180%;  
    margin: 0 0 30px;
  }
.tategaki h3 img {
  display: none;   
}
  /* view more は右上に */
  a.view-more {
    font-size: 1em;
    margin: 0;
    position: absolute; 
    right: 10%;
    bottom:0  
  }
  /* Topicsとview moreの親要素にpositionを持たせる */
  .container_top {
    position: relative;
      
  }

.relative_contents img{
width: 90%;
}
.button_w,
.button_n{
  font-size: 15px;
  padding: 10px 0 10px 10px; /* 上下の余白、左右の余白 */
}
.button_w::after, .button_n::after {
  top: -16px;
  right:-10px;
  transform: scale(0.4);
}

.button_wb {
  font-size: 15px;
  padding: 10px 10px 10px 10px; /* 上下の余白、左右の余白 */
}
.button_wb::after {
  top: -16px;
  right:-10px;
  transform: scale(0.4);
}
#access .container{
padding-top: 2em!important;
}
#top_list{
    padding: 30px !important;
}
 #icon01{
   width: 35%;
    top:-10%; 
	left: 1%;
    z-index: 1;
   
}
#icon02 {
   display: none;
    
}
#icon03{
    position: absolute;
	width: 20%;
	bottom:-8%;
	right: 0%;
    z-index: 2;
 
}
.bg_product {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 55%;
  height: 200px;
  border-radius: 0 40px 40px 40px;
  background-repeat: no-repeat!important;
  background: url("../images/bg_product.png");
  background-position: top left;
z-index: -10;
}
#pro .col-lg-6:first-child{
margin-bottom: 100px;
}

  .view-more_pr {
    margin-top: 1.5em;
    text-align: left;
  }
    .container_sr{
         display: none;
     }     
.rview-more {
  
  padding: 1.5em 3em;

  width: 350px;
}
.rview-more span {
  font-size: 1.3rem;
  
    
}  
.bg_03 {
 padding: 1em 20px 8em;

}     
.bg_03 img[src$="index.png"] {
    display: block;
    
  }    
}

/* -----------------------------------------------
 768px/tablet
-------------------------------------------------- */

 @media screen and (max-width: 768px) {
body { padding-bottom: 0px; }
.pc_br {
       display: none;
    }
.br-sp{
        display: block;
}
  #cover .slider img {
  
    margin: 0 auto 0;
  }
#cover .cover_ttl {
width: 80%;
bottom: 5%;
}
#cover .cover_ttl p.sn {
  font-size: 1.5em;
  letter-spacing: 5px;
  margin-bottom: 0.75em;
}
#cover .cover_ttl h1 {
  font-size: 3em;
  line-height: 1.7;
  top:0em;
}
#cover .cover_ttl h2 {
  font-size: 2.1em;
  line-height: 1.2;
letter-spacing: 0.115em;
  margin-bottom: 1em;
}
#cover .cover_ttl p{
font-size: 14px;
}
 #cover #cover01{
    position: absolute;
	width: 100%;
	

}
#cover #cover02 {
    position: absolute;
	width: 100%;
	top:12%;
	right: 30%;
    z-index: 0;
    overflow: hidden;
}
#cover #cover03{
    display: none;
}

#cover #cover04{
    display: none;
}
.button_yt {
width: 90%;
font-size: 14px;
}
#eventa  {
	margin-bottom: 6em;
}
.no_br br{display: none;}

.relative_contents {
  width: 90%;
  top: -3em;
}
.relative_contents img{
width: 70%;
}

#news .container{
padding-bottom: 0;
}

#cover2{
    height: 350px;
}
#cover2 .cover_ttl {
  top: 55%;
}
#cover2 h1 {
  position: absolute;
  color: #fff;
  font-size: 2.5em;
  top: 45%;
}
#cover3{
    height: 370px;
}
#cover3 .cover_ttl {
  top: 55%;
}
#cover3 h1 {
  position: absolute;
  color: #fff;
  font-size: 2.75em;
  text-align: left;
  line-height: 1;
}
#cover3 h1 span {
padding-left: 4px;
}
.sp_container .container{
padding: 3em 0!important;/* スマホのときの上下の余白 */
}
.border_r{
    border-right: none;
}
#h_column {
  display: block;
}
#h_column .lab,
#h_column .jin{
  width: 100%;
  padding: 6% 5% 4% 5%;
}
#h_column .lab h3 a, #h_column .jin h3 a {
  background-size: 24px 24px;
}
#eventa li .date,
           .title,
		   .data {
	float: none;
}
#eventa li .date {
	width: 100%;
    margin-bottom: 0.5em
}
#eventa li .title {
	width: 100%;
	margin-bottom: 0.5em
}
.container-fluid_mb{
margin-bottom: 10px;
}

    .container_ve {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 1rem 0 4rem;
    position: relative;
  }

  /* --- 見出し（縦書き維持） --- */
  .vertical-text {
    order: 1; /* タイトルを先に表示 */
    display: flex;
    justify-content: center;
  }

  .vertical-text h3 {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin: -3em auto 0em;
  }

  /* --- 本文（縦書き） --- */
  .vtext-body {
    order: 2;
    writing-mode: horizontal-tb;
    text-orientation: upright;
    font-size: 0.95rem;
    line-height: 3;
    color: #111;
    text-align: justify;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .vtext-body p {
    margin-bottom: 2.5em;
    text-align: center;  
  }

  .vtext-body .highlight {
    background: #0066ff;
    color: #fff;
    padding: 0.2em 0.4em;
    border-radius: 2px;
  }

  /* --- view more --- */

  a.view-more_tate {
    display: none !important;
  }

  /* --- アイコン調整 --- */
  #icon01 {
    position: relative;
    width: 35%;
    top: -10%;
    left: 0%;
  }
  #icon02 {
    display: none;
  }
#icon03{
    position: absolute;
	width: 20%;
	top:40%;
	right: 0%;
    z-index: 2;
}
  /* 背景 */
  .bg_02 {
    padding: 0 0 0rem;
    background-size: cover;
    background-position: center;
  }

 .recruit-section {
  width: 100%;             
  margin: 0 auto -50px;          
  border-radius: 0;     

}
.recruit-inner h2 {

  font-size: 1.8rem;
  margin-bottom: 1.5em;
}  
     
.recruit-inner h2 span {
  font-size: 3rem;
  
}
 .recruit-inner .subtitle {
margin-bottom: 3em;
  
}    
.recruit-inner .description {
 font-size: 1.1rem;
 padding: 0 50px;    
}  
 .recruit-items {
    animation-duration: 30s; /* 半分の速さ → 体感かなり速い */
  }     
/* 丸アイコン群 */
.recruit-items {

  justify-content: center; /* 中央寄せ */
  align-items: flex-start;
  gap: 1;                /* 各アイコン間の間隔 */
  padding: 0 0;
  
}
    
     
.news-title  h3{
  text-align: left;
   font-family: "Sansation", sans-serif;
  font-size: 2.8em;
  font-weight: 700;
  color: #1a1a1a;
 margin-left: 40px;
}
.news-title p {
margin-left: 30px;
   
}
.news-title p img{
margin:5px 12px;
     
}    
  .job-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .job-card {
    flex: 1 1 100%;
    padding: 24px;
  }

  .job-card h3 {
    font-size: 1.2rem;
  }     
}

/* -----------------------------------------------
smartPhone
-------------------------------------------------- */

 @media screen and (max-width: 576px) {
html, body, div, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	font-size : 14px;
}
body { line-height: 1.5;}
/*---cover---*/
.container{
padding-left: 3%;
padding-right: 3%;
}
#cover {
height: 38vh;
}
#cover .cover_ttl {
width: 100%;
  top: 150px;
}
 #cover #cover01{
    position: absolute;
	width: 128%;
    left: -4%;  
	top:10%;
}
#cover #cover05{
top:2%;
	left: -7%;
}
#cover .cover_ttl p.sn {
  font-size: 1.25em;
  letter-spacing: 2px;
 
}
#cover .cover_ttl h1 {
  font-size: 2.9em;
  line-height: 1.2;
  
}
#cover .cover_ttl h2 {
  font-size: 1.75em;
letter-spacing: 0.115em;
  margin-bottom: 1em;
}
#cover .cover_ttl p{
font-size: 14px;
line-height: 1.8;
}
#cover .cover_ttl h1.line02{
 width: 8em;
}
.button_yt {
width: 90%;
font-size: 14px;
}
.container p{font-size: 14px;}
.row p{font-size: 14px;}

/*斜めグレー*/
.container_bg {
width: 100%;
  clip-path: polygon(0 0, 100% 0, 40% 100%, 0% 100%);
}
.container_top {
    margin: 1em auto 0;
	padding-top: 3em;
	padding-bottom: 0;
  }


h1{ font-size:28px; font-size:1.75rem;}
h2{font-size:24px; font-size:1.5rem;}
h3{ font-size:22px; font-size:1.35rem;}
h4 ,h5 { font-size:18px; font-size:1.125rem;}
p.fs24{font-size: 120%}
p.fs20{font-size: 110%}
h3.h3_link {
  font-size: 1.65em;
}
.button_n,
.button_w,
.button_wb,
.button_wb40 {
  font-size: 14px;
}
.ptb40 {
  padding: 30px 0 0 0 !important;
}
#logos img.large,
#logos img.large2,
#logos img.medium,
#logos img.medium2,
#logos img.medium3,
#logos img.small2{
    width: 100%;
}
p.right {
  width: 100%;
  background: #fff;
  margin-left: auto;
}
#eventa li .date.new {
  background-position: 70px center;
}
#cover2{
    height: 280px;
}
.breadcrumbs {
	text-align: left;
    margin-top: 110px;
    padding-left:1em;
}
.breadcrumbs li,.breadcrumbs li a{
  font-size: 10px;
}
h3[ttl] .icon{
    top:-15px;
    width: 25px;
}
#greenborder_btn [class*="col-"] a{
    margin: -1px 0 0 0;
}
h4.ribbon {
  font-size: 0.9em;
  padding: 1rem 0;
}
ul.listDisc_top li a::after {
  content: url("../images/arrow_c_sp.png");
}
h3.vertical::before {
  width: 30px;/*画像の幅*/
  height: 27px;/*画像の高さ*/
}


.button,
.button2,
.button3{
    width: 100%;
    padding: 15px 100px 15px 40px; /* 上下の余白、左右の余白 */
    margin: 0.5em auto 0 auto;
}
.button::after,
.button2::after{
    top: 5px;
}
.button3::after{
    top: 10px;
}

a.button,
a.button2,
a.button3{
	font-size: 17px;
}

.bg_lab {
  padding: 0 2em!important;
  }


.relative_contents img{
width: 60%;
}
.attention_box p{
font-size: 13px;
}
figcaption{
font-size: 12px;
  text-align: right!important;
}
.vtext-body {
     font-size: 0.7rem;
    line-height: 2.4;
    padding: 0 0.5rem;
    white-space: normal;
    word-break: break-all;
  }

  .vtext-body p {
    margin-bottom: 2em; /* 間隔も調整 */
  }
  .tategaki {
    margin: 0 0 1em 4%;
  }
  .tategaki h3 {
    font-size:2.8em;
  }

.tategaki p {
     font-size: 0.8em;
  position: absolute;

    top: 95%;  
    margin: 0;
   
  }
.bg_product {
  width: 75%;
  height: 180px;
  border-radius: 0 40px 40px 40px;
}
.product h3 {
  font-size: 2.5em;
}
.product p {
  top: 50px;
}
  .recruit-inner h2 {
  margin-top: 30px;
  font-size: 1.7rem;
  margin-bottom: 1.5em;
}  
     
.recruit-inner h2 span {
  font-size: 2.5rem;
  
}
 .recruit-inner .subtitle {
margin-bottom: 3.5em;
  
}      
 /* 各アイコン画像 */
.recruit-items .item img {

  max-width: 300px; /* サイズ調整 */
 
}  
.bg_03 img[src$="index.png"] {
    width: 200px;
    
  }      
.rview-more {
  
  padding: 1.3em 2.6em;

  width: 300px;
}
.rview-more span {
  font-size: 1.2rem;
  
    
}        
  #cover .slider img {
    height: auto;
    margin: 0 auto 0;
    object-fit: contain; /* 画像トリミング防止 */
  }     
}

@media screen and (max-width: 414px) {
.br-sp2{
        display: block;
}

#cover .cover_ttl {
width: 100%;
}
#cover .cover_ttl p.sn {
  font-size: 1em;
}
#cover .cover_ttl h1 {
  font-size: 2.5em;
}
#cover .cover_ttl h2 {
  font-size: 1.5em;
letter-spacing: 0.115em;
  margin-bottom: 1em;
}
#cover3 .cover_ttl {
  top: 45%;
}
.container_top {
    margin: 0em auto 4em;
  }    
  .recruit-inner h2 {
  font-size: 1.4rem;
  
}  
     
.recruit-inner h2 span {
  font-size: 2.1rem;
  
}   
}
@media screen and (max-width: 375px) {
body{
font-size: 13px;
}
#cover {
  height: 40vh;
}
#cover .cover_ttl {
width: 100%;
}
#cover .cover_ttl p.sn {
  font-size: 1em;
}
#cover .cover_ttl h1 {
  font-size: 2.5em;
}
#cover .cover_ttl h2 {
  font-size: 1.5em;
letter-spacing: 0.115em;
  margin-bottom: 1em;
}
#cover .cover_ttl p{
font-size: 13px;
}
.button_yt {
font-size: 13px;
}
.lab_text h3 {
  font-size: 1.75em;
}
.lab_text h4 {
  font-size: 1.3em;
}
.lab_text p {
  font-size: 13px;
}
.lab_text p.col_y {
    font-size: 16px;
}
#h_column .lab,
#h_column .jin{
  padding: 7% 0 3% 0;
}
#h_column .lab h3 a, #h_column .jin h3 a {
  font-size: 1.15em;
  background-size: 20px 20px;
}
    #cover .cover_ttl h1 {
  font-size: 2.3em;
}
  .vtext-body {
    font-size: 0.7rem;   /* さらに小さく */
    line-height: 2.4;    /* 行間も少し詰める */
    padding: 0 0.8rem;   /* 余白も少し減らす */
  }

  .vtext-body p {
    margin-bottom: 1.6em;
  }   

.rview-more {
 width: 250px;
} 
  .recruit-inner h2 {
  font-size: 1.2rem;
  
}  
     
.recruit-inner h2 span {
  font-size: 1.5rem;
  
}      
}

@media screen and (max-width: 320px) {

#cover .cover_ttl {
width: 100%;
top:35%;
}
#cover .cover_ttl p.sn {
  font-size: 1em;
}

#cover .cover_ttl h2 {
  font-size: 1.3em;
letter-spacing: 0.115em;
  margin-bottom: 1em;
}
#cover .cover_ttl p{
font-size: 13px;
}
.grad_lg {
  font-size: 1.75em;
  letter-spacing: 2px;
  line-height: 1.4 !important;
}
p.right {
  width: 100%;
}

.button_wb {
  font-size: 13px;
  padding: 10px 10px 10px 10px; /* 上下の余白、左右の余白 */
}
.button_wb::after {
  position: absolute;
  top: -18px;
  right: -10px;
  transform: scale(0.4);
  content: url("../images/arrow_g.png");
}
  .lab_text p {
font-size: 14px;
}
#h_column .lab h3 a, #h_column .jin h3 a {
  font-size: 1em;
    background-size: 18px 18px;
}
   
}

/* -----------------------------------------------
PRINT Module
-------------------------------------------------- */
@media print {
  
* {color: #666 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
body { width: 100%; }
@page  { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
thead { display: table-header-group; }
tr,img { page-break-inside: avoid; }
li { content: "» "; }
}
