/* 汎用CSS */
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
html {
  scroll-behavior: smooth;
  color: #333;
  font-family: 'Noto Sans JP', 'NotoSansCJKjpRegular', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, sans-serif;
}

/* 横スクロール防止 */
/* html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
} */

img {
  max-width: 100%;
}
a {
  color: #3e3a39;
  text-decoration: none;
  transition: .25s;
}
.tac {
  text-align: center;
}
.fz50 {
  font-size: 50%;
}
.fz80 {
  font-size: 80%;
}
.fz150 {
  font-size: 150%;
}
.fz300 {
  font-size: 300%;
}
.fwb {
  font-weight: bold;
}
.mb40 {
  margin-bottom: 40px;
}

/* 共通パーツ */
a.btn,
a.btn02 {
  display: inline-block;
  text-align: center;
  padding: 10px 30px;
  margin: 0 auto;
  font-size: 120%;
  border: 2px solid #3e3a39;
  font-weight: bold;
  border-radius: 100px;
}
a.btn:hover {
  background-color: #3e3a39;
  color: #fff;
}
a.btn02 {
  background-color: #3e3a39;
  color: #fff;
}
a.btn02:hover {
  background-color: #fff;
  color: #3e3a39;
}
.wrapper {
  width: 100%;
}
.wrapper.texture {
  background: transparent url(background.jpg) repeat top center;
  background-size: 100% auto;
}
.wrapper.white {
  background-color: #fff;
}
.wrapper.lightblue {
  background-color: #def7ff;
}
.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}
.colomn2 {
  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;
  margin: 40px 0;
}
.colomn2 * {
  margin: 0 15px;
}
.colomn2 figure {
  height: 200px;
}
.colomn2 figure img {
  max-height: 100%;
  max-width: none;
}
.colomn2.reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
.compact {
  max-width: 700px;
  margin: 40px auto;
}
.border_box {
  padding: 20px 40px;
  margin: 20px 0 40px;
  border: 2px solid #dfe3e5;
}

/* hタグ */
h1 {
  font-size: 300%;
  text-align: center;
}
h2 {
  margin: 40px 0;
  font-size: 200%;
  text-align: center;
}
h3 {
  font-size: 180%;
}
h4 {
  font-size: 130%;
  text-align: center;
}

/* 個別パーツ */
header {
  position: fixed;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 999;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #fff;
  font-weight: bold;
}
header .header-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 15px 25px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}
header .logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
header .logo figure {
  width: 200px;
}
header .logo p {
  font-size: 80%;
  margin-left: 15px;
}
header nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
header nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
header nav ul li {
  width: auto;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  list-style: none;
  margin: 0 10px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
header nav ul li a {
  width: 100%;
}
header nav ul li a:hover {
  text-decoration: underline;
}
header .header-cta-wrap {
  margin: 0 15px 0 0;
}
.header-menu-toggle {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.header-menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #3e3a39;
  border-radius: 1px;
  -webkit-transition: -webkit-transform 0.25s ease, opacity 0.25s ease;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.header-menu-toggle-bar + .header-menu-toggle-bar {
  margin-top: 6px;
}
.header-container.is-open .header-menu-toggle-bar:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}
.header-container.is-open .header-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.header-container.is-open .header-menu-toggle-bar:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}
/* display:contents の代わり：flex + 疑似要素で「ロゴ | ナビ | CTA」を三分割（旧 Safari 対策） */
.header-drawer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
}
.header-drawer::before,
.header-drawer::after {
  content: "";
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
}
.header-drawer::before {
  -webkit-box-ordinal-group: 1;
  -ms-flex-order: 1;
  order: 1;
}
header .header-drawer nav {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 2;
  order: 2;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.header-drawer::after {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 3;
  order: 3;
}
header .header-drawer .header-cta-wrap {
  -webkit-box-ordinal-group: 4;
  -ms-flex-order: 4;
  order: 4;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.header-drawer-tagline {
  display: none;
}
.keyvisual {
  padding: 120px 0 60px;
  font-weight: bold;
  text-align: center;
}
.keyvisual p {
  font-size: 150%;
  margin: 20px 0;
}
.keyvisual .sales_title {
  display: inline-block;
  padding: 10px 20px;
  font-size: 150%;
  color: #fff;
  border: 2px solid #fff;
  background-color: #04c0e0;
}
.back_blue {
  font-size: 200%;
  text-align: center;
  font-weight: bold;
  padding: 20px 0;
  color: #fff;
  background-color: #04c0e0;
}
.price {
  font-size: 250%;
  font-weight: bold;
  color: #f00;
  text-align: center;
  margin: 20px 0;
}
.price span {
  font-size: 50%;
}
.notice {
  font-weight: bold;
  font-size: 150%;
  text-align: center;
}
.problem_list {
  background-color: #dfe3e5;
  font-weight: bold;
  padding: 20px;
  font-size: 150%;
}
.problem_list li {
  list-style: none;
}

#service .inner {
  max-width: 1600px;
  padding-bottom: 60px;
}

.service {
  width: 92%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 150%;
  font-weight: bold;
}
.service h3 {
  font-size: 130%;
  margin-bottom: 1.3rem;
}

.notice_list {
  font-weight: bold;
  margin-top: 40px;
}

/* ------------ */
/* サンプル経歴書 */
/* ------------ */

#sampleimg {
  text-align: center;
}
#sampleimg h3 {
  margin: 3.5rem auto 0.5rem auto;
  font-size: 130%;
}
#sampleimg .mintxt {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

/* ポップアップ部分（gap の代わりにマージンで間隔：iOS 13 以前の flex gap 非対応回避） */
.image-gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0.5rem -11px 0;
}
.image-gallery > * {
  margin: 11px;
}

.sampletxt {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.image-item {
  position: relative;
  overflow: hidden;
  max-width: 380px;
  text-align: center;
}

/* 画像本体 */
.image-item img {
  max-width: 88%;
  max-height: 88%;
  -o-object-fit: contain;
  object-fit: contain;
  margin: 0 auto;
  height: auto;
  display: block;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  cursor: pointer;
}

/* オーバーレイの黒フィルター */
.image-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  z-index: 1;
  pointer-events: none;
}

.image-item:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

/* クリックで拡大を画像上に表示 */
.image-item .sampletxt {
  position: absolute;
  width: 70%;
  top: 40%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 2;
  font-size: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  pointer-events: none;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 9999;
}

#popup {
  position: fixed;
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow: hidden;
  touch-action: auto;
}

#popup-content {
  max-width: 98vw;
  max-height: 98vh;
  overflow: hidden;
  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;
  position: relative;
  background: #fff;
  min-height: 200px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#popup-image {
  position: relative;
  width: auto;
  height: auto;
  max-width: 97%;
  max-height: 97%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  touch-action: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popup-close {
  position: absolute;
  color: #04c0e0;
  cursor: pointer;
  z-index: 10000;
  border-radius: 50%;
  padding: 5px;
  top: 0;
  right: 0;
  font-size: 40px;
}

.popup-overlay img {
  max-width: 80%;
  max-height: 80%;
  box-shadow: 0 0 10px #fff;
}

/* ダウンロードボタンのスタイル */
.download-btn {
  display: inline-block;
  background-color: #04c0e0;
  color: #fff;
  margin-top: 12px;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  width: 70%;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.download-btn:hover {
  background-color: #03a0bd;
}

dl.flow {
  text-align: center;
}
dl.flow dt {
  font-weight: bold;
  font-size: 200%;
  margin: 20px 0;
}
dl.flow dd span {
  font-size: 200%;
}
dl.faq div {
  padding: 20px;
  margin: 10px 0;
  border: 2px solid #dfe3e5;
}
dl.faq div dt {
  font-weight: bold;
  font-size: 120%;
}
dl.faq div dd {
  margin-top: 10px;
}

/* --------- */
/* お客様の声 */
/* --------- */

.reviews {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

/* カード */
.review {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 20px 30px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* アイコン画像 */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
  -o-object-fit: cover;
  object-fit: cover;
}

.review-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.review-content .job-label {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.review-content .comment {
  font-size: 0.8rem;
}

/* 評価 */
.rating {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.rating span {
  color: #ff9800;
}

footer {
  text-align: center;
}
footer p {
  margin: 40px 0 20px;
}
footer a.btn {
  width: 380px;
  margin: 0 15px;
  background: #fff;
}
footer a.btn.btnright {
  color: #fff;
  background-color: #333;
}
footer a.btn.btnright:hover {
  color: #fff;
  background-color: #47c2ff;
}

/* max-width: 560px 系を一括 */
@media (max-width: 560px) {
  .service {
    width: 100%;
    padding: 20px 20px;
  }
  .service p {
    font-size: 90%;
  }

  .image-gallery {
    -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;
    margin: 0.5rem 0 0;
  }
  .image-gallery > * {
    margin: 11px 0;
  }

  .samplebox {
    width: 100%;
    margin: 0 auto;
  }

  .image-item {
    max-width: 500px;
    text-align: center;
  }

  .image-item img {
    width: 100%;
    max-width: 100%;
  }

  .image-item .sampletxt {
    margin-top: 0;
  }

  #popup-content {
    max-width: 95vw;
    max-height: 90vh;
  }
  #popup-image {
    max-width: 100%;
    max-height: 100%;
  }

  .download-btn {
    width: 70%;
    margin-bottom: 1rem;
    padding: 10px 15px;
  }
}

@media (max-width: 600px) {
  .reviews {
    grid-gap: 10px;
    gap: 10px;
  }

  .review {
    -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;
    text-align: center;
    padding: 20px 10px 30px 10px;
  }

  .avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .review-content .comment {
    text-align: center;
    line-height: 1.7;
  }

  .review-content .job-label {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .rating {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  header {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  header .header-container {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 5px 15px;
  }
  .header-menu-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .header-drawer {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    width: 100%;
    padding: 0 20px 20px;
    background-color: #fff;
    border-top: 1px solid #e8e8e8;
  }
  .header-container.is-open .header-drawer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .header-drawer::before,
  .header-drawer::after {
    display: none;
    content: none;
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 auto !important;
    flex: none !important;
    width: 0;
    min-width: 0;
    overflow: hidden;
  }
  header .header-drawer nav,
  header .header-drawer .header-cta-wrap {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
  }
  header .logo {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
  }
  header .logo p {
    display: none;
  }
  .header-drawer-tagline {
    display: block;
    font-size: 80%;
    font-weight: bold;
    margin: 0 0 12px;
    text-align: center;
  }
  header nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
  }
  header nav ul li {
    margin: 0;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  header nav ul li:first-child {
    border-top: 1px solid #eee;
  }
  header .header-cta-wrap {
    margin: 18px 0 0;
    text-align: center;
  }
  header .header-cta-wrap .btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  header .logo figure {
    width: 120px;
  }
  header .logo figure img {
    vertical-align: middle;
  }
  h1 {
    font-size: 200%;
  }
  h2 {
    font-size: 175%;
  }
  h3 {
    font-size: 150%;
  }
  h4 {
    font-size: 125%;
  }
  .colomn2 {
    display: block;
  }
  .colomn2 * {
    margin: 20px auto;
  }
  .colomn2 figure {
    text-align: center;
  }
  .keyvisual {
    padding: 80px 0 40px;
  }
  .keyvisual p {
    font-size: 125%;
  }
  .back_blue {
    font-size: 150%;
  }
  .problem_list {
    font-size: 125%;
  }
  dl.flow dt {
    font-size: 150%;
  }
  dl.flow dd span {
    font-size: 150%;
  }
  footer a.btn {
    width: 80%;
    max-width: 420px;
  }

  footer a.btn:first-child {
    margin-bottom: 20px;
  }
}
