:root {
    --primary-color: #fab42d;
    --accent-color: #e6007d;
    --special-color: #E16565; 
    --text-color: #333;
    --bg-color: #fafafa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Yu Gothic", "YuGothic", "Meiryo UI", "Meiryo", "Osaka", "MS PGothic", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: #ffe6df;
    background-image: url(../img/bgov-1.png);
    background-size: 100% auto;
    background-repeat: repeat-y;

}

a:link {
    color: #666;
}
a:visited {
    color: #666;
}
a:hover {
    color: #fab42d;
}
a:active {
    color: #fab42d;
}

div#herotop {
    padding: 0;
}

div#hero {
    height: 650px;
	max-width: 100%;
    background-image: url(../img/main_01.jpg);
	background-size: cover;
	background-position: left;
	image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 1399.98px) {
}
@media (max-width: 1199.98px) {
}
@media (max-width: 991.98px) {
}
@media (max-width: 767.98px) {
}
@media (max-width: 575.98px) {
	    div#hero {
        height: 400px;
	    background-image: url(../img/main_02.jpg);
	    background-position: center;
	    }
}
div#hero > div {
        height: 400px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
		position: relative;
}

div#hero h1 {
	margin: auto;
	text-align: center;
	color: #fff;
	line-height: 1.2;
    display: none;
}

@media (max-width: 1399.98px) {
}
@media (max-width: 1199.98px) {
}
@media (max-width: 991.98px) {
}
@media (max-width: 767.98px) {
}
@media (max-width: 575.98px) {
}


/* main */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

@media (min-width: 576px) and (max-width: 991.98px){
main {
    padding: 20px 40px;
}
}



section#lead {
    background-color: rgba(255, 250, 250, 0.8);
    width: 100%; /* 横幅いっぱいにする */
    padding: 60px 0; /* 上下の余白を調整 */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-color);
    margin: 100px 0 60px;
    font-weight: 900;
}

.section-subtitle {
    font-weight: bold;
    color: var(--accent-color);
    margin-top: -40px;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.lead-content{
    margin: 60px 0;
}

.lead-intro {
    font-size: 1.0rem;
    line-height: 2;
    text-align: center;
    padding: 0 2.0rem;
}
@media (min-width: 375px) and (max-width: 575.98px){
.lead-intro {
    padding: 0;
}
}
@media (max-width: 374.99px) {
.lead-intro {
    padding: 0;
}
}

.lead-text{
    font-size: 1.25rem;
    line-height: 1.8;
    padding-bottom: 0.75rem;
}
@media (min-width: 375px) and (max-width: 575.98px){
.lead-text{
    font-size: 1.0rem;
    line-height: 2;
    padding: 0 0.5rem;
}
}
@media (max-width: 374.99px) {
    .lead-text{
    font-size: 1.0rem;
    line-height: 2;
    padding: 0 0.5rem;
}
}


.text-intro {
    font-size: 1rem;
    line-height: 2;
    text-align: center;
    padding: 0 2.0rem 2.0rem;
}
@media (max-width: 768px) {
.text-intro {
    padding: 0 0 2.0rem;
}
}

.history_section {
    padding: 40px;
}

@media (max-width: 992px) {
    .history_section {
    padding: 0 40px;
    }
}
@media (max-width: 768px) {
    .history_section {
    padding: 0 15px;
    }
}

.history_section .timeline-item:last-child {
    margin: 0;
    padding-bottom: 40px;
}

.history-text{
    font-size: 1.0rem;
    line-height: 1.6;
    padding-bottom: 0.75rem;
}
/* 強調用のクラス */
.history-text b, 
.history-text strong {
    font-weight: 700;
    color: var(--special-color);
}

@media (min-width: 375px) and (max-width: 575.98px){
    .history-text{
    font-size: 0.9rem;
}
}
@media (max-width: 374.99px) {
    .history-text{
    font-size: 0.875rem;
}
}

/* 補足：スマホでの読みやすさ調整 */
@media (max-width: 575.98px) {
    .history-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0 -5px;
    }
}

.card-history {
  display:grid;
  grid-template-columns:minmax(280px,36%) 1fr;
  gap:1rem;
  overflow:hidden;
}

.card-history.one-photo {
  grid-template-columns: 2fr 1fr;
  align-items: start;
}
.card-history.one-photo figure {
  order: -1; /* 画像を上に */
  width: 100%;
}

/* --- 写真2枚 --- */
.card-history.two-photos {
  grid-template-columns: minmax(220px,40%) minmax(220px,50%);
  grid-auto-rows: auto;
  align-items: start;
}
.card-history.two-photos figure {
  margin: 0;
}

/* --- 写真2枚 + 説明下 --- */
.card-history.two-photos.desc-below {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto; /* デスクトップ：画像横並び、説明下 */
}
.card-history.two-photos.desc-below figure:nth-of-type(1) { grid-column:1; grid-row:1; }
.card-history.two-photos.desc-below figure:nth-of-type(2) { grid-column:2; grid-row:1; }
.card-history.two-photos.desc-below .desc { grid-column:1 / -1; grid-row:2; padding-top:.6rem; }

/* --- 写真2枚オーバーラップ --- */
.card-history.two-photos.overlap {
  position: relative;
  grid-template-columns: 1fr 1fr; 
  gap: 0;
}
.card-history.overlap .img1 {
    grid-column: 1 / 2; /* 1列目 */
    position: relative;
    z-index: 2;
}
.card-history.overlap .img2 {
    grid-column: 1 / 3; /* 1列目から2列目の最後まで（つまり全体を覆う） */
    margin: 100px 0 0 -10px;
    z-index: 1;
    position: relative;
}

/* --- 画像共通 --- */
.card-history figure {
    overflow: visible;
    display: block;
    width: 100%;
    margin: 0;
}
.card-history figure img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    display: block;
    margin-bottom: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}
.card-history figcaption {
    width: 100%;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 500;
    padding-bottom: 20px;
}
@media (max-width: 768px) {
.card-history figcaption {
    font-size: 0.65rem;
}
}
.card-history.two-photos.overlap .img1 figcaption {
    padding-right: 20px;
    text-align: right;
}



/* --- レスポンシブ：スマホは縦積み & オーバーラップ解除 --- */
@media (max-width: 768px) {
  .card-history,
  .card-history.one-photo,
  .card-history.two-photos,
  .card-history.two-photos.desc-below,
  .card-history.overlap {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0.8rem;
    /* --- 追加：左右に影のための余白を確保 --- */
    padding-right: 10px; 
    padding-left: 5px;
  }

  /* desc-below 縦積み */
  .card-history.two-photos.desc-below {
    grid-template-rows: auto auto auto;
  }
  .card-history.two-photos.desc-below figure:nth-of-type(1),
  .card-history.two-photos.desc-below figure:nth-of-type(2) {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin: 0;
    z-index: auto;
  }
  .card-history.two-photos.desc-below .desc {
    grid-column: 1;
    grid-row: 3;
    padding-top: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* overlap解除 */
  .card-history.overlap .img1,
  .card-history.overlap .img2 {
    margin: 0 !important;
    z-index: auto !important;
    position: relative;
  }
  .card-history.two-photos.overlap .img1 figcaption {
    padding-right: 0;
}
}



/* Timeline */
.timeline {
    position: relative;
    padding-left: 45px;
    border-left: 5px solid var(--primary-color);
}

/* 疑似要素を重ねて置き、消えてるように見せる */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5px; /* borderの幅分左にずらす */
  width: 5px; /* borderの太さに合わせる */
  height: 55px; /* 隠したい長さ */
  background: rgba(255,255,255,0.7);
}


@media (max-width: 768px) {
.timeline {
    position: relative;
    padding-left: 38px;
    border-left: 4px solid var(--primary-color);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px; /* borderの幅分左にずらす */
  width: 4px; /* borderの太さに合わせる */
  height: 38px; /* 隠したい長さ */
  background: #fafafa; /* 背景色と同じ色（白） */
}
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-num {
    position: absolute;
    left: -75px;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.0rem;
}

@media (max-width: 768px) {
.timeline-num {
    position: absolute;
    left: -65px;
    width: 50px;
    height: 50px;
    }
}
.timeline-content {
}

.timeline-title {
    font-weight: bold;
    font-size: 120%;
    margin-bottom: 20px;
}

@media (max-width: 374.99px) {
.timeline-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 20px;
}
}

span.sub {
    font-weight: bold;
    font-size: 1.0rem;
    margin-bottom: 20px;
}

@media (max-width: 374.99px) {
span.sub {
    font-weight: bold;
    font-size: 1.0rem;
    margin-bottom: 20px;
}
}

/* message section */
.message_section {
    padding: 40px 0;
}

@media (max-width: 768px){
.message_section {
    padding: 0 20px;
} 
}

@media (max-width: 374.99px){
.message_section {
    padding: 0;
} 
}

.message_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .message_container { 
        grid-template-columns: 1fr; 
    }
}

.message-card {
    background: #fff;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.message_section .message-card:last-child {
    margin: 0;
}



.message-title {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0 30px 0;
}
.message-title img {
    width: 60px;
    padding-right: 0.75rem;
}

.flex{
    display: flex;
    flex-direction: column;
}
.message-title h3 {
    font-size: 110%;
    font-weight: bold;
    line-height: 1.5;
    padding-left: 6em;
    text-indent: -6em;
}

@media (max-width: 768px){
.message-title h3 {
    font-size: 1.0rem;
    padding-left: 0em;
    text-indent: 0;
}
}

.message-text {
    font-size: 1.0rem;
    line-height: 1.6;
    padding: 0 0 0.75rem 0.5rem;
    
}

@media (min-width: 375px) and (max-width: 575.98px){
.message-text {
    font-size: 0.9rem;
    padding: 0;
    margin: 0 -0.5rem;
}
}
@media (max-width: 374.99px) {
    .message-text{
    font-size: 0.875rem;
    padding: 0;
    margin: 0 -0.5rem;
}
}

/* fans section */
.fans_section {
    padding: 40px 0;
}
@media (max-width: 768px){
.fans_section {
    padding: 0;
} 
}
.fans_section {
    text-align: center;
    padding-bottom: 100px;
}

.fans_container {
}

.fans-main-visual img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

.fans-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 2;
    text-align: left;
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
}

.fans-form-info {
    margin-top: 60px;
    padding: 20px;
    background-color: #fdfdfd;
    border: 2px dashed var(--primary-color);
}

.fans-form-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.btn-red {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-red:hover {
    background-color: #b3000e;
    transform: scale(1.05);
}


/* special section */
.special_section {
    padding: 40px 0;
}
@media (max-width: 768px){
.special_section {
    padding: 0 20px;
} 
}
@media (max-width: 374.99px){
.special_section {
    padding: 0;
} 
}

.special-box {
    border: 4px solid var(--primary-color);
    background-color: #fff;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px){
.special-box {
    margin: 0 -10px;
    padding: 40px 20px;
}
}

.detail-item .special-title {
    font-size: 140%;
    font-weight: 900;
    margin: 20px 0;
    display: inline-block;
    padding: 0 10px;
    background-image: linear-gradient(transparent 70%, #ffebec 70%);
}

.gradient-text {
    background-image: linear-gradient(to right, #fab42d, #e6007d, #910582);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}




.special-intro {
    margin-bottom: 40px;
    line-height: 1.8;
}

.special-details {
    text-align: left;
    margin: 0 auto 40px;
    background: #fdfdfd;
    padding: 20px 40px;
    border: 1px solid #eee;
}

@media (max-width: 575.98px){
.special-details {
    padding: 20px 5px;
}
}
.detail-item {
    margin: 10px 0;
    padding: 0 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 2px 10px;
    font-size: 1.0rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.detail-item p.detail-top, .detail-item ol.detail-top {
    font-size: 110%;
    font-weight: bold;
    padding: 10px 0 0;
}

.detail-item ol.detail-top {
    padding-left: 20px;
}

.detail-text{
    font-size: 1.0rem;
    line-height: 1.8;
    padding: 0 1.0rem 1.0rem;
}
@media (min-width: 375px) and (max-width: 575.98px){
.detail-text{
    font-size: 0.9rem;
    padding: 0 0.5rem 0.5rem;
}  
}
@media (max-width: 374.99px) {
.detail-text{
    font-size: 0.875rem;
    padding: 0 0.5rem 0.5rem;
}  
}

.detail-text p.indent {
    padding-left: 4em;
    text-indent: -4em;
}

@media (max-width: 575.98px){
.detail-text p.indent {
    padding-left: 0em;
    text-indent: 0;
}
}

.detail-text p span.under{
    text-decoration: underline;
    text-underline-offset: 5px;
}

.detail-text p.detail01 {
    text-align: center;
    padding-top: 0.75rem;
  }
.detail-text p.detail02 {
    text-align: center;
  }

.special-link-area {
    display: flex;
    justify-content: center;
    margin: 20px 0 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.0rem;
    border-radius: 8px;
}
.special-btn {
    color: #fff !important;
    background-color: #404040;
    border-color: #404040;
}
.special-btn:hover {
    color: #404040 !important;
    background-color: #fff;
    border-color: #404040;
    transition: 0.5s;
}
.special-btn-soon {
    color: #fff !important;
    background-color: #404040;
    border-color: #404040;
}
.special-btn-soon:hover {
    cursor: auto;
}

@media (max-width: 575.98px){
.btn {
    font-size: 0.9rem;
}
}

.special-icon {
    font-size: 1.4rem;
    margin-right: 10px;
}

.special-handle {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.notes {
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
}
.small-black {
    font-size: 0.8rem;
}

@media (max-width: 575.98px){
    .detail-item .special-title{
        margin: 20px 0;
        font-size: 130%;
        text-align: center;
    }
} 
@media (max-width: 374.99px) {
    .special-box {
        padding: 20px;
    }
}

/* footer */
.footer_section {
  padding: 1.0rem 0;
  background: #fff; 
}

.footer_section a:link,.footer_section a:visited,.footer_section a:hover,.footer_section a:active{
  color: #404040; 
}

  @media screen and (min-width: 768px) {
    .footer_section .footer_container {
      } 
}
  .footer_section .copyright p {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    color: #404040; 
}
    @media screen and (min-width: 768px) {
      .footer_section .copyright p {
        font-size: 1.25rem;
        text-align: right; 
        } 
}
  .footer_section .copyright small {
    display: block;
    font-size: 0.75rem;
    text-align: center;
    color: #404040; 
}
    @media screen and (min-width: 768px) {
      .footer_section .copyright small {
        text-align: right; 
        } 
}

/* copyright_section */
.copyright_section {
    padding: 1.0rem 0;
    background: #fff;
}
    @media screen and (min-width: 768px) {
        .copyright_section .copyright_container {
            display: flex;
            justify-content: space-between;
            align-items: flex-end; 
        } 
}

.copyright_section .menu {
    margin-bottom: 1.5rem; 
}
    @media screen and (min-width: 768px) {
        .copyright_section .menu {
            display: flex;
            margin: 0; 
        }
}
        .copyright_section .menu li {
            margin-bottom: 0.5rem;
            text-align: center; 
}
        .copyright_section .menu li:last-child {
            margin: 0; 
}
    @media screen and (min-width: 768px) {
        .copyright_section .menu li {
            margin: 0 2.0rem 0 0; 
        } 
}
.copyright_section .menu a {
    display: block;
    font-size: 0.75rem;
    color: #404040; 
}
.copyright_section .menu a:hover {
    text-decoration: underline; 
}
.copyright_section .menu.crowd a {
    color: #fff; 
}
  .copyright_section .copyright p {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    color: #404040; 
}
    @media screen and (min-width: 768px) {
        .copyright_section .copyright p {
            font-size: 1.25rem;
            text-align: right; 
        }
}
.copyright_section .copyright small {
    display: block;
    font-size: 0.75rem;
    text-align: center;
    color: #404040; 
}
    @media screen and (min-width: 768px) {
        .copyright_section .copyright small {
            text-align: right;
        } 
}

/* pagetop_section */
.pagetop_section {
    position: fixed;
    right: 1.0rem;
    bottom: 1.0rem;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition-duration: 0.5s; 
}
.pagetop_section.show {
    visibility: visible;
    opacity: 1; 
}
.pagetop_section a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.0rem;
    background: #404040;
    border: 0.0625rem solid #404040;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #ffffff;
    transition-duration: 0.5s; 
}
.pagetop_section i {
    margin-left: 1.0rem;
    color: #ffffff;
    line-height: 1.0;
    transition-duration: 0.5s; 
}
.pagetop_section .pagetop {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0 0 auto;
    border-radius: 50%;
    transition-duration: 0.5s; 
}
    .pagetop_section .pagetop:hover {
        background: #ffffff;
        color: #404040; 
    }
    .pagetop_section .pagetop:hover i {
        color: #404040; 
    }
@media screen and (min-width: 768px) {
    .pagetop_section .pagetop {
        width: 3.0rem;
        height: 3.0rem; 
    } 
}
.pagetop_section .pagetop i {
    margin: 0;
    font-size: 1.125rem; 
}
@media screen and (min-width: 768px) {
    .pagetop_section .pagetop i {
     font-size: 1.25rem; 
    } 
}
@media (min-width: 991.98px){
	.spbr{
	display: none;
	}
}
@media (max-width: 767.98px){
	.pcbr{
	display: none;
	}
}
