@charset "UTF-8";
/* ==================================================
 CSS変数
================================================== */
:root {
  /* ▼ フォントファミリー */
  --ff-01: Arial, "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  --ff-02: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  --ff-noto-sans-jp: "Noto Sans JP", sans-serif;
  --ff-barlow-condensed: "Barlow Condensed", sans-serif;
  /* ▼ サイズ */
  --size-2-5: clamp(2px, 1.272px + .19vw, 5px);
  --size-5-8: clamp(5px, 4.272px + .19vw, 8px);
  --size-5-10: clamp(5px, 3.786px + .32vw, 10px);
  --size-5-25: clamp(5px, .146px + 1.29vw, 25px);
  --size-9-16: clamp(9px, 7.301px + .45vw, 16px);
  --size-10-20: clamp(10px, 7.573px + .65vw, 20px);
  --size-10-25: clamp(10px, 6.359px + .97vw, 25px);
  --size-10-30: clamp(10px, 5.146px + 1.29vw, 30px);
  --size-10-45: clamp(10px, 1.505px + 2.27vw, 45px);
  --size-12-25: clamp(12px, 8.845px + .84vw, 25px);
  --size-14-18: clamp(14px, 13.029px + .26vw, 18px);
  --size-15-18: clamp(15px, 14.272px + .19vw, 18px);
  --size-15-20: clamp(15px, 13.786px + .32vw, 20px);
  --size-15-25: clamp(15px, 12.573px + .65vw, 25px);
  --size-15-30: clamp(15px, 11.359px + .97vw, 30px);
  --size-15-45: clamp(15px, 7.718px + 1.94vw, 45px);
  --size-15-60: clamp(15px, 4.078px + 2.91vw, 60px);
  --size-16-20: clamp(16px, 15.029px + .26vw, 20px);
  --size-16-22: clamp(16px, 14.544px + .39vw, 22px);
  --size-17-24: clamp(17px, 15.301px + .45vw, 24px);
  --size-18-24: clamp(18px, 16.544px + .39vw, 24px);
  --size-18-28: clamp(18px, 15.573px + .65vw, 28px);
  --size-18-36: clamp(18px, 13.631px + 1.17vw, 36px);
  --size-19-32: clamp(19px, 15.845px + .84vw, 32px);
  --size-20-24: clamp(20px, 19.029px + .26vw, 24px);
  --size-20-30: clamp(20px, 17.573px + .65vw, 30px);
  --size-20-32: clamp(20px, 17.087px + .78vw, 32px);
  --size-20-36: clamp(20px, 16.117px + 1.04vw, 36px);
  --size-20-40: clamp(20px, 15.146px + 1.29vw, 40px);
  --size-20-45: clamp(20px, 13.932px + 1.62vw, 45px);
  --size-20-50: clamp(20px, 12.718px + 1.94vw, 50px);
  --size-20-60: clamp(20px, 10.291px + 2.59vw, 60px);
  --size-20-90: clamp(20px, 3.01px + 4.53vw, 90px);
  --size-20-120: clamp(20px, -4.272px + 6.47vw, 120px);
  --size-21-40: clamp(21px, 16.388px + 1.23vw, 40px);
  --size-22-26: clamp(22px, 21.029px + .26vw, 26px);
  --size-22-36: clamp(22px, 18.602px + .91vw, 36px);
  --size-24-30: clamp(24px, 22.544px + .39vw, 30px);
  --size-24-40: clamp(24px, 20.117px + 1.04vw, 40px);
  --size-25-45: clamp(25px, 20.146px + 1.29vw, 45px);
  --size-26-43: clamp(26px, 21.874px + 1.1vw, 43px);
  --size-28-34: clamp(28px, 26.544px + .39vw, 34px);
  --size-30-40: clamp(30px, 27.573px + .65vw, 40px);
  --size-30-45: clamp(30px, 26.359px + .97vw, 45px);
  --size-30-50: clamp(30px, 25.146px + 1.29vw, 50px);
  --size-30-60: clamp(30px, 22.718px + 1.94vw, 60px);
  --size-30-120: clamp(30px, 8.155px + 5.83vw, 120px);
  --size-32-60: clamp(32px, 25.204px + 1.81vw, 60px);
  --size-34-40: clamp(34px, 32.544px + .39vw, 40px);
  --size-40-75: clamp(40px, 31.505px + 2.27vw, 75px);
  --size-45-60: clamp(45px, 41.359px + .97vw, 60px);
  --size-45-70: clamp(45px, 38.932px + 1.62vw, 70px);
  --size-45-90: clamp(45px, 34.078px + 2.91vw, 90px);
  --size-45-120: clamp(45px, 26.796px + 4.85vw, 120px);
  --size-60-90: clamp(60px, 52.718px + 1.94vw, 90px);
  --size-60-120: clamp(60px, 45.437px + 3.88vw, 120px);
  --size-70-90: clamp(70px, 65.146px + 1.29vw, 90px);
  --size-70-110: clamp(70px, 60.291px + 2.59vw, 110px);
  --size-70-200: clamp(70px, 38.447px + 8.41vw, 200px);
  --size-75-90: clamp(75px, 71.359px + .97vw, 90px);
  --size-100-130: clamp(100px, 92.718px + 1.94vw, 130px);
  --size-100-150: clamp(100px, 87.864px + 3.24vw, 150px);
  --size-210-260: clamp(210px, 197.864px + 3.24vw, 260px);
  /* ▼ カラー */
  --tp: transparent;
  --main-blue: #0059b2;
  --sub-blue01: #f3f7fb;
  --sub-blue02: #1a1bdd;
  --error-red: #e8382f;
  --gra-r_sub-blue02_main-blue: radial-gradient(ellipse at center, #1a1bdd 0%, #0059b2 100%);
  /* ▼ トランジション */
  --ts-02: all .2s ease;
  --ts-03: all .3s ease;
  --ts-04: all .4s ease;
  --ts-06: all .6s ease;
}

/* ==================================================
 TABLE OF CONTENTS
  - COMMON
    - レスポンシブ表示制御
    - ブロック
    - コンテンツ幅
    - 余白
    - 色
    - ボタン
    - フォント、テキスト
    - 別タブ
    - dl表
  - LAYOUT
  - INDEX
  - PAGE
    - 共通
    - 会社紹介
    - 会社概要
    - ハマツールの強み
    - 特殊切削工具ソリューション
    - 再研磨・再生加工サービス
    - 生産体制と品質保証
    - オーダーメイド製作事例
    - 環境への取り組み
  - お知らせ
  - お問い合わせ
================================================== */
/* ==================================================
 COMMON
================================================== */
body {
  font-family: var(--ff-01) !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  color: #222 !important;
}

a {
  color: #222;
  transition: var(--ts-02);
}
a[href^="tel:"] {
  pointer-events: auto;
}

input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
  width: 100%;
  padding: 1em !important;
  font-size: 16px;
  background: #fff;
  border: 1px solid #fff !important;
  border-radius: 5px;
  transition: var(--ts-02);
}
input[type=text]:hover, input[type=text]:focus,
input[type=email]:hover,
input[type=email]:focus,
input[type=tel]:hover,
input[type=tel]:focus,
select:hover,
select:focus,
textarea:hover,
textarea:focus {
  border: 1px solid var(--main-blue) !important;
  outline: none;
}

textarea {
  height: 180px !important;
}

table {
  width: 100%;
}

/* レスポンシブ表示制御 */
@media (min-width: 601px) {
  .sp-less {
    display: none !important;
  }
}
@media (min-width: 801px) {
  .tab-less {
    display: none !important;
  }
}
@media (min-width: 1001px) {
  .note-less {
    display: none !important;
  }
}
@media (min-width: 1201px) {
  .pc-less {
    display: none !important;
  }
}
@media (min-width: 1921px) {
  .fhd-less {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .sp-more {
    display: none !important;
  }
}
@media (max-width: 800px) {
  .tab-more {
    display: none !important;
  }
}
@media (max-width: 1000px) {
  .note-more {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  .pc-more {
    display: none !important;
  }
}
@media (max-width: 1920px) {
  .fhd-more {
    display: none !important;
  }
}
/* ブロック */
.flex,
.card,
.media {
  display: flex;
}

@media (max-width: 600px) {
  .media {
    flex-direction: column;
  }
}

.media-cont,
.media-tx {
  flex: 1;
}

.card {
  flex-direction: column;
  align-items: center;
}

.grid {
  display: grid;
}

.ai-s {
  align-items: start;
}

.ai-c {
  align-items: center;
}

.ai-e {
  align-items: end;
}

/* コンテンツ幅 */
.w-90p, .w-90p_mxw-1680, .w-90p_mxw-1350, .w-90p_mxw-1200, .w-90p_mxw-1050, .w-90p_mxw-900, .w-90p_mxw-660 {
  width: 90%;
  margin-inline: auto;
}

.w-90p_mxw-660 {
  max-width: 660px;
}

.w-90p_mxw-900 {
  max-width: 900px;
}

.w-90p_mxw-1050 {
  max-width: 1050px;
}

.w-90p_mxw-1200 {
  max-width: 1200px;
}

.w-90p_mxw-1350 {
  max-width: 1350px;
}

.w-90p_mxw-1680 {
  max-width: 1680px;
}

/* 余白 */
.m-60-0 {
  margin: var(--size-30-60) 0;
}

.m-90-0 {
  margin: var(--size-45-90) 0;
}

.mt--60 {
  margin-top: calc(var(--size-30-60) * -1);
}

.mt-10 {
  margin-top: var(--size-5-10);
}

.mt-20 {
  margin-top: var(--size-10-20);
}

.mt-30 {
  margin-top: var(--size-15-30);
}

.mt-45 {
  margin-top: var(--size-20-45);
}

.mt-60 {
  margin-top: var(--size-30-60);
}

.mt-90 {
  margin-top: var(--size-45-90);
}

.mt-120 {
  margin-top: var(--size-60-120);
}

.mb-20 {
  margin-bottom: var(--size-10-20);
}

.mb-30 {
  margin-bottom: var(--size-15-30);
}

.mb-45 {
  margin-bottom: var(--size-20-45);
}

.mb-90 {
  margin-bottom: var(--size-45-90);
}

.mb-1e {
  margin-bottom: 1em;
}

.mb-2e {
  margin-bottom: 2em;
}

.ml-120 {
  margin-left: var(--size-60-120);
}

.p-60 {
  padding: var(--size-30-60);
}

.p-60-0 {
  padding: var(--size-30-60) 0;
}

.p-90-0 {
  padding: var(--size-45-90) 0;
}

.p-120-0 {
  padding: var(--size-60-120) 0;
}

.pt-30 {
  padding-top: var(--size-15-30);
}

.pt-60 {
  padding-top: var(--size-30-60);
}

.pt-90 {
  padding-top: var(--size-45-90);
}

.pt-120 {
  padding-top: var(--size-60-120);
}

.pb-60 {
  padding-bottom: var(--size-30-60);
}

.pb-90 {
  padding-bottom: var(--size-45-90);
}

.pb-120 {
  padding-bottom: var(--size-60-120);
}

/* 色 */
.c-main-blue {
  color: var(--main-blue);
}

.bg-sub-blue01 {
  background: var(--sub-blue01);
}

.bg-white {
  background: #fff;
}

/* ボタン */
.link_button a {
  font-weight: 600 !important;
  background: var(--gra-r_sub-blue02_main-blue) !important;
  border: none !important;
  border-radius: 0 !important;
}
.link_button a:hover {
  opacity: 0.7;
}

.design_button {
  width: auto;
  min-width: 300px;
  color: #fff !important;
  border-radius: 0;
}

.btn {
  display: inline-block;
  padding: var(--size-15-20) var(--size-45-60);
  font-weight: 600;
}
.btn:hover {
  opacity: 0.7;
}

.btn-gra-blue {
  color: #fff;
  background: var(--gra-r_sub-blue02_main-blue);
}

/* フォント、テキスト */
#content_builder .design_header h1,
#content_builder .design_header h2,
#content_builder .design_header h3,
#content_builder .design_header h4,
#content_builder .design_header h5,
#content_builder .design_header h6,
#content_builder .mobile_content h1,
#content_builder .mobile_content h2,
#content_builder .mobile_content h3,
#content_builder .mobile_content h4,
#content_builder .mobile_content h5,
#content_builder .mobile_content h6 {
  margin-bottom: 1em;
  font-family: var(--ff-noto-sans-jp) !important;
  font-weight: 800 !important;
  line-height: 1.75;
  letter-spacing: 0.1em !important;
  color: #222 !important;
}
#content_builder .design_header h1,
#content_builder .mobile_content h1 {
  font-size: var(--size-24-40) !important;
}
#content_builder .design_header h2,
#content_builder .mobile_content h2 {
  font-size: var(--size-22-36) !important;
}
#content_builder .design_header h3,
#content_builder .mobile_content h3 {
  font-size: var(--size-20-32) !important;
}
#content_builder .design_header h4,
#content_builder .mobile_content h4 {
  font-size: var(--size-18-28) !important;
}
#content_builder .design_header h5,
#content_builder .mobile_content h5 {
  font-size: var(--size-17-24) !important;
}
#content_builder .design_header h6,
#content_builder .mobile_content h6 {
  font-size: var(--size-16-20) !important;
}
#content_builder .bg-en-header [data-en-ttl] {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  line-height: 1;
}
#content_builder .bg-en-header [data-en-ttl]::before {
  display: block;
  font-family: var(--ff-barlow-condensed);
  font-size: var(--size-70-200);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgb(234.1, 244.55, 255);
  content: attr(data-en-ttl);
}
#content_builder .bg-en-header [data-en-ttl] span {
  position: absolute;
  padding-top: var(--size-5-25);
  font-size: var(--size-22-36) !important;
}
#content_builder .bg-en-header [data-en-ttl] span:has(br) {
  line-height: 1.5;
}

#page_contents h1,
#page_contents h2,
#page_contents h3,
#page_contents h4,
#page_contents h5,
#page_contents h6 {
  margin-bottom: 1em;
  font-family: var(--ff-noto-sans-jp) !important;
  font-weight: 800 !important;
  line-height: 1.75;
  letter-spacing: 0.1em !important;
  color: #222 !important;
}
#page_contents h1 {
  font-size: var(--size-24-40) !important;
}
#page_contents h2 {
  font-size: var(--size-22-36) !important;
}
#page_contents h3 {
  font-size: var(--size-20-32) !important;
}
#page_contents h4 {
  font-size: var(--size-18-28) !important;
}
#page_contents h5 {
  font-size: var(--size-17-24) !important;
}
#page_contents h6 {
  font-size: var(--size-16-20) !important;
}
#page_contents .bg-en-header [data-en-ttl] {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  line-height: 1;
}
#page_contents .bg-en-header [data-en-ttl]::before {
  display: block;
  font-family: var(--ff-barlow-condensed);
  font-size: var(--size-70-200);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgb(234.1, 244.55, 255);
  content: attr(data-en-ttl);
}
#page_contents .bg-en-header [data-en-ttl] span {
  position: absolute;
  padding-top: var(--size-5-25);
  font-size: var(--size-22-36) !important;
}
#page_contents .bg-en-header [data-en-ttl] span:has(br) {
  line-height: 1.5;
}
#page_contents .ttl01 {
  position: relative;
  padding-left: var(--size-40-75);
  font-size: var(--size-18-36) !important;
  text-align: left;
}
#page_contents .ttl01::before {
  position: absolute;
  top: var(--size-2-5);
  left: 0;
  width: var(--size-32-60);
  height: var(--size-32-60);
  content: "";
  background: url(../images/hamatool_logo.png) no-repeat left center;
  background-size: contain;
  opacity: 0.75;
}

.fz-13 {
  font-size: 13px;
}

.ff-serif {
  font-family: var(--ff-02);
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.ta-c {
  text-align: center;
}

.ta-r {
  text-align: right;
}

/* 別タブ */
.blank-tab > * {
  background-image: url(../img/blank_tab.svg) !important;
  background-repeat: no-repeat !important;
}

.blank-tab-b > * {
  background-image: url(../img/blank_tab_b.svg) !important;
  background-repeat: no-repeat !important;
}

/* dl表 */
.base-table {
  border-top: 1px solid #ddd;
}
@media (max-width: 600px) {
  .base-table {
    border-top: none;
  }
}
.base-table > dl {
  position: relative;
  display: grid;
  grid-template-columns: 15em 1fr;
  margin: 0;
}
@media (max-width: 800px) {
  .base-table > dl {
    display: block;
  }
}
.base-table > dl > dt,
.base-table > dl > dd {
  margin: 0;
  padding: var(--size-10-20) var(--size-15-30);
  border-bottom: 1px solid #ddd;
}
.base-table > dl > dt {
  color: var(--main-blue);
}
@media (max-width: 800px) {
  .base-table > dl > dt {
    width: 100%;
    text-align: center;
    background: #f8f8f8;
  }
}
@media (max-width: 600px) {
  .base-table > dl > dt {
    border-top: 1px solid #ddd;
    border-bottom: none;
  }
}
@media (max-width: 600px) {
  .base-table > dl > dd {
    border: none;
  }
}
.base-table > dl > dd dt {
  margin-bottom: 1em;
  padding: 0.75em 1em;
  line-height: 1.75;
  background: #f8f8f8;
  border-left: #ddd;
}
.base-table > dl > dd dd {
  margin-bottom: var(--size-30-60);
}
.base-table > dl > dd a {
  text-decoration: underline;
}
.base-table > dl > dd a:hover {
  text-decoration: none;
}
.base-table > dl > dd img {
  margin-bottom: 15px;
  border-radius: 30px;
}
.base-table iframe {
  width: 100%;
  height: 300px;
  margin-top: 20px !important;
}
@media (max-width: 800px) {
  .base-table iframe {
    height: 210px;
  }
}
.base-table ul {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .post_content p {
    margin-bottom: 1em;
  }
}

/* ==================================================
 LAYOUT
================================================== */
#header_logo {
  width: var(--size-210-260);
}
#header_logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 1600px) {
  #global_menu {
    position: static;
    display: flex;
    justify-content: end;
    padding-right: 150px;
    transform: none;
  }
}
@media (max-width: 1200px) {
  #global_menu {
    display: none;
  }
}

#global_menu ul li a,
#header_button {
  font-family: var(--ff-noto-sans-jp);
  font-weight: 500;
}
#global_menu ul li a br,
#header_button br {
  display: none;
}

@media (max-width: 1600px) {
  #header_button {
    min-width: auto;
    padding: 0 15px;
  }
}

#js-megamenu146 {
  left: 55%;
}

@media (max-width: 1200px) {
  #drawer_menu {
    background: rgb(0, 63.5, 127);
  }
}
#drawer_menu a br {
  display: none;
}

@media (max-width: 1200px) {
  #drawer_menu_button span {
    background: rgb(0, 63.5, 127);
  }
}

@media (max-width: 1200px) {
  #footer_logo img {
    width: 80%;
  }
}

@media (max-width: 1000px) {
  #footer_button_area .icon img {
    max-width: 38px;
  }
}

.sns_button_list.color_type2 li a {
  width: 30px;
  height: 30px;
}

.sns_button_list li.insta a:before {
  font-size: 26px;
}

.sns_button_list.color_type2 li.facebook a:before {
  font-size: 32px;
}

.sns_button_list li.youtube a:before {
  font-size: 30px;
}

#footer_nav li a br {
  display: none;
}

@media (max-width: 800px) {
  body.show_footer_bar #return_top.active {
    bottom: 55px !important;
  }
}

/* ==================================================
 INDEX
================================================== */
.home #header_slider_content .catch {
  font-family: var(--ff-noto-sans-jp);
  font-weight: 800;
}
.home .cb_design_header .catch span {
  font-size: var(--size-18-24);
}
.home #content_builder .design_header {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0;
}
.home #cb_content_2 .design_header .catch br,
.home #cb_content_4 .design_header .catch br {
  display: none;
}
.home #cb_content_2 .design_header .desc p,
.home #cb_content_4 .design_header .desc p {
  line-height: 2;
}
.home #cb_content_2 .bg-en-header [data-en-ttl],
.home #cb_content_4 .bg-en-header [data-en-ttl] {
  color: var(--main-blue) !important;
}
.home #cb_content_2 #service_icon_list_type1,
.home #cb_content_4 #service_icon_list_type1 {
  width: 90%;
  max-width: 1200px;
  margin: 0;
  margin-inline: auto;
}
@media (max-width: 800px) {
  .home #cb_content_2 #service_icon_list_type1 li,
  .home #cb_content_4 #service_icon_list_type1 li {
    width: calc(25% + 1px);
  }
}
@media (max-width: 600px) {
  .home #cb_content_2 #service_icon_list_type1 li,
  .home #cb_content_4 #service_icon_list_type1 li {
    width: calc(50% + 1px);
  }
}
.home #cb_content_2 #service_icon_list_type1 a,
.home #cb_content_4 #service_icon_list_type1 a {
  padding: 0;
}
.home #cb_content_2 #service_icon_list_type1 .icon,
.home #cb_content_4 #service_icon_list_type1 .icon {
  width: var(--size-70-90);
  height: var(--size-70-90);
  margin-bottom: var(--size-10-30);
}
.home #cb_content_2 #service_icon_list_type1 .icon img,
.home #cb_content_4 #service_icon_list_type1 .icon img {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.home #cb_content_2 #service_icon_list_type1 .catch span,
.home #cb_content_4 #service_icon_list_type1 .catch span {
  display: block;
  font-size: var(--size-16-20);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .home #cb_content_2 .desc {
    text-align: left;
  }
}
.home #cb_content_3 {
  padding: var(--size-60-120) 0;
  background: var(--sub-blue01);
}
.home #cb_content_4 {
  padding-top: var(--size-60-90);
}
.home #cb_content_4 .sp_content .main_content .point {
  font-family: var(--ff-barlow-condensed);
  font-weight: 800;
  background: var(--main-blue);
}
@media (max-width: 800px) {
  .home #cb_content_4 .sp_content .main_content .point {
    margin-right: 0;
  }
}
.home #cb_content_4 .sp_content .main_content .point .label {
  font-size: var(--size-16-20);
  letter-spacing: 0.075em;
}
.home #cb_content_4 .sp_content .main_content .point .num {
  margin-top: 3px;
  font-size: var(--size-22-26);
}
.home #cb_content_4 .mobile_content {
  display: flex;
  gap: 20px;
  align-items: center;
}
@media (max-width: 800px) {
  .home #cb_content_4 .mobile_content {
    flex-direction: column;
  }
}
.home #cb_content_4 .mobile_content .catch {
  color: #fff !important;
}
@media (max-width: 800px) {
  .home #cb_content_4 .mobile_content .catch {
    width: 100%;
    margin: 0 !important;
    text-align: center;
  }
}
.home #cb_content_4 .desc strong {
  font-size: var(--size-16-22);
}
@media (max-width: 800px) {
  .home #cb_content_4 .desc strong {
    display: block;
    margin-bottom: -20px;
    text-align: center;
  }
}
.home #cb_content_6 {
  margin-bottom: var(--size-60-90);
  padding: var(--size-60-120) 0;
  background: var(--sub-blue01);
}
.home #cb_content_6 .blog_list .item {
  background: #fff;
}
.home #cb_content_7 {
  padding-bottom: 45px;
}
.home #cb_content_7 .link_button {
  margin-top: 45px;
}
.home #cb_content_8 {
  padding-bottom: 0;
}
@media (max-width: 800px) {
  .home .character-description {
    top: calc(100% - 20px);
  }
  .home .character-description::after {
    top: -16px;
  }
}

/* ==================================================
 PAGE
================================================== */
/* 共通 */
@media (min-width: 1201px) {
  #page_header {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3/1;
  }
}
@media (max-width: 1200px) {
  #page_header {
    height: 300px !important;
  }
}
@media (max-width: 1000px) {
  #page_header {
    height: 240px !important;
  }
}
@media (max-width: 800px) {
  #page_header {
    height: 180px !important;
  }
}
#page_header img {
  object-position: center;
}
#page_header h1 {
  font-family: var(--ff-noto-sans-jp) !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
}

#page_contents {
  width: 100% !important;
  margin-inline: auto;
  padding: 0;
}
#page_contents .page-intro {
  position: relative;
  padding: var(--size-30-120) 0;
  font-size: var(--size-14-18);
  font-weight: 600;
  text-align: center;
  background: var(--main-blue);
  background: var(--gra-r_sub-blue02_main-blue);
}
#page_contents .page-intro::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: url(../images/tool_bg.svg) no-repeat center;
  background-size: auto 250%;
  opacity: 0.5;
}
#page_contents .page-intro .w-90p_mxw-900 {
  position: relative;
}
#page_contents .page-intro .w-90p_mxw-900 * {
  color: #fff !important;
}
@media (max-width: 600px) {
  #page_contents .page-intro .w-90p_mxw-900 p {
    text-align: left;
  }
}
#page_contents .page-intro .page-lead {
  font-size: var(--size-18-36) !important;
}
#page_contents .bg-img-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5/1;
  background: #000;
}
@media (max-width: 800px) {
  #page_contents .bg-img-header {
    aspect-ratio: 3/1;
  }
}
#page_contents .bg-img-header img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
#page_contents .bg-img-header h2 {
  position: absolute;
  margin: 0;
  color: #fff !important;
}
#page_contents .mt--cont {
  position: relative;
  margin-top: calc(var(--size-20-60) * -1);
  padding: var(--size-15-60);
  background: #fff;
}
@media (max-width: 800px) {
  #page_contents .mt--cont {
    padding-bottom: var(--size-30-45);
  }
}
#page_contents .frame01 {
  padding: var(--size-15-30);
  background: rgb(239.2, 247.1, 255);
  border: 1px solid rgba(0, 89, 178, 0.5);
}
#page_contents .imgs {
  display: flex;
  gap: 5px;
  margin: var(--size-30-60) 0;
}
@media (max-width: 600px) {
  #page_contents .imgs {
    flex-direction: column;
    width: 90%;
    margin-inline: auto;
  }
}
#page_contents .tx-and-img {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  background: var(--sub-blue01);
}
@media (max-width: 1600px) {
  #page_contents .tx-and-img {
    display: flex;
    flex-direction: column;
    padding-bottom: 5vw;
  }
}
@media (max-width: 1600px) {
  #page_contents .tx-and-img .img {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/1;
  }
  #page_contents .tx-and-img .img img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width: 600px) {
  #page_contents .tx-and-img .img {
    aspect-ratio: 2/1;
  }
}
#page_contents .tx-and-img .tx {
  position: relative;
  margin-left: -120px;
  padding: var(--size-20-120);
  background: #fff;
  box-shadow: 0 0 var(--size-15-30) rgba(0, 63.5, 127, 0.1);
}
@media (max-width: 1600px) {
  #page_contents .tx-and-img .tx {
    width: 90%;
    margin: calc(var(--size-20-60) * -1) auto 0 !important;
  }
}
#page_contents .tx-and-img.reverse .tx {
  grid-row: 1;
  grid-column: 1;
  margin: 0 -120px 0 0;
}
#page_contents .tx-and-img.reverse .img {
  grid-row: 1;
  grid-column: 2;
}
#page_contents .merit .bg-en-header [data-en-ttl] {
  color: var(--main-blue) !important;
}
#page_contents .merit .bg-en-header [data-en-ttl]::before {
  color: #fff;
}
#page_contents .merit .icon-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--size-20-45);
  margin-bottom: 35px;
}
@media (max-width: 800px) {
  #page_contents .merit .icon-list {
    display: flex;
    flex-direction: column;
  }
}
#page_contents .merit section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--size-20-45);
  background: #fff;
  border-radius: var(--size-10-20);
  box-shadow: 0 0 20px rgba(0, 63.5, 127, 0.1);
}
#page_contents .merit .icon {
  width: var(--size-100-130);
  height: var(--size-100-130);
}
#page_contents .merit svg {
  width: 100%;
  height: 100%;
  fill: var(--main-blue);
}
#page_contents .merit h3 {
  margin: var(--size-5-10) 0;
  font-size: var(--size-18-28) !important;
}
#page_contents .merit p {
  line-height: 2.2;
}
#page_contents .flow-list section {
  position: relative;
  display: flex;
  gap: var(--size-15-30);
  align-items: start;
  margin-top: var(--size-30-50);
  padding: var(--size-20-45);
  background: rgb(239.2, 247.1, 255);
  border-radius: var(--size-15-30);
}
#page_contents .flow-list section::before {
  position: absolute;
  bottom: calc(var(--size-75-90) * -1);
  left: 50%;
  content: "";
  border: 60px solid var(--tp);
  border-top: 30px solid rgb(239.2, 247.1, 255);
  transform: translateX(-50%);
}
#page_contents .flow-list section:last-child::before {
  display: none;
}
#page_contents .flow-list .num {
  position: relative;
  width: var(--size-45-70);
  aspect-ratio: 1/1;
  background: url(../images/hamatool_logo_blue.png) no-repeat center top;
  background-size: contain;
}
#page_contents .flow-list .num span {
  position: absolute;
  top: var(--size-5-8);
  left: 0;
  width: 100%;
  font-family: var(--ff-barlow-condensed);
  font-size: var(--size-20-30);
  font-weight: 800;
  text-align: center;
  color: var(--main-blue);
}
#page_contents .flow-list .tx {
  flex: 1;
}
#page_contents .flow-list h3 {
  margin-bottom: 0.75em;
  font-size: var(--size-17-24) !important;
  line-height: 1.25;
}
@media (max-width: 600px) {
  #page_contents .flow-list h3 {
    margin-bottom: 0.5em;
  }
}
#page_contents .flow-list p {
  line-height: 2;
}
#page_contents #single_service_icon_list {
  padding: var(--size-45-90) 0;
  border-top: 1px solid #ddd;
}
#page_contents #service_icon_list_type1 {
  width: 90%;
  max-width: 1110px;
  margin: 0;
  margin-inline: auto;
}
@media (max-width: 800px) {
  #page_contents #service_icon_list_type1 {
    width: 90%;
    max-width: 360px;
    margin: 0 auto;
  }
}
#page_contents #service_icon_list_type1 li {
  width: 25%;
}
@media (max-width: 800px) {
  #page_contents #service_icon_list_type1 li {
    width: 50%;
  }
}
#page_contents #service_icon_list_type1 a {
  padding: 0;
}
#page_contents #service_icon_list_type1 a::after {
  display: none;
}
#page_contents #service_icon_list_type1 .icon img {
  max-width: 90px;
}
@media (max-width: 800px) {
  #page_contents #service_icon_list_type1 .icon img {
    max-width: 70px;
    margin-bottom: 0;
  }
}
#page_contents #service_icon_list_type1 .current .catch span {
  color: var(--main-blue);
}

/* 会社紹介 */
#page-about .philosophy .frame01 {
  margin-bottom: 30px;
}
#page-about .philosophy .frame01 strong {
  color: var(--main-blue);
}
#page-about .philosophy .frame01 li + li {
  margin-top: 20px;
}
#page-about .vision .bg-en-header [data-en-ttl] {
  color: var(--main-blue) !important;
}
#page-about .vision .bg-en-header [data-en-ttl]::before {
  color: #fff;
}
#page-about .message {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  #page-about .message {
    display: flex;
    flex-direction: column;
  }
}
#page-about .message img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
#page-about .message .tx {
  padding: var(--size-20-90);
}
@media (max-width: 600px) {
  #page-about .message .tx {
    padding: 45px var(--size-20-90);
  }
}
#page-about .message .name {
  display: flex;
  align-items: center;
  justify-content: end;
}
#page-about .message .name p {
  margin: 0;
}
#page-about .message .name img {
  width: var(--size-100-150);
  margin-left: 20px;
}

/* 会社概要 */
#page-company .facilities dl {
  grid-template-columns: 25em 1fr;
}

/* 特殊切削工具ソリューション */
#page-manufacturing .chosen h2 {
  color: var(--main-blue) !important;
}
#page-manufacturing .chosen ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--size-30-60);
  margin: 30px 0 0 0;
}
@media (max-width: 600px) {
  #page-manufacturing .chosen ul {
    display: flex;
    flex-direction: column;
  }
}
#page-manufacturing .chosen li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  list-style: none;
}
#page-manufacturing .chosen .img {
  width: 70%;
}
@media (max-width: 600px) {
  #page-manufacturing .chosen .img {
    width: 60%;
    max-width: 240px;
  }
}
#page-manufacturing .chosen img {
  border: 5px solid #fff;
  border-radius: 100vmax;
}
#page-manufacturing .chosen dt {
  margin: var(--size-5-10) 0;
  font-size: var(--size-18-28);
  text-align: center;
}
#page-manufacturing .chosen dd {
  text-align: left;
}
#page-manufacturing .field header {
  display: flex;
  justify-content: center;
}
#page-manufacturing .field .ttl01 {
  margin-bottom: 0;
}
#page-manufacturing .field .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--size-15-45);
  margin: var(--size-25-45) 0 var(--size-20-30);
}
@media (max-width: 800px) {
  #page-manufacturing .field .grid {
    display: flex;
    flex-direction: column;
  }
}
#page-manufacturing .field h3 {
  margin-bottom: 0.75em;
  font-size: var(--size-18-28) !important;
  text-align: center;
  color: var(--main-blue) !important;
}

/* 再研磨・再生加工サービス */
#page-regrinding-modification .service .media {
  gap: var(--size-20-60);
  align-items: start;
}
#page-regrinding-modification .service .media-tx {
  position: sticky;
  top: 165px;
}
#page-regrinding-modification .service .media-img {
  display: grid;
  flex: 1.75;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  #page-regrinding-modification .service .media-img {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
}
#page-regrinding-modification .service figure {
  position: relative;
  aspect-ratio: 3/2;
  line-height: 0;
}
#page-regrinding-modification .service figure img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
#page-regrinding-modification .service figure:nth-child(even) figcaption {
  background: var(--main-blue);
}
#page-regrinding-modification .service figcaption {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #333;
}
#page-regrinding-modification .voice .bg-en-header [data-en-ttl] {
  color: var(--main-blue) !important;
}
#page-regrinding-modification .voice .bg-en-header [data-en-ttl]::before {
  color: #fff;
}
#page-regrinding-modification .voice ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--size-20-45);
  margin: 0;
}
@media (max-width: 1200px) {
  #page-regrinding-modification .voice ul {
    display: flex;
    flex-direction: column;
  }
}
#page-regrinding-modification .voice li {
  display: flex;
  gap: 15px;
  align-items: center;
  list-style: none;
}
#page-regrinding-modification .voice .icon {
  width: var(--size-70-110);
  height: var(--size-70-110);
}
#page-regrinding-modification .voice svg {
  width: 100%;
  height: 100%;
  fill: var(--main-blue);
}
#page-regrinding-modification .voice .tx {
  position: relative;
  flex: 1;
  padding: var(--size-15-30);
  font-weight: bold;
  background: #fff;
  border-radius: var(--size-10-20);
  box-shadow: 0 0 20px rgba(0, 63.5, 127, 0.1);
}
#page-regrinding-modification .voice .tx::before {
  position: absolute;
  top: 50%;
  left: calc(var(--size-30-40) * -1);
  content: "";
  border: 20px solid var(--tp);
  border-right: 20px solid #fff;
  transform: translateY(-50%);
}

/* 生産体制と品質保証 */
#page-facilities .system ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-12-25);
  justify-content: center;
  margin: 0;
}
#page-facilities .system li {
  position: relative;
  padding: var(--size-5-10) var(--size-10-30);
  font-weight: 700;
  color: #fff;
  list-style: none;
  background: var(--main-blue);
  border-radius: var(--size-5-10);
}
#page-facilities .system li:not(:last-child)::before {
  position: absolute;
  top: 50%;
  right: calc(var(--size-18-24) * -1);
  content: "";
  border: 12px solid var(--tp);
  border-left: 12px solid var(--main-blue);
  transform: translateY(-50%);
}

/* オーダーメイド製作事例 */
#page-cases #cases .case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--size-20-45);
}
@media (max-width: 600px) {
  #page-cases #cases .case-grid {
    display: flex;
    flex-direction: column;
  }
}
#page-cases #cases .case-card {
  border-radius: var(--size-10-20);
  box-shadow: 0 0 20px rgba(0, 63.5, 127, 0.1);
}
#page-cases #cases .case-body {
  padding: var(--size-15-30) var(--size-20-45);
}
#page-cases #cases h3 {
  margin-bottom: 0.5em;
  font-size: var(--size-18-28) !important;
  color: var(--main-blue) !important;
}
#page-cases #cases h3 span {
  display: block;
  font-size: 0.75em;
}
#page-cases #cases .slick-arrow {
  z-index: 1;
  width: 40px;
  height: 40px;
  background: var(--main-blue);
}
#page-cases #cases .slick-arrow::before {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  content: "";
  border-top: 2px solid #fff;
}
#page-cases #cases .slick-prev {
  left: 0;
}
#page-cases #cases .slick-prev::before {
  left: 16px;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}
#page-cases #cases .slick-next {
  right: 0;
}
#page-cases #cases .slick-next::before {
  right: -8px;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

/* オーダーメイド製作事例 */
#page-csr .authentication .mt--cont {
  background: var(--sub-blue01);
}
#page-csr .authentication .frame01 {
  background: #fff;
}
#page-csr .authentication .frame01 + .frame01 {
  margin-top: var(--size-15-30);
}
#page-csr .authentication h3 {
  margin-bottom: 0.75em;
  font-size: var(--size-18-28) !important;
  text-align: center;
  color: var(--main-blue) !important;
}
@media (max-width: 600px) {
  #page-csr .authentication h3 {
    margin-bottom: 0.5em;
  }
}

/* ==================================================
 お知らせ
================================================== */
#main_content {
  align-items: start;
}

#side_col {
  position: sticky;
  top: 165px;
}
@media (max-width: 1200px) {
  #side_col {
    top: 80px;
  }
}

/* ==================================================
 お問い合わせ
================================================== */
.contact-page-contents {
  padding-bottom: var(--size-45-90) !important;
}
.contact-page-contents .mail-form-intro {
  text-align: center;
}
.contact-page-contents .mail-form-intro .for-phone {
  margin: var(--size-20-40) 0;
  text-align: center;
}
.contact-page-contents .mail-form-intro .for-phone dt {
  font-size: var(--size-18-24);
  font-weight: 600 !important;
  line-height: 1.25;
}
.contact-page-contents .mail-form-intro .for-phone br {
  display: none;
}
.contact-page-contents .mail-form-intro .for-phone .flex {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-34-40);
  font-weight: 700;
  line-height: 1.75;
  color: var(--main-blue);
}
.contact-page-contents .mail-form-intro .for-phone a {
  transition: var(--ts-02);
}
.contact-page-contents .mail-form-intro .for-phone a:hover {
  text-decoration: none;
  opacity: 0.7;
}
.contact-page-contents .mail-form-intro .for-phone svg {
  margin-right: 10px;
  fill: var(--main-blue);
}
.contact-page-contents .mail-form-intro .for-phone .tel {
  margin: var(--size-45-60) 0 0;
}
.contact-page-contents .mail-form-intro .for-phone .tel svg {
  width: var(--size-24-30);
  height: var(--size-24-30);
}
.contact-page-contents .mail-form-intro .for-phone .fax {
  margin-top: 45px;
}
.contact-page-contents .mail-form-intro .for-phone .fax svg {
  width: var(--size-28-34);
  height: var(--size-28-34);
}
.contact-page-contents .mail-form-intro .for-phone .note {
  line-height: 1;
}
.contact-page-contents .mail-form-intro ul {
  margin: 0 0 var(--size-20-40) 0;
}
.contact-page-contents .mail-form-intro li {
  font-size: 14px;
  font-weight: 700 !important;
  list-style: none;
}
.contact-page-contents .mail-form-intro .req {
  margin-right: 10px;
}
.contact-page-contents .mail-form-intro .desc {
  font-size: 14px;
}
@media (max-width: 600px) {
  .contact-page-contents .mail-form-intro .desc {
    text-align: left;
  }
}
.contact-page-contents .req {
  position: relative;
  top: -2px;
  display: inline-block;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.75;
  color: #fff;
  background: var(--error-red);
  border-radius: 100px;
}
.contact-page-contents #page-contact .privacy {
  overflow-y: scroll;
  height: 300px;
  padding: var(--size-15-30);
  background: #fff;
}
.contact-page-contents #page-contact .privacy h3,
.contact-page-contents #page-contact .privacy h4 {
  margin: 0 0 10px 0 !important;
  font-size: var(--size-16-20) !important;
  font-weight: 500 !important;
}
.contact-page-contents #page-contact .privacy p {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.75;
}
.contact-page-contents .complete-msg a {
  margin: 0 10px;
}
.contact-page-contents .form-cont dt {
  font-weight: 600;
}
.contact-page-contents .form-cont fieldset dt {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.contact-page-contents .form-cont .wpcf7-list-item {
  margin-left: 0;
  line-height: 2.2;
}
.contact-page-contents .form-cont dd {
  margin: 5px 0 0 20px;
}
.contact-page-contents .form-cont .req {
  margin-left: 5px;
}
.contact-page-contents .form-cont .note {
  display: block;
  margin-top: 10px;
  font-size: 0.8em;
  line-height: 1.75;
  color: #888;
}
.contact-page-contents .form-cont .agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}
@media (max-width: 600px) {
  .contact-page-contents .form-cont .agreement {
    flex-direction: column;
  }
  .contact-page-contents .form-cont .agreement dd {
    margin: 0;
  }
}
.contact-page-contents .form-cont .agreement .req {
  top: 0;
  margin-left: 0;
}
.contact-page-contents .wpcf7 {
  padding: var(--size-20-40);
  background: var(--sub-blue01) !important;
}
.contact-page-contents .wpcf7 #cf7-area {
  padding: 0;
  font-family: var(--ff-01);
  background: var(--tp);
}
.contact-page-contents .wpcf7 form {
  margin: 0;
}
.contact-page-contents .wpcf7 select,
.contact-page-contents .wpcf7 .wpcf7-list-item-label {
  font-size: inherit;
}
.contact-page-contents .cf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.contact-page-contents .cf7-submit input {
  display: inline-block;
  height: auto;
  margin: 10px;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  border-radius: 0;
  transition: var(--ts-02);
}
.contact-page-contents .cf7-submit input:hover {
  opacity: 0.7;
}
.contact-page-contents .cf7-submit .wpcf7-previous {
  background: #999;
}
.contact-page-contents .wpcf7-not-valid-tip,
.contact-page-contents .wpcf7-response-output {
  font-size: 14px;
  font-weight: 600;
  color: var(--error-red) !important;
}
.contact-page-contents .wpcf7-response-output {
  margin: 0 !important;
  padding: 10px !important;
  line-height: 1.75;
  color: #fff !important;
  background: var(--error-red);
}
.contact-page-contents .page-contact-confirm {
  margin-top: var(--size-30-60) !important;
}/*# sourceMappingURL=child-custom-style.css.map */