* {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}
html {
    width: 100%;
    overflow-x: hidden;
}
body {
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
    background: linear-gradient(to right, #f5f8fc, #ffffff);
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
a:hover {
    text-decoration: none;
}
img{
    object-fit: cover;
}
li{
    list-style: none;
}
input, textarea, select, button {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}
.pc_none{
    display: none;
}
.fadein {
  opacity: 0.5;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}
.fadein.show {
  opacity: 1;
  transform: translateY(0);
}
.hover_one:hover{
    transform: translateY(-1px);
    transition: all 0.25s ease;
    color: #111;
    cursor: pointer;
}
.hover_two:hover{
    transform: translateY(-2px);
    transition: all 0.25s ease;
    color: #111;
    cursor: pointer;
}
.hover_three:hover{
    transform: translateY(-3px);
    transition: all 0.25s ease;
    color: #111;
    cursor: pointer;
}
html{
    font-size: 10px;
}
.bold{
    font-weight: bold;
}
header{
    position: fixed;
    width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    background-color: #fff;
    z-index: 2;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.header{
    display: flex;
    width: 100%;
    height: 8rem;
}
.header_left{
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 4rem;
}
.header_logo{
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}
.header_logo img{
    height: 80%;
    padding: 1rem;
}
.header_logo a{
    font-weight: bold;
    font-size: 1.9rem;
    padding-top: 1rem;
    padding-right: 3rem;
}
.header_left a{
    font-size: 1.9rem;
    padding-top: 1rem;
    position: relative;
    text-decoration: none;
    color: #333;
}
.header_left a:hover,
.header_left a:focus,
.header_left a.active,
.header_left a.on {
    transform: translateY(-2px);
    transition: all 0.25s ease;
    color: #111;
}
.under_line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 12px; 
    background: url(../img/brige.png) no-repeat center;
    background-size: contain;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
}
.under_line:hover::after,
.under_line:focus::after,
.under_line.active::after,
.under_line.on::after {
    opacity: 1;
    transform: scaleX(1);
}
.header_right{
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: right;
}
.header_right_top{
    display: flex;
    justify-content: right;
    align-items: baseline;
    gap: 1.5rem;
    font-size: 1.3rem;
    padding: 1rem 2rem 0.5rem 2rem;
    cursor: pointer;
}
.header_right_top button:hover{
    text-decoration: underline;
    cursor: pointer;
}
.header_right_bottom{
    height: 50%;
    display: flex;
    justify-content: right;
    align-items: top;
}
.header_right_bottom input{
    display: none;
    margin-right: 1rem;
    box-shadow:inset 0px 0px 4px  rgba(0, 0, 0, 0.3);
    border-radius: 3rem;
    padding: 0.25rem 0 0 1rem;
    width: 16rem;
    height: 2.5rem;
    margin-bottom: 1rem;
}
nav{
    display: none;
    position: fixed;
    top: 8rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.top_img{
    width: 1200px;
    margin: 0 auto;
    position: relative;
}
.top_img img.sp_none{
    width: 100%;
    height: 800px;
    object-fit: cover;
    object-position: center 50%;
    margin: 0 auto;
    display: block;
}
.top_container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: visible;
}
.top_anniversary{
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.2rem;
    z-index: 1;
}
.top_container_logo{
    z-index: 1;
    flex-shrink: 0;
}
.top_container_logo img{
    width: 200px;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    z-index: 0;
    display: block;
}
.top_main_text{
    font-size: 2rem !important;
    color: #fff !important;
    text-shadow: 3px 3px 12px rgba(0,0,0,0.6);
    cursor: default;
    text-align: left;
    line-height: 1.8;
    font-weight: normal;
    letter-spacing: 0.1rem;
    margin: 0;
    z-index: 1;
}
.top_main_text:hover{
    transform: translateY(-2px);
}
.top_container p{
    font-size: 2rem;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    cursor: default;
}
.message_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0;
    font-size: 1.6rem;
    text-align: center;
    color: #666;
}
.message_container h2{
    cursor: default;
    color: #333;
    padding-bottom: 1.5rem;
}
.message_container p{
    line-height: 1.9;
    cursor: default;
}
.message_container p:hover{
    transform: translateY(-2px);
    transition: all 0.25s ease;
    color: #111;
    cursor: pointer;
}
.message_container span{
    display: block;
    margin-top: 1.5rem;
}
.trade_container{
    width: 100%;
    height: 400px;
    display: flex;
    background-image: url(../img/trade.jpg);
}
.import_container{
    width: 50%;
    background-image: url(../img/inport.webp);
    background-size: cover;
}
.export_container{
    width: 50%;
    background-image: url(../img/export.webp);
    background-size: cover;
}
.export_box,.import_box{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.5);
    transition: background-color 0.3s;
}
.export_box:hover,.import_box:hover{
    background-color: rgba(0,0,0,0.3);
}
.border_box{
    width: 90%;
    height: 90%;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,1);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    transition:opacity 0.3s ease;
}
.border_box:hover{
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 1;
    text-underline-offset: 4px;
}
.border_box a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.border_box h3{
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.2rem;
}
.news_container{
    width: 80%;
    margin: 0 auto;
    padding: 5rem 0;
}
.news_top_box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}
.news_top_box h2{
    font-size: 4rem;
    line-height: 1;
    cursor: default;
}
.news_top_box a{
    color: rgba(0,0,0,0.5);
}
.news_top_box p{
    font-size: 1.5rem;
    cursor: pointer;
}
.news_top_box span{
    margin-left: 0.5rem;
}
.news_bottom_box{
    width: 100%;
    display: flex;
    justify-content: center;
}
.news_bottom_box ul{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.news_bottom_box li{
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    cursor: default;
}
.news_bottom_box li a{
    padding-bottom: 0.2rem;
    padding-left: 2rem;
    cursor: pointer;
}
.news_bottom_box li a:hover{
    text-decoration: underline;
}
.recruit_container{
    width: 100%;
    height: 550px;
    display: flex;
}
.recruit_left_box{
    width: 60%;
    height: 100%;
    background-image: url(../img/recruit.webp);
    background-size: cover;
    background-position: center;
}
.recruit_right_box{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: 2rem;
    color: #333;
}
.recruit_right_box h2{
    font-size: 3rem;
    cursor: default;
}
.recruit_right_box p{
    font-size: 1.5rem;
    cursor: default;
}
.recruit_right_box a{
    font-size: 1.5rem;
    border-radius: 5rem;
    padding: 1.5rem 2.5rem;
    margin-top: 1.5rem;
    color: #fff !important;
    background-color: rgb(13, 80, 165);
    transition: opacity 0.5s,box-shadow 0.5s;
}
.recruit_right_box a:hover{
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}
footer{
    width: 100%;
    min-height: auto;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid rgba(0, 91, 172, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}
.footer_top_container {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    cursor: default;
}
.footer_top_container img{
    width: 15rem;
    padding: 0 1rem 1rem 0;
}
.footer_top_container h3{
    font-size: 1.7rem;
}
.footer_top_container p{
    font-size: 1.5rem;
}
.footer_top_container span{
    font-size: 1.5rem;
    padding-left: 1rem;
}
.footer_bottom_container {
    width: 80%;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    border: 1px solid rgba(0, 91, 172, 0.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border-radius: 1.4rem;
}
.footer_bottom_container:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    cursor: pointer;
}
.footer_bottom_container iframe {
    width: 100%;
    height: 100%;
}
.footer_list{
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
}
.footer_list li{
    font-size: 1.3rem;
    color: #666;
    padding-bottom: 0.25rem;
    cursor: default;
}
.footer_list li a{
    display: block;
}
.footer_list li a:hover{
    transform: translateY(-1px);
    transition: all 0.25s ease;
    color: #111;
}
.footer_list li:first-child{
    font-size: 1.5rem;
    color: #333;
    padding-bottom: 0.5rem;
}
.footer_copy {
    text-align: center;
    margin-top: 2rem;
    font-size: 13px;
    color: #777;
}
.copy{
    position: relative;
    height: 4rem;
    display: flex;
    justify-content:center ;
    align-items: center;
}
.copy p{
    font-size: 1rem;
}
a[href^="tel"],
a[href^="mailto"] {
  color: inherit;          /* 文字色はそのまま */
  text-decoration: underline;
  transition: 0.25s ease;
}

a[href^="tel"]:hover,
a[href^="mailto"]:hover {
  opacity: 0.6;
  text-decoration: underline;
}

/* 共通：ページタイトル（会社概要・採用・事業内容・お問い合わせ等で共有） */
.top_title_container {
  width: 80%;
  margin: 5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(0, 91, 172, 0.08);
  padding-bottom: 2rem;
}
.title_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.14em;
  text-align: center;
  cursor: default;
}
.title_container h1 {
  font-size: 2.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 1.2rem;
}
.title_container p {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}
.title_container span {
  font-size: 1.2rem;
  color: #005bac;
  margin-left: 0.5rem;
}

/* =========================================================
   ー スマホ（〜768px）完全版レイアウト ー
========================================================= */
@media (max-width: 768px) {
  html {
    width: 100% !important;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100vh;
    background: transparent !important;
  }
  /* 背景を画面幅いっぱいに均一表示（左右差を防ぐ） */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    background: linear-gradient(to right, #f5f8fc, #ffffff);
    z-index: -1;
    pointer-events: none;
  }
  header {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
  .header {
    width: 100% !important;
    max-width: 100% !important;
  }
  .top_img {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }
  .top_container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .sp_none{
    display: none !important;
  }
  .pc_none{
    display: block !important;
  }
  .sp_header{
    width: 100%;
    display: flex;
    align-items: center;
    height: 7rem;
  }
   .sp_header img{
    width: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
   }
   .sp_header a{
    font-size: 1.5rem;
   }
   .sp_header i{
    font-size: 2rem;
    position: absolute;
    right: 0;
    padding:2.5rem;
   }
   .nav{
    width: 100%;
    height: 90vh;
    background-color: #fff;
    z-index: 1000;
    position: fixed;
    top:0;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
   }
   .nav .under_line::after {
    display: none;
   }
   .nav a{
    padding: 2.5rem 10rem;
   }
  /* ------ TOP画像（スマホ用） ------ */
  .top_img img {
    width: 100%;
    height: 600px;
    padding-top: 7rem;
    object-fit: cover;
    object-position: center 0%;
    transform: scale(1.1);
  }

  .top_container {
    position: absolute;
    top: 0;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
  }

  .top_anniversary {
    font-size: 1.8rem;
    top: 18%;
    letter-spacing: 0.15rem;
    opacity: 0.7;
  }

  .top_container_logo img {
    width: 10rem;
    height: auto;
  }

  .top_main_text {
    font-size: 1.8rem !important;
    line-height: 1.6;
    font-weight: normal;
    margin: 0;
  }

  .top_container p {
    font-size: 1.8rem;
    margin: 0;
  }

  /* ------ MESSAGE ------ */
  .message_container {
    padding: 5rem 1.5rem;
    height: auto;
  }
  .message_container h2{
    font-size: 1.5rem;
  }
  .message_container p {
    font-size: 1.2rem;
    color: #333;
  }

  /* ------ TRADE（輸入/輸出） ------ */
  .trade_container {
    height: auto;
    flex-direction: column;
  }
  .import_container,
  .export_container {
    width: 100%;
    height: 250px;
  }
  .border_box h3 {
    font-size: 2rem;
  }
  .export_box,.import_box{
    background-color: rgba(0,0,0,0.5);
}
.border_box{
    width: 95%;
    opacity: 1;
}
  /* ------ NEWS ------ */
  .news_container {
    width: 90%;
    padding: 3rem 0;
  }
  .news_top_box{
    margin-bottom: 0rem;
}
  .news_top_box h2 {
    font-size: 3rem;
  }

  .news_top_box p {
    font-size: 1.3rem;
  }

  .news_bottom_box {
    justify-content: center;
  }

  .news_bottom_box ul {
    width: 100%;
  }

  /* ------ RECRUIT ------ */
  .recruit_container {
    flex-direction: column;
    height: auto;
  }

  .recruit_left_box {
    width: 100%;
    height: 250px;
  }

  .recruit_right_box {
    width: 100%;
    padding: 3rem 2rem;
  }

  .recruit_right_box h2 {
    font-size: 2rem;
  }

  .recruit_right_box p {
    font-size: 1.2rem;
  }

  .recruit_right_box a {
    font-size: 1.2rem;
    padding: 1.2rem 2rem;
  }

  /* ------ FOOTER ------ */
  footer {
    height: auto;
    padding: 3rem 0;
  }

  .footer_top_container {
    height: auto;
    padding-bottom: 2rem;
    text-align: center;
    display:flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .footer_top_container img {
    width: 10rem;
  }
  .footer_top_container h3 {
    font-size: 1.3rem;
  }
  .footer_top_container p {
    font-size: 1.2rem;
  }
  .footer_top_container span {
    display: block;
  }
  .footer_bottom_container {
    width: 90%;
    height: 25vh;
  }

  .footer_list {
    flex-direction: column;
    padding: 4rem 0 2rem;
    gap: 0;
    height: auto;
  }
  .footer_list ul {
    width: 100%;
    text-align: center;
  }

  .footer_list li {
    font-size: 1.2rem;
  }
  .footer_list a{
    padding: 1rem 0;
    color: #111;
  }
  
  .copy p {
    font-size: 1rem;
  }

  .information_box {
    font-size: 1.3rem;
  }

  /* ------ テーブルブロック（要点ボックス） ------ */
  .wp-block-table {
    padding: 1.4rem 1.2rem 1.2rem;
  }

  .wp-block-table__caption {
    font-size: 1.3rem;
  }

  .wp-block-table table {
    font-size: 1.2rem;
  }

  .wp-block-table th {
    width: 92px;
    padding: 0.5rem 0.8rem;
  }

  .wp-block-table td {
    padding: 0.5rem 0.8rem;
  }
}

/* =========================================================
   標準見出しブロック: 青い縦線付きスタイル
   全投稿タイプで使用可能
========================================================= */
.wp-block-heading,
article h1,
article h2,
article h3,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3 {
  padding-left: 0.55rem;
  border-left: 3px solid #005BAC;
}

/* =========================================================
   標準グループブロック: ハイライトボックススタイル
   全投稿タイプで使用可能
   白い背景、薄い青いボーダー、角丸のボックス
========================================================= */
.information_box {
  font-size: 1.5rem;
  line-height: 2;
  color: #444;
  padding: 1.2rem 1.4rem;
  background: #f8faff;
  border: 1px solid rgba(0, 91, 172, 0.10);
  border-radius: 1.2rem;
  margin-bottom: 2.2rem;
}

/* =========================================================
   標準テーブルブロック: 要点ボックススタイル
   全投稿タイプで使用可能
   テーブルのキャプションをタイトルとして表示
========================================================= */
.wp-block-table {
  margin: 2rem 0 2.2rem;
  padding: 1.3rem 1rem;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(0, 91, 172, 0.12);
  display: flex;
  flex-direction: column;
}

/* キャプションをテーブルの上に表示 */
.wp-block-table figcaption,
.wp-block-table__caption {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  color: #003e7e;
  font-weight: 400;
  text-align: left;
  order: -1; /* テーブルの前に表示 */
  width: 100%;
  box-sizing: border-box;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
  margin: 0;
}

.wp-block-table th,
.wp-block-table td {
  padding: 0.3rem 0.8rem;
  vertical-align: top;
  text-align: left;
  border: none;
}

.wp-block-table tr {
  min-height: auto;
  line-height: 1.5;
}

.wp-block-table th {
  width: 120px;
  color: #777;
  font-weight: 400;
}

.wp-block-table td {
  color: #444;
}

