@charset "UTF-8";


.top_slider {
  position: relative;
  z-index: 1;
}


/* キービジュアル全体 */
.kv {
  width: 100%;
background-color: #ccf9ff;
}

.kv-inner {
  width: 100%;
  height: 45vh;
  background-image: url("../img/top/kv.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center left;
  background-position-x: 115px; /* ←画像を右にずらす */
  display: flex;
  align-items: flex-start;
  position: relative;
}

.kv-text {
  position: absolute;
  bottom: 9rem;
  left: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kv-text .line {
  background-color: white;
  color: #056dce;
  font-size: 2rem;
  font-weight: bold;
  padding: 0.3rem 1rem;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: fit-content;
}

@media screen and (max-width: 768px) {
  .kv-inner {
    height: auto;
    background-position-x: center;
    padding: 2rem 1rem;
  }
   .kv-text {
    position: static;
    margin-top: 2rem;
    align-items: flex-start;
  }

  .kv-text .line {
font-size: 1.2rem;
        text-align: center;
        padding: 0.1rem 0.5rem;
  }
}


.slick-next {
    right: 0;
    left: 0;
	display:none;
}

.slick-next:before {
	display:none;
}

#message {
  padding: 3em 0em 0 0;
}

#message .logo {
   text-align: center;
   padding: 0 0 2em 0;
}

#message .logo img {

}

#message .message_main{
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}

#message .text {
  flex: 1;
}

#message .yondenpluschan {
  flex: 0 0 150px;
  text-align: center;   /* ←これで中央揃え */
}

#message .yondenpluschan img {
  display: block;       /* ←これがズレ防止の核心 */
  margin: 0 auto;       /* ←画像を中央に */
  width: 100%;
  height: auto;
}


#message .caption {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

@media screen and (max-width: 768px) {
  #message .message_main{
    flex-direction: column;
  }

  #message .yondenpluschan {
    flex: none;
    width: 60%;
    margin: 0 auto;
  }
}
#message .title {
font-size: 1.2rem;
    line-height: 1.4;
    position: relative;
    padding-left: 2.4em;
}

#message h2 {
    font-size: 1.2em;
    color: #2a2a2a;
    padding: 0.8em 0;
	text-align: center;
}

#message .title::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 2rem;
  height: 5px;
  background: #037fb9;
}

#message p {
  font-size: 1rem;
  line-height: 1.8;
  padding:0 0 1em 0;
}

#message p.indent {
font-size: 0.9rem;
  text-indent: -2.5em;
  padding-left: 2.5em;
  margin-left:2em;
}

#news, #introduce, #company, #gallery{
border-radius: 10px;
}


/* TOPICSセクションのスタイル */
#news {
display:flex;
border: 1px solid #7d7d7d;
    margin: 3em 0 0 0;
    padding: 3em;
    align-items: center;
}

#news .heading {
width:230px;

}

#news .title {
    font-size: 1.2rem;
    line-height: 1.4;
    position: relative;
	text-align: left;
  padding-left: 2.4em;
}

#news .title::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 2rem;
    height: 5px;
    background: #037fb9;
}
#news h2 {
  font-size: 2.2em;
  color: #2a2a2a;
  padding:0 0 1.2em 0;
}


/* ニュースリスト全体 */
#news .news-list {
  padding: 0;
  margin: 0;
  width: 100%;
}

/* 各ニュースアイテムを縦に並べる */
#news .news-item {
  display: block; /* アイテムを縦並びに */
  margin-bottom: 1em; /* アイテム間のスペース */
  border-bottom: 1px solid #ddd; /* 下に区切り線（任意） */
  padding-bottom: 1em; /* 区切り線の下に余白 */
}

/* 日付と内容を横並びにする */
#news .news-item span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

/* 日付のスタイル */
#news .news-date {
  color: #007ACC;
  font-weight: bold;
  margin-right: 1em; /* 日付と内容の間隔 */
}

/* 内容のスタイル */
#news .news-content {
  color: #333;
}


@media screen and (max-width: 768px) {
#news {
flex-direction: column;　
    display: flex;
}

#news .heading {
display: contents;
}

#news h2{
 order: 2;
 padding: 0;
}
#news h2.title {
 order: 1;
}


#news .news-list {
 order: 3;
         padding: 1.5em 0;
}

#news .corners_blue_btn{
 order: 4;
}

#news .news-item span {
  display: block;
}


}





/* introduceセクションのスタイル */
#introduce {
  padding: 40px;
  background-color: #037fb9;
  display: flex;
  justify-content: space-between;
border: 1px solid #7d7d7d;
    margin: 5em 0 0 0;
    padding: 3em;
}

#introduce p{
  color:#fff;
}


#introduce .heading {
padding: 0 3.5em 0 0;
}

#introduce .title {
font-size: 1.2rem;
    line-height: 1.4;
    position: relative;
    padding-left: 2.4em;
	text-align: left;
}

#introduce .title::before {
    content: '';
    position: absolute;
    left: 0;
  top: .6em;
    width: 2rem;
    height: 5px;
    background: #fff;
}

#introduce h2 {
  font-size: 2em;
  color: #fff;
}



@media screen and (max-width: 768px) {
#introduce {
flex-direction: column;　
    display: flex;
	  margin: 5em 0 1em 0;
	          padding: 35px;

}
#introduce .heading {
display: contents;
}
#introduce h2.title {
 order: 1;
}
#introduce h2 {
 order: 2;
}
#introduce p{
 order: 3;
}
#introduce .img{
 order: 4;
}

#introduce .corners_white_btn{
 order: 5;
}

}


  
  

/* 会社情報セクションのスタイル 
#company {
  border: 1px solid #7d7d7d;
	padding:0;
    margin: 5em 0 0 0;
}

#company .title {
font-size: 1.2rem;
    line-height: 1.4;
    position: relative;
 padding-left: 2.4em;
}

#company .title::before {
    content: '';
    position: absolute;
    left: 0;
    top: .6em;
    width: 2rem;
    height: 5px;
    background: #037fb9;
}

#company .pic {
width: 100%;
  height: 370px;
  background-image: url("../img/top/companypic.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 46% bottom -38%;
}

#company h2 {
  font-size: 2.2em;
  color: #2a2a2a;
}
#company .titletext {
  background-color: white;
  width: 35%;
  padding: 1.5em;
  margin: -6em 0 0 0;
  position: relative;
}

#company .text{
   display: flex;
  justify-content: space-between;
      padding: 0 1em 1em 2em;
}



@media screen and (max-width: 768px) {
#company {
  padding: 0;
}
#company .pic {
        background-size: contain;
background-position: top;
height: 200px;
}

#company .titletext {
  width: 100%;
        position: static;
margin: 0;
}

#company .text{
   display: block;
           padding: 1em 0;
}
}

*/







/* 会社概要セクションのスタイル */
#company {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
    border: 1px solid #7d7d7d;
    margin: 5em 0 0 0;
    padding: 3em;
}

#company p{
  color:#037fb9;
}


#company .heading {
padding: 0 3.5em 0 0;
}

#company .title {
font-size: 1.2rem;
    line-height: 1.4;
    position: relative;
	text-align: left;
  padding-left: 2.4em;
}

#company .title::before {
    content: '';
    position: absolute;
    left: 0;
  top: .6em;
    width: 2rem;
    height: 5px;
    background: #037fb9;
}

#company h2 {
  font-size: 2em;
  color: #037fb9;
}

#company .img{
 width: 40%;
}


@media screen and (max-width: 768px) {
#company {
flex-direction: column;　
    display: flex;
	  margin: 5em 0 1em 0;
	          padding: 35px;

}
#company .heading {
display: contents;
}
#company h2.title {
 order: 1;
}
#company h2 {
 order: 2;
}
#company p{
 order: 3;
}
#company .img{
 order: 4;
  width: 100%;
  padding:1em 0 0 0;
}

#company .corners_blue_btn{
 order: 5;
}

}




/* ギャラリーセクションのスタイル */
#gallery {
  background-color: #037fb9;
  display: flex;
  justify-content: space-between;
    border: 1px solid #7d7d7d;
    margin: 5em 0 0 0;
    padding: 3em;
}

#gallery p{
  color:#fff;
}


#gallery .heading {
padding: 0 3.5em 0 0;
}

#gallery .title {
font-size: 1.2rem;
    line-height: 1.4;
    position: relative;
	text-align: left;
  padding-left: 2.4em;
}

#gallery .title::before {
    content: '';
    position: absolute;
    left: 0;
  top: .6em;
    width: 2rem;
    height: 5px;
    background: #fff;
}

#gallery h2 {
  font-size: 2em;
  color: #fff;
}

#gallery .img{
 width: 40%;
}


@media screen and (max-width: 768px) {
#gallery {
flex-direction: column;　
    display: flex;
	  margin: 5em 0 1em 0;
	          padding: 35px;

}
#gallery .heading {
display: contents;
}
#gallery h2.title {
 order: 1;
}
#gallery h2 {
 order: 2;
}
#gallery p{
 order: 3;
}
#gallery .img{
 order: 4;
  width: 100%;
  padding:1em 0 0 0;
}

#gallery .corners_white_btn{
 order: 5;
}

}



























