@charset "utf-8";

/* ========================================
   リセットCSS
======================================== */

/* 要素のマージン・パディング・フォント初期化 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img,
ins, kbd, q, samp, small, strong, sub, sup, var,
b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* フォーカス可視化（テーマに合わせて色は調整OK） */
:focus-visible {
  outline: 2px solid #9261c1;
  outline-offset: 2px;
}

/* ブロック要素化 */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* ulマーカー削除 */
ol, ul {
  list-style: none;
}

/* 引用符無効化 */
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
}

/* テーブル初期化 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* hr初期化 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/* ボックスモデル共通設定 */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/* その他リセット */
img {
  vertical-align: top;
  font-size: 0;
  line-height: 0;
  max-width: 100%;
  height: auto;
}
input, select {
  vertical-align: middle;
}
abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
del {
  text-decoration: line-through;
}
.clearfix::after {
  content: " ";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
br {
  line-height: inherit;
}

/* ========================================
   フォント基本設定
======================================== */

html {
  font-size: 62.5%;   /* 1rem = 10px */
  overflow-x: clip;   /* 横スクロール防止 */
}
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }

body {
  font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.6rem); /* 本文基準 */
  line-height: 1.8;
  color: #333;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* 見出し */
h1 {
  font-size: clamp(2.8rem, 2.0rem + 2vw, 4.0rem);
  font-weight: 700;
  line-height: 1.4;
}
h2 {
  font-size: clamp(2.2rem, 1.6rem + 1.5vw, 3.0rem);
  font-weight: 600;
  line-height: 1.5;
}
h3 {
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem);
  font-weight: 600;
  line-height: 1.6;
}
h4, h5, h6 {
  font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.0rem);
  font-weight: 500;
}

/* UI（ボタンやナビ） */
button,
.btn,
.nav a {
  font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.6rem);
  line-height: 1.4;
}


/* リンク */
a,
a * {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.6s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
a:hover,
a:active {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

/* ========================================
   レイアウト補助
======================================== */

#wrapper .sp-display {
  display: none;
}
@media screen and (max-width: 760px) {
  #wrapper .sp-display {
    display: block;
  }
}

#wrapper .f_left {
  float: left;
  text-align: center;
  line-height: 2;
}
#wrapper .f_right {
  float: right;
  text-align: center;
  line-height: 2;
}
#wrapper .leftOn {
  text-align: left;
}
#wrapper .rightOn {
  text-align: right;
}
#wrapper .centerOn {
  text-align: center;
}
.centerOn {
  text-align:center;
  padding-block: 2rem;
}

/* ========================================
   Flex Utility
======================================== */
.flex-nml {
  display: flex;
  flex-wrap: wrap;
}
.flex-btw {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.flex-cnt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.flex-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pages {
	display: none;
}

/* 初期変数化 */
:root{
  /* 余白・幅の共通スケールは変数化 */
  --container-max: 1280px;
  --px-inline-min: 16px;
  --px-inline-fluid: 4vw;
  --px-inline-max: 48px;
  --py-block-min: 24px;
  --py-block-fluid: 6vw;
  --py-block-max: 64px;
}

.section { /* セクションの共通枠（任意） */
  width: 100%;
  position: relative;
}

.section-inner{
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(var(--px-inline-min), var(--px-inline-fluid), var(--px-inline-max));
  padding-block: clamp(var(--py-block-min), var(--py-block-fluid), var(--py-block-max));
  box-sizing: border-box;
  position: relative;
}

/* wp-pagenavi 作業事例一覧ナビ*/	
.wp_navwrap .wp-pagenavi {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.wp_navwrap .wp-pagenavi a,
.wp_navwrap .wp-pagenavi span {
  padding: 0.5rem 1rem ;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(1.15rem, 1.15rem + 0.7vw, 1.65rem);
}

.wp_navwrap .wp-pagenavi a:hover {
  background: #a67ee5;
  color: #333;
  border-color: #a67ee5;
}

.wp_navwrap .wp-pagenavi .current {
  background: #9261c1;
  color: #fff;
  border-color: #9261c1;
}



