﻿:root{
  --shopify-viewport-base:1400;
  --shopify-headline-fs:40px;
  --shopify-fs-xxlarge:24px;
  --shopify-fs-xlarge:20px;
  --shopify-fs-large:18px;
  --shopify-fs-medium:16px;
  --shopify-fs-small:14px;
  --shopify-primary-color:#21CFAE;
  --shopify-boder-color:#e6e6e6;
}
@media (max-width:767px){
  :root{
    --shopify-headline-fs:26px;
    --shopify-fs-xxlarge:20px;
    --shopify-fs-xlarge:18px;
    --shopify-fs-large:16px;
    --shopify-fs-medium:14px;
    --shopify-fs-small:12px;
  }
}
.shopify-compare-hero {
  padding: 0px 0px 70px;
  text-align: center;
}
.shopify-compare-sub {
  font-size: var(--shopify-fs-xlarge);
  color:var(--main-blue);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.shopify-compare-headline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 33px;
  font-weight: 700;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.shopify-compare-logo[src*="mercart"] {
  height:78px;
}
.shopify-compare-logo {
  height: 75px;
  width: auto;
}
.shopify-compare-lead {
  font-size: calc(var(--shopify-fs-xxlarge) - 2px);
  font-weight: 700;
  color: var(--shopify-primary-color);
  margin-bottom: 20px;
  line-height: 1.4;
}
.shopify-compare-description {
  font-size: var(--shopify-fs-medium);
  margin: 0 auto 50px;
  text-align: center;
  max-width:900px;
}
.shopify-compare-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.shopify-compare-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 320px;
  padding: var(--shopify-fs-medium);
  font-size: var(--shopify-fs-large);
  font-weight: 700;
  text-decoration: none;
  border-radius: 40px;
  transition: all 0.3s ease;
}
.shopify-compare-btn-primary {
  background: var(--blue-gradient);
  color: #ffffff;
}
.shopify-compare-btn-primary:hover {
  opacity: 0.7;
}
.shopify-compare-btn-secondary {
  background-color: #ffffff;
  color: var(--main-blue);
  border: 2px solid var(--main-blue);
}
.shopify-compare-btn-secondary:hover {
  background-color: var(--main-blue);
  color: #ffffff;
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .shopify-compare-hero {
    padding: 0px 0px 60px;
  }  
  .shopify-compare-headline {
    font-size:25px;
    gap: 5px 10px;
  }
  .shopify-compare-logo {
    height: 50px;
  }
  .shopify-compare-logo[src*="mercart"] {
    height: 60px;
  }
  .shopify-compare-lead {
  }  
  .shopify-compare-description {
    text-align: left;
    margin-bottom: 20px;
  }
  .shopify-compare-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .shopify-compare-btn {
    width: 100%;
    font-size: var(--shopify-fs-medium);
    min-width: unset;
    padding: 15px 20px;
  }
}

.compare-section {
  padding: 80px 20px;
  background: var(--bg-gray);
}
.compare-headline {
  text-align: center;
  font-size: var(--shopify-headline-fs);
  font-weight: 700;
  margin-bottom: 50px;
  color: var(--main-blue);
}
.compare-table-wrap {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.12);
  margin-bottom: 50px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table thead th {
  background-color: var(--main-blue);
  color: #fff;
  padding: 20px;
  font-size: var(--shopify-fs-medium);
  vertical-align: middle;
  text-align: center;
}
.compare-th-item { width: 20%; }
.compare-th-mercart { width: 40%; border-left: 1px solid rgba(255,255,255,0.2); }
.compare-th-shopify { width: 40%; border-left: 1px solid rgba(255,255,255,0.2); }
.compare-table tbody th {
  background-color: #fafbfc;
  font-size: var(--shopify-fs-medium);
  color: var(--main-blue);
  font-weight: 700;
  vertical-align: middle;
  text-align: center;
  padding: 30px 15px;
  border-bottom: 1px solid #eee;
}
.compare-table tbody td {
  padding: 30px 25px;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
  border-left: 0px solid #eee;
}
.compare-status {
  font-weight: 700;
  font-size: var(--shopify-fs-large);
}
.compare-status.is-mercart { color: var(--shopify-primary-color); }
.compare-status.is-warning { color: #EA580C; }
.compare-text {
  font-size: var(--shopify-fs-small);
  line-height: 1.8;
  margin-bottom: 10px;
}
.compare-detail-link {
  color: var(--main-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--shopify-fs-small);
  position: relative;
}
.compare-detail-link::before {
  position: relative;
  left: 0;
}
.compare-bottom-info {
  text-align: center;
}
.compare-balloon, .shopify-cta-balloon {
  display: inline-block;
  background-color: #fff;
  border: 2px solid var(--main-blue);
  padding: 2px 25px;
  font-size: var(--shopify-fs-medium);
  border-radius: 6px;
  font-weight: 700;
  position: relative;
  margin-bottom: 15px;
}
.compare-balloon:before,  .shopify-cta-balloon:before {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--main-blue);
  clip-path: polygon(0 0, 0 100%, 100% 0);
  transform: translateX(-50%);
}
.compare-balloon::after,  .shopify-cta-balloon:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 0);
  transform: translateX(-50%);
}
.compare-bottom-text {
  font-size: var(--shopify-fs-large);
  margin-bottom: 30px;
}
.compare-cta-button,  .shopify-cta-button {
  display: inline-block;
  background: var(--blue-gradient);
  color: #fff;
  padding: var(--shopify-fs-medium);
  border-radius: 50px;
  width: 400px;
  max-width: 100%;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--shopify-fs-large);
  transition: opacity 0.3s ease;
}
.compare-cta-button:hover,  .shopify-cta-button:hover{
  opacity:0.7;
}
@media (max-width: 767px) {
  .compare-section{
    padding: 50px 0;
  }
  .compare-headline{
    margin-bottom: 25px;
  }
  .compare-table-wrap {
    overflow-x: auto;
    width: calc(100% + 15px);
    border-top-right-radius: 0;
    border-bottom-right-radius:0;
    margin-bottom: 40px;
  }
  .compare-table { min-width: 800px; }
  .compare-bottom-text{
    margin-bottom: 20px;
  }
  .compare-cta-button{
    font-size: var(--shopify-fs-medium);
  }
}

.phase-section {
  padding: 80px 20px;
  background-color: #fff;
}
.phase-inner {
  margin: 0 auto;
}
.phase-headline {
  color: var(--main-blue);
  text-align: center;
  font-size:var(--shopify-headline-fs);
  font-weight: 700;
  margin-bottom: 60px;
}
.phase-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}
.phase-intro-text {
  flex: 1;
  font-size:var(--shopify-fs-medium);
  line-height: 1.8;
}
.phase-intro-text strong{
  color: var(--main-blue);
}
.phase-cost-box {
  flex: 1;
  border: 4px solid var(--main-blue);
  box-sizing: border-box;
  padding: 20px 0;
  text-align: center;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--main-blue);
}
.phase-cost-label {
  font-size: var(--shopify-fs-xxlarge);
  font-weight: 700;
  margin-bottom: 5px;
}
.phase-cost-sub {
  font-size: var(--shopify-fs-medium);
  font-weight: 700;
  font-family: jost;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.phase-cost-comparison {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 1.6rem;
  font-weight: 700;
}
.phase-cost-main {
  position: relative;
  color: var(--main-blue);
  font-size: 34px;
}
.phase-cost-main:after{
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: min(0.428571428571429vw, 6px);
  background: var(--green-blue-gradient);
}
.phase-cost-sub-item{
  font-size: 28px;
}
.phase-card-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}
.phase-card {
  flex: 1;
  border: 1px solid #eee;
  padding: 20px;
  position: relative;
  background-color: #fff;
}
.phase-card-tag {
  position: absolute;
  top: 0;
  left: 7px;
  background-color: var(--main-blue);
  color: #fff;
  font-size: var(--shopify-fs-small);
  line-height: 1;
  font-family: jost;
  font-weight: 700;
  padding: 6px 5px;
  transform:translateY(-50%);
}
.phase-card.is-recommended {
  border: 2px solid var(--shopify-primary-color);
}
.phase-card.is-recommended .phase-card-tag {
  background-color: var(--shopify-primary-color);
}
.phase-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--shopify-primary-color);
  color: #fff;
  font-size: var(--shopify-fs-medium);
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
}
.phase-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.phase-card-icon {
  width: 115px;
  height: auto;
}
.phase-card-title {
  font-size: var(--shopify-fs-xlarge);
  font-weight: 700;
}
.is-recommended .phase-card-title {
  color: var(--shopify-primary-color);
}
.phase-card-text {
  font-size: var(--shopify-fs-medium);
  line-height: 1.7;
  margin-bottom: 15px;
}
.phase-card-note {
  font-size: var(--shopify-fs-large);
  font-weight: 700;
  color: var(--main-blue);
}
.phase-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.phase-cta-btn {
  background: #fff;
  color: var(--main-blue);
  border:solid 2px var(--main-blue);
  transition: all 0.3s ease;
}
.phase-cta-btn:hover {
  background: var(--main-blue);
  color: #fff;
  opacity:1;
}
.phase-cta-balloon {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

@media (max-width: 768px) {
  .phase-section {
    padding: 60px 0px 60px;
  }
  .phase-intro {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  .phase-card-grid {
    flex-direction: column;
    margin-bottom: 40px;
    gap: 25px;
  }
  .phase-headline { 
    margin-bottom: 25px;
  }
  .phase-cost-box{
    padding: 20px 12px;
  }
  .phase-cost-label{
    font-size: 18px;
  }
  .phase-cost-sub-item {
    font-size: 18px;
  }
  .phase-cost-main {
    font-size: 24px;
  }
  .shopify-cta-button {
    font-size: var(--shopify-fs-medium) !important;
  }
}
.pitfall-section {
  padding: 80px 0;
  background-color: var(--bg-gray);
}
.pitfall-headline {
  color: var(--main-blue);
  text-align: center;
  font-size: var(--shopify-headline-fs);
  font-weight: 700;
  margin-bottom: 60px;
}
.pitfall-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}
.pitfall-card {
  background-color: #ffffff;
  flex: 1;
  max-width: 285px;
  border: 1px solid #ddd;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pitfall-card-tag {
  position: absolute;
  top: 0;
  left: 7px;
  background-color: var(--main-blue);
  color: #fff;
  font-size: var(--shopify-fs-small);
  line-height: 1;
  font-family: jost;
  font-weight: 700;
  padding: 6px 5px;
  transform: translateY(-50%);
}
.pitfall-card-content {
  padding: 40px 15px 30px;
  text-align: center;
}
.pitfall-card-icon-wrap {
  margin-bottom: 25px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pitfall-card-icon {
  max-height: 120%;
  width: auto;
}
.pitfall-card-title {
  font-size: var(--shopify-fs-large);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.8;
  height: 3em;
  display: flex;
  justify-content: center ;
  align-items: center;
  color: var(--main-blue);
}
.pitfall-card-text {
  font-size: var(--shopify-fs-small);
  line-height: 1.8;
  text-align: left;
}

.pitfall-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pitfall-cta-btn {
  display: inline-block;
  background: var(--red-gradient);
  color: #ffffff;
  transition: transform 0.2s, opacity 0.2s;
}
.pitfall-cta-btn:hover {
  opacity: 0.7;
}
@media (max-width: 767px) {
  .pitfall-section{
    padding: 60px 0;
  }
  .pitfall-headline {
    margin-bottom: 25px;
  }
  .pitfall-grid {
    flex-direction: column;
    align-items: center;
    gap:25px;
    margin-bottom: 40px;
  }
  .pitfall-card {
    max-width: 100%;
  }
  .pitfall-card-title{
    height:auto;
  }
  .pitfall-cta-btn {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

.lower-bottom-cta {
  background-color: #1a3674; /* 濃いブルーの背景色 */
  padding: 80px 20px;
  margin-bottom: 60px;
  color: #ffffff;
  text-align: center;
}
.lower-bottom-cta-headline {
  font-size: calc(var(--shopify-headline-fs) - 4px);
  margin-top: 0;
  margin-bottom: 30px;
}
.lower-bottom-cta-description {
  font-size: var(--shopify-fs-medium);
  line-height: 1.8;
  margin-bottom: 50px;
}
.lower-bottom-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.lower-bottom-cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  border-radius: 50px;
  font-size: var(--shopify-fs-medium);
  padding: var(--shopify-fs-medium);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.lower-bottom-cta-btn-primary {
  background: var(--red-gradient);
  color: #ffffff;
}

.lower-bottom-cta-btn-primary:hover {
  opacity: 0.9;
}
.lower-bottom-cta-btn-secondary {
  background-color: #ffffff;
  color: var(--main-blue);
}
.lower-bottom-cta-btn-secondary:hover {
  background-color: #f0f0f0;
}
@media (max-width: 768px) {
  .lower-bottom-cta {
    padding: 60px 0px;
  }
  .lower-bottom-cta-headline {
    margin-bottom: 20px;
  }
  .lower-bottom-cta-description {
    text-align: left;
    margin-bottom: 30px;
  }
  .lower-bottom-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .lower-bottom-cta-btn {
    width: 100%;
    min-width: unset;
    padding: 15px 20px;
  }
}