.test {
  background-color: gray;
}

body {
  background-color: ghostwhite;
}

a {
  text-decoration: none;
  color: #000;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  /* background-color: gray; */
}

/* main */
main {
  margin: 80px 0 0 0;
}






.area_top_view {
  background: url(/cmn/image/bg_sea.jpeg) no-repeat top center;
  background-size: 100% 100%;
  height: 600px;
  margin-top: -10px;
}


/**** top view ****/
.top_view {
  display: flex;
  justify-content: center;
  padding-top: 75px;
}
.top_left {
  width: 50%;
  padding: 10px 10px 10px 20px;
}
.top_right {
  width: 50%;
  padding: 5px;
}
.dsp_flex {
  display: flex;
}
.x1 {
  width: 126px;
  height: 95px;
}
.x2 {
  width: 262px;
  height: 200px;
  margin: 0;
  padding: 0;
}
.top_right .margin {
  margin: 5px;
}
.top_btm {
  max-width: 1160px;
  width: 80%;
  padding-top: 100px;
  margin: auto;
}


/* キャッチコピー */
.cc {
  font: 700 70px/1.3em 'Noto Sans JP', sans-serif;
  position: relative;
  padding: 20px 10px 40px;
  color: #fff;
  text-shadow:2px 2px 10px #1f2f54;
  margin: auto;
}
.cc_sub {
  font: 500 18px/1.5em 'Noto Sans JP', sans-serif;
  padding: 0 13px;
  color: #fff;
  text-shadow:1px 1px 5px #1f2f54;
  margin: auto;
}

/* ご挨拶 */



/* エリア_ホーム */
[class*="area_home"] {
  padding: 100px 0 100px;
}

/* 会社概要 */
.head_home {
  display: flex;
  justify-content: center;
  margin: 0 0 50px;
}
.head_home .ttl {
  font: 500 40px/1em 'Noto Sans JP', sans-serif;
  position: relative;
  padding: 0 0 12px;
}
.head_home .ttl:after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  content: "";
  background: #1f2f54;
}
.area_home_company img {
  width: 100%;
  box-shadow: 0 16px 6px -8px rgba(16, 61, 72, 0.2);
}
.area_home_company table td {
  font: 300 20px/1.8em 'Noto Sans JP', sans-serif;
}





/* 2分割レイアウト */
.layout_2_div {
  display: flex;
  margin: 50px auto 0 auto;
  /* background-color: deeppink; */
}
.layout_2_div_ca {
  display: flex;
  flex-wrap: wrap;
  /* align-items: center; */
  /* margin: 50px auto 0 auto; */
  /* background-color: deeppink; */
}
/* .layout_2_div_ca > div {
  width: 50%;
  padding: 0 40px;
} */
.layout_2_div .ev {
  width: 38%;
  padding-right: 20px;
  /* background-color: cyan; */
}
.ev_p {
  position: relative;
  top: 30px;
}
.ev_c {
  text-align: right;
  position: relative;
  top: -15px;
}
.border {
  border-top: white solid 2px;
  border-left: white solid 2px;
}
.layout_2_div .text_home {
  width: 58%;
  padding-left: 40px;
  position: relative;
  top: 0;
  margin: auto;
  /* background-color: darkorange; */
}
.ev img {
  width: 80%;
}


/* テキスト_ホーム */
.text_home .ttl {
  font: 500 32px/1em 'Noto Sans JP', sans-serif;
  margin: 10px 0 0 0;
}
.text_home .description {
  font: 300 20px/1.8em 'Noto Sans JP', sans-serif;
}









hr.style {
  border-top: 5px solid #1f2f54;
}




/* プロダクト */
.product_home {
  display: flex;
  justify-content: center;
  margin: 0 0 50px;
}
.product_home .ttl2 {
  font: 500 40px/1em 'Noto Sans JP', sans-serif;
  position: relative;
  padding: 0 0 12px;
}
.product_home .ttl2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  content: "";
  background: #1f2f54;
}
/* .product_table_home {
  margin: 0 0 100px;
} */
.product_table_home table {
  width: 100%;
  margin: 20px 0 0 0;
  /* background-color:lightsteelblue; */
}
.product_table_home .td1 {
  width: 33%;
}
.product_table_home .td2 {
  width: 30%;
}
.product_table_home .td3 {
  width: 15%;
}
/* .product_table_home a:hover {
  color: orange;
} */
.product_table_home .ttl {
  font-size: large;
  font-weight: bold;
  padding-left: 10px;
  color: white;
}
.product_table_home .bg {
  background-color: #1f2f54;
}
.product_table_home .img {
  width: 150px ;
  vertical-align: top;
  padding: 0;
}

/* プロダクト詳細 */
.product_detail {
  align-items: center;
}
.product_detail_A {
  width: 805px;
}
.product_detail_box {
  display: flex;
  flex-wrap: wrap;
}
.product_detail_box_B {
  display: flex;
  padding: 0 10px 0;
  /* background-color: greenyellow; */
}
.product_detail .ttl {
  font: 500 30px/1em 'Noto Sans JP', sans-serif;
  position: relative;
  padding: 0 0 12px;
  margin: 20px 0 0 0;
}
.product_detail .ttl:after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  content: "";
  background: #1f2f54;
}
.product_detail_title_home {
  display: flex;
  justify-content: left;
}
.product_detail_title_home .ttl2 {
  font: 500 20px/1em 'Noto Sans JP', sans-serif;
  position: relative;
  padding: 0 0 5px;
}
.product_detail_title_home .ttl2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  content: "";
  background: #1f2f54;
}
.product_detail .table_A {
  width: 100%;
  margin: 20px auto 0;
}
.product_detail .table_B {
  width: 520px;
  height: 432px;
  margin: 20px;
}
.product_detail .table_C {
  display: flex;
  width: 580px;
  margin: 20px;
}
.product_detail .table_C td {
  border-style: none;
}
.product_detail .table_D {
  width: 520px;
  height: 432px;
  margin: 20px;
}
.product_detail .table_D td {
  border-style: none;
}
.section_product_list_1st {
  margin: 30px 0 0 0;
}
.section_product_list_2nd {
  padding: 100px 0 0 0;
  margin: auto;
  /* background-color: gray; */
}
.section_product_list_3 {
  padding: 100px 0 0 0;
  margin: auto;
  display: flex;
}

.product_detail .list {
  margin: 10px 0 0 0;
}
.product_detail table td {
  border: 2px solid #C0C0C0;
}
.product_detail .bg {
  background-color: #E0DFE3;
}
.product_detail .img {
  width: 300px;
  padding: 5px 2px 1px 2px;
}
.product_detail .img2 {
  width: 300px;
  padding: 0;
  margin-right: 10px;
  box-shadow: 0 16px 6px -8px rgba(16, 61, 72, 0.2);
}
.product_detail .img3 {
  width: 300px;
  display: block;
  margin-right: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.product_detail .img4 {
  width: 300px;
  display: block;
  margin-left: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.product_detail img {
  width: 100%;
  height: 100%;
  /* padding: 2px; */
}
.product_detail .width_A {
  width: 180px;
}
.product_detail .width_B {
  width: 180px;
}
.product_detail .blocktext {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.product_detail .tdsize_A {
  height: 43px;
}
.product_detail .tdsize_B {
  height: 40px;
}
/* .product_detail .thumbnail_A {
  margin: auto;
  background-color: hotpink;
} */
.product_detail .thumbnail_B {
  display: flex;
  flex-wrap: wrap;
}
.product_detail .thumbnail_C {
  max-width: 450px;
}
.zoom-in-img {
  height: 100px;
  width: 130px;
  margin: 2px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 6px -8px rgba(16, 61, 72, 0.2);
  /* border: solid 2px gray; */
}
.zoom-in-img img {
  width: 100%;
  height: 100%;
  /* padding: 2px; */
}
/* .product_detail .thumbnail_B img {
  width: 100%;
  height: 100%;
  margin: 2px;
  box-shadow: 0 16px 6px -8px rgba(16, 61, 72, 0.2);
  border: solid 2px gray;
} */
/*ホバーエフェクト*/
.zoom-in-img img {
  transform: scale(1);
  transition: .3s ease-in-out;
}
.zoom-in-img:hover img {
  transform: scale(1.3);
}

.section_home{
  display: flex;
  justify-content: center;
  margin: 0;
}
.area_home_product table + table {
  margin-top: 50px;
}
/* .area_home_product a {
  text-decoration-line: underline;
} */
.area_home_product a {
  background: 
      linear-gradient(currentColor 0 0) 
      bottom /var(--d, 0) 2px 
      no-repeat;
  transition:0.5s;
}
.area_home_product a:hover {
  --d: 100%;
}

/* お問い合わせ */
.area_home_main {
  color: #fff;
  background: #1f2f54;
}

.area_home_main a {
  color: #fff;
  text-decoration-line: underline;
}
.contact {
  min-height: 320px;
  width: 560px;
  position: relative;
  margin: 0 auto 80px auto;
  /* background-color: darkorchid; */
}

.contact table td {
  font: 300 20px/1.8em 'Noto Sans JP', sans-serif;
  height: 30px;
}
.access {
  min-height: 320px;
  width: 560px;
  margin: auto;
  /* background-color: darkorange; */
}
.access iframe {
  width: 100%;
  height: 225px;
  border-style: none;
}

.iframeWrapper {
  position: relative;
}

.iframeWrapper::before {
  content: "";
  display: block;
  padding-top: calc(9 / 16 * 100%);
}

.iframeWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}


/* バックグラウンド */
.bg_lightsteelblue {
  background: skyblue;
}

/* リンク */
.link_home {
  display: flex;
  justify-content: center;
  margin: 0 0 50px;
}
.link_home .ttl {
  font: 500 40px/1em 'Noto Sans JP', sans-serif;
  position: relative;
  padding: 0 0 12px;
}
.link_home .ttl:after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  content: "";
  background: #1f2f54;
}


/* ふわっとスライドショー */
.slide_box {
  height: 300px;
  width: 400px;
  position: relative;
  overflow: hidden;
}
/* imgのみ */
.slide_box img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
  position: absolute;
  opacity: 0;
  left: 0;
  top: 0;
  animation: anime 81s ease infinite;
}
.slide_box img:nth-of-type(1) { animation-delay: 0s }
.slide_box img:nth-of-type(2) { animation-delay: 9s }
.slide_box img:nth-of-type(3) { animation-delay: 18s }
.slide_box img:nth-of-type(4) { animation-delay: 27s }
.slide_box img:nth-of-type(5) { animation-delay: 36s }
.slide_box img:nth-of-type(6) { animation-delay: 45s }
.slide_box img:nth-of-type(7) { animation-delay: 54s }
.slide_box img:nth-of-type(8) { animation-delay: 63s }
.slide_box img:nth-of-type(9) { animation-delay: 72s }
/* ふわっとアニメーション */
@keyframes anime {
  0% { opacity: 0 }
  5% { opacity: 1 }
  6% { opacity: 1 }
 11% { opacity: 0 }
100% { opacity: 0 }
}



/* タイトル */
.title_home {
  display: flex;
  justify-content: center;
  margin: 0 0 50px;
}
.title_home .ttl {
  font: 500 30px/1em 'Noto Sans JP', sans-serif;
  position: relative;
  padding: 0 0 12px;
}
.title_home .ttl:after {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  content: "";
  background: lightgray;
}

table td {
  /*table内のtdに対して*/
  padding: 3px 10px;/*上下3pxで左右10px*/
}


/* 文字均等配置 */
.justify {
  /* text-align: justify; */
  text-align-last: justify;
  text-justify: inter-ideograph;
}

/* 文字間隔調整 */
.ts {
  text-align: center;
  /* margin-right: -2em; */
  /* letter-spacing: 2em; */
}


/* 注意書き */
.attention {
  color: crimson;
  font-weight: bold;
  /* -webkit-text-stroke: 1px white; */
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}


/* --- スマホ対応レスポンシブCSS追加 --- */
@media screen and (max-width: 600px) {

  .container {
    padding: 0 5px;
    max-width: 100%;
    width: 100% !important;
  }
  .top_view, .layout_2_div, .layout_2_div_ca {
    flex-direction: column;
    max-width: 100%;
    height: auto;
  }
  .top_left, .layout_2_div .ev, .layout_2_div .text_home {
    width: 100%;
    padding: 0;
  }
  .top_view {
  padding-top: 20px;
  }

  /* top_leftの下のマージン */
  .top_left {
    margin-bottom: 20px;
  }

  /* top_rightの位置をセンター */
  .top_right {
    width: 98%;
    margin: auto;
  }

  .x1 {
    width: 87px !important;
    height: 65px !important;
  }
  .x2 {
    width: 178px !important;
    height: 134px !important;
  }
  
  .margin { margin: 2px !important; }

  .cc {
    font-size: 32px;
    padding: 10px 5px 20px;
  }
  .cc_sub {
    font-size: 14px;
    padding: 0 5px;
  }

  .top_btm {
    width: 90%;
    padding-top: 30px;
    align-items: center;
  }
  .text_home .description {
    font-size: 16px;
    line-height: 1.7em;
    padding: 8px;
    word-break: break-all;
  }
  .home_table {
    table-layout: fixed; /* 列の幅を固定モードにする */
    width: 100%;        /* テーブル全体の幅を親要素に合わせる */
  }
  .line-break {
    white-space: normal !important; /* 強制的に自動改行を有効にする */
  }

  .head_home .ttl, .product_home .ttl2, .text_home .ttl, .title_home .ttl {
    font-size: 24px;
  }

  .area_home_company table,
  .area_home_main .table_A,
  .area_home_main table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
  }
  .area_home_company table td,
  .area_home_main .table_A td,
  .area_home_main table td {
    font-size: 15px;
    padding: 6px 4px;
    white-space: nowrap;
  }
  .container {
    max-width: 100%;
    padding: 0 5px;
  }

  .area_home_company {
    width: 90%;
    margin: auto;
  }
  .layout_2_div {
    width: 100%;
    margin: auto;
  }
  .ev img {
    max-width: 80%;
    height: auto;
    width: 100%;
  }
  .layout_2_div,
  .layout_2_div_ca {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }


  .area_home_company table td,
  .area_home_main .table_A td,
  .area_home_main table td,
  .product_detail .table_A td {
    font-size: 15px;
    padding: 4px 2px;
    word-break: break-all;
    /* white-space: normal; */
  }
  .contact {
    width: 90%;
    font-size: 14px;
    margin: auto;
  }

  .access {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    height: 250px; /* 必要に応じて高さも調整 */
  }

  .iframeWrapper {
      position: relative;
      width: 90%;
      height: 0;
      padding-bottom: 56.25%; /* 16:9のアスペクト比 */
      margin: auto;
  }

  /* 製品情報関連 */
  .product_table_home table, .product_detail .table_A {
    width: 100%;
    font-size: 14px;
    overflow-x: auto;
  }
  .product_table_home .img, .product_detail .img {
    width: 100px;
  }
  .product_detail img {
    max-width: 100%;
    height: auto;
    width: 100%;
  }
  .product_detail .table_A {
    width: 100%;
    margin: 10px 0 0 0;
  }

  .section_product_list_2nd,
  .section_product_list_3 {
    max-width: 100%;
    width: 100%;
    padding: 20px 0 0 0;
    margin: 0;
    flex-direction: column;
  }
  .product_detail_A,
  .product_detail_box,
  .product_detail_box_B {
    width: 100% !important;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .section_product_list_2nd,
  .section_home {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
  .product_detail .table_A,
  .product_detail .table_B,
  .product_detail .table_C,
  .product_detail .table_D {
    width: 100%;
    height: auto;
    min-width: 320px;
    font-size: 14px;
    overflow-x: auto;
    box-sizing: border-box;
  }
  .product_detail img,
  .product_detail .img,
  .product_detail .img2,
  .product_detail .img3,
  .product_detail .img4 {
    max-width: 100%;
    height: auto;
    width: 70vw;
  }
  .product_detail .tdsize_A,
  .product_detail .tdsize_B {
    height: auto;
  }
  .zoom-in-img {
    width: 23vw;
    height: 78px;
  }
}