@charset "UTF-8";

/* ==========================================================================
   1. Variables (Design Tokens)
   ========================================================================== */
:root {
    /* Colors - デザイン画像からの抽出色（調整推奨） */
    --color-primary: #5AB336;      /* メインの緑 */
    --color-primary-dark: #469625; /* 濃い緑（ホバーや背景など） */
    --color-accent: #D4AF37;       /* ゴールド/黄色（ボタン・強調） */
    --color-accent-hover: #C59F2A; /* ボタンホバー */
    --color-text-main: #333333;    /* 基本テキスト */
    --color-text-light: #666666;   /* 薄いテキスト */
    --color-white: #FFFFFF;
    --color-bg-light: #F9FDF9;     /* 薄い緑/グレーの背景 */
    --color-bg-dark: #1A3315;      /* 暗いエリアの背景 */

    /* Typography */
    --font-family-base: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-size-lllg: 28px;
    --font-size-llg: 24px;
    --font-size-lg: 20px;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-ssm: 12px;
    
    /* Layout */
    --width-content: 1000px; /* PCコンテンツ幅 */
    --padding-side: 20px;    /* SP左右余白 */
    
    /* Breakpoints */
    --bp-md: 768px;
}

/* ==========================================================================
   2. Reset & Base (Modern Minimal Reset)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    word-wrap: break-word;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
}

/* ==========================================================================
   3. Layout Utilities
   ========================================================================== */
.l-wrapper {
    overflow-x: hidden;
    width: 100%;
}

.l-inner {
    width: 100%;
    padding-right: var(--padding-side);
    padding-left: var(--padding-side);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .l-inner {
        max-width: var(--width-content);
        padding-right: 0;
        padding-left: 0;
    }
}

/* PC/SP Display Switching */
.u-desktop { display: none !important; }
.u-mobile { display: block !important; }

@media (min-width: 768px) {
    .u-desktop { display: block !important; }
    .u-mobile { display: none !important; }
}

/* Text Colors */
.u-text-gold { color: var(--color-accent); }
.u-text-gold-u { color: var(--color-text-main);}
.u-text-white { color: var(--color-white); }
.u-text-center { text-align: center; }

/* Margins */
.u-mt-large { margin-top: 40px; }
.u-mb-small { margin-bottom: 16px; }

/* ==========================================================================
   4. Component
   ========================================================================== */
.p-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width:1920px;
    margin:0 auto;
    text-align:center;
}
.p-header__inner .p-header__logo img{
    width:200px;
}
.p-header__inner .p-header__cta img{
    width:400px;
}
.p-authority {
    margin-top: 80px;
}
.p-cta-area {
    margin: 0 auto;
    text-align: center;
}
.p-cta-area .p-cta-area-sub {
    font-size: var(--font-size-lllg);
    font-weight: bold;
    letter-spacing: .1em;
    margin-top: 10px;
}
.p-cta-area .p-cta-area-sub span{
    color: #cc9933;
}
.p-cta-area .p-cta-area-img img{
    margin: 0 auto;
    text-align: center;
    display:block;
}
.p-cta-area .p-cta-area-btn img{
    margin: 0 auto;
    text-align: center;
    display:block;
    margin-top: 10px;
}
.p-intro {
    width: 100%;
    max-width: 1000px; /* ここを max-width に */
    margin: 80px auto 0 auto;
    padding: 0 var(--padding-side); /* スマホ等で端に付かないよう余白追加を推奨 */
}
.p-intro .p-intro__img img{
    margin: 0 auto;
    text-align:center;
}
.p-intro .p-intro__img p{
    margin: 0 auto;

}
.p-map {
    margin: 120px auto 0 auto;
    padding-bottom: 120px;
    text-align: center;
    display:block;
    background-color: #ffffff;
    background-image: linear-gradient(90deg, #dbdbdb80 1px, transparent 1px), linear-gradient(#dbdbdb80 1px, transparent 1px);
    background-position: 1px 1px;
    background-size: 11px 11px;
}
.p-map img{
    margin: 0 auto;
    text-align: center;
    display:block;
}
.p-map .p-map__title {
    font-size: var(--font-size-lllg);
    letter-spacing:.1em;
}
.p-map .p-map__title .u-text-gold-u {
    font-size: 180%;
    text-decoration: underline; 
    text-decoration-color: var(--color-accent);
}
.p-map .p-map__title .u-text-kome {
    font-size: 50%;
}
.p-features {
    background: #009933;
}
.p-features .p-features__list li img{
    margin: 0 auto;
}
.p-features .p-features__list li{
    padding: 15px 0;
}
.p-support {
    padding-top: 80px;
}
.p-support .c-heading-primary{
    text-align:center;
    font-size: var(--font-size-llg);
    letter-spacing: .1em;
}
.p-support__list {
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.p-support__card {
    width: calc(100% / 3);
}
.p-support__list .p-support__title {
    display: flex;
    align-items: center;
    background: #77c20b;
    padding: 5px;
    gap: 10px;
}
.p-support__list .p-support__title .p-support__text {
    color: #fff;
    font-weight: bold;
    letter-spacing: .1em;
}
.p-support__card .p-support__detail{
    background: #f4f9ec;
    padding: 20px;
}
.p-support__card .p-support__detail span{
    font-weight: bold;
}
.p-cta-dark {
width: 100%;
    /* 1. center center を追加して画像を常に中央に配置 */
    background: url("../images/a-support.webp") no-repeat center center;
    
    /* 2. 要素の幅いっぱいに画像を広げる（必要に応じて追加） */
    background-size: cover; 
    
    text-align: center;
    color: #fff;
    margin-top: 80px;
    padding:  80px 0;
}
.p-cta-dark .p-cta-dark__title {
    font-size: var(--font-size-lllg);
    letter-spacing: .1em;
}
.p-cta-dark .p-cta-dark__title .u-text-gold-b {
    background:var(--color-accent);
    color: var(--color-text-main);
    display: inline-block;
    padding: 0 5px;
    line-height: 140%;
}
.p-cta-dark .p-cta-dark__text {
    margin-top: 2rem;
    font-size: var(--font-size-base);
    letter-spacing: .1em;
    font-weight: bold;
    line-height: 220%;
}
.p-flow {
    width: 100%;
    max-width: 800px; /* ここを max-width に */
    margin: 80px auto 0 auto;
    padding: 0 var(--padding-side); /* 余白追加を推奨 */
    text-align: center;
    letter-spacing: .1em;
}
.p-flow__item {
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-align: left;
    margin: 40px 0;
    padding: 20px;
}
.p-flow__item .p-flow__num {
    font-family: "Oswald", sans-serif;
    font-size: 60px;
    color: var(--color-primary);
    text-align: center;
}
.p-flow__item .p-flow__body {
    width:65%;
}
.p-flow__item .p-flow__body .p-flow__title {
    color: var(--color-primary);
}
.p-flow__item .p-flow__icon {
    width:15%;
    text-align: center;
}
.p-flow__item .p-flow__icon img{
    text-align: center;
    display: block;
}
.l-footer {
    text-align: center;
    background: #333;
    padding: 50px;
    color: #fff;
    margin-top: 160px;
}  

@media (max-width: 768px) {
    .p-header__inner {
        padding: .5rem;
    }
    .p-header__inner .p-header__logo img{
        width:100px;
    }
    .p-header__inner .p-header__cta img{
        width:180px;
    }
    .p-intro {
        width: 100%;
        margin-top: 40px;
    }
    .p-intro__img p {
        font-size: var(--font-size-ssm);
        padding: .5rem;
    }
    .p-authority {
        margin-top: 40px;
    }
    .p-intro {
        margin-top: 40px;
    }
    .p-map {
        margin-top: 20px;
    padding-bottom: 40px;
    }
    .p-map .p-map__title{
        font-size: var(--font-size-normal);
        margin-top: 20px;
    }
    .p-cta-area .p-cta-area-sub {
        font-size: var(--font-size-normal);
        font-weight: bold;
        letter-spacing: .1em;
        margin-top: 10px;
    }
    .p-support__list {
        display: block;
    }
    .p-support__card {
        width: 100%;
        margin-bottom: 20px;
    }
    .p-cta-dark .p-cta-dark__title {
        font-size: var(--font-size-lg);
        letter-spacing: .1em;
    }
    .p-flow {
        width: 100%;
    }
    .p-flow__item {
        text-align: left;
        margin: 20px 0;
        padding: 10px;
    }
    .p-flow__item .p-flow__body {
        width:100%;
    }
    .p-flow__item .p-flow__icon {
        display: none;
    }
    .p-flow__item .p-flow__num {
        font-size: 70px;
    }
    .l-footer {
        margin-top: 80px;
    }  
}

/* ==========================================================================
   5.	 Slide
   ========================================================================== */

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

_:-ms-lang(x)::-ms-backdrop,
.anime_slide {
  display: -ms-grid;
  overflow: hidden;
}
.anime_slide__wrap {
  display: flex;
  overflow: hidden;
}

.anime_slide__list {
  display: flex;
  list-style: none;
  margin: 100px 0 40px 0;
}

.anime_slide__list--left{
animation :infinity-scroll-left 35s infinite linear 0.5s both;
}

.anime_slide__item {
  width: calc(100vw / 5);
  margin-right: 10px;
}
.anime_slide__item picture{
  width: 0;
  height: 0;
}
.anime_slide__item > img{
  width: 70%;
  line-height: 0;
}

@media (max-width: 750px) {
  .anime_slide__list {
    display: flex;
    list-style: none;
    margin: 20px 0;
  }
  .anime_slide__item {
    width: calc(100vw / 3);
    margin-right: 5px;
  }
  .anime_slide__list--left{
  animation :infinity-scroll-left 15s infinite linear 0.5s both;
  }
  .anime_slide__item > img{
    width: 80%;
    line-height: 0;
  }
}


/* ==========================================================================
   6.	 Form
   ========================================================================== */

#formWrap iframe{
  height: 1000px;
  border:none;
}

@media (max-width: 750px) {
    #formWrap iframe{
      height: 1000px;
      border:none;
    }
}