@charset "UTF-8";
/* reset & base */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
/*
YUI 3.11.0 (build d549e5c)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
html {
  color: #000;
  background: #FFF;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
figure,
figcaption {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

input,
textarea,
select {
  *font-size: 100%;
}

legend {
  color: #000;
}

#yui3-css-stamp.cssreset {
  display: none;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* 共通ユーティリティ */
.fuchi {
  border: 1px solid #ccc;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.mw_wp_form .horizontal-item {
  margin-left: 0px !important;
  margin-right: 10px;
}

/* ------------------------------
   ベース
------------------------------ */
body {
  color: #000;
  font-family: Hiragino Sans, Hiragino Kaku Gothic ProN, Meiryo, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
  word-wrap: break-word;
  height: 100%;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  text-align: justify;
  text-justify: inter-ideograph;
}

/* PC／スマホ共通 */
a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a img {
  border: none;
}

/* PC：ホーム以外の wrap（もともとの base_pc.css の指定） */
body:not(.home) #wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

/* 共通 #wrap（もともと base_sp.css にあった初期値） */
#wrap {
  width: 1080px;
  margin: 0 auto;
  padding: 20px 20px 0 20px;
  background-color: #FFF;
}

ul > li {
  list-style: square outside;
}

ol > li {
  list-style: decimal outside;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

*::-moz-selection {
  background: none repeat scroll 0 0 #ffe5c9;
  color: #ff8e14;
}

*::selection,
*::-moz-selection {
  background: none repeat scroll 0 0 #ffe5c9;
  color: #ff8e14;
}

/* リセット */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
input,
p,
figure,
figcaption,
date,
address {
  margin: 0;
  padding: 0;
  font-style: normal;
}

/* レイアウト（PC） */
#main {
  width: 1200px;
  margin: 0 auto;
}

#sidebar {
  float: right;
  width: 250px;
}

.clear:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
  line-height: 0;
}

.post-categories > li {
  list-style: none;
}

strong {
  font-weight: bold;
}

/* ------------------------------
   SP（～768px）向け
   base_pc.css ＋ base_sp.css を統合
------------------------------ */
@media (max-width: 768px) {
  /* ヘッダー固定分の余白（base_sp.css の margin-top を採用） */
  body {
    margin-top: 54px;
  }
  body.lp {
    margin-top: 54px;
  }
  /* リストスタイル */
  ul li {
    list-style: none outside;
  }
  ol li {
    list-style: decimal outside;
  }
  /* ラッパー・レイアウト調整（base_pc.css / base_sp.css 共通イメージ） */
  #wrap {
    width: 100%;
    padding: 0;
  }
  #main {
    float: none;
    width: 94%;
    margin: 0 auto 40px;
  }
  #sidebar {
    float: none;
    width: 94%;
    margin: 0 auto;
  }
  /* base_sp.css にだけあった #sidebar 内の調整 */
  #sidebar #entry-box {
    padding: 20px;
    margin: 0 0 40px;
  }
}
/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hmIqOjjg.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hvIqOjjg.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hnIqOjjg.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hoIqOjjg.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hkIqOjjg.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hlIqOjjg.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  src: local("Open Sans Light Italic"), local("OpenSans-LightItalic"), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hrIqM.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0Udc1UAw.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0ddc1UAw.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0Vdc1UAw.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0adc1UAw.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: local("Open Sans Italic"), local("OpenSans-Italic"), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0Zdc0.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OX-hpOqc.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OVuhpOqc.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OXuhpOqc.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OUehpOqc.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OXehpOqc.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OXOhpOqc.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFUZ0bbck.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFWZ0bbck.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFW50bbck.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFVZ0b.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UNirkOX-hpOqc.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UNirkOVuhpOqc.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UNirkOXuhpOqc.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UNirkOUehpOqc.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UNirkOXehpOqc.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UNirkOXOhpOqc.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: local("Open Sans SemiBold"), local("OpenSans-SemiBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UNirkOUuhp.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOX-hpOqc.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOVuhpOqc.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOXuhpOqc.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOUehpOqc.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOXehpOqc.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOXOhpOqc.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOX-hpOqc.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOVuhpOqc.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOXuhpOqc.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOUehpOqc.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOXehpOqc.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOXOhpOqc.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: local("Open Sans ExtraBold"), local("OpenSans-ExtraBold"), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOUuhp.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* =========================
   PC / SP 共通・PCデフォルト
========================= */
/* PC / SP 切り替え（PCをデフォルト表示） */
.pc {
  display: block;
}

.sp {
  display: none;
}

/* 電話問い合わせボックス（PC） */
#tel-contact {
  line-height: 1;
  border: 1px solid #d3d3d3;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: none;
  background-color: #FFF;
  position: absolute;
  width: 323px;
  top: 35px;
  right: 0;
  z-index: 3;
}

#tel-contact > #tel-title {
  position: relative;
  padding: 0 20px;
  line-height: 42px;
  height: 42px;
  font-size: 12px;
  background-color: #666;
  color: #FFF;
  font-weight: bold;
}

#tel-contact #tel-close {
  position: absolute;
  right: 18px;
  top: 5px;
}

#tel-contact ul {
  margin: 0 20px;
}

#tel-contact ul li {
  position: relative;
  border-bottom: 1px solid #666;
  line-height: 40px;
}

#tel-contact ul li:last-child {
  border-bottom: none;
}

#tel-contact ul li span {
  text-align: right;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
}

#tel-contact ul li span small {
  display: inline-block;
  margin-right: 7px;
  font-size: 10px;
}

/* ---------------- PCヘッダー（共通） ---------------- */
header {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

header li {
  list-style: none;
}

#logo {
  margin-left: 1px;
  width: 155px;
  height: 34px;
}

.header_text {
  position: absolute;
  top: 50%;
  left: 170px;
  letter-spacing: 1px;
  font-weight: normal;
  font-size: 14px;
  width: 560px;
  margin-top: -3.4rem;
}

#entry {
  height: 30px;
  text-align: center;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  position: absolute;
  top: 0;
  left: 540px;
  width: 246px;
}

#entry .pc {
  display: block;
}

#entry .sp {
  display: none;
}

#entry a {
  display: block;
  line-height: 30px;
  font-size: 18px;
  font-weight: bold;
}

#entry a:before {
  display: inline-block;
  content: "";
  width: 12px;
  height: 12px;
  margin: 0 10px 0 0;
  border-top: 3px solid #2c91ce;
  border-right: 3px solid #2c91ce;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

#entry a img {
  display: inline-block;
  vertical-align: middle;
  width: 200px;
  height: auto;
}

#entry a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ユーティリティナビ（PC） */
nav#utility-nav {
  width: 400px;
  position: absolute;
  top: 12px;
  right: 0;
  text-align: right;
}

nav#utility-nav ul {
  letter-spacing: -0.4em;
}

nav#utility-nav ul li {
  letter-spacing: normal;
  display: inline-block;
}

nav#utility-nav ul li a {
  padding: 0 10px;
  line-height: 1;
  display: block;
  border-right: 1px solid #000;
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

nav#utility-nav ul li:last-child a {
  padding-right: 0;
  border-right: none;
}

nav#utility-nav > a.for-company {
  font-weight: bold;
  display: inline-block;
  border-radius: 4px;
  background-color: #06C;
  margin: 2px 0 0 0;
  padding: 6px 12px;
  line-height: 1;
  text-decoration: none;
  font-size: 12px;
  color: #FFF;
}

nav#utility-nav > a.for-company:hover {
  opacity: 0.8;
}

/* グローバルナビ（PC） */
nav#global-nav {
  position: relative;
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

nav#global-nav ul.main-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

nav#global-nav ul.main-menu > li {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
  text-align: center;
}

nav#global-nav ul.main-menu > li > a {
  display: block;
  line-height: 33px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #333;
  text-decoration: none;
}

nav#global-nav ul.main-menu > li:hover .sub-menu {
  display: block;
}

nav#global-nav ul.sub-menu {
  display: none;
  position: absolute;
  top: 80%;
  left: -15%;
  z-index: 9999;
  list-style: none;
  width: 200px;
  background: #fff;
  margin: 0;
  padding: 0;
  border-top: 4px solid #EB5B1A;
}

nav#global-nav ul.sub-menu li {
  border-bottom: 2px dotted #222;
  position: relative;
}

nav#global-nav ul.sub-menu li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #222;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-align: left;
}

nav#global-nav ul.sub-menu li a::after {
  content: "›";
  color: #EB5B1A;
  font-size: 16px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

nav#global-nav ul.sub-menu li a:hover {
  background-color: #f5f5f5;
}

nav#global-nav ul.sub-menu li a:hover::after {
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}

nav#global-nav ul.sub-menu li:last-child {
  border-bottom: none;
}

nav#global-nav .freeword {
  height: 30px;
  position: absolute;
  right: 1px;
  top: 18.5px;
}

nav#global-nav .freeword > input[type=text] {
  padding: 0 5px;
  -webkit-box-shadow: none;
          box-shadow: none;
  width: 140px;
  height: 17px;
  line-height: 17px;
  border: 1px solid #CCC;
}

/* 検索フォーム（PC） */
#searchform {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#searchform .searchsubmit {
  width: 18px;
  height: auto;
}

.searchsubmit {
  margin-left: 10px;
  float: right;
  display: inline-block !important;
}

/* パンくず（PC） */
#breadcrumbs {
  padding-left: 10px;
  color: #666;
  width: 1200px;
  margin: 20px auto 0;
}

#breadcrumbs a {
  margin-right: 10px;
}

#breadcrumbs a span {
  color: #666;
}

#breadcrumbs + #contents {
  margin-top: 20px;
}

#breadcrumbs ul li {
  float: left;
  display: list-item;
  vertical-align: middle;
  letter-spacing: normal;
  list-style: none;
  font-size: 12px;
}

#breadcrumbs ul li a,
#breadcrumbs ul li span {
  display: block;
}

#breadcrumbs ul li a {
  position: relative;
  padding-right: 20px;
  margin-right: 20px;
}

#breadcrumbs ul li a:after {
  position: absolute;
  top: 0;
  right: 0;
  content: "　";
  background: url(../img/breadcrumbs.png) no-repeat right center;
  z-index: 99999;
  background-size: 5px 9px;
}

/* =========================
   SP用（max-width: 880px）
   header_sp.css の内容を統合
========================= */
@media only screen and (max-width: 880px) {
  /* 横スクロール防止 & ボックスサイズ調整 */
  html,
  body {
    overflow-x: hidden;
  }
  *,
  *::before,
  *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  /* SP表示切り替え */
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  /* -------- グローバルナビ（SP） -------- */
  nav#global-nav-sp {
    border-top: 4px solid #EB5B1A;
    display: none;
    position: fixed;
    width: 100%;
    max-width: 100%;
    top: 54px;
    left: 0;
    z-index: 9999;
    overflow-x: hidden;
  }
  nav#global-nav-sp ul.main-menu {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  nav#global-nav-sp ul.sub-menu {
    display: none;
  }
  nav#global-nav-sp li > a {
    background: url(../img/gnav_down_sp.png) no-repeat 96% center;
    background-size: 15px 10px;
    padding: 0 13px;
    line-height: 44px;
    display: block;
    font-weight: bold;
    border-bottom: 1px solid #222;
    white-space: normal;
    word-break: break-word;
  }
  nav#global-nav-sp li > a img {
    width: 21px !important;
    height: 21px !important;
    margin-left: 3% !important;
    margin-bottom: -1.5% !important;
  }
  nav#global-nav-sp li.link > a {
    background: url(../img/gnav_right_sp.png) no-repeat 96% center;
    background-size: 10px 15px;
  }
  nav#global-nav-sp li > a.active {
    background: url(../img/gnav_up_sp.png) no-repeat 96% center;
    background-size: 15px 10px;
  }
  nav#global-nav-sp ul.sub-menu {
    background-color: #fff;
    margin: 0;
    padding: 0;
  }
  nav#global-nav-sp ul.sub-menu li {
    background: url(../ico/icon_sublink.png) no-repeat 20pxcenter;
    background-size: 11px 8px;
  }
  nav#global-nav-sp ul.sub-menu li a {
    position: relative;
    padding-left: 40px;
    padding-right: 24px;
    letter-spacing: 1px;
  }
  nav#global-nav-sp ul.sub-menu li a::after {
    content: "›";
    color: #EB5B1A;
    font-size: 16px;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  nav#global-nav-sp .search {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 15px 10px;
    background-color: #ebebeb;
    width: 100%;
    position: relative;
  }
  nav#global-nav-sp .search input[type=text] {
    font-size: 16px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 0 10px;
    -webkit-border-radius: 0px;
    -webkit-appearance: none;
    line-height: 40px;
    width: 100%;
    border: none;
  }
  nav#global-nav-sp .search button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 24px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 0px;
    background: none;
    border: none;
    position: absolute;
    top: 17px;
    right: 15px;
    cursor: pointer;
  }
  nav#global-nav-sp .search button:hover {
    color: #000;
  }
  /* -------- ヘッダー本体（SP） -------- */
  header {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 0 0 13px;
    line-height: 54px;
    height: 54px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.95);
  }
  header #logo {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-width: 0;
    height: 29px;
    position: relative;
    top: -2px;
  }
  header #logo svg,
  header #logo img {
    display: block;
    max-width: 114px;
    width: 100%;
    height: auto;
  }
  header #menu,
  header #entry,
  header #entry02 {
    display: block;
    text-align: center;
    width: 53px;
    height: 53px;
    position: relative;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 53px;
            flex: 0 0 53px;
    max-width: 53px;
  }
  header #entry {
    background-color: #ff5b33;
  }
  header #entry02 {
    background-color: #0E88D3;
  }
  header #menu {
    background-color: #2B3FAB;
  }
  header #entry span,
  header #entry02 span,
  header #menu span {
    color: #FFF;
    display: block;
    position: absolute;
    bottom: -15px;
    left: 0;
    font-size: 10px;
    text-align: center;
    width: 100%;
  }
  /* ▼ アイコン部分だけまとめて定義 */
  header #entry::before,
  header #entry02::before {
    display: block;
    position: relative;
    margin: 0 auto;
    top: -5px;
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
  }
  /* スタッフ登録（オレンジ） */
  header #entry::before {
    background-image: url(../img/ico_entry.svg);
    width: 22px;
    height: 23px;
    top: 7px;
  }
  /* 親を基準にする */
  header #entry02 {
    background-color: #0E88D3;
    position: relative;
    /* ← 追加 */
  }
  header #entry02::before {
    content: "";
    position: absolute;
    /* ← 絶対配置に */
    top: 10px;
    /* 上からの位置（お好みで微調整） */
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 22px;
    height: 16px;
    background-image: url("/wp-content/themes/dspark/img/ico_mail.svg");
    background-size: contain;
    background-repeat: no-repeat;
  }
  /* メニュー（三本線） */
  header #menu::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c9";
    font-size: 28px;
    font-weight: 900;
    color: #FFF;
    position: relative;
    top: -5px;
  }
  /* -------- パンくず（SP） -------- */
  #breadcrumbs {
    margin-top: 10px;
    padding: 5px 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #000;
    width: auto;
  }
  #breadcrumbs span {
    font-size: 10px;
  }
  #breadcrumbs ul li {
    float: left;
    list-style: none;
    font-size: 10px;
  }
  #breadcrumbs ul li a {
    display: block;
    position: relative;
    padding-right: 10px;
    margin-right: 10px;
  }
  #breadcrumbs ul li a::after {
    position: absolute;
    top: 0;
    right: 0;
    content: "　";
    background: url(../ico/breadcrumbs.png) no-repeat right center;
    background-size: 5px 9px;
  }
  #breadcrumbs ul li span {
    color: #666;
  }
  /* -------- 検索フォーム（SP） -------- */
  #searchform {
    position: relative;
    padding: 20px 10px;
  }
  .searchsubmit {
    display: inline-block !important;
    position: static;
    top: 50%;
    margin: -9px 5px 0;
    width: 18px;
    height: auto;
  }
}
/* =========================================
   Footer 統合版（PC + SP）
   footer_pc.css ＋ footer_sp.css を統合
========================================= */
/* ---------- 表示切り替え ---------- */
@media (max-width: 880px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
@media (min-width: 881px) {
  .pc {
    display: block !important;
  }
  .sp {
    display: none !important;
  }
}
/* ---------- 共通 footer 基本レイアウト ---------- */
footer {
  position: relative;
  margin-top: 20px;
  padding-bottom: 40px;
  width: 100vw !important;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

footer #included-files-fie-on-wp-footer {
  display: none;
}

/* =========================================
   PC版フッター（幅881px以上）
========================================= */
@media (min-width: 881px) {
  footer .footer-top {
    background-color: #eeeeee;
  }
  footer .footer-top #company-box {
    margin: 0 auto !important;
    padding: 47px calc(50vw - 50%) 45px !important;
    width: 1080px !important;
  }
  footer .footer-top #company-box p {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 18px;
  }
  footer .footer-top #company-box p.big {
    font-size: 30px;
    margin-bottom: 35px;
    letter-spacing: 0.1em;
  }
  footer .footer-top #company-box .flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  footer .footer-top #company-box .flex .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: calc(50% - 50px);
    background-color: #0E88D3;
    border-bottom: solid 4px #004066;
    border-radius: 5px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-right: 50px;
  }
  footer .footer-top #company-box .flex .btn span {
    font-size: 17px;
    display: inline-block;
  }
  footer .footer-top #company-box .flex ul.tel {
    width: calc(50% - 51px);
    border-left: 1px solid #000;
    padding-left: 50px;
  }
  footer .footer-top #company-box .flex ul.tel > li {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    list-style: none;
    color: #0e88d3;
    font-size: 32px;
    font-weight: bold;
  }
  footer .footer-top #company-box .flex ul.tel > li span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 130px;
    padding: 10px 0;
    margin-right: 17px;
    background-color: #909090;
    color: #fff;
    font-size: 15px;
  }
  footer .footer-top #company-box .flex ul.tel > li.pc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  footer .footer-top #company-box .flex ul.tel > li.sp {
    display: none;
  }
  footer .footer-top #company-box .flex ul.tel > li:first-child {
    margin-bottom: 10px;
  }
  footer .footer-bottom {
    margin: 0 auto;
    padding: 47px calc(50vw - 50%) 45px;
    width: 1080px;
  }
  footer .footer-bottom nav ul {
    font-size: 12px;
    letter-spacing: -0.4em;
    margin: 25px 12px;
  }
  footer .footer-bottom nav ul li {
    display: inline-block;
    padding: 0 18px;
    border-right: 1px solid #000;
    list-style: none;
    letter-spacing: normal;
  }
  footer .footer-bottom nav ul li:first-child {
    padding-left: 0;
  }
  footer .footer-bottom nav ul li:last-child {
    padding-right: 0;
    border-right: none;
  }
  footer .footer-bottom nav ul li a {
    line-height: 1;
    display: block;
  }
  footer .footer-bottom > address p {
    display: inline-block;
    font-size: 12px;
  }
  footer .footer-bottom > address p#f-logo {
    width: 102px;
    height: 23px;
    margin-right: 17px;
  }
  footer .footer-bottom #social-pages {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: absolute;
    right: 10%;
    bottom: 70px;
  }
  footer .footer-bottom #social-pages li {
    list-style: none;
    margin-left: 10px;
  }
  footer .footer-bottom #social-pages li:first-child {
    margin-left: 0;
  }
  footer .footer-bottom #social-pages li.twitter ion-icon {
    color: #55ACEE;
  }
  footer .footer-bottom #social-pages li.share ion-icon {
    color: #3B5999;
  }
  footer .footer-bottom #social-pages li ion-icon {
    font-size: 1.3rem;
  }
  footer .footer-bottom #social-pages li .fb-like {
    position: relative;
    top: -2px;
  }
  footer #pagetop {
    background: url(../img/arrow_pagetop.png) no-repeat 0 0;
    background-size: 15px 13px;
    padding-left: 19px;
    line-height: 1;
    font-size: 14px;
    position: absolute;
    right: 10%;
    bottom: 150px;
    text-decoration: none;
  }
}
/* =========================================
   SP版フッター（幅880px以下）
========================================= */
@media (max-width: 880px) {
  /* ---- footer 本体（会社案内＋電話） ---- */
  footer .footer-top {
    background-color: #eeeeee;
    width: 100%;
  }
  footer #company-box {
    padding: 40px 30px 30px;
    background-color: #eeeeee;
  }
  footer #company-box p {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  footer #company-box p.big {
    font-size: 20px;
    margin-bottom: 23px;
    letter-spacing: 0.08em;
  }
  footer #company-box .flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  footer #company-box .flex .btn {
    width: 100%;
    background-color: #0E88D3;
    border-bottom: solid 4px #004066;
    border-radius: 5px;
    padding: 15px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
  }
  footer #company-box .flex .btn span {
    font-size: 14px;
    margin-bottom: 5px;
    display: inline-block;
  }
  footer #company-box .flex ul.tel {
    list-style: none;
    padding: 0;
  }
  footer #company-box .flex ul.tel li.sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 22px;
    font-weight: bold;
  }
  footer #company-box .flex ul.tel li.sp span {
    width: 110px;
    padding: 5px;
    background-color: #909090;
    color: #fff;
    font-size: 13px;
  }
  footer #company-box .flex ul.tel li.sp a {
    color: #0E88D3;
    text-decoration: none;
    font-size: 22px;
  }
  footer #company-box .flex ul.tel li.pc {
    display: none;
  }
  /* ---- SPフッターナビ（nav#footer-nav は footer の外想定） ---- */
  nav#footer-nav {
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    background-color: #ebebeb;
  }
  nav#footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    /* 最後の li の下線だけ消す */
  }
  nav#footer-nav ul li {
    list-style: none;
  }
  nav#footer-nav ul li a {
    display: block;
    padding: 12px 10px;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #000;
  }
  nav#footer-nav ul li:last-child a {
    border-bottom: none;
  }
  /* ---- ロゴ＆コピーライト ---- */
  address#f-logo {
    text-align: center;
    padding: 20px 0;
  }
  address#f-logo a img {
    display: block;
    margin: 0 auto;
  }
  address#f-logo #copyright {
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.4;
  }
  address#f-logo #copyright strong {
    display: block;
    margin-bottom: 5px;
  }
  /* ---- SNS アイコン ---- */
  #social-pages {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 20px 0;
  }
  #social-pages li {
    list-style: none;
    margin-left: 10px;
  }
  #social-pages li:first-child {
    margin-left: 0;
  }
  #social-pages li img {
    width: 40px;
    height: 40px;
  }
  #social-pages li .fb-like {
    position: relative;
    top: -3px;
  }
  /* ---- ページトップ ---- */
  #page-top {
    display: none;
  }
  #page-top #pagetop {
    display: block;
  }
  #page-top #pagetop span {
    display: inline-block;
    padding-left: 20px;
    background: url(../img/arrow_pagetop_sp.png) no-repeat 0 center;
    background-size: 15px 13px;
  }
}
/* =========================
   バナー用スライダー
   ========================= */
.banner-slider {
  max-width: 1080px;
  margin: 40px auto;
  position: relative;
}

.banner-slider__track-wrapper {
  overflow: hidden;
}

.banner-slider__track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.banner-slider__slide {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
  /* PCは2枚並び */
  padding: 0 8px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.banner-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ドット */
.banner-slider__dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.banner-slider__dot {
  width: 12px;
  height: 12px;
  background: #c4c4c4;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.banner-slider__dot.is-active {
  background: #EB5C1A;
}

/* SPは1枚表示 */
@media (max-width: 768px) {
  .banner-slider {
    max-width: 100%;
    padding: 0 16px;
  }
  .banner-slider__slide {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
}
/* ==========================================
   1) Global / Tokens
========================================== */
/* ヘッダー高（必要に応じて変更） */
:root {
  --masthead-h: 72px;
}

/* Tokens */
/* ==========================================
   2) Sidebar Layout
========================================== */
.sidebar-blog {
  width: 300px;
  margin-left: auto;
  margin-top: 55px;
  position: sticky;
  top: calc(var(--masthead-h, 72px) + 16px);
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
  float: none !important;
}
@media (max-width: 980px) {
  .sidebar-blog {
    width: 100%;
    position: static;
    top: auto;
    margin-left: 0;
  }
}

/* 管理バー有効時（ログイン中）の補正 */
.admin-bar .sidebar-blog {
  top: calc(var(--masthead-h, 72px) + 16px + 32px);
}

/* stickyが親のoverflowで無効化される対策（必要なテーマのみ） */
.blog-archive .content-wrap,
.blog-single .content-wrap {
  overflow: visible;
}

/* ==========================================
   3) Widget Base
========================================== */
.sidebar-blog .widget {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px 16px;
}
.sidebar-blog .widget .widget-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  border-left: 4px solid #EB5C1A;
  padding-left: 8px;
  line-height: 1.4;
}

/* ==========================================
   4) Category Nav (pill / list)
   - いまは「縦リスト」想定（サイドバー向け）
========================================== */
.sidebar-blog .blog-category-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-blog .blog-category-nav li {
  margin: 0 0 8px;
}
.sidebar-blog .blog-category-nav li a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
  background: #f7f7f7;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
.sidebar-blog .blog-category-nav li.is-active a {
  background: #EB5C1A;
  color: #fff;
  font-weight: 700;
}
.sidebar-blog .blog-category-nav li a:hover {
  background: rgb(249.3373493976, 208.8493975904, 190.1626506024);
}

/* ==========================================
   5) Widget: Categories（カウントバッジ）
   - .widget-categories 内の ul / li を整形
   - 「下の微調整（display:flexの上書き）」はここに統合
========================================== */
.sidebar-blog .widget-categories ul,
.sidebar-blog .widget-categories .cats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-blog .widget-categories li {
  border-top: 1px solid #e5e5e5;
  /* 1行内で「カテゴリ名 + 件数」を並べる */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  white-space: nowrap;
}
.sidebar-blog .widget-categories li:first-child {
  border-top: 0;
}
.sidebar-blog .widget-categories li a {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-blog .widget-categories li a:hover {
  color: #EB5C1A;
}
.sidebar-blog .widget-categories li .count {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  font-size: 12px;
  color: #777;
  background: #f6f6f6;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 0 8px;
  line-height: 20px;
  min-width: 26px;
  text-align: center;
}

/* ==========================================
   6) Widget: Archives（月別/年別など）
========================================== */
.sidebar-blog .widget-archives .archives {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-blog .widget-archives .archives li {
  border-top: 1px solid #e5e5e5;
  /* 1行内で「年月 + 件数（あれば）」を並べやすく */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  white-space: nowrap;
}
.sidebar-blog .widget-archives .archives li:first-child {
  border-top: 0;
}
.sidebar-blog .widget-archives .archives li a {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-blog .widget-archives .archives li a:hover {
  color: #EB5C1A;
}
.sidebar-blog .widget-archives .archives li .count {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  font-size: 12px;
  color: #777;
  white-space: nowrap;
}

/* ==========================================
   7) Archives Grouped（今年は月、過去年は年）
========================================== */
.archives-grouped {
  list-style: none;
  margin: 0;
  padding: 0;
}
.archives-grouped .archives-year {
  padding: 10px 0;
  border-top: 1px solid #eee;
}
.archives-grouped .archives-year:first-child {
  border-top: 0;
}
.archives-grouped .archives-year__head {
  font-weight: 700;
  margin-bottom: 8px;
}
.archives-grouped .archives-year__link {
  text-decoration: none;
  color: inherit;
}
.archives-grouped .archives-year__link:hover {
  text-decoration: underline;
}
.archives-grouped .archives-months {
  list-style: none;
  margin: 0;
  padding: 0;
}
.archives-grouped .archives-months li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.archives-grouped .archives-months li a {
  text-decoration: none;
}
.archives-grouped .archives-months li a:hover {
  text-decoration: underline;
}
.archives-grouped .count {
  white-space: nowrap;
  color: #666;
  font-size: 12px;
}

/* ==========================================
   8) Widget: Tag Cloud
========================================== */
.sidebar-blog .widget-tags .tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px;
}
.sidebar-blog .widget-tags a {
  font-size: 13px !important;
  color: #333;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  -webkit-transition: background 0.2s, border-color 0.2s, color 0.2s;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sidebar-blog .widget-tags a:hover {
  background: #EB5C1A;
  border-color: #EB5C1A;
  color: #fff;
}

/* ==========================================
   Archives Grouped：階層だけ強調（年 → 月）
   ※既存デザインは変更しない
========================================== */
.sidebar-blog .widget-archives {
  /* 月リストを「年の配下」に見せる（インデント＋縦線） */
  /* 月の各行に「–」を付ける */
}
.sidebar-blog .widget-archives .archives-months {
  margin-left: 14px;
  /* 年より下の階層感 */
  padding-left: 12px;
  /* 記号分の余白 */
  border-left: 2px solid rgb(249.4, 249.4, 249.4);
}
.sidebar-blog .widget-archives .archives-months li {
  position: relative;
  padding-left: 12px;
  /* – の分だけ左に余白 */
}
.sidebar-blog .widget-archives .archives-months li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 10px;
  /* 既存の padding:10px 0 に合わせる */
  color: #777;
  font-weight: 700;
  line-height: 1;
}

/* ページ別 */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

br.sp-only {
  display: none;
}

/* =======================
   PC 用スタイル
   ======================= */
@media (min-width: 769px) {
  #wrap {
    width: 100%;
    padding: 0;
  }
  #wrap #contents {
    /* ▼▼ フロント下部バナー（PC） ▼▼ */
    /* ▲▲ フロント下部バナー（PC） ▲▲ */
  }
  #wrap #contents .FV-PC {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
  }
  #wrap #contents .FV-PC img {
    width: 100%;
    max-width: 1440px;
    height: auto;
    display: block;
  }
  #wrap #contents .business-overview {
    background-color: #FEF4E5;
    width: 100%;
    padding: 20px 0;
    margin-top: -3px;
  }
  #wrap #contents .business-overview .section-title .section-title-ja {
    font-size: 13px;
    color: #E35849;
    font-weight: bold;
    text-align: center;
  }
  #wrap #contents .business-overview .section-title .section-title-en {
    color: #E35849;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }
  #wrap #contents .business-overview .business-overview-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 10px;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    max-width: 900px;
    margin: 20px auto 0;
  }
  #wrap #contents .business-overview .business-overview-button .button-item {
    position: relative;
    width: calc(33.333% - 10px);
    max-width: 300px;
  }
  #wrap #contents .business-overview .business-overview-button .button-item:hover {
    opacity: 0.8;
  }
  #wrap #contents .business-overview .business-overview-button .button-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  #wrap #contents .business-overview .business-overview-button .button-item .button-text {
    position: absolute;
    top: 50%;
    left: 53%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    width: 90%;
  }
  #wrap #contents .news-topics {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #wrap #contents .news-topics .topics-section,
  #wrap #contents .news-topics .news-section {
    width: 100%;
    padding-bottom: 20px;
  }
  #wrap #contents .news-topics .topics-section .section-title,
  #wrap #contents .news-topics .news-section .section-title {
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #wrap #contents .news-topics .topics-section .section-title span,
  #wrap #contents .news-topics .news-section .section-title span {
    font-size: 14px;
    font-weight: normal;
    color: #555;
  }
  #wrap #contents .news-topics .topics-section .topics-list,
  #wrap #contents .news-topics .topics-section .news-list,
  #wrap #contents .news-topics .news-section .topics-list,
  #wrap #contents .news-topics .news-section .news-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item,
  #wrap #contents .news-topics .topics-section .topics-list .news-item,
  #wrap #contents .news-topics .topics-section .news-list .topic-item,
  #wrap #contents .news-topics .topics-section .news-list .news-item,
  #wrap #contents .news-topics .news-section .topics-list .topic-item,
  #wrap #contents .news-topics .news-section .topics-list .news-item,
  #wrap #contents .news-topics .news-section .news-list .topic-item,
  #wrap #contents .news-topics .news-section .news-list .news-item {
    width: 100%;
    padding: 0;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    display: block;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item a,
  #wrap #contents .news-topics .topics-section .topics-list .news-item a,
  #wrap #contents .news-topics .topics-section .news-list .topic-item a,
  #wrap #contents .news-topics .topics-section .news-list .news-item a,
  #wrap #contents .news-topics .news-section .topics-list .topic-item a,
  #wrap #contents .news-topics .news-section .topics-list .news-item a,
  #wrap #contents .news-topics .news-section .news-list .topic-item a,
  #wrap #contents .news-topics .news-section .news-list .news-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    padding: 15px 0;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item a .date,
  #wrap #contents .news-topics .topics-section .topics-list .news-item a .date,
  #wrap #contents .news-topics .topics-section .news-list .topic-item a .date,
  #wrap #contents .news-topics .topics-section .news-list .news-item a .date,
  #wrap #contents .news-topics .news-section .topics-list .topic-item a .date,
  #wrap #contents .news-topics .news-section .topics-list .news-item a .date,
  #wrap #contents .news-topics .news-section .news-list .topic-item a .date,
  #wrap #contents .news-topics .news-section .news-list .news-item a .date {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item a .category,
  #wrap #contents .news-topics .topics-section .topics-list .news-item a .category,
  #wrap #contents .news-topics .topics-section .news-list .topic-item a .category,
  #wrap #contents .news-topics .topics-section .news-list .news-item a .category,
  #wrap #contents .news-topics .news-section .topics-list .topic-item a .category,
  #wrap #contents .news-topics .news-section .topics-list .news-item a .category,
  #wrap #contents .news-topics .news-section .news-list .topic-item a .category,
  #wrap #contents .news-topics .news-section .news-list .news-item a .category {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
    text-align: center;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item a .title,
  #wrap #contents .news-topics .topics-section .topics-list .news-item a .title,
  #wrap #contents .news-topics .topics-section .news-list .topic-item a .title,
  #wrap #contents .news-topics .topics-section .news-list .news-item a .title,
  #wrap #contents .news-topics .news-section .topics-list .topic-item a .title,
  #wrap #contents .news-topics .news-section .topics-list .news-item a .title,
  #wrap #contents .news-topics .news-section .news-list .topic-item a .title,
  #wrap #contents .news-topics .news-section .news-list .news-item a .title {
    margin: 0;
    line-height: 1.6;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  #wrap #contents .banner {
    width: 100%;
    max-width: 930px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
  }
  #wrap #contents .banner #slider img,
  #wrap #contents .banner #slider-sp img {
    width: 100%;
    height: auto;
    display: block;
  }
  #wrap #contents .banner #slider .slick-prev,
  #wrap #contents .banner #slider .slick-next,
  #wrap #contents .banner #slider-sp .slick-prev,
  #wrap #contents .banner #slider-sp .slick-next {
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    cursor: pointer;
    background: none;
    z-index: 2;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
  }
  #wrap #contents .banner #slider .slick-prev::before,
  #wrap #contents .banner #slider .slick-next::before,
  #wrap #contents .banner #slider-sp .slick-prev::before,
  #wrap #contents .banner #slider-sp .slick-next::before {
    display: none;
  }
  #wrap #contents .banner #slider .slick-prev,
  #wrap #contents .banner #slider-sp .slick-prev {
    border-right: 30px solid #555;
    left: -50px;
  }
  #wrap #contents .banner #slider .slick-next,
  #wrap #contents .banner #slider-sp .slick-next {
    border-left: 30px solid #555;
    right: -50px;
  }
  #wrap #contents .banner #slider .slick-dots,
  #wrap #contents .banner #slider-sp .slick-dots {
    display: none !important;
  }
  #sliders {
    overflow: hidden;
    position: relative;
    margin-top: 53px;
  }
  #sliders .slides {
    letter-spacing: -0.4em;
    overflow: hidden;
  }
  #sliders .slides li {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    letter-spacing: normal;
    position: relative;
    display: inline-block;
    list-style: none;
  }
  #sliders .slides li img,
  #sliders .slides li a {
    display: block;
    width: 100%;
  }
  #sliders.loading .slides li {
    visibility: hidden;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .flex-nav-prev,
  .flex-nav-next {
    list-style: none;
    text-indent: -9999px;
    position: absolute;
    top: 42%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .flex-nav-prev {
    left: 10px;
    z-index: 2;
  }
  .flex-nav-prev > a {
    display: block;
    width: 16px;
    height: 26px;
    background: url(../img/prev_sp.png) no-repeat 0 0;
    background-size: 16px 26px;
  }
  .flex-nav-next {
    right: 10px;
    z-index: 2;
  }
  .flex-nav-next > a {
    display: block;
    width: 16px;
    height: 26px;
    background: url(../img/next_sp.png) no-repeat 0 0;
    background-size: 16px 26px;
  }
  #home-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -moz-justify-content: flex-start;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-top: 2px solid #EBEBEB;
    border-bottom: 2px solid #EBEBEB;
    margin-bottom: 20px;
  }
  #home-nav a {
    display: block;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-left: 2px solid #EBEBEB;
    width: 33.3333333333%;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    height: 50px;
    line-height: 50px;
    color: #000;
    text-decoration: none;
  }
  #home-nav a:first-of-type, #home-nav a:nth-of-type(4) {
    border-left: none;
  }
  #home-nav a:nth-last-of-type(-n + 3) {
    border-top: 2px solid #EBEBEB;
  }
  #sliders .flex-control-nav {
    position: relative;
    top: -5px;
    letter-spacing: -0.4em;
    margin-top: 12px;
    height: 28px;
    text-align: center;
  }
  #sliders .flex-control-nav > li {
    display: inline-block;
    letter-spacing: normal;
  }
  #sliders .flex-control-nav > li a {
    cursor: pointer;
    letter-spacing: normal;
    border-radius: 6px;
    margin: 0 7px;
    background-color: #CCC;
    display: inline-block;
    width: 6px;
    height: 6px;
    line-height: 6px;
    text-indent: -9999px;
  }
  #sliders .flex-control-nav > li a.flex-active {
    background-color: #000;
  }
  #topics h2 {
    font-size: 18px;
    font-family: Constantia;
    font-weight: normal;
    line-height: 50px;
    height: auto;
    text-align: center;
  }
  #topics .title-group h2 {
    width: 100%;
    height: auto;
  }
  #topics .title-group p {
    display: none;
  }
  #topics-wrap {
    margin: 0 10px;
  }
  #topics-wrap article a {
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #CCC;
  }
  #topics-wrap article:last-child a {
    border-bottom: none;
  }
  #topics-wrap article dl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -moz-justify-content: space-between;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  #topics-wrap article dl dt {
    -ms-flex-preferred-size: 150px;
        flex-basis: 150px;
    margin-right: 10px;
  }
  #topics-wrap article dl dt figure {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90px;
    position: relative;
  }
  #topics-wrap article dl dt figure.border {
    border: 1px solid #CCC;
  }
  #topics-wrap article dl dt figure span {
    border: 1px solid #000;
    font-size: 12px;
    font-family: Constantia;
    text-align: center;
    display: block;
  }
  #topics-wrap article dl dt figure figcaption {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-box-shadow: 0 0 10px rgba(190, 190, 190, 0.5);
            box-shadow: 0 0 10px rgba(190, 190, 190, 0.5);
    font-size: 10px;
    padding: 2px 6px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 2;
    border-radius: 20px;
    font-weight: 300;
  }
  #topics-wrap article dl dt figure img {
    width: 100%;
    height: auto;
  }
  #topics-wrap article dl dd {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  #topics-wrap article dl dd date {
    font-size: 12px;
    letter-spacing: 1px;
  }
  #topics {
    margin: 0;
  }
  .more {
    width: 100%;
    text-align: center;
    border-top: none;
    padding-top: 0;
  }
  .more a {
    display: inline-block;
    padding: 5px 0 10px 0;
    color: #222;
    font-weight: bold;
    margin: 0 auto;
    font-size: 14px;
    border-bottom: none;
  }
  .more a::after {
    content: "›";
    color: #EB5B1A;
    font-size: 16px;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    margin-left: 5px;
    display: inline-block;
  }
  .more a:hover::after {
    -webkit-transform: translateX(4px);
            transform: translateX(4px);
  }
}
/* =======================
   スマホ用スタイル
   ======================= */
@media (max-width: 768px) {
  br.sp-only {
    display: block;
  }
  #wrap {
    width: 100%;
    /* バナー（SP） */
  }
  #wrap #contents .FV-PC {
    margin-top: 54px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #wrap #contents .FV-PC img {
    width: 100vw;
    max-width: 100%;
    margin-top: -53px;
  }
  #wrap #contents .business-overview {
    background-color: #FEF4E5;
    width: 100%;
    padding: 10px 0;
    margin-top: -4px;
  }
  #wrap #contents .business-overview .section-title {
    color: #E35849;
  }
  #wrap #contents .business-overview .section-title .section-title-ja {
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    color: #E35849;
  }
  #wrap #contents .business-overview .section-title .section-title-en {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    color: #E35849;
  }
  #wrap #contents .business-overview .business-overview-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin-top: 10px;
  }
  #wrap #contents .business-overview .business-overview-button .button-item {
    width: calc(50% - 10px);
    max-width: 400px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    padding: 0;
  }
  #wrap #contents .business-overview .business-overview-button .button-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  #wrap #contents .business-overview .business-overview-button .button-item .button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    width: 90%;
    text-align: left;
    display: block;
  }
}
@media (max-width: 768px) and (max-width: 320px) {
  #wrap #contents .business-overview .business-overview-button .button-item {
    width: 100%;
  }
}
@media (max-width: 768px) {
  #wrap #contents .news-topics {
    max-width: 100%;
    padding: 20px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
  #wrap #contents .news-topics .topics-section,
  #wrap #contents .news-topics .news-section {
    width: 100%;
    padding-bottom: 10px;
  }
  #wrap #contents .news-topics .topics-section .section-title,
  #wrap #contents .news-topics .news-section .section-title {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
  }
  #wrap #contents .news-topics .topics-section .section-title span,
  #wrap #contents .news-topics .news-section .section-title span {
    font-size: 12px;
    color: #555;
  }
  #wrap #contents .news-topics .topics-section .topics-list,
  #wrap #contents .news-topics .topics-section .news-list,
  #wrap #contents .news-topics .news-section .topics-list,
  #wrap #contents .news-topics .news-section .news-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item,
  #wrap #contents .news-topics .topics-section .topics-list .news-item,
  #wrap #contents .news-topics .topics-section .news-list .topic-item,
  #wrap #contents .news-topics .topics-section .news-list .news-item,
  #wrap #contents .news-topics .news-section .topics-list .topic-item,
  #wrap #contents .news-topics .news-section .topics-list .news-item,
  #wrap #contents .news-topics .news-section .news-list .topic-item,
  #wrap #contents .news-topics .news-section .news-list .news-item {
    padding: 10px 0;
    font-size: 14px;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item a,
  #wrap #contents .news-topics .topics-section .topics-list .news-item a,
  #wrap #contents .news-topics .topics-section .news-list .topic-item a,
  #wrap #contents .news-topics .topics-section .news-list .news-item a,
  #wrap #contents .news-topics .news-section .topics-list .topic-item a,
  #wrap #contents .news-topics .news-section .topics-list .news-item a,
  #wrap #contents .news-topics .news-section .news-list .topic-item a,
  #wrap #contents .news-topics .news-section .news-list .news-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 15px;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item .date,
  #wrap #contents .news-topics .topics-section .topics-list .news-item .date,
  #wrap #contents .news-topics .topics-section .news-list .topic-item .date,
  #wrap #contents .news-topics .topics-section .news-list .news-item .date,
  #wrap #contents .news-topics .news-section .topics-list .topic-item .date,
  #wrap #contents .news-topics .news-section .topics-list .news-item .date,
  #wrap #contents .news-topics .news-section .news-list .topic-item .date,
  #wrap #contents .news-topics .news-section .news-list .news-item .date {
    font-size: 12px !important;
    color: #555;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
            flex: 0 0 25%;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item .category,
  #wrap #contents .news-topics .topics-section .topics-list .news-item .category,
  #wrap #contents .news-topics .topics-section .news-list .topic-item .category,
  #wrap #contents .news-topics .topics-section .news-list .news-item .category,
  #wrap #contents .news-topics .news-section .topics-list .topic-item .category,
  #wrap #contents .news-topics .news-section .topics-list .news-item .category,
  #wrap #contents .news-topics .news-section .news-list .topic-item .category,
  #wrap #contents .news-topics .news-section .news-list .news-item .category {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 3px 6px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #000;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 16%;
            flex: 0 0 16%;
    line-height: 1.2;
  }
  #wrap #contents .news-topics .topics-section .topics-list .topic-item .title,
  #wrap #contents .news-topics .topics-section .topics-list .news-item .title,
  #wrap #contents .news-topics .topics-section .news-list .topic-item .title,
  #wrap #contents .news-topics .topics-section .news-list .news-item .title,
  #wrap #contents .news-topics .news-section .topics-list .topic-item .title,
  #wrap #contents .news-topics .news-section .topics-list .news-item .title,
  #wrap #contents .news-topics .news-section .news-list .topic-item .title,
  #wrap #contents .news-topics .news-section .news-list .news-item .title {
    margin: 0;
    border: none;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-width: 0;
    height: auto;
    line-height: 1.5;
  }
  #wrap .banner {
    width: 100%;
    padding: 10px 0;
    position: relative;
  }
  #wrap .slick-next,
  #wrap .slick-prev {
    display: none !important;
  }
  #wrap #slider-sp .slider {
    display: block;
  }
  #wrap #slider-sp .slider li {
    text-align: center;
  }
  #wrap #slider-sp .slider li img {
    width: 100%;
    height: auto;
    display: block;
  }
  #sliders {
    overflow: hidden;
    position: relative;
    margin-top: 20px;
  }
  #sliders .slides {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
    list-style: none;
  }
  #sliders .slides li {
    text-align: center;
  }
  #sliders .slides li img {
    width: 100%;
    height: auto;
    display: block;
  }
}
/* モバイル専用ナビ（共通） */
#home-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-top: 2px solid #EBEBEB;
  border-bottom: 2px solid #EBEBEB;
  margin-bottom: 20px;
}
#home-nav a {
  display: block;
  width: 33.3%;
  text-align: center;
  font-size: 12px;
  height: 50px;
  line-height: 50px;
  color: #000;
  text-decoration: none;
}
#home-nav a:nth-child(3n+1) {
  border-left: none;
}

/* 記事一覧（共通） */
#topics-wrap {
  margin: 0 10px;
}
#topics-wrap article a {
  display: block;
  padding: 10px 0;
}
#topics-wrap article:last-child a {
  border-bottom: none;
}
#topics-wrap article dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
#topics-wrap article dl dt {
  -ms-flex-preferred-size: auto;
      flex-basis: auto;
  margin-bottom: 10px;
}
#topics-wrap article dl dt figure {
  background-position: center center;
  background-size: cover;
  min-height: 90px;
  position: relative;
}
#topics-wrap article dl dt figure.border {
  border: 1px solid #CCC;
}
#topics-wrap article dl dt figure img {
  width: 100%;
  height: auto;
}

/* 「もっと見る」ボタン（共通） */
.more {
  width: 100%;
  text-align: center;
  padding-top: 10px;
}
.more a {
  display: block;
  padding: 5px 0;
  color: #666;
  font-weight: bold;
  font-size: 14px;
}

/* ▼▼ slick のドット共通スタイル ▼▼ */
.banner .slick-dots {
  position: static;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.banner #slider .slick-slide,
.banner #slider-sp .slick-slide {
  padding: 0 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.banner #slider .slick-slide img,
.banner #slider-sp .slick-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.banner .slick-dots li {
  margin: 0 4px;
}
.banner .slick-dots button {
  padding: 0;
}
.banner .slick-dots button::before {
  font-size: 10px;
  color: #ccc;
  opacity: 1;
}
.banner .slick-dots li.slick-active button::before {
  color: #E35849;
}

/* ▲▲ slick のドット共通スタイル ▲▲ */
/* =========================
   Variables
   ========================= */
/* ▼ img フォルダはテーマ直下 /img/ */
/* =========================
   Contents
   ========================= */
#contents {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  /* =========================
     HERO TITLE（PC：右寄せ＋斜め）
     ========================= */
  /* =========================
     HERO NAV 背景
     ========================= */
  /* =========================
     SERVICE NAV
     ========================= */
  /* =========================
     INTRO
     ========================= */
  /* =========================
     LIST
     ========================= */
  /* =========================
     CARDS
     ========================= */
  /* =========================
     SP（スマホ）
     ========================= */
}
#contents .service-hero__title {
  position: relative;
  width: 90%;
  margin-left: auto;
  background: #E35A47;
  padding: 20px 0;
  text-align: center;
  overflow: hidden;
}
#contents .service-hero__title::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 120px;
  background: #FFF;
  -webkit-transform: skewX(25deg) translateX(-70px);
          transform: skewX(25deg) translateX(-70px);
  -webkit-transform-origin: left top;
          transform-origin: left top;
}
#contents .service-hero__heading {
  position: relative;
  margin: 0;
  color: #FFF;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-left: -5%;
}
#contents .service-hero__nav {
  width: 100%;
  padding: 18px 0 22px;
  background: url("./img/service-background.png") center/cover no-repeat;
}
#contents .service-nav {
  width: min(920px, 100% - 32px);
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
#contents .service-nav__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 94px;
  padding: 0 12px 28px;
  background: #FFF;
  border: 1px solid #eee;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  -webkit-box-shadow: 0 3px 8px rgba(227, 90, 71, 0.25);
          box-shadow: 0 3px 8px rgba(227, 90, 71, 0.25);
  -webkit-transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  transition: box-shadow 0.2s ease, transform 0.2s ease, -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
}
#contents .service-nav__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 35px;
  height: 10px;
  background: url("./img/down-arrow.svg") no-repeat center/contain;
  pointer-events: none;
}
#contents .service-nav__item:hover {
  -webkit-box-shadow: 0 6px 14px rgba(227, 90, 71, 0.35);
          box-shadow: 0 6px 14px rgba(227, 90, 71, 0.35);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
#contents .service-intro {
  padding: 28px 0 12px;
}
#contents .service-intro__title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #222;
}
#contents .service-intro__text {
  width: min(920px, 100% - 32px);
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: #222;
}
#contents .service-list {
  padding: 18px 0 60px;
}
#contents .service-group {
  margin: 22px 0;
}
#contents .service-group__title {
  width: min(1000px, 100% - 32px);
  margin: 0 auto 14px;
  background: #FFF6F5;
  padding: 14px 16px 14px 32px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  position: relative;
}
#contents .service-group__title::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 15px;
  background: #E35A47;
}
#contents .service-cards {
  width: min(1000px, 100% - 32px);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  grid-template-columns: repeat(auto-fill, 300px);
}
#contents .service-card {
  width: 300px;
  color: #222;
  text-decoration: none;
}
#contents .service-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 8px;
}
#contents .service-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
#contents .service-card__label {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  padding-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #E35A47;
}
#contents .service-card__label::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: #555;
  font-weight: 700;
}
#contents .service-card__label::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 0;
  width: calc(100% - 14px);
  height: 1px;
  background: #E35A47;
}
@media (max-width: 768px) {
  #contents {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #contents .container,
  #contents .service-nav,
  #contents .service-intro__text,
  #contents .service-group__title,
  #contents .service-cards {
    width: 96%;
    margin-left: auto;
    margin-right: auto;
  }
  #contents .service-hero__title {
    width: 100%;
    margin-left: 0;
    padding: 20px 0;
  }
  #contents .service-hero__title::before {
    display: none;
  }
  #contents .service-hero__heading {
    font-size: 22px;
    letter-spacing: 0.05em;
    margin-left: 0;
  }
  #contents .service-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  #contents .service-nav__item {
    min-height: 86px;
    font-size: 14px;
  }
  #contents .service-group__title {
    font-size: 18px;
  }
  #contents .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  #contents .service-card {
    width: 100%;
  }
  #contents .service-card__img {
    aspect-ratio: 16/9;
  }
  #contents .service-card__label {
    font-size: 14px;
    padding-left: 0;
  }
  #contents .service-card__label::before, #contents .service-card__label::after {
    display: none;
  }
}

/* =========================
   「その他」用：下線・矢印を無効化
   ========================= */
.service-card--nolink .service-card__label {
  color: #222;
  padding-left: 0;
}
.service-card--nolink .service-card__label::before, .service-card--nolink .service-card__label::after {
  display: none;
}

/* 中途採用ページのリンク下線を完全に無効化 */
#mid-career-contents a {
  text-decoration: none;
}

/* カード内のタイトルやテキストも */
#mid-career-contents h2,
#mid-career-contents h2 a,
#mid-career-contents p,
#mid-career-contents date,
#mid-career-contents .job-category-tag a {
  text-decoration: none;
}

/* ホバー時も下線無効化 */
#mid-career-contents a:hover,
#mid-career-contents h2 a:hover,
#mid-career-contents .job-category-tag a:hover {
  text-decoration: none;
}

.job-category-tag a {
  color: #1a73e8;
}

/* カード全体 */
.job-detail {
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.job-detail:hover {
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 横並びの調整 */
.job-detail-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 20px;
}

/* テキストエリア */
.job-detail-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 0;
}

/* サムネイル画像 */
.job-detail-image {
  width: 180px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.job-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 0 4px 4px 0;
  -o-object-fit: cover;
     object-fit: cover;
}

/* タイトル */
.job-detail-content h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: bold;
}

/* 日付やカテゴリ */
.job-detail-content date {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}

.job-detail-content .job-category {
  margin-bottom: 10px;
}

.job-detail-content p {
  font-size: 0.95rem;
  color: #555;
}

.job-category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  margin: -30px 15px 0px 15px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.job-category-tag {
  display: inline-block;
  padding: 3px 7px;
  font-size: 0.9rem;
  color: #1a73e8;
  border: 1px solid #1a73e8;
  border-radius: 3px;
  background-color: #fff;
  line-height: 1.4;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.job-detail-image {
  width: 180px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: 100%;
  /* 高さを親要素いっぱいに */
}

.job-detail-image a,
.job-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 画像を枠いっぱいにトリミング */
  border-radius: 0;
}

.job-detail-image {
  width: 180px;
  /* お好みでサイズ調整可能 */
  aspect-ratio: 1/1;
  /* 正方形に */
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
}

.job-detail-image a,
.job-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* はみ出しをカットして綺麗に */
}

/* タイトル左にグラデーションラインを追加 */
.job-detail-content h2 {
  position: relative;
  padding-left: 12px;
  /* 線と文字の間隔調整 */
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.job-detail-content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  /* 線の太さ */
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(#FF7E5F), to(#FD3A69));
  background: linear-gradient(180deg, #FF7E5F, #FD3A69);
  /* グラデーション色 */
  border-radius: 2px;
  /* 線の角丸（お好みで） */
}

@media screen and (max-width: 768px) {
  .job-detail {
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
  }
  .job-detail-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
  .job-detail-content {
    width: 100%;
  }
  .job-detail-image {
    width: 100%;
    height: 200px;
    /* お好みの高さに調整 */
    overflow: hidden;
  }
  .job-detail-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .job-category {
    margin: -30px 0px 0px 0px;
    padding: 0;
  }
  .job-category-tag {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.8rem;
    color: #1a73e8;
    border: 1px solid #1a73e8;
    border-radius: 4px;
    background-color: #fff;
    margin: 0;
  }
}
/* ============================
   中途採用：詳細ページ専用
===============================*/
/* --- ページ全体の余白調整 --- */
.single-mid_career #wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* --- タイトル --- */
.single-mid_career #entry-title {
  margin: 0 0 40px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 25px 0;
}

.single-mid_career #entry-title h1 {
  font-size: 26px;
  line-height: 1.4;
  font-weight: bold;
  display: block;
  text-align: left;
}

/* --- 投稿日・著者情報 --- */
.single-mid_career #entry-title .meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.single-mid_career #entry-title .metag aside {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}

.single-mid_career #entry-title .metag time {
  color: #666;
}

/* --- 投稿本文 --- */
.single-mid_career #entry-body {
  font-size: 15px;
  line-height: 2;
}

.single-mid_career #entry-body p {
  margin-bottom: 16px;
}

/* --- 見出し --- */
.single-mid_career #entry-body h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 6px solid #EB5C1A;
  padding-left: 10px;
  font-size: 20px;
  font-weight: bold;
}

.single-mid_career #entry-body h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: bold;
}

/* --- リスト --- */
.single-mid_career #entry-body ul,
.single-mid_career #entry-body ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.single-mid_career #entry-body ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.single-mid_career #entry-body ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

/* --- テーブル（募集要項など）--- */
.single-mid_career table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.single-mid_career table th,
.single-mid_career table td {
  padding: 8px 12px;
  border: 1px solid #ccc;
  text-align: left;
}

/* --- CTA 下部バナー（問い合わせエリア）--- */
.single-mid_career #entry-button {
  margin: 50px 0;
  text-align: center;
}

.single-mid_career #entry-button a {
  background: #006fbb;
  color: #fff;
  display: inline-block;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.single-mid_career #entry-button a:hover {
  opacity: 0.8;
}

/* -----------------------------------
   スマホ用（768px以下）
----------------------------------- */
@media screen and (max-width: 768px) {
  .single-mid_career #wrap {
    padding: 10px;
  }
  .single-mid_career #entry-title h1 {
    font-size: 22px;
  }
  .single-mid_career #entry-body {
    font-size: 14px;
  }
  .single-mid_career table th,
  .single-mid_career table td {
    padding: 6px 8px;
    font-size: 13px;
  }
  .single-mid_career #entry-button a {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
  }
}
/* ==========================================
  1) Tokens / Breakpoints
========================================== */
/* ==========================================
  2) Mixins
========================================== */
/* ==========================================
  3) Base Typography (Entry)
========================================== */
#entry-lead p,
#entry-body p {
  font-size: 18px;
  line-height: 2;
}
@media (max-width: 768px) {
  #entry-lead p,
  #entry-body p {
    font-size: 16px;
  }
}
#entry-lead ul li,
#entry-body ul li {
  font-size: 18px;
}
@media (max-width: 768px) {
  #entry-lead ul li,
  #entry-body ul li {
    font-size: 16px;
  }
}

#entry-body p {
  margin: 0 0 1em;
}

/* ==========================================
  4) Layout (Main + Sidebar)
========================================== */
.blog-layout {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 32px;
}
@media (max-width: 768px) {
  .blog-layout {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 24px;
  }
}

.blog-main {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
}

.sidebar-blog {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 300px;
          flex: 0 0 300px;
}
@media (max-width: 768px) {
  .sidebar-blog {
    width: 100%;
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
  }
}

/* ==========================================
  5) Components
========================================== */
/* 5-1) Entry Title */
#entry-title h1 {
  font-size: 28px !important;
  line-height: 1.4;
  margin-bottom: 30px;
  font-weight: bold;
}
@media (max-width: 768px) {
  #entry-title h1 {
    font-size: 22px !important;
  }
}

/* 5-2) Blog Title Band */
#blog-title {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 5px;
  width: 100%;
  height: 85px;
  margin-bottom: 40px;
  display: table;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
#blog-title .name,
#blog-title p {
  font-size: 12px;
  display: table-cell;
  vertical-align: middle;
}
#blog-title strong {
  font-size: 30px;
  font-weight: normal;
  line-height: 1;
}
#blog-title h2 {
  display: inline-block;
  font-size: 25px;
  font-weight: normal;
  line-height: 1;
}
#blog-title p {
  text-align: right;
}
#blog-title.blog strong {
  background: url("../img/icon_blog.png") no-repeat 0 center;
  background-size: 20px 24px;
}
@media (max-width: 768px) {
  #blog-title {
    padding: 15px 0;
    text-align: center;
    display: block;
    height: auto;
    margin-bottom: 20px;
  }
  #blog-title strong {
    font-size: 24px;
    line-height: 1.3;
  }
  #blog-title h2 {
    font-size: 24px;
  }
  #blog-title .name {
    font-size: 12px;
    display: block;
  }
  #blog-title p {
    font-size: 12px;
    display: block;
    text-align: center;
    margin-top: 5px;
  }
}

/* 5-3) Meta */
.meta {
  position: relative;
  width: 100%;
  margin-top: 10px;
  font-size: 14px;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.meta .metag {
  padding-bottom: 0;
  padding-left: 20px;
}
.meta aside {
  display: inline-block;
}
.meta aside img {
  width: 25px;
  height: 25px;
  border: 1px solid #CCC;
  border-radius: 25px;
  display: inline-block;
  vertical-align: middle;
}
.meta aside small {
  font-weight: bold;
  line-height: 1.3;
  padding-left: 10px;
}
.meta date {
  position: absolute;
  right: 0;
  text-align: right;
  line-height: 25px;
}
.meta date time {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 25px;
}
@media (max-width: 768px) {
  .meta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
            flex-flow: column-reverse;
    -webkit-box-align: initial;
        -ms-flex-align: initial;
            align-items: initial;
  }
  .meta .metag {
    padding-bottom: 10px;
    padding-left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .meta aside {
    width: 73%;
  }
  .meta date {
    width: 30%;
    position: static;
    text-align: right;
  }
}

/* 5-4) Headings */
#entry-body h2 {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  margin: 2.4em 0 1.5em;
  padding: 14px 18px 14px 20px;
  background: #ffece3;
  border-left: 8px solid #EB5C1A;
  line-height: 1.4;
  color: #333;
  border-bottom: 1px solid rgba(0, 146, 209, 0.4);
}
#entry-body h2::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 0;
  height: 0;
  border-width: 0 16px 16px 0;
  border-style: solid;
  border-color: transparent #EB5C1A transparent transparent;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
#entry-body h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  width: calc(100% - 8px);
  height: 1px;
  background: rgba(0, 146, 209, 0.3);
}
@media (max-width: 768px) {
  #entry-body h2 {
    padding: 12px 14px 12px 16px;
    border-left-width: 6px;
  }
  #entry-body h2::after {
    border-width: 0 12px 12px 0;
  }
}
#entry-body h3 {
  position: relative;
  border-top: 1px solid #000;
  font-size: 18px;
  line-height: 1;
  margin: 25px 0;
  padding: 25px 0 0 0;
  font-weight: bold;
}

/* 5-5) Media (Images/Embeds) */
#main-image {
  max-width: 700px;
  margin: 2em auto;
}
#main-image img {
  width: 100%;
  height: auto;
  display: block;
}

#entry-body figure,
.wp-block-image {
  display: block;
  margin: 20px auto;
  max-width: 700px;
}
#entry-body figure img,
.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
  6) Tables / Long Content
========================================== */
#entry-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
}

/* テーブル本体（比較表など） */
.table-fixed {
  border-collapse: collapse;
  width: 100%;
  table-layout: auto;
  min-width: 100%;
}
.table-fixed th,
.table-fixed td {
  border: 1px solid #ccc;
  padding: 0.6em 0.8em;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  font-size: 14px;
}

/* 任意：ラッパを使う場合 */
.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================
  7) Lists (Chevron)
========================================== */
#entry-body ul {
  border-radius: 6px;
  padding: 0.6em 1em 0.6em 2.4em;
  margin: 20px 0;
  position: relative;
  background: #fff;
}

#entry-body ul li {
  list-style: none !important;
  line-height: 1.6;
  padding: 0.5em 0;
  position: relative;
}
#entry-body ul li::before {
  font-family: "Font Awesome 5 Free";
  content: "\f138";
  font-weight: 900;
  position: absolute;
  left: -1.4em;
  top: 13px;
  color: #f28c64;
  font-size: 0.9em;
}
@media (max-width: 768px) {
  #entry-body ul li::before {
    top: 9px;
  }
}

/* ==========================================
  8) Footer (Categories + Pager)
========================================== */
#entry-footer {
  /* Categories */
  /* Pager */
}
#entry-footer .categories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #333;
}
#entry-footer .categories strong {
  font-weight: bold;
  margin-right: 6px;
  color: #666;
}
#entry-footer .categories a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #333;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
#entry-footer .categories a:hover {
  background: #EB5C1A;
  color: #fff;
  border-color: #EB5C1A;
}
#entry-footer ul.pager {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 40px 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
}
#entry-footer ul.pager li {
  list-style: none !important;
  -webkit-box-flex: 0 !important;
      -ms-flex: 0 0 auto !important;
          flex: 0 0 auto !important;
  margin: 0;
  padding: 0;
}
#entry-footer ul.pager li a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 2px solid #EB5C1A;
  border-radius: 999px;
  background: #fff;
  color: #EB5C1A;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
#entry-footer ul.pager li a:hover {
  background: #EB5C1A;
  color: #fff;
}
#entry-footer ul.pager .prev a::before {
  content: "◀";
  font-size: 0.9em;
}
#entry-footer ul.pager .next a::after {
  content: "▶";
  font-size: 0.9em;
}
@media (max-width: 768px) {
  #entry-footer ul.pager {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 12px;
  }
  #entry-footer ul.pager li {
    width: auto;
  }
  #entry-footer ul.pager li a {
    width: auto;
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ==========================================
  9) SP Safety Guard (横はみ出し最終対策)
  - “ページ全体”が横に伸びるのを止める
  - はみ出す要素は中でスクロール
========================================== */
@media (max-width: 768px) {
  /* レイアウトの箱 */
  #contents,
  #main,
  .blog-layout,
  .blog-main,
  .sidebar-blog,
  #entry-body {
    max-width: 100%;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  #contents {
    padding-left: 14px;
    padding-right: 14px;
  }
  html,
  body {
    overflow-x: hidden;
  }
  /* 長文/コード/テーブルは中でスクロール */
  #entry-body pre,
  #entry-body code,
  #entry-body table {
    max-width: 100%;
  }
  #entry-body pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #entry-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    min-width: 0;
  }
  /* 画像・埋め込みの固定幅を防止 */
  #entry-body img,
  #entry-body iframe,
  #entry-body video,
  #entry-body figure,
  #main-image img {
    max-width: 100%;
    height: auto;
  }
  /* 長い英数字（URL等）で横に広がるのを防ぐ */
  #entry-body {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
/* サイドバー付き記事では “全幅(alignfull/alignwide)” を殺す */
.blog-layout .blog-main {
  /* Gutenbergの全幅/ワイド幅が原因で横に突き抜けるのを防ぐ */
  /* もし “100vw + ずらし” を当ててくるテーマでも止める */
}
.blog-layout .blog-main img,
.blog-layout .blog-main figure,
.blog-layout .blog-main .wp-block-image,
.blog-layout .blog-main .wp-block-image img {
  max-width: 100% !important;
  height: auto;
}
.blog-layout .blog-main .alignfull,
.blog-layout .blog-main .alignwide {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
}
.blog-layout .blog-main .alignfull img,
.blog-layout .blog-main .alignwide img {
  width: 100% !important;
}

/* 念のため：アイキャッチ枠（#main-image）も本文幅に収める */
#main-image {
  width: 100%;
  max-width: 100% !important;
}

#main-image img {
  max-width: 100% !important;
  height: auto;
  display: block;
}

/* ==========================================
  リンクが黒くなる問題の修正（本文用）
========================================== */
#entry-body a {
  color: #0059b3;
  /* 青系でリンクと分かる色 */
  text-decoration: underline;
  /* 下線を復活 */
}

#entry-body a:hover {
  color: #003f80;
  text-decoration: underline;
}

/* ==========================================
   ブログ ＋ 中途採用 共通タイトル帯
   (#title.blog と #title.midcareer に適用)
========================================== */
/* PC共通 */
#title.blog,
#title.midcareer {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 5px;
  width: 100%;
  height: 85px;
  margin-bottom: 40px;
  display: table;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

/* 左の大きい見出し（ブログ / 中途採用） */
#title.blog strong,
#title.midcareer strong {
  display: table-cell;
  vertical-align: middle;
  padding-left: 40px;
  font-size: 30px;
  font-weight: normal;
  line-height: 1;
  white-space: nowrap;
}

/* 中央キャッチコピー */
#title.blog h2,
#title.midcareer h2 {
  display: table-cell;
  vertical-align: middle;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

/* 右側リード文 */
#title.blog p,
#title.midcareer p {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  font-size: 12px;
  line-height: 1.4;
}

/* ブログだけアイコン付けたい場合はここで分岐 */
#title.blog strong {
  background: url("../img/icon_blog.png") no-repeat 0 center;
  background-size: 20px 24px;
}

/* ==========================================
   SP時（768px以下）共通
========================================== */
@media (max-width: 768px) {
  #title.blog,
  #title.midcareer {
    display: block;
    height: auto;
    padding: 20px 10px;
    text-align: center;
  }
  #title.blog strong,
  #title.blog h2,
  #title.blog p,
  #title.midcareer strong,
  #title.midcareer h2,
  #title.midcareer p {
    display: block;
    padding-left: 0;
    margin-bottom: 10px;
    text-align: center;
  }
  #title.blog strong,
  #title.midcareer strong {
    font-size: 24px;
  }
  #title.blog h2,
  #title.midcareer h2 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  #title.blog p,
  #title.midcareer p {
    font-size: 13px;
  }
}
/* ==========================================
   会社概要・ブログ本文のテーブル共通デザイン
   （#entry-body 内の table に適用）
========================================== */
/* テーブル全体（PC基準） */
#entry-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 24px 0;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

/* セル共通 */
#entry-body table th,
#entry-body table td {
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 14px 16px;
  line-height: 1.6;
  vertical-align: top;
}

/* 左の項目名（2列テーブル向け） */
#entry-body table th {
  width: 28%;
  background: #eeeeee;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

/* 右側の本文（2列テーブル向け） */
#entry-body table td {
  width: 72%;
  background: #fff;
}

/* テーブル内リンク */
#entry-body table a {
  color: #0059b3;
  text-decoration: underline;
}

/* ==========================================
  比較表（3列以上 or has-fixed-layout）
  - PCは崩れ防止（fixed）
  - SPは「必要なら」横スクロール
========================================== */
/* 3列以上テーブルの判定（WPが has-fixed-layout を付けない場合の保険） */
#entry-body table.has-fixed-layout,
#entry-body table:has(thead th:nth-child(3)) {
  table-layout: fixed;
}

/* 2列用 width 指定の影響を比較表では無効化 */
#entry-body table.has-fixed-layout th,
#entry-body table.has-fixed-layout td,
#entry-body table:has(thead th:nth-child(3)) th,
#entry-body table:has(thead th:nth-child(3)) td {
  width: auto !important;
}

/* 1列目（項目列）を少し広め */
#entry-body table.has-fixed-layout th:first-child,
#entry-body table.has-fixed-layout td:first-child,
#entry-body table:has(thead th:nth-child(3)) th:first-child,
#entry-body table:has(thead th:nth-child(3)) td:first-child {
  width: clamp(160px, 22%, 240px) !important;
  white-space: nowrap;
}

/* それ以外のセルは折り返しで暴れ防止（PC想定） */
#entry-body table.has-fixed-layout th:not(:first-child),
#entry-body table.has-fixed-layout td:not(:first-child),
#entry-body table:has(thead th:nth-child(3)) th:not(:first-child),
#entry-body table:has(thead th:nth-child(3)) td:not(:first-child) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ==========================================
  比較表（3列以上）判定を強化（thead無しも拾う）
========================================== */
/* 3列以上の判定（theadあり/なし両対応） */
#entry-body table.has-fixed-layout,
#entry-body table:has(thead tr > *:nth-child(3)),
#entry-body table:has(tbody tr:first-child > *:nth-child(3)) {
  table-layout: fixed;
}

/* 2列用 width 指定を比較表では無効化 */
#entry-body table.has-fixed-layout th,
#entry-body table.has-fixed-layout td,
#entry-body table:has(thead tr > *:nth-child(3)) th,
#entry-body table:has(thead tr > *:nth-child(3)) td,
#entry-body table:has(tbody tr:first-child > *:nth-child(3)) th,
#entry-body table:has(tbody tr:first-child > *:nth-child(3)) td {
  width: auto !important;
}

/* ==========================================
  📱 SP（<=767）
  - 通常テーブル：縦積み
  - 比較表（3列以上）：横スクロール
========================================== */
@media (max-width: 767px) {
  /* スクロール容器（figure/divどちらでもOK） */
  #entry-body .wp-block-table {
    display: block !important;
    /* overflowを効かせるため必須 */
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  /* 比較表（3列以上）は横スクロールにする */
  #entry-body table.has-fixed-layout,
  #entry-body table:has(thead tr > *:nth-child(3)),
  #entry-body table:has(tbody tr:first-child > *:nth-child(3)) {
    display: inline-table !important;
    /* ★tableを中身幅で伸ばす */
    width: auto !important;
    /* 100%固定を解除 */
    min-width: 100% !important;
    /* 収まるなら100% */
    table-layout: auto !important;
    /* SPは自然計算の方が安定 */
    border-collapse: collapse;
  }
  /* 横スクロール時は折り返さず、列の最小幅で“はみ出し”を作る */
  #entry-body table.has-fixed-layout th,
  #entry-body table.has-fixed-layout td,
  #entry-body table:has(thead tr > *:nth-child(3)) th,
  #entry-body table:has(thead tr > *:nth-child(3)) td,
  #entry-body table:has(tbody tr:first-child > *:nth-child(3)) th,
  #entry-body table:has(tbody tr:first-child > *:nth-child(3)) td {
    white-space: nowrap;
    min-width: 120px;
  }
  /* 1列目（項目列）は少し広め */
  #entry-body table.has-fixed-layout th:first-child,
  #entry-body table.has-fixed-layout td:first-child,
  #entry-body table:has(thead tr > *:nth-child(3)) th:first-child,
  #entry-body table:has(thead tr > *:nth-child(3)) td:first-child,
  #entry-body table:has(tbody tr:first-child > *:nth-child(3)) th:first-child,
  #entry-body table:has(tbody tr:first-child > *:nth-child(3)) td:first-child {
    min-width: 160px;
  }
  /* ▼通常テーブルだけ縦積み（3列以上は除外） */
  #entry-body table:not(.has-fixed-layout):not(:has(thead tr > *:nth-child(3))):not(:has(tbody tr:first-child > *:nth-child(3))),
  #entry-body table:not(.has-fixed-layout):not(:has(thead tr > *:nth-child(3))):not(:has(tbody tr:first-child > *:nth-child(3))) tbody,
  #entry-body table:not(.has-fixed-layout):not(:has(thead tr > *:nth-child(3))):not(:has(tbody tr:first-child > *:nth-child(3))) tr,
  #entry-body table:not(.has-fixed-layout):not(:has(thead tr > *:nth-child(3))):not(:has(tbody tr:first-child > *:nth-child(3))) th,
  #entry-body table:not(.has-fixed-layout):not(:has(thead tr > *:nth-child(3))):not(:has(tbody tr:first-child > *:nth-child(3))) td {
    display: block;
  }
}
/* WPのthead下線が邪魔な場合の保険 */
.wp-block-table thead {
  border-bottom: none !important;
}

/* ==========================================
  ✅ SPの2列テーブル（会社概要など）のズレ修正
  - PCの width:28/72 と nowrap をSPで無効化
  - 1行ごとに「項目→内容」の縦積みにする
========================================== */
@media (max-width: 767px) {
  /* 3列以上（比較表）だけは横スクロール維持 */
  #entry-body .wp-block-table:has(table.has-fixed-layout),
  #entry-body .wp-block-table:has(table thead tr > *:nth-child(3)),
  #entry-body .wp-block-table:has(table tbody tr:first-child > *:nth-child(3)) {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  /* 2列テーブルは横スクロールさせない（縦積みで読む） */
  #entry-body .wp-block-table:not(:has(table.has-fixed-layout)) :not(:has(table thead tr > *:nth-child(3))) :not(:has(table tbody tr:first-child > *:nth-child(3))) {
    overflow-x: visible !important;
  }
  /* ▼会社概要など（= 2列テーブル想定） */
  #entry-body table:not(.has-fixed-layout) :not(:has(thead tr > *:nth-child(3))) :not(:has(tbody tr:first-child > *:nth-child(3))) {
    width: 100% !important;
    table-layout: fixed;
    /* 長文でも暴れにくくする */
  }
  /* 行をカードっぽく縦積み */
  #entry-body table:not(.has-fixed-layout) :not(:has(thead tr > *:nth-child(3))) :not(:has(tbody tr:first-child > *:nth-child(3))) tr {
    display: block;
    margin-bottom: 12px;
  }
  /* th/td の width と nowrap を完全リセット */
  #entry-body table:not(.has-fixed-layout) :not(:has(thead tr > *:nth-child(3))) :not(:has(tbody tr:first-child > *:nth-child(3))) th,
  #entry-body table:not(.has-fixed-layout) :not(:has(thead tr > *:nth-child(3))) :not(:has(tbody tr:first-child > *:nth-child(3))) td {
    display: block;
    width: 100% !important;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    white-space: normal !important;
    /* ←これが効く */
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  /* URLが長いと崩れるのでリンクは強制改行 */
  #entry-body table a {
    word-break: break-all;
  }
}
#new-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1024px) {
  #new-contents {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #new-contents {
    grid-template-columns: 1fr;
  }
}
#new-contents .post-categories {
  padding: 10px 0 0 10px;
}
#new-contents .post-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#new-contents .post-categories li {
  display: inline-block;
  padding: 3px 7px;
  font-size: 0.7rem;
  color: #333;
  border: 1px solid #333;
  border-radius: 3px;
  background-color: #fff;
  line-height: 1.4;
  margin-right: 5px;
  margin-bottom: 5px;
}
#new-contents article {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  color: #333;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
#new-contents article:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}
#new-contents article figure {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin: 0;
}
#new-contents article figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
#new-contents article div {
  padding: 16px;
}
#new-contents article div p {
  font-size: 1rem;
  margin: 0 0 10px;
  line-height: 1.4;
}
#new-contents article div date {
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-bottom: 8px;
}

#blog-category-nav {
  margin: 20px 0 30px;
}
#blog-category-nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none !important;
}
#blog-category-nav li {
  margin: 0;
  display: inline-block;
}
#blog-category-nav li::before {
  content: "" !important;
}
#blog-category-nav li a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: #E35A47;
  border: 1px solid #E35A47;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  line-height: 1.4;
}
#blog-category-nav li a:hover {
  background: #E35A47;
  color: #fff;
}
#blog-category-nav li.is-active a {
  background: #E35A47;
  color: #fff;
  border-color: #E35A47;
}
@media (max-width: 600px) {
  #blog-category-nav ul {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }
}

/* ==========================================
   ブログの見出し帯（中途採用と同じ仕様）
========================================== */
#title.blog {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 5px;
  width: 100%;
  height: 85px;
  margin-bottom: 40px;
  display: table;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

/* 左固定（ブログ） */
#title.blog strong {
  display: table-cell;
  vertical-align: middle;
  padding-left: 40px;
  font-size: 30px;
  font-weight: normal;
  line-height: 1;
  white-space: nowrap;
}

/* 中央のキャッチコピー */
#title.blog h2 {
  display: table-cell;
  vertical-align: middle;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

/* 右側の説明文 */
#title.blog p {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  font-size: 12px;
  line-height: 1.4;
}

/* ==========================================
   SP（モバイル時）
========================================== */
@media (max-width: 768px) {
  #title.blog {
    display: block;
    height: auto;
    padding: 20px 10px;
    text-align: center;
  }
  #title.blog strong,
  #title.blog h2,
  #title.blog p {
    display: block;
    padding-left: 0;
    margin-bottom: 10px;
    text-align: center;
  }
  #title.blog strong {
    font-size: 24px;
  }
  #title.blog h2 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  #title.blog p {
    font-size: 13px;
  }
}
.recruit-links {
  text-align: center;
}
.recruit-links__main img {
  display: block;
  margin: 30px auto;
  max-width: 1440px;
  width: 100%;
  height: auto;
}
.recruit-links__buttons {
  max-width: 1440px;
  margin: 40px auto 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
.recruit-links__btn {
  max-width: 360px;
  width: 100%;
  display: block;
}
.recruit-links__btn img {
  width: 100%;
  height: auto;
  display: block;
}

#entry-body.faq_page {
  /* =========================
     Q（質問）
     ========================= */
  /* =========================
     A（回答）開閉
     ========================= */
  /* Qを開いた時だけ QとAの間に線を引く */
  /* =========================
     ✅ Aラベル：1回だけ、1行目は横並び
     ========================= */
  /* 以前の「段落ごとA.」事故を完全停止（保険） */
  /* 回答ブロック冒頭の A. */
  /* ▼ここが重要：
     pは段落（改行）に戻す。これで改行される */
  /* ただし「最初のpだけ」A.の横に続けたいので inline にする */
  /* 1行目の後に改行を確実に作る（2段落目以降の見た目安定用） */
  /* =========================
     既存の矢印などを強制OFF
     ========================= */
  /* =========================
     カテゴリボタン
     ========================= */
}
#entry-body.faq_page h5 {
  font-size: 16px;
  font-weight: bold;
}
#entry-body.faq_page .ewd-ufaq-faq-category {
  padding: 2.5rem 1rem;
  background: transparent;
}
#entry-body.faq_page .ewd-ufaq-faq-category-inner {
  max-width: 980px;
  margin: 0 auto;
}
#entry-body.faq_page .ewd-ufaq-faq-category-title h3 {
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 22px !important;
  margin: 0 0 1.6rem;
  color: #2F73D6;
}
#entry-body.faq_page .ewd-ufaq-faq-div {
  background: #EEF8FF !important;
  border: 1px solid #D9ECFF !important;
  border-radius: 18px !important;
  overflow: hidden;
  margin: 0 0 16px;
  position: relative;
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}
#entry-body.faq_page .ewd-ufaq-post-margin-symbol {
  display: none !important;
}
#entry-body.faq_page .ewd-ufaq-faq-title.ewd-ufaq-faq-toggle a.ewd-ufaq-post-margin {
  display: block !important;
  position: relative;
  padding: 18px 58px 18px 18px;
  background: transparent !important;
  color: #2F73D6 !important;
  text-decoration: none !important;
}
#entry-body.faq_page .ewd-ufaq-faq-title-text h4 {
  margin: 0 !important;
  font-weight: 800;
  line-height: 1.6;
  font-size: 18px;
  color: #2F73D6 !important;
  text-align: left !important;
}
#entry-body.faq_page .ewd-ufaq-faq-title-text h4::before {
  content: "Q. ";
  font-weight: 900;
  margin-right: 0.25em;
}
#entry-body.faq_page .ewd-ufaq-faq-title.ewd-ufaq-faq-toggle a.ewd-ufaq-post-margin::before,
#entry-body.faq_page .ewd-ufaq-faq-title.ewd-ufaq-faq-toggle a.ewd-ufaq-post-margin::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #2F73D6;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}
#entry-body.faq_page .ewd-ufaq-faq-title.ewd-ufaq-faq-toggle a.ewd-ufaq-post-margin::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
          transform: translateY(-50%) rotate(90deg);
}
#entry-body.faq_page .ewd-ufaq-faq-title.ewd-ufaq-faq-toggle[aria-expanded=true] a.ewd-ufaq-post-margin::after {
  opacity: 0 !important;
}
#entry-body.faq_page .ewd-ufaq-faq-body {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 18px 0 !important;
  -webkit-transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}
#entry-body.faq_page .ewd-ufaq-faq-div.is-open .ewd-ufaq-faq-body {
  max-height: 1200px;
  opacity: 1;
  padding: 10px 18px 18px !important;
}
#entry-body.faq_page .ewd-ufaq-faq-div.is-open .ewd-ufaq-faq-title {
  border-bottom: 1px solid #D9ECFF !important;
}
#entry-body.faq_page .ewd-ufaq-faq-post p::before {
  content: none !important;
  display: none !important;
}
#entry-body.faq_page .ewd-ufaq-faq-post::before {
  content: "A. ";
  font-weight: 900;
  color: #6B7280;
  display: inline-block !important;
  margin: 0 0.4em 0 0;
  vertical-align: baseline;
}
#entry-body.faq_page .ewd-ufaq-faq-post p {
  display: block;
  margin: 0 0 12px;
  line-height: 1.9;
  font-size: 16px;
  color: #1F2A37;
  text-align: left !important;
  padding-top: 0;
}
#entry-body.faq_page .ewd-ufaq-faq-post p:first-of-type {
  display: inline;
  margin: 0;
}
#entry-body.faq_page .ewd-ufaq-faq-post p:nth-of-type(2) {
  margin-top: 12px;
}
#entry-body.faq_page ul li::before {
  content: none !important;
  display: none !important;
}
#entry-body.faq_page .btn_area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}
#entry-body.faq_page .btn_area li {
  margin: 0;
  padding: 0;
}
#entry-body.faq_page .btn-faq {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #D9ECFF;
  background: #fff;
  color: #2F73D6;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
#entry-body.faq_page .btn-faq:hover {
  background: #EEF8FF;
}
#entry-body.faq_page .btn-faq.active {
  background: #2F73D6;
  color: #fff;
  border-color: #2F73D6;
}

/* ul の > や矢印などを完全無効化（外側でも保険） */
#entry-body.faq_page ul li::before {
  content: none !important;
  display: none !important;
  font-family: inherit !important;
}

/* FAQsページだけ：カテゴリタイトルを強制センター */
#entry-body.faq_page .ewd-ufaq-faq-category-title,
#entry-body.faq_page .ewd-ufaq-faq-category-title h3 {
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

/* =========================================
   for Staff ONLY Styles (root 変数なし)
   ========================================= */
#title.forstaff strong {
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

#title.forstaff h2 {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-top: 8px !important;
}

#title.forstaff p {
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin-top: 6px !important;
  margin-bottom: 20px;
}

.post-type-archive-for_staff #contents,
.single-for_staff #contents,
.tax-for_staff_ct #contents {
  background: #fff;
  color: #111;
  padding: 2rem 1rem;
}
@media (max-width: 768px) {
  .post-type-archive-for_staff #contents,
  .single-for_staff #contents,
  .tax-for_staff_ct #contents {
    padding: 1.25rem 0.75rem;
  }
}
.post-type-archive-for_staff #title .forstaff,
.single-for_staff #title .forstaff,
.tax-for_staff_ct #title .forstaff {
  font-size: 18px;
}
.post-type-archive-for_staff #blog-title.forstaff,
.single-for_staff #blog-title.forstaff,
.tax-for_staff_ct #blog-title.forstaff {
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 1.4rem 0.6rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 0.75rem;
}
.post-type-archive-for_staff #blog-title.forstaff .name,
.single-for_staff #blog-title.forstaff .name,
.tax-for_staff_ct #blog-title.forstaff .name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 0.6rem;
}
.post-type-archive-for_staff #blog-title.forstaff .name strong,
.single-for_staff #blog-title.forstaff .name strong,
.tax-for_staff_ct #blog-title.forstaff .name strong {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.post-type-archive-for_staff #blog-title.forstaff .name h2,
.single-for_staff #blog-title.forstaff .name h2,
.tax-for_staff_ct #blog-title.forstaff .name h2 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.post-type-archive-for_staff #blog-title.forstaff p,
.single-for_staff #blog-title.forstaff p,
.tax-for_staff_ct #blog-title.forstaff p {
  margin-left: auto;
  font-size: 0.9rem;
  color: #6b7280;
}
@media (max-width: 768px) {
  .post-type-archive-for_staff #blog-title.forstaff p,
  .single-for_staff #blog-title.forstaff p,
  .tax-for_staff_ct #blog-title.forstaff p {
    width: 100%;
    margin-left: 0;
  }
}
.post-type-archive-for_staff #new-contents,
.single-for_staff #new-contents,
.tax-for_staff_ct #new-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 1100px) {
  .post-type-archive-for_staff #new-contents,
  .single-for_staff #new-contents,
  .tax-for_staff_ct #new-contents {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .post-type-archive-for_staff #new-contents,
  .single-for_staff #new-contents,
  .tax-for_staff_ct #new-contents {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.post-type-archive-for_staff #new-contents article,
.single-for_staff #new-contents article,
.tax-for_staff_ct #new-contents article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  -webkit-transition: -webkit-transform 0.18s ease, -webkit-box-shadow 0.18s ease;
  transition: -webkit-transform 0.18s ease, -webkit-box-shadow 0.18s ease;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  transition: transform 0.18s ease, box-shadow 0.18s ease, -webkit-transform 0.18s ease, -webkit-box-shadow 0.18s ease;
}
.post-type-archive-for_staff #new-contents article:hover,
.single-for_staff #new-contents article:hover,
.tax-for_staff_ct #new-contents article:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
          box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
}
.post-type-archive-for_staff #new-contents article figure,
.single-for_staff #new-contents article figure,
.tax-for_staff_ct #new-contents article figure {
  margin: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.post-type-archive-for_staff #new-contents article figcaption,
.single-for_staff #new-contents article figcaption,
.tax-for_staff_ct #new-contents article figcaption {
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  color: #333;
  border-bottom: 1px solid #e5e7eb;
}
.post-type-archive-for_staff #new-contents article figcaption a,
.single-for_staff #new-contents article figcaption a,
.tax-for_staff_ct #new-contents article figcaption a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border: solid 1px #333;
  padding: 3px 5px;
}
.post-type-archive-for_staff #new-contents article figcaption a:hover,
.single-for_staff #new-contents article figcaption a:hover,
.tax-for_staff_ct #new-contents article figcaption a:hover {
  text-decoration: underline;
}
.post-type-archive-for_staff #new-contents article img,
.single-for_staff #new-contents article img,
.tax-for_staff_ct #new-contents article img {
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .post-type-archive-for_staff #new-contents article img,
  .single-for_staff #new-contents article img,
  .tax-for_staff_ct #new-contents article img {
    height: 200px;
  }
}
.post-type-archive-for_staff #new-contents article > div,
.single-for_staff #new-contents article > div,
.tax-for_staff_ct #new-contents article > div {
  padding: 0.75rem 1rem 1rem;
}
.post-type-archive-for_staff #new-contents article > div p,
.single-for_staff #new-contents article > div p,
.tax-for_staff_ct #new-contents article > div p {
  margin: 0 0 0.5rem;
}
.post-type-archive-for_staff #new-contents article > div p a,
.single-for_staff #new-contents article > div p a,
.tax-for_staff_ct #new-contents article > div p a {
  color: #111;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.post-type-archive-for_staff #new-contents article > div p a:hover,
.single-for_staff #new-contents article > div p a:hover,
.tax-for_staff_ct #new-contents article > div p a:hover {
  text-decoration: underline;
}
.post-type-archive-for_staff #new-contents article > div date,
.post-type-archive-for_staff #new-contents article > div .date,
.single-for_staff #new-contents article > div date,
.single-for_staff #new-contents article > div .date,
.tax-for_staff_ct #new-contents article > div date,
.tax-for_staff_ct #new-contents article > div .date {
  font-size: 0.75rem;
  color: #6b7280;
}
.post-type-archive-for_staff #entry-footer,
.single-for_staff #entry-footer,
.tax-for_staff_ct #entry-footer {
  margin-top: 2rem;
}
.post-type-archive-for_staff #entry-footer .pager-wrap,
.single-for_staff #entry-footer .pager-wrap,
.tax-for_staff_ct #entry-footer .pager-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5rem;
}
.post-type-archive-for_staff #entry-footer .pager-wrap .page-numbers,
.single-for_staff #entry-footer .pager-wrap .page-numbers,
.tax-for_staff_ct #entry-footer .pager-wrap .page-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 50px;
  height: 50px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}
.post-type-archive-for_staff #entry-footer .pager-wrap .page-numbers.current,
.single-for_staff #entry-footer .pager-wrap .page-numbers.current,
.tax-for_staff_ct #entry-footer .pager-wrap .page-numbers.current {
  background: #0E88D3;
  color: #fff;
  font-weight: bold;
}
.post-type-archive-for_staff #entry-footer .pager-wrap .page-numbers:hover,
.single-for_staff #entry-footer .pager-wrap .page-numbers:hover,
.tax-for_staff_ct #entry-footer .pager-wrap .page-numbers:hover {
  border-color: #111;
}

/* =========================
   Employee Portal (tuned)
   ========================= */
.ep {
  padding: 80px 18px 110px;
  background: #fff;
  font-family: system-ui, -apple-system, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  /* テーマ側の a 装飾を無効化（超重要） */
}
.ep a {
  color: inherit;
  text-decoration: none;
}

.ep__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.ep__head {
  margin-bottom: 0px;
}

.ep__en {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #222;
}

.ep__jp {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #222;
}

/* 3 cards */
.ep__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  justify-items: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  margin-top: 30px;
}

/* Card */
.epCard {
  width: 320px;
  height: 350px;
  border-radius: 28px;
  padding: 26px 24px 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
  -webkit-box-shadow: 0 14px 28px rgba(16, 24, 40, 0.12);
          box-shadow: 0 14px 28px rgba(16, 24, 40, 0.12);
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: -webkit-transform 0.18s ease, -webkit-box-shadow 0.18s ease;
  transition: -webkit-transform 0.18s ease, -webkit-box-shadow 0.18s ease;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  transition: transform 0.18s ease, box-shadow 0.18s ease, -webkit-transform 0.18s ease, -webkit-box-shadow 0.18s ease;
}
.epCard:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 18px 36px rgba(16, 24, 40, 0.16);
          box-shadow: 0 18px 36px rgba(16, 24, 40, 0.16);
}

/* 上の英語（お手本みたいに少し小さめ＆中央） */
.epCard__en {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.95;
  color: #FFF;
}

/* ここが「白い丸＋中央配置」の要 */
.epCard__icon {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin: 10px auto 0;
  background: #fff;
  border-radius: 50%;
}

/* SVG画像は丸の中に収める */
.epCard__icon img {
  width: 92px;
  height: 92px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

/* 下の日本語（太く・大きく・行間） */
.epCard__jp {
  padding: 20px 0 0;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: #fff;
}

/* colors */
.epCard--green {
  background: #27B46B;
}

.epCard--blue {
  background: #3D6CC7;
}

.epCard--pink {
  background: #E31A7B;
}

@media (max-width: 768px) {
  .site-header,
  header,
  .header,
  #header {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .ep {
    padding: 0px 10px 60px;
  }
  .ep__portalHeader {
    width: 100%;
    padding: 0 8px;
  }
  .ep__jp {
    font-size: 22px;
    line-height: 1.3;
  }
  .ep__en {
    font-size: 13px;
  }
  .ep__grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 18px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 18px;
  }
  .epCard {
    width: 60%;
    max-width: 300px;
    padding: 18px 16px 20px;
    height: 250px;
  }
  .epCard__icon {
    width: 100px;
    height: 100px;
  }
  .epCard__icon img {
    width: 56px;
    height: 56px;
  }
  .epCard__jp {
    font-size: 20px;
    padding-top: 10px;
  }
}