@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* 丸UIを前面に */
.circle-wrap {
  position: relative;
  z-index: 10;
}

/* =========================
  共通コンテナ
========================= */
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 40px;
}

/* =========================
  施工例ページだけ背景
========================= */
.post-type-archive-case {
  position: relative;
}

.post-type-archive-case::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/renewal/wp-content/uploads/2026/05/top_background-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: -2;
}

/* 白フィルター */
.post-type-archive-case::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.72);
  z-index: -1;
}

/* =========================
  セクション
========================= */
.section {
  width: 100%;
  max-width: 900px;
  margin-bottom: 80px;
}

/* 見出し */
.section-title {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.circle-title {
  position: relative;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #333;
  margin: 60px 0;
  padding-bottom: 18px;
  line-height: 1.4;
}

/* 下ライン */
.circle-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: rgba(0,0,0,0.18);
}

/* 上の小装飾 */
.circle-title::before {
	content: attr(data-en);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(0,0,0,0.35);
  font-family: sans-serif;
  font-weight: 400;
}

/* =========================
  円エリア（トップと同じ）
========================= */
.circle-area {
  position: relative;
  width: 100%;
  height: clamp(320px, 45vw, 500px);
}

/* 円（完全にトップと同じ） */
.circle {
  position: absolute;
  border-radius: 50%;
  text-decoration: none;
  color: #333;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  width: min(220px, 26vw);
  height: min(220px, 26vw);
  font-size: 110%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.12),
    0 4px 10px rgba(0,0,0,0.08);
}

/* 背景 */
.circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.8),
    rgba(255,255,255,0.4)
  );
}

/* ハイライト */
.circle::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 15%;
  width: 70%;
  height: 40%;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  filter: blur(10px);
}

.circle span {
  position: relative;
  z-index: 1;
}

/* =========================
  新築外構（3つ）
========================= */
.new1 { top: 0; left: 50%; animation: f1 6s ease-in-out infinite; }
.new2 { top: 45%; left: 50%; animation: f2 6s ease-in-out infinite; animation-delay:1s;}
.new3 { top: 50%; left: 49%; animation: f3 6s ease-in-out infinite; animation-delay:2s;}

@keyframes f1 {
  0% { transform: translate(-50%,0); }
  50% { transform: translate(-50%,10px); }
  100% { transform: translate(-50%,0); }
}
@keyframes f2 {
  0% { transform: translate(-120%,0); }
  50% { transform: translate(-120%,12px); }
  100% { transform: translate(-120%,0); }
}
@keyframes f3 {
  0% { transform: translate(20%,0); }
  50% { transform: translate(20%,12px); }
  100% { transform: translate(20%,0); }
}

/* =========================
  リフォーム（2つ）
========================= */
.re1 { top: 20%; left: 40%; animation: f4 6s ease-in-out infinite; }
.re2 { top: 0; left: 60%; animation: f5 6s ease-in-out infinite; animation-delay:1s;}

@keyframes f4 {
  0% { transform: translate(-80%,0); }
  50% { transform: translate(-80%,10px); }
  100% { transform: translate(-80%,0); }
}
@keyframes f5 {
  0% { transform: translate(-20%,0); }
  50% { transform: translate(-20%,10px); }
  100% { transform: translate(-20%,0); }
}

.sp-only {
  display: none;
}

/* =========================
  ホバー
========================= */
.circle:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.circle:hover::before {
  background: rgba(255,255,255,0.9);
}

.sp-only {
  display: none;
}

/* 丸UIと記事を分離 */
.circle-outer {
  width: 100%;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

/* 記事一覧を下に押し出す */
.p-postList {
  position: relative;
  z-index: 1;
}

/* 記事一覧を完全非表示 */
.post-type-archive-case .p-postList__item,
.post-type-archive-case .p-pager,
.post-type-archive-case .c-pagination {
  display: none;
}

/* =========================
  スマホ
========================= */
@media (max-width:768px){

  .circle {
    width: 140px;
    height: 140px;
  }

  .section-title {
    font-size: 20px;
  }

  .circle-area {
    height: 320px;
  }

.sp-only {
    display: block;
  }
}

/* 施工例アーカイブのタイトル非表示 */
.post-type-archive-case .c-pageTitle {
  display: none;
}

/* タクソノミーの subTitle 非表示 */
.tax-style .c-pageTitle__subTitle,
.tax-construction_type .c-pageTitle__subTitle {
  display: none;
}
