/* column.css */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1rem;
  background: #fff;
}

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

.container {
  font-size: 1.2rem;
  max-width: 70%;
  margin: 4rem auto 0;
  padding: 1.25rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  position: relative;
}

/* ナビ直下の要素が何であっても、余白は .container 側だけで統一する */
.container > *:first-child {
  margin-top: 0;
}

h1 {
  margin-top: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

.column-intro {
  margin: 1.5rem 0 2rem;
  line-height: 1.8;
  font-size: 1rem;
  text-align: left;
}

.column-intro p {
  margin: 0 0 0.5rem;
}

/* =========================
   Business Cycle Flow
========================= */

.business-cycle-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.7rem;
  margin: 2rem 0;
}

.business-cycle-card {
  min-height: 8rem;
  padding: 1rem 0.9rem;
  border: 0.08rem solid #d5d2cb;
  border-radius: 0.9rem;
  background: #f7f7f5;
  box-shadow: 0 0.15rem 0.45rem rgba(0, 0, 0, 0.04);
}

.business-cycle-card__title {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #e6e2da;
  color: #4f4a43;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.business-cycle-card p {
  margin: 0;
  color: #2f2f2f;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.8;
}

.business-cycle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b746a;
  font-size: 1.6rem;
  font-weight: 700;
}

.business-cycle-speed {
  background: #f1f6f4;
  border-color: #9fb8ad;
}

.business-cycle-speed .business-cycle-card__title {
  background: #dce9e3;
  color: #2f6653;
}

.business-cycle-frequency {
  background: #f7f3ea;
  border-color: #c7ad76;
}

.business-cycle-frequency .business-cycle-card__title {
  background: #eadfbd;
  color: #75602a;
}

.business-cycle-awareness {
  background: #f4f1f7;
  border-color: #b3a2c7;
}

.business-cycle-awareness .business-cycle-card__title {
  background: #e4dced;
  color: #5b4770;
}

.business-cycle-realization {
  background: #f7eeee;
  border-color: #c99a9a;
}

.business-cycle-realization .business-cycle-card__title {
  background: #ead8d8;
  color: #7a3f3f;
}

/* =========================
   Business Two Flow
========================= */

.business-two-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 13.5rem;
  width: 70%;
  max-width: 52rem;
  min-height: 10rem;
  margin: 0.5rem auto;
}

.business-two-card {
  position: relative;
   min-height: 4.5rem;
  padding: 0.18rem 0.22rem;
  border-radius: 0.9rem;
  box-shadow: 0 0.15rem 0.45rem rgba(0, 0, 0, 0.04);
  z-index: 2;
}

.business-two-card__title {
  display: inline-block;
  margin-bottom: 0.12rem;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.business-two-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.28;
}

.business-two-sales {
  background: #f1f6f4;
  border: 0.08rem solid #9fb8ad;
}

.business-two-sales .business-two-card__title {
  background: #dce9e3;
  color: #2f6653;
}

.business-two-sales p {
  color: #22342d;
}

.business-two-product {
  background: #f7f3ea;
  border: 0.08rem solid #c7ad76;
}

.business-two-product .business-two-card__title {
  background: #eadfbd;
  color: #75602a;
}

.business-two-product p {
  color: #3e3520;
}

.business-two-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.business-two-arrow-path {
  fill: none;
  stroke: #145b78;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.business-two-arrows marker path {
  fill: #145b78;
}

/* =========================
   Business Plan Map
========================= */

.business-plan-map {
  position: relative;
  width: 100%;
  max-width: 52rem;
  height: 26rem;
  margin: 1.5rem auto 2rem;
}

.plan-node,
.plan-center {
  position: absolute;
  width: 12rem;
  min-height: 5.4rem;
  padding: 0.65rem 0.7rem;
  border: 0.1rem solid;
  border-radius: 0.9rem;
  text-align: center;
  box-shadow: 0 0.25rem 0.7rem rgba(0, 0, 0, 0.04);
  z-index: 2;
}

.plan-node__title,
.plan-center__title {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-node p,
.plan-center p {
  margin: 0;
  color: #222;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

.plan-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f4f7fb;
  border-color: #8fa8c2;
}

.plan-center .plan-center__title {
  background: #dce8f4;
  color: #2f5d85;
}

.plan-finance {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #f3f8f4;
  border-color: #7da287;
}

.plan-finance .plan-node__title {
  background: #dbeadf;
  color: #356144;
}

.plan-invest {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: #f5f2fa;
  border-color: #9a88b5;
}

.plan-invest .plan-node__title {
  background: #e3daf3;
  color: #5b4678;
}

.plan-vector {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #f1f5fa;
  border-color: #7f9cbc;
}

.plan-vector .plan-node__title {
  background: #d9e5f3;
  color: #35597a;
}

.plan-subsidy {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #faf3f0;
  border-color: #b58d82;
}

.plan-subsidy .plan-node__title {
  background: #efdcd5;
  color: #7a4a3d;
}

.plan-arrow {
  position: absolute;
  color: #888;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}

.plan-arrow-top {
  top: 6.6rem;
  left: 50%;
  transform: translateX(-50%);
}

.plan-arrow-left {
  top: 50%;
  left: 12rem;
  transform: translateY(-50%);
}

.plan-arrow-right {
  top: 50%;
  right: 12rem;
  transform: translateY(-50%);
}

.plan-arrow-bottom {
  bottom: 6.6rem;
  left: 50%;
  transform: translateX(-50%);
}

/* =========================
   SEO column card list
========================= */

.column-list {
  margin: 2rem 0;
}

.column-list__head {
  margin-bottom: 1rem;
  text-align: left;
}

.column-list__label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #0175d8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.column-list__heading {
  margin: 0 0 0.45rem;
  color: #222;
  font-size: 1.35rem;
  line-height: 1.5;
}

.column-list__lead {
  margin: 0;
  color: #555;
  font-size: 0.96rem;
  line-height: 1.8;
}

.column-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.column-card {
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  padding: 1rem;
  border: 1px solid #dfe8f5;
  border-radius: 0.85rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.column-card:hover,
.column-card:focus-visible {
  transform: translateY(-0.12rem);
  border-color: #8dbcf5;
  box-shadow: 0 0.5rem 1.25rem rgba(1, 117, 216, 0.12);
  outline: none;
}

.column-card__tag {
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: #e8f3ff;
  color: #0175d8;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.column-card__title {
  margin-bottom: 0.5rem;
  color: #0f3f7a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.column-card__desc {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.75;
}

.column-card__more {
  margin-top: auto;
  padding-top: 0.8rem;
  color: #0175d8;
  font-size: 0.86rem;
  font-weight: 700;
}

.column-card:visited .column-card__title {
  color: #5d4aa8;
}

/* =========================
   Button / back
========================= */

.btn {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 0.3rem 0.55rem;
  border: none;
  border-radius: 0.25rem;
  background-color: #9e9e9e;
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background-color: #5e5e5e;
}

.column-back {
  text-align: right;
  margin-top: 1rem;
}

.column-back .btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: #013a84;
  border: 0.0625rem solid #cfd8e3;
  border-radius: 62.5rem;
  padding: 0.55rem 1.15rem 0.55rem 0.95rem;
  box-shadow: 0 0.0625rem 0.1875rem rgba(1, 58, 132, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.column-back .btn::before {
  content: "←";
  transition: transform 0.2s ease;
}

.column-back .btn:hover {
  background: linear-gradient(90deg, #1d7cff, #00a86b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0.25rem 0.75rem rgba(1, 58, 132, 0.25);
  transform: translateY(-0.0625rem);
}

.column-back .btn:hover::before {
  transform: translateX(-0.25rem);
}

.column-back-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: column-back-ripple 0.5s ease-out;
  pointer-events: none;
}

@keyframes column-back-ripple {
  to { transform: scale(2.2); opacity: 0; }
}

/* =========================
   Breadcrumbs
========================= */

.breadcrumbs {
  margin: 2.5rem 0 0.5rem;
  font-size: 0.875rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin-left: 0.375rem;
  color: #666;
}

.breadcrumbs a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span[aria-current="page"] {
  color: #333;
  font-weight: 600;
}

/* =========================
   SVG
========================= */

.svg-container {
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.company-title-svg {
  width: 100%;
  height: auto;
  display: block;
}

.company-title-svg .company-title-text {
  font-size: 2.5rem;
}

/* =========================
   Responsive
========================= */

@media only screen and (max-width: 768px) {
  .container {
    max-width: 92%;
  }

  .business-plan-map {
    max-width: 100%;
    height: 17rem;
    margin: 1rem auto 1.3rem;
  }

  .plan-node,
  .plan-center {
    width: 8.1rem;
    min-height: 3.7rem;
    padding: 0.04rem 0.06rem;
    border-radius: 0.55rem;
  }

  .plan-node__title,
  .plan-center__title {
    margin-bottom: 0.08rem;
    padding: 0.05rem 0.34rem;
    font-size: 0.884rem;
  }

  .plan-node p,
  .plan-center p {
    font-size: 0.884rem;
    line-height: 1.22;
  }

  .plan-arrow {
    font-size: 1.35rem;
  }

  .plan-arrow-top {
    top: 4.35rem;
  }

  .plan-arrow-left {
    left: 8.15rem;
  }

  .plan-arrow-right {
    right: 8.15rem;
  }

  .plan-arrow-bottom {
    bottom: 4.35rem;
  }

  .business-cycle-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.2rem;
    margin: 1rem 0 1.3rem;
  }

  .business-cycle-card {
    min-height: 4.2rem;
    padding: 0.16rem 0.14rem;
    border-radius: 0.5rem;
  }

  .business-cycle-card__title {
    margin-bottom: 0.08rem;
    padding: 0.05rem 0.28rem;
    font-size: 0.78rem;
    letter-spacing: 0;
  }

  .business-cycle-card p {
    font-size: 0.806rem;
    line-height: 1.25;
  }

  .business-cycle-arrow {
    font-size: 0.9rem;
    transform: none;
  }

  .business-two-flow {
    gap: 6rem;
    min-height: 8rem;
    margin: 0.5rem auto 1.2rem;
  }

  .business-two-card {
    min-height: 4.2rem;
    padding: 0.08rem 0.1rem;
    border-radius: 0.55rem;
  }

  .business-two-card__title {
    margin-bottom: 0.04rem;
    padding: 0.03rem 0.26rem;
    font-size: 0.72rem;
  }

  .business-two-card p {
    font-size: 0.76rem;
    line-height: 1.14;
  }

  .business-two-arrow-path {
    stroke-width: 7;
  }

  .column-card-grid {
    grid-template-columns: 1fr;
  }

  .svg-container {
    margin-top: 1.2rem;
    margin-bottom: 1rem;
  }

  .company-title-svg .company-title-text {
    font-size: 2.8rem;
  }
}

@media only screen and (max-width: 480px) {
  .container {
    max-width: 92%;
    padding: 1.5rem 0;
    margin-top: 1rem;
  }

  h1 {
    font-size: 1.35rem;
  }

  .business-plan-map {
    height: 14.4rem;
    margin: 0.8rem auto 1.1rem;
  }

  .plan-node,
  .plan-center {
    width: 6.45rem;
    min-height: 3.05rem;
    padding: 0.02rem 0.03rem;
    border-radius: 0.45rem;
  }

  .plan-node__title,
  .plan-center__title {
    margin-bottom: 0.04rem;
    padding: 0.03rem 0.26rem;
    font-size: 0.754rem;
  }

  .plan-node p,
  .plan-center p {
    font-size: 0.754rem;
    line-height: 1.16;
  }

  .plan-arrow {
    font-size: 1.1rem;
  }

  .plan-arrow-top {
    top: 3.65rem;
  }

  .plan-arrow-left {
    left: 6.5rem;
  }

  .plan-arrow-right {
    right: 6.5rem;
  }

  .plan-arrow-bottom {
    bottom: 3.65rem;
  }

  .business-cycle-flow {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.12rem;
    margin: 0.8rem 0 1.1rem;
  }

  .business-cycle-card {
    min-height: 3.4rem;
    padding: 0.08rem 0.07rem;
    border-radius: 0.38rem;
  }

  .business-cycle-card__title {
    margin-bottom: 0.04rem;
    padding: 0.02rem 0.2rem;
    font-size: 0.676rem;
    letter-spacing: 0;
  }

  .business-cycle-card p {
    font-size: 0.65rem;
    line-height: 1.18;
  }

  .business-cycle-arrow {
    font-size: 0.7rem;
    transform: none;
  }

  .business-two-flow {
    gap: 3.2rem;
    min-height: 6rem;
    margin: 0.5rem auto 1rem;
  }

  .business-two-card {
    min-height: 3.1rem;
    padding: 0.03rem 0.05rem;
    border-radius: 0.42rem;
  }

  .business-two-card__title {
    margin-bottom: 0;
    padding: 0.02rem 0.18rem;
    font-size: 0.62rem;
  }

  .business-two-card p {
    font-size: 0.6rem;
    line-height: 1.05;
  }

  .business-two-arrow-path {
    stroke-width: 5;
  }

  .column-list__heading {
    font-size: 1.2rem;
  }

  .column-card {
    min-height: auto;
    padding: 0.9rem;
  }

  .column-card__title {
    font-size: 1rem;
  }

  .column-card__desc {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.45rem;
  }

  .svg-container {
    margin-top: 0.6rem;
    margin-bottom: 0.8rem;
  }

  .company-title-svg g {
    transform: translate(95, 65) scale(0.048);
  }

  .company-title-svg .company-title-text {
    font-size: 3rem;
  }
}