.home{
    width: auto;
    height: auto;
    background-color:rgba(225, 234, 248, 0.763);
    z-index: -1;
    margin: 0 auto;
    padding-bottom: 200px;
}

.home_text{
  width: 80%;
  margin: 0 auto;
  padding: 50px;
}

@media screen and (min-width: 961px) {
  .home_text_b{
    width: 80%;
    margin: 0 auto;
    padding: 50px;
    display: flex;
  }
      }


.home_text_1{
  width: 45%;
  margin: 0 auto;
  padding: 10px;
}

.home_text_2{
  width: 45%;
  margin-left: auto;
  padding: 10px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  @media screen and (max-width: 768px) {
    .container {
      width: 100%;
    }
  }
  img {
    max-width: 100%;
    height: auto;
  }

h1{
    font-size: 25px;
    font-weight: 300;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    margin-top: 100px;
    letter-spacing: 0.05cm;
}

.h1_bigp{
  font-size: 25px;
  font-weight: 300;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  margin-top: 100px;
  letter-spacing: 0.05cm;
  color: rgb(49, 68, 163);
}

.h1_p{
    font-size: 15px;
    color: rgb(49, 68, 163);
    text-align: center;
}

.h2_title{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-bottom:solid 1.2px #0056b3;
}

.h2_title_2{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  color: rgb(49, 68, 163);
  border-bottom:solid 1.3px #063364;
  display: inline-block;
}
@media screen and (min-width: 961px) {
  .h2_title_h1{
    padding-bottom: 26px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    color: rgb(49, 68, 163);
    border-bottom:solid 1.3px #063364;
    display: inline-block;
    transform: translate(0,-26px);
  }
    .h2_title_h2{
      padding-bottom: 160px;
      font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-size: 20px;
      color: rgb(49, 68, 163);
      border-bottom:solid 1.3px #063364;
      display: inline-block;
      transform: translate(0,-160px);
    }
    }

.h2_p{
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1em;
}

.h2_p2{
  font-size: 1em;
  text-align: right;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}




.p_s{
  font-weight: 100;
  font-size: 20px;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom:solid 1.3px #0056b3;
  display: inline-block;
}

.triangle{
    width: 0px;
    margin: 0 auto;
    margin-bottom: 50px;
    border-bottom: 25px solid #283aadc1; /* 高さ */
	border-right: 15px solid transparent; /* 左辺の長さ */
	border-left: 15px solid transparent; /* 右辺の長さ */
    transform:rotate(180deg);/*角度*/
}

@media screen and (min-width:961px) {
.header {
  background: rgba(255, 255, 255, 0.75);
  color: rgb(43, 63, 162);
  padding: 15px;
  position: fixed;
  display: flex;
  top: -5px;
  width: 100%;
  height: 100px;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

  .head_img {
    width:350px ;
    display: flex;
    margin-top: 20px;
  }
  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 85px; /* 少し下にずらす */
    right: -100%;
    margin-right: 50px;
    width: 250px;
    height: calc(100vh - 50px);
    background-color: rgba(255, 255, 255, 0.75);
    transition: right 0.3s ease-in-out;
  }
}


.menu a {
  padding: 15px;
  text-align: center;
  text-decoration: none;
  color: rgb(43, 63, 162);
  border-bottom: 1px solid white;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  transform: translate(-50px,20px);
  z-index: 1001;
}
.hamburger div {
  width: 30px;
  height: 3px;
  background-color: rgb(43, 63, 162);
  margin: 6px 0;
  transition: all 0.3s ease;
}
.menu.active {
  right: 0;
}
.menu.closing {
  right: -100%;
  transition: right 0.3s ease-in-out;
}
.hamburger.active div:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
@media screen and (max-width: 520px) {
  .hamburger {
      display: block;
  }
  .menu {
      display: flex;
  }
}
@media screen and (min-width: 960px) {
  .hamburger {
      display: none;
  }
  .menu {
      display: flex;
      position: static;
      flex-direction: row;
      justify-content: flex-end;
      width: auto;
      height: auto;
      background: none;
      right: auto;
      top: auto;
  }
  .menu a {
      border: none;
      padding: 15px 20px;
      color: rgb(52, 49, 69);
  }
}

li{
    margin: 15px;
}



.head_link{/*ヘッダー文字各*/
    text-decoration: none;
    color: rgb(52, 49, 69);
    font-weight: 700;
    padding-bottom: 3px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#4e5dde, #4e5dde);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 2px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}
.head_link:hover{/*ヘッダー文字変化*/
    color:  rgb(43, 63, 162);
    background-position: bottom left; /* 下線のホバー時位置 */
    background-size: 100% 1px; /* 下線の横幅を100%にする */
}
@media screen and (min-width: 961px) {
  .head_img{
    width:400px ;
    padding: 80px;
    margin-left: -50px;
    margin-right: -50px;
    display: flex;
  }
  }

.slideshow{/*スライドショー*/
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;/*はみ出した部分を非表示*/
    margin: 0 auto;
}

.img-01, .img-02, .img-03{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
   }
   .img-01{
    background-image: url('img/Human_Medic.jpg');
    animation: slide-animation-01 20s infinite;
   }
   .img-02{
    background-image: url('img/Animal_Medic.jpg');
    animation: slide-animation-02 20s infinite;
   }
   .img-03{
    background-image: url('img/Reseach.jpg');
    animation: slide-animation-03 20s infinite;
   }

   @keyframes slide-animation-01 {
    0% {opacity: 1;}
    30% {opacity: 1; transform: scale(1.03);}
    40% {opacity: 0;}
    90% {opacity: 0 ;transform: scale(1.0);}
   100% {opacity: 1;}
   }
   @keyframes slide-animation-02 {
    0% {opacity: 0;}
    30% {opacity: 0; transform: scale(1.03);}
    40% {opacity: 1;}
    60% {opacity: 1;}
    70% {opacity: 0; transform: scale(1.0);}
   100% {opacity: 0;}
   }
   @keyframes slide-animation-03 {
    0% {opacity: 0;}
    60% {opacity: 0; transform: scale(1.0);}
    70% {opacity: 1;}
    90% {opacity: 1;}
   100% {opacity: 0; transform: scale(1.03);}
   }

/*ハイパーリンク画像エリア*/
@media screen and (min-width:961px) {
.link_img_box{
    width: auto;
    text-align: center;
    margin-top: 100px;
    margin-bottom: -300px;
}
}

.Human_Medic_img{
    height: 300px;
    border-radius: 50%;
    margin: 25px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    transition: 1s;
    z-index: 1;
    position: relative;
}

.Human_Medic_img:hover{
    transform: translateY(-20px);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.826);
    z-index: 1;
}

.Animal_Medic_img{
    height: 300px;
    border-radius: 50%;
    margin: 25px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    transition: 1s;
    z-index: 1;
    position: relative;
}

.Animal_Medic_img:hover{
    transform: translateY(-20px);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.826);
    z-index: 1;
}

.Reseach_img{
    height: 300px;
    border-radius: 50%;
    margin: 25px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    transition: 1s;
    z-index: 1;
    position: relative;
}

.Reseach_img:hover{
    transform: translateY(-20px);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.826);
    z-index: 1;
}

.btn_style {
    display: inline-block;
    margin-left: -150px;
    margin-bottom: 300px;
    padding: 1.25em 1em;
    font-size: 15px;
    text-decoration: none;
    background:#f1f1f1;/*ボタン色*/
    color: #1e1e1e;
    border-bottom: solid 5px #677084;
    border-radius: 45px;
  }
  .btn_style:hover {
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(5px);/*下に動く*/
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);/*影を小さく*/
    border-bottom: none;
  }

@media screen and (min-width: 961px) {
.map_area{
    margin-bottom: 50px;
    display: flex;
}
    }
.Plofile_text{
    width: 430px;
    height: 700px;
    font-size: 15px;
    font-family:monospace;
    padding: 50px;
}
.Plofile_text > p{
    font-size: 20px;
    margin-bottom: 30px;
}

.map{
    width:100%;
    max-width: 700px;
    height:500px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

/*機器一覧表示範囲*/
.front_img{
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.frame{
  width: 100%;
  height: 60px;
  margin-top:-30px ;
  background-color:rgb(58, 76, 164);
}

.frame_2{
  width: 100%;
  height: 100px;
  text-align: center;
  margin-top: 100px;
  padding-top: 30px;
  background-color:rgb(58, 76, 164);
}

.head_text{
  font-family: sans-serif;
  color: aliceblue;
  font-size: 20px;
  padding-top:15px ;
  padding-left: 100px;
}

.jamp_white{
  text-decoration: none;
  color: white;
}


/*機器一覧の箱装飾*/

.all_box {
  margin: 2em 0;
  margin: 50px;
  box-shadow: 0 -8px 25px 0 rgba(0, 0, 0, .25);
  background-color: #d8e0f0;
}
.box-img{
  background-color: #FFF;
}

.box-title1 {
  font-size: 1.6em;
  background: #0a3170;
  padding: 15px;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.box-title2 {
  font-size: 1.6em;
  background: #063fb9;
  padding: 15px;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.box-title3 {
  font-size: 1.6em;
  background: #07a9d6;
  padding: 15px;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.weight{
  font-weight: 700;
  font-size: 20px;
}

.box-text {
  padding: 15px ;
  background-color: #d8e0f0;
}
@media screen and (min-width:960px) {
  .product_list{
    display: flex;
    flex-wrap: wrap; /* 商品が2列表示を超えたら折り返す */
    justify-content: center; /* 商品の中央揃え */
    gap: 40px; /* 商品同士の間隔 */
    width: 100%; /* 画面幅に対応 */
    margin-bottom: 50px;
  }
}


.product_link{
  text-decoration: none;
  color: black;
}
.product_link:hover{
  text-decoration: none;
  color: #493670;
}
@media screen and (min-width:960px) {
  .product {
    width: 30%; /* 横幅は2品まで表示されるように調整 */
    padding: 10px;
    background-color: #d8e0f0;
}


.product img {
    display: block;
    max-width: auto;
    height: 300px;
    margin: 0 auto;
}
}
/*医療従事者かどうか*/  
/* オーバーレイ (質問ウィンドウ) */
.overlay {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000; /* ページ上の最前面 */
}

/* 質問ウィンドウのデザイン */
.question {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 2px solid #aaa;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* フィルター (背景を薄暗くする) */
.filter {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.863); /* 暗さの調整 */
  z-index: 999; /* 質問ウィンドウの下に表示 */
}



  /*お問い合わせフォーム*/

  #formWrap {
    width:700px;
    margin:0 auto;
    color:#555;
    line-height:120%;
    font-size:90%;
  }
  table.formTable{
    width:100%;
    margin:0 auto;
    border-collapse:collapse;
  }
  table.formTable td,table.formTable th{
    border:1px solid #ccc;
    padding:10px;
  }
  table.formTable th{
    width:30%;
    font-weight:normal;
    background:#efefef;
    text-align:left;
  }
  
  @media screen and (max-width:572px) {
  #formWrap {
    width:95%;
    margin:0 auto;
  }
  table.formTable th, table.formTable td {
    width:auto;
    display:block;
  }
  table.formTable th {
    margin-top:5px;
    border-bottom:0;
  }
  form input[type="text"], form textarea {
    width:80%;
    padding:5px;
    font-size:110%;
    display:block;
  }
  form input[type="submit"], form input[type="reset"], form input[type="button"] {
    display:block;
    width:100%;
    height:40px;
  }
  }



  /*お知らせボックスの装飾*/
.osirase_box{
    margin: 60px;
    padding: 0.5em 1em;
    color: #5989cf;
    background: #c6e4ff;
    border-bottom: solid 6px #aac5de;
    border-radius: 9px;
}

@media screen and (min-width: 961px) {
  .osirase_box{
    margin-left: 400px;
    margin-right: 400px;
}


h2{
  margin-left: 20px;
}
  .news-list{
    list-style: none outside;
    margin: 0;
    padding: 0;
  }
  .news-list .item div{
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 20px;
  }
  .news-list .item:first-child div{
    border-top: 1px solid #CCC;
  }
  .news-list .item .date{
    margin: 0;
    min-width: 120px;
    font-size: 16px;
    color: #999;
    padding: 0 20px 0 0;
  }
  .news-list .item .title{
    margin: 0;
    width: 100%;
  }
  .news-list .item a:hover .title{
    color: black;
  }
  
  @media screen and (max-width: 767px){
  .news-list .item a{
    flex-wrap: wrap;
  }
  .news-list .item .date{
    min-width: 100px;
  }
  .news-list .item .title{
    margin-top: 10px;
  }
  }
  
  /* 装飾 */
   
  *{
    box-sizing: border-box;
  }
}