/* 01. ヘッダー */
#header_search, #header_search_button, #header_searchform, #header_search_area { display:none !important; }
#header_logo a { font-family:Arial,sans-serif !important; font-weight:600 !important; color:#111 !important; }
@media screen and (min-width:1200px) {
 #header { position:relative; background:#fff !important; height:80px !important; display:flex !important; align-items:center !important; justify-content:space-between !important; flex-wrap:nowrap !important; padding:0 4% !important; box-sizing:border-box !important; box-shadow:none !important; border:none !important; }
 #header_inner { width:auto !important; max-width:none !important; height:80px !important; margin:0 !important; padding:0 !important; display:flex !important; align-items:center !important; flex-shrink:0 !important; }
 #header_logo { position:relative !important; top:auto !important; left:auto !important; margin:0 !important; }
 #header_logo a { font-size:26px !important; letter-spacing:3px !important; }
 #global_menu { position:absolute !important; top:0 !important; right:4% !important; left:auto !important; bottom:auto !important; width:max-content !important; max-width:none !important; height:80px !important; margin:0 !important; padding:0 !important; display:flex !important; align-items:center !important; background:transparent !important; border:none !important; }
 #global_menu > ul { display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important; align-items:center !important; justify-content:flex-end !important; width:max-content !important; max-width:none !important; height:80px !important; gap:30px !important; margin:0 !important; padding:0 !important; background:transparent !important; }
 #global_menu > ul > li { display:flex !important; align-items:center !important; flex:0 0 auto !important; float:none !important; width:auto !important; height:80px !important; margin:0 !important; padding:0 !important; border:none !important; background:transparent !important; }
 #global_menu > ul > li > a { display:flex !important; align-items:center !important; justify-content:center !important; width:auto !important; height:44px !important; line-height:44px !important; white-space:nowrap !important; padding:0 !important; font-family:Arial,sans-serif !important; font-size:13px !important; font-weight:500 !important; letter-spacing:1px !important; color:#111 !important; background:transparent !important; border:none !important; transition:opacity .2s ease; }
 #global_menu > ul > li > a:hover { opacity:.55; }
 #global_menu > ul > li:last-child > a { background:#111 !important; color:#fff !important; padding:0 26px !important; }
}
@media screen and (max-width:1199px) {
 #header_logo a { font-size:21px !important; letter-spacing:2px !important; }
}
/* 02. トップページの4つのバナー */
#offshore-menu { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:24px !important; width:100% !important; max-width:1200px !important; margin:0 auto !important; padding:60px 20px !important; box-sizing:border-box !important; }
#offshore-menu br { display:none !important; }
#offshore-menu .offshore-item { display:block !important; width:100% !important; min-width:0 !important; margin:0 !important; padding:0 !important; text-align:center !important; }
#offshore-menu a { display:block !important; color:#111 !important; text-decoration:none !important; }
#offshore-menu .offshore-photo { display:block !important; width:100% !important; aspect-ratio:266 / 170; overflow:hidden !important; }
#offshore-menu img { display:block !important; width:100% !important; height:100% !important; object-fit:cover !important; }
#offshore-menu .offshore-en { display:block !important; font-size:17px !important; letter-spacing:.22em !important; margin-top:18px !important; color:#111 !important; }
#offshore-menu .offshore-ja { display:block !important; font-size:11px !important; color:#777 !important; margin-top:6px !important; }
/* 03. トップページ全体 */
body.home #side_col, body.home #sidebar { display:none !important; }
body.home, body.home #main_contents, body.home #main_col { background:#fff !important; }
body.home #main_contents { display:block !important; width:100% !important; max-width:1200px !important; margin-left:auto !important; margin-right:auto !important; padding-left:20px !important; padding-right:20px !important; box-sizing:border-box !important; }
body.home #main_col { display:block !important; width:100% !important; max-width:100% !important; float:none !important; margin-left:auto !important; margin-right:auto !important; box-sizing:border-box !important; }
/* 04. JOURNAL 記事一覧 */
body #index_tab_post_list { width:100% !important; max-width:1440px !important; margin:0 auto !important; padding:60px 0 80px !important; box-sizing:border-box; background:#fff !important; }
body #index_tab_post_list #index_tab, body #index_tab_post_list #index_tab * { color:#111 !important; -webkit-text-fill-color:#111 !important; }
#index_tab, #index_tab ol, #index_tab li, #index_tab li a { background:transparent !important; border:none !important; box-shadow:none !important; }
#index_tab { margin-bottom:32px !important; }
#index_tab li { width:auto !important; margin:0 !important; }
#index_tab li a { font-size:26px !important; font-weight:600 !important; letter-spacing:.05em !important; padding:0 !important; text-align:left !important; }
#index_tab_post_list .post_list { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:24px !important; }
#index_tab_post_list article, #index_tab_post_list .item { width:100% !important; min-width:0 !important; margin:0 !important; background:transparent !important; }
#index_tab_post_list .post_list, #index_tab_post_list .post_list * { border:none !important; box-shadow:none !important; }
#index_tab_post_list img { width:100% !important; height:auto !important; aspect-ratio:16 / 9; object-fit:cover !important; border-radius:8px !important; }
#index_tab_post_list a, #index_tab_post_list a:visited { color:#111 !important; text-decoration:none !important; }
#index_tab_post_list .title { font-size:16px !important; font-weight:600 !important; margin-top:14px !important; }
body #index_tab_post_list .title, body #index_tab_post_list .title a, body #index_tab_post_list .title span { display:block !important; height:auto !important; max-height:none !important; overflow:visible !important; white-space:normal !important; -webkit-line-clamp:unset !important; line-clamp:unset !important; text-overflow:clip !important; line-height:1.8 !important; }
#index_tab_post_list .desc { padding:14px 0 0 !important; border:none !important; background:transparent !important; }
#index_tab_post_list .date, #index_tab_post_list time { display:none !important; }

/* ==================================================
   スマートフォン専用（767px以下）
   ================================================== */
@media screen and (max-width:767px) {
  body, #header, #header_inner, #main_contents, #main_col, #index_banner_area { background-color:#fff !important; }
  body #index_tab_post_list { padding:35px 0 45px !important; }
  #index_tab li a { font-size:22px !important; }
  #header_slider .caption .catch { font-size:5vw !important; letter-spacing:0 !important; white-space:nowrap !important; }
  #index_banner_area, #index_banner_area .banner_area_inner { width: 100% !important; max-width: 100% !important; min-width: 0 !important; padding: 0 !important; box-sizing: border-box !important; }
  #offshore-menu .offshore-item, #offshore-menu .offshore-item a, #offshore-menu .offshore-photo { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  #offshore-menu .offshore-photo { height: auto !important; aspect-ratio: 16 / 10 !important; overflow: hidden !important; }
  #offshore-menu img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  #offshore-menu .offshore-en { font-size: 14px !important; letter-spacing: 0.15em !important; }
  #offshore-menu .offshore-ja { font-size: 10px !important; }
  #index_banner_area .banner_area_inner { margin: 0 auto !important; width: 100% !important; max-width: 100% !important; }
  #offshore-menu .offshore-item { margin: 0 !important; min-width: 0 !important; }
  body #index_banner_area { width: 100% !important; padding: 0 !important; margin: 0 !important; }
  body #index_banner_area .banner_area_inner { display: block !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
  body #offshore-menu { width: calc(100vw - 30px) !important; max-width: calc(100vw - 30px) !important; margin-left: calc(50% - 50vw + 15px) !important; margin-right: 0 !important; padding: 25px 0 !important; box-sizing: border-box !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 12px !important; }

  /* スマホ版 JOURNAL：横スクロール */
  #index_tab_post_list { background: #fff !important; padding: 60px 0 !important; overflow: hidden !important; }
  #index_tab { margin-bottom: 30px !important; padding: 0 !important; }
  #index_tab_post_list .post_list { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 16px !important; overflow-x: auto !important; scroll-snap-type: x mandatory; scrollbar-width: none; width: 100% !important; }
  #index_tab_post_list .post_list::-webkit-scrollbar { display: none; }
  #index_tab_post_list .post_list > * { flex: 0 0 80% !important; width: 80% !important; max-width: 80% !important; min-width: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; background: transparent !important; scroll-snap-align: start; }
  #index_tab_post_list .image_wrap, #index_tab_post_list .image { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; padding: 0 !important; border-radius: 6px !important; overflow: hidden !important; }
  #index_tab_post_list .image_wrap img, #index_tab_post_list .image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  #index_tab_post_list .desc { padding: 16px 0 0 !important; height: auto !important; background: transparent !important; }
  #index_tab_post_list .title { font-size: 14px !important; font-weight: 600 !important; line-height: 1.7 !important; text-align: left !important; color: #111 !important; margin: 0 !important; padding: 0 !important; height: auto !important; max-height: none !important; display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
  #index_tab_post_list .date, #index_tab_post_list time { display: none !important; }

  /* スマホ版フッター */
  #footer, #footer_inner { background: #ffffff !important; }
  #footer_inner { padding: 40px 20px 30px !important; }
  #footer_logo { margin-bottom: 15px !important; }
  #footer_logo a { font-size: 26px !important; letter-spacing: 0.18em !important; }
  #footer_menu { margin: 25px auto !important; padding: 0 !important; }
  #footer_menu ul { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 16px 22px !important; }
  #footer_menu li { margin: 0 !important; padding: 0 !important; }
  #footer_menu a { font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.08em !important; }
  #footer a[href*="company"], #footer a[href*="privacy"] { font-size: 11px !important; font-weight: 400 !important; color: #777777 !important; }
  #copyright { background: #111111 !important; color: #aaaaaa !important; font-size: 11px !important; padding: 18px 0 !important; }

  /* フッターメニューを横一列に固定 */
  #footer_free_space nav { display: flex !important; flex-wrap: nowrap !important; justify-content: center !important; align-items: center !important; gap: 10px !important; width: 100% !important; padding: 0 !important; }
  #footer_free_space nav a { font-size: 10px !important; letter-spacing: 0.03em !important; white-space: nowrap !important; flex: 0 0 auto !important; margin: 0 !important; padding: 0 !important; }
  #footer_free_space nav br { display: none !important; }
}

/* 05. 固定ページ共通・スマートフォン */
@media screen and (max-width:767px) {
  body.page:has(.offshore-page) #side_col,
  body.page:has(.offshore-page) #sidebar { display:none !important; }
  body.page:has(.offshore-page) #main_contents { display:block !important; }
  body.page:has(.offshore-page) #main_col { width:100% !important; max-width:100% !important; float:none !important; margin:0 auto !important; }
  .offshore-page, .offshore-about { position:relative; left:50%; transform:translateX(-50%); width:100vw !important; max-width:none !important; box-sizing:border-box; }
  .offshore-page > section:first-of-type { min-height:460px !important; padding:40px 15px !important; background-position:center center !important; }
  .offshore-page > section:first-of-type > div { width:100% !important; min-width:0; }
  .offshore-page > section:first-of-type h2 { font-size:clamp(16px,5vw,24px) !important; letter-spacing:0 !important; line-height:1.7 !important; white-space:normal !important; text-wrap:balance; margin-bottom:24px !important; }
  .offshore-page > section:first-of-type p { font-size:12px !important; }
  .offshore-page > section:not(:first-of-type) { padding:60px 20px !important; box-sizing:border-box; }
  .offshore-sell > section:nth-of-type(3) { padding:0 !important; }
  .offshore-sell > section:nth-of-type(3) img { width:100% !important; height:280px !important; object-fit:cover; }
  .offshore-page > section:not(:first-of-type) h2, .offshore-about .oa-heading { font-size:22px !important; letter-spacing:.02em !important; line-height:1.7 !important; text-wrap:balance; }
  .offshore-page h3 { font-size:18px !important; line-height:1.7 !important; }
  .offshore-page > section:not(:first-of-type) p { font-size:14px !important; line-height:2.2 !important; overflow-wrap:anywhere; }
  .offshore-page > section:nth-of-type(2) p br:not(:has(+ br)):not(br + br) { display:none; }
  .offshore-about .oa-hero img { height:460px !important; object-position:65% center; }
  .offshore-about .oa-hero-copy { left:6% !important; right:6% !important; bottom:10% !important; }
  .offshore-about .oa-hero-copy h2 { font-size:clamp(24px,7.5vw,36px) !important; text-wrap:balance; }
  .offshore-about .oa-hero-copy p { font-size:13px !important; }
  .offshore-about .oa-description { font-size:14px !important; line-height:2.2 !important; }
  .offshore-about .oa-service h3 { font-size:22px !important; }
  .offshore-about .oa-contact h2 { font-size:22px !important; letter-spacing:0 !important; }
  .offshore-page > section:last-of-type a, .offshore-about .oa-contact a { display:inline-flex !important; align-items:center; justify-content:center; width:100% !important; max-width:280px !important; min-height:56px !important; padding:15px !important; box-sizing:border-box; font-size:13px !important; text-align:center; }
  .offshore-contact { padding:40px 15px 25px !important; }
  .offshore-contact h2 { font-size:24px !important; }
  .offshore-contact p { font-size:13px !important; line-height:2.2 !important; }
  .offshore-contact p br { display:none; }
  .offshore-form { width:100% !important; max-width:100% !important; box-sizing:border-box; }
  .offshore-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .offshore-form select, .offshore-form textarea { max-width:100% !important; box-sizing:border-box; font-size:16px !important; }
  .offshore-company { padding:40px 15px 60px !important; box-sizing:border-box; }
  .offshore-company h2 { font-size:clamp(24px,7vw,32px) !important; }
  .offshore-company .oc-subtitle { margin-bottom:35px !important; font-size:13px !important; }
  .offshore-company .oc-row { grid-template-columns:85px minmax(0,1fr) !important; gap:12px !important; font-size:13px !important; }
  .offshore-company .oc-value { min-width:0; overflow-wrap:anywhere; }
}
/* OFFSHORE 特徴セクション */

.offshore-features {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 90px 0 70px !important;
    background: #0d0d0d !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.offshore-features * {
    box-sizing: border-box;
}

.offshore-features .of-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 3%;
}

.offshore-features .of-heading {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    text-align: left !important;
    margin: 0 0 50px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.offshore-features .of-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.offshore-features .of-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 500px !important;
    padding: 24px 18px 40px !important;
    border: 1px solid #252525 !important;
    border-radius: 14px !important;
    background: #0d0d0d !important;
}

.offshore-features .of-number {
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    text-align: left !important;
}

.offshore-features .of-visual {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 250px !important;
    margin: 10px 0 25px !important;
}

.offshore-features .of-visual img {
    display: block !important;
    width: 220px !important;
    height: 220px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

.offshore-features .of-title {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    text-align: center !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.offshore-features .of-description {
    color: #a5a5ad !important;
    font-size: 14px !important;
    line-height: 2 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.offshore-features .of-more {
    text-align: center !important;
    margin-top: 60px !important;
}

.offshore-features .of-more a {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 18px !important;
    letter-spacing: 0.1em !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 10px 20px !important;
    transition: opacity 0.3s;
}

.offshore-features .of-more a:hover {
    opacity: 0.5;
}

/* スマホ・タブレット対応 */

@media screen and (max-width: 1000px) {

    .offshore-features {
        padding: 60px 0 45px !important;
    }

    .offshore-features .of-inner {
        padding: 0 !important;
    }

    .offshore-features .of-heading {
        font-size: 22px !important;
        padding: 0 24px !important;
        margin-bottom: 30px !important;
    }

    .offshore-features .of-grid {
        display: flex !important;
        gap: 14px !important;
        overflow-x: auto !important;
        padding: 0 24px !important;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 24px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .offshore-features .of-grid::-webkit-scrollbar {
        display: none;
    }

    .offshore-features .of-card {
        flex: 0 0 76% !important;
        min-height: 450px !important;
        padding: 22px 18px 35px !important;
        scroll-snap-align: start;
    }

    .offshore-features .of-visual {
        height: 220px !important;
        margin-bottom: 20px !important;
    }

    .offshore-features .of-visual img {
        width: 200px !important;
        height: 200px !important;
    }

    .offshore-features .of-title {
        font-size: 16px !important;
    }

    .offshore-features .of-description {
        font-size: 13px !important;
    }

    .offshore-features .of-more {
        margin-top: 35px !important;
    }

    .offshore-features .of-more a {
        font-size: 16px !important;
    }
}
/* 全ページのタイトル帯を非表示 */
#page_header,
#page_title {
    display: none !important;
}

/* コンテンツ上部の余白を削除 */
#main_contents {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* 固定ページのサイドバーを非表示 */
body.page #side_col,
body.page #sidebar {
    display: none !important;
}

/* 固定ページを1カラムに統一 */
body.page #main_col {
    width: 100% !important;
    max-width: 1400px !important;
    float: none !important;
    margin: 0 auto !important;
    flex: 0 0 100% !important;
}

/* コンテンツを中央に配置 */
body.page #main_contents {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* スマホ対応 */
@media (max-width: 767px) {
    body.page #main_col {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 06. スマホ専用メインビジュアル（750:1200） */
@media screen and (max-width: 767px) {
  body #header_slider,
  body #header_slider .slick-list,
  body #header_slider .slick-track,
  body #header_slider .slick-slide,
  body #header_slider .item {
    height: 160vw !important;
    min-height: 160vw !important;
    max-height: none !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
  }
  body #header_slider {
    border: none !important;
    overflow: hidden !important;
  }
  body #header_slider::before,
  body #header_slider .item::before {
    display: none !important;
    padding: 0 !important;
  }
  body #header_slider .bg_image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* スマホ版スライダーの外枠を縦長に変更 */
@media screen and (max-width: 767px) {

  #header_slider_wrap {
    height: 160vw !important;
    min-height: 160vw !important;
    max-height: none !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
  }

  #header_slider_wrap::before {
    display: none !important;
  }

}
/* トップページの標準記事表示エリアを非表示 */
body.home #index_tab_post_list {
    display: none !important;
}
/* スマホ版トップ画像のキャッチコピー表示 */
@media screen and (max-width: 767px) {

  #header_slider .caption {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
  }

  #header_slider .caption * {
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
  }

}
/* OFFSHORE トップページの1カラム化 */

body.home #side_col,
body.home #sidebar {
    display: none !important;
}

body.home #main_col {
    width: 100% !important;
    max-width: 1200px !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.home #main_contents {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* OFFSHORE フッター上下の余白調整 */

body.home #footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home #footer_free_space {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.home #index_bottom_content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* OFFSHORE フッター上部の余白調整 */

body.home #main_contents {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home #main_col {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home #footer_free_space {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* OFFSHORE お問い合わせフォーム */

.offshore-form {
    max-width: 760px;
    margin: 0 auto;
    color: #111111;
    font-family: Arial, "Noto Sans JP", sans-serif;
}

.offshore-form .offshore-field {
    margin-bottom: 36px;
}

.offshore-form .offshore-field > p {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: 14px;
}

.offshore-form .required {
    font-size: 11px;
    color: #ffffff;
    background: #111111;
    padding: 3px 9px;
    margin-left: 10px;
    font-weight: 400;
}

.offshore-form .optional {
    font-size: 11px;
    color: #777777;
    margin-left: 10px;
    font-weight: 400;
}

.offshore-form input[type="text"],
.offshore-form input[type="email"],
.offshore-form input[type="tel"],
.offshore-form select,
.offshore-form textarea {
    width: 100%;
    padding: 18px;
    background: #f5f5f3;
    border: 1px solid #dddddd;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 16px;
    color: #111111;
    box-shadow: none;
}

.offshore-form textarea {
    min-height: 180px;
}

.offshore-form .wpcf7-radio .wpcf7-list-item {
    display: block;
    margin: 0 0 16px;
}

.offshore-form input[type="radio"],
.offshore-form input[type="checkbox"] {
    accent-color: #111111;
    margin-right: 10px;
}

.offshore-form .offshore-consent {
    text-align: center;
    font-size: 13px;
    margin: 45px 0;
}

.offshore-form .offshore-consent a {
    color: #111111;
    text-decoration: underline;
}

.offshore-form .offshore-submit {
    text-align: center;
}

.offshore-form input[type="submit"] {
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 0;
    width: 100%;
    max-width: 400px;
    padding: 22px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background .3s;
}

.offshore-form input[type="submit"]:hover {
    background: #444444;
}

/* OFFSHORE CONTACT DESIGN */

body.page:has(.offshore-form) #side_col,
body.page:has(.offshore-form) #sidebar {
    display: none !important;
}

body.page:has(.offshore-form) #main_contents {
    display: block !important;
}

body.page:has(.offshore-form) #main_col {
    width: 100% !important;
    max-width: 900px !important;
    float: none !important;
    margin: 0 auto !important;
}

.offshore-form {
    max-width: 760px;
    margin: 40px auto 80px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: none !important;
    box-sizing: border-box;
}

.offshore-form .offshore-field {
    margin-bottom: 36px !important;
}

.offshore-form .offshore-field p {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.offshore-form input[type="text"],
.offshore-form input[type="email"],
.offshore-form input[type="tel"],
.offshore-form select,
.offshore-form textarea {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 0 !important;
    padding: 16px !important;
    font-size: 16px !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.offshore-form textarea {
    min-height: 180px;
}

.offshore-form .wpcf7-list-item {
    display: block;
    margin: 12px 0 !important;
}

.offshore-form .required,
.offshore-form .optional {
    font-size: 11px;
    font-weight: normal;
    padding: 3px 10px;
    margin-left: 10px;
}

.offshore-form .required {
    background: #111111;
    color: #ffffff;
}

.offshore-form .optional {
    background: #eeeeee;
    color: #666666;
}

.offshore-form input[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: 320px;
    margin: 40px auto 0 !important;
    padding: 20px !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    letter-spacing: 0.15em;
    cursor: pointer;
}

.offshore-form input[type="submit"]:hover {
    background: #333333 !important;
}

@media screen and (max-width: 767px) {
    .offshore-form {
        padding: 0 20px !important;
        margin: 20px auto 50px !important;
    }

    .offshore-form .offshore-field {
        margin-bottom: 28px !important;
    }
}


/* OFFSHORE BANNER MENU */

body.home #offshore-menu {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important;
    box-sizing: border-box !important;
}

body.home #offshore-menu .offshore-item {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    text-align: center !important;
}

body.home #offshore-menu a {
    display: block !important;
    width: 100% !important;
    color: #111111 !important;
    text-decoration: none !important;
}

body.home #offshore-menu .offshore-photo {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 266 / 170 !important;
    overflow: hidden !important;
}

body.home #offshore-menu img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    transition: transform 0.8s ease;
}

body.home #offshore-menu a:hover img {
    transform: scale(1.05);
}

body.home #offshore-menu .offshore-en {
    display: block !important;
    font-family: Arial, sans-serif;
    font-size: 17px !important;
    font-weight: 400 !important;
    letter-spacing: 0.22em !important;
    line-height: 1.5 !important;
    margin: 18px 0 0 !important;
    color: #111111 !important;
}

body.home #offshore-menu .offshore-ja {
    display: block !important;
    font-size: 11px !important;
    color: #777777 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.8 !important;
    margin: 6px 0 0 !important;
}

@media screen and (max-width: 767px) {
    body.home #offshore-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 14px !important;
        padding: 35px 20px !important;
    }

    body.home #offshore-menu .offshore-en {
        font-size: 14px !important;
        margin-top: 12px !important;
    }

    body.home #offshore-menu .offshore-ja {
        font-size: 10px !important;
    }
}
/* OFFSHORE スマホ用メインビジュアル */

#header_slider_wrap > .offshore-mobile-hero {
    display: none !important;
}

@media screen and (max-width: 767px) {

    #header_slider_wrap.offshore-hero-ready {
        position: relative !important;
    }

    #header_slider_wrap.offshore-hero-ready .caption {
        display: none !important;
    }

    #header_slider_wrap > .offshore-mobile-hero {
        display: block !important;
        position: absolute !important;
        bottom: 35px !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        color: #ffffff !important;
        z-index: 1000 !important;
    }

    .offshore-mobile-copy {
        font-size: 16px !important;
        font-weight: 400 !important;
        letter-spacing: 0.08em !important;
        line-height: 1.8 !important;
        margin-bottom: 18px !important;
        color: #ffffff !important;
    }

    .offshore-mobile-title {
        font-family: Arial, sans-serif !important;
        font-size: clamp(38px, 12vw, 52px) !important;
        font-weight: 800 !important;
        line-height: 0.95 !important;
        letter-spacing: -0.05em !important;
        margin-bottom: 36px !important;
        color: #ffffff !important;
    }

    .offshore-mobile-buttons {
        display: flex !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .offshore-mobile-buttons a {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 52px !important;
        border-radius: 50px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    .offshore-hero-about {
        background: rgba(0,0,0,0.4) !important;
        border: 1px solid rgba(255,255,255,0.5) !important;
        color: #ffffff !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .offshore-hero-contact {
        background: #ffffff !important;
        color: #111111 !important;
        border: 1px solid #ffffff !important;
    }
}