/**** クラファンページ ****/
html {
  scroll-behavior: smooth;
}

#main_content.funding{
	width: 1200px;
    justify-content: center;
}
@media screen and (max-width: 1200px) {
    #main_content.funding {
        display: block;
        width: auto;
    }
}
/* 2カラム全体のラッパー */
.cf-page-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1150px;
  margin: auto;
}
#page_contents.cf-page-wrapper .post_content{
	width: 100%;
}

/* 左カラム：本文 */
.cf-main {
  flex: 1 1 61%;
}
.cf-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.support-box.mobile{
	display: none;	
}
@media screen and (max-width: 1082px) {
    .support-box.mobile {
        display: block;
        margin: 30px 10px;
    }
}

/* 右カラム：支援状況 */
.cf-sidebar {
  flex: 1 1 36%;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.funding-hero {
  background: linear-gradient(to right, #f3f4f6, #e5e7eb);
  padding: 60px 20px;
  text-align: center;
}
.funding-hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #1f2937;
}
.funding-hero p {
  font-size: 1.2em;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
}
.funding-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
.funding-section h2 {
  font-size: 1.8em;
  color: #1f2937;
  border-left: 6px solid var(--main_color);
  padding-left: 10px;
  margin-bottom: 10px;
}
.funding-section p {
  font-size: 1em;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.6em;
}

.pms-crowdfund-card {
  max-width: 600px;
    margin: 0px auto 40px;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Helvetica Neue', sans-serif;
  position: relative;
}

.pms-cf-label {
    font-size: 18px;
    color: #515151;
  margin-bottom: 5px;
}

.pms-cf-amount {
  font-size: 42px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.pms-cf-progress-wrapper {
  margin: 10px 0;
}

.pms-cf-progress-bar {
  background: #e5e5e5;
  height: 30px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.pms-cf-progress-fill {
  background: #f89910;
  height: 100%;
  width: 0%;
  transition: width 1.2s ease-in-out;
}

.pms-cf-percent {
  font-size: 12px;
  color: #fff;
  background: #f89910;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  margin-bottom: 5px;
  font-weight: bold;
}

.pms-cf-goal {
	font-size: 15px;
    color: #666;
    margin-top: 10px;
}

.pms-cf-supporters {
  margin-top: 20px;
  font-size: 18px;
  color: #444;
}

.pms-cf-supporters strong {
  font-size: 42px;
  color: #111;
}

.pms-cf-deadline {
  margin-top: 20px;
  font-size: 14px;
  color: #444;
}

.pms-cf-deadline strong {
  font-size: 20px;
  color: #111;
}

.pms-support-choice-label {
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
    color: #444;
	line-height: 1.3;
}


.pms-support-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
    margin-top: 15px;
}

.pms-support-button {
  text-align: center;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.pms-support-button.oneoff {
  background-color: #3cb371;
  color: white;
}

.pms-support-button.oneoff:hover {
  background-color: #308f5a;
	text-decoration: none;
    color: #fff;
}

.pms-support-button.monthly {
  background-color: #e65b5b;
  color: white;
}

.pms-support-button.monthly:hover {
  background-color: #af4242;
	text-decoration: none;
    color: #fff;
}

.pms-support-buttons.footer-support-buttons{
    flex-direction: row;
    max-width: 600px;
}

.support-deliver {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.support-deliver h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
#support-deliver.support-deliver h3 {
  color: #51b272;
}
#support-connect.support-deliver h3 {
  color: #e53935;
}

.support-deliver p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.6;
	text-align: left;
}

.support-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 20px;
}

.support-amount {
    background: repeating-linear-gradient(45deg, #ffe3be, #fff3dd 5px, #fff 5px, #fff 10px);
    border: 1px solid #ee9b25;
    border-radius: 6px;
    padding: 0.4rem 0.2rem;
    font-size: 1.0rem;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.support-amount span {
  font-weight: bold;
  margin-top: 0.3rem;
  font-size: 1rem;
  color: #e53935;
}

.support-amount:hover {
  background-color: #ffe5e5;
}
