@charset "UTF-8";

/* ================================
common
================================= */
:root {
    --primary-white: #fff;
    --primary-black: #333A3A;
    --primary-main: #0081DD;
    --primary-sub: #EDF7FF;
    --primary-bland: #2D3B6D;
}

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

body {
    font-family: "Shippori Mincho", 
    serif;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-black, #333A3A);
    background-color:rgba(235, 245, 255, 1);
    line-height: 1.8;
    min-height: 100vh;  
    display: flex;  
    flex-direction: column;
}


img {
    max-width: 100%;
    height: auto;
}

/* ================================
header
================================= */
.header {
    display: flex;
    width: 100%;
    /* max-width: 1400px; */
    height: auto;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    padding:  10px 2%;
    background-color: var(--primary-bland);
}

/*JSを使いfixedクラスが付与された際の設定*/
.header.fixed{
	position: fixed;/*fixedを設定して固定*/
    z-index: 999;/*最前面へ*/
    top:0;/*位置指定*/
    left:0;/*位置指定*/
}

.header img {  
    width: clamp(160px, 22vw, 280px); /* 画面幅に応じて可変 */  
    height: auto;
    padding-top: 5px;
}

.nav__list {
    display: flex;
    list-style: none;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav__list li a {
    display: block;
    text-decoration: none;
    color: var(--primary-white);
}

.nav__item {
    margin-left: 60px;
    font-size: 1.3rem;
}

.nav__item:nth-of-type(3) {
    padding-right: 17px;
    background-position: right 3px center;
    content: "";
    background-image: url(../../image/window.svg);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    display: inline-block;
}

/* 中心線から外に線が伸びる（下部） */
.nav__list li a {
    /* 線の基点とするためrelativeを指定 */
    position: relative;
}

.nav__list li.current a,
.nav__list li a:hover {
    color: var(--primary-white);
}

.nav__list li a::after {
    content: "";
    /* 絶対位置で線の位置を決める */
    position: absolute;
    bottom: -5px;
    left: 10%;
    /* 線の形状 */
    width: 80%;
    height: 1px;
    background: var(--primary-sub);
    /* アニメーションの指定 */
    transition: all .3s;
    transform: scale(0,1);
    transform-origin: center top;
}

.nav__list li.current a::after,
.nav__list li a:hover::after {
    transform: scale(1,1);
}

@media (max-width: 769px) {
    .body--lock {
        overflow: hidden;
        height: 100%;
    }

    .header__topic img {
        max-width: 200px;
        width: 100%;
    }

    .nav {
        background-color: var(--primary-bland);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.4s;
        /* z-index: -1; */
    }

    .nav__list {
        display: block;
        margin-top: 130px;
    }

    .nav__list li a {
        color: var(--primary-white);
    }

    .nav__item {
        margin-top: 50px;
        margin-left: 0px;
        font-size: 1.6rem;
        text-align: center;
    }

    .nav__item:nth-of-type(3) {
        margin-left: 50%;
        transform: translateX(-50%);
        padding-right: 20px;
        background-position: right 3px center;
        content: "";
        background-image: url(../../image/window.svg);
        background-size: 10px 10px;
        background-repeat: no-repeat;
        display: inline-block;
    }

    /* スマホメニューボタン */
    .sp__header {
        display: flex;
    }

    /* nac active表示 */
    .nav.active {
        transform: translateX(0);
    }

    /* ハンバーガーボタン */
    .header__btn {
        top: 5px;
        right: 40px;
        position: absolute;
        display: block;
        background-color: transparent;
        width: 24px;
        height: 24px;
        transition: all 0.4s;
        padding: 0;
    }

      /* 各ライン */  
    .header__btn .header__btn-line {    
        position: absolute;    
        left: 0;    
        width: 100%;    
        height: 2px;               
        /* 線の太さ */    
        background-color: var(--primary-white);    
        transition: transform 0.4s, opacity 0.4s, top 0.4s;  
    }

    .header__btn .header__btn-line:first-child {
        top: 8px;
    }

    .header__btn .header__btn-line:nth-child(2) {
        top: 16px;
    }

    .header__btn .header__btn-line:last-child {
        top: 24px;
    }

    /* Xになるアニメーション */
    .header__btn.active .header__btn-line:first-child {
        transform: rotate(45deg);
        top: 16px;
        right: 15px;
    }

    .header__btn.active .header__btn-line:nth-child(2) {
        opacity: 0;
    }

    .header__btn.active .header__btn-line:last-child {
        transform: rotate(-45deg);
        top: 16px;
        right: 15px;
    }

    /* メニュー下線 */
    .nav__list li a::after {
        display: none;
    }
}



/* ================================
footer
================================= */
.footer__menu {
    display: flex;
}

.footer__logo a img {
    width: 250px;
    height: auto;
}

.footer__menu li {
    margin-left: 40px;
    font-size: 1.6rem;
}

.sns {
    display: flex;
    margin-top: 20px;
}

.sns__item {
    margin-left: 80px;
}

.footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 7% 8%;
    border-top: 2px solid var(--primary-white);
}

.footer__menu-li:nth-of-type(2) {
    padding-right: 17px;
    background-position: right 3px center;
    content: "";
    background-image: url(../../image/window_bland.svg);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    display: inline-block;
}

@media (max-width: 769px) {
    .footer {
        display: block;
        padding: 7% 15px;
    }

    .footer__menu {
        display: block;
    }

    .footer__menu li {
        margin-left: 0px;
        margin-top: 20px;
        font-size: 1.6rem;
    }

    .sns__item {
        margin-left: 0px;
        margin-right: 40px;
        margin-top: 20px;
    }
}
/* common end */

/* ================================
mainVisual
================================= */
.block {
    margin-top: 150px;
}

body.is-landing #hero-wrap {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#header-img {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-image: url(../../image/pc_mainvisualre12.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


#main{
	/*下のかぶさるエリアの指定*/
	position: relative;
	z-index:1;
    background-color:rgba(235, 245, 255, 1);
    padding-bottom: 100px;
}


.mainVisual {
    position: fixed;
    top: 35%;
    right: 10%;
    z-index: -1;
}

.catchcopy {
    font-size: 3.8rem;
    margin-top: 10px;
    color: var(--primary-main);
}

.mainVisual img {
    width: 250px;
    height: auto;
}

.mainVisual p {
    font-family: "Noto Sans";
    font-size: 1.6rem;
    margin-top: 60px;
}

/*== 無限に波紋が広がる */

.btnripple2 {
    /*波紋の基点とするためrelativeを指定*/
	position: fixed;
    bottom: 3%;
    right: 3%;
    /*波紋の形状*/
	display:inline-block;
	background:var(--primary-bland);
	width:70px;
	height:70px;
	border-radius: 50%;
	color:#ccc;
    font-size: 1.4rem;
    outline: none;
    /*アニメーションの設定*/
    transition: all .3s;
    /* 中央寄せ */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* z-index: 1000; */
}

.btnripple2 span {
    display: block;
    line-height: 1.4;
}

/*hoverした際の背景色の設定*/
.btnripple2:hover {
	opacity: 0.5;
}

/*波形を2つ設定*/
.btnripple2::after,
.btnripple2::before {
    content: '';
    /*絶対配置で波形の位置を決める*/
    position: absolute;
    left: -25%;
    top: -25%;
    /*波形の形状*/
    border: 1px solid var(--primary-bland);
    width: 150%;
    height: 150%;
    border-radius: 50%;
    /*はじめは不透明*/
    opacity: 1;
    /*ループするアニメーションの設定*/
    animation:1s circleanime linear infinite;
}

/*波形の2つ目は0.5秒遅らせてアニメーション*/
.btnripple2::before {
    animation-delay:.5s; 
}

/*波形のアニメーション*/
@keyframes circleanime{
	0%{
	  transform: scale(0.68);
	}
	100%{
		transform: scale(1.2);
		opacity: 0;
	}
}


@media (max-width: 700px) {
    #header-img {
        background-image: url(../../image/sp_mainvisual3.webp);
    }
}

@media (max-width: 768px) {
    .mainVisual {
        position: fixed;
        top: 28%;
        left: 5%;
        right: 10px;
        z-index: -1;
    }

    .catchcopy {
        font-size: 2rem;
    }

    .mainVisual p {
        font-size: 1.2rem;
        margin-top: 45px;
    }

    .header__topic img {
        max-width: 200px;
        width: 100%;
    }

    .btnripple2 {
        width:55px;
        height:55px;
        font-size: 1.2rem;
    }
}


/* ================================
about
================================= */
.about {
    display: grid;
    grid-template-columns: 0.6fr 1.6fr 0.4fr;
    align-items: start;
    gap: clamp(16px, 4vw, 48px);
    padding: clamp(24px, 6vw, 80px);
    max-width: 1140px;
    margin: 0 auto;
}

.about__image1,
.about__image2 {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.about__image1 {  
    /* 必要なら最大高さを軽く制限 */  
    max-height: 316px;
}

.about__image2 {
    max-height: 248px;
    align-self: last baseline;
}

.about__des {
    display: grid;
    gap: clamp(12px, 2.2vw, 20px);
    margin: 0 auto;
}

.about__des h2 {
    color: var(--primary-main);
    font-size: 3.5rem;
    margin-bottom: 60px;
}

.about__des p {
    font-family: "Noto Sans";
    font-size: 1.7rem;
    margin-left: 5%;
}

.about__indent {
    display: inline-block;
    margin-left: 1.5em;
}

.yt-movie {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 8%;
}

.yt-movie iframe {  
    display: block;  
    width: 100%;  
    max-width: 650px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;  
    border: none;  
    border-radius: 8px;   
    box-shadow: 0 6px 24px rgba(0,0,0,.12); 
}

@media (max-width: 520px) {
    .main {
        padding: 0 5px;
    }

    .about {
        display: block;
        align-items: start;
        gap: clamp(16px, 4vw, 48px);
        padding: 24px 0 80px;
        max-width: 1140px;
        margin: 0 auto;
    }

    .about__image1 {  
        display: none;
    }

    .about__image2 {
        display: none;
    }

    .about__des h2 {
        color: var(--primary-main);
        font-size: 2.4rem;
        margin: 24px auto 60px;
    }

    .about__des p {
        font-size: 1.5rem;
        margin-left: 5%;
    }

}

@media (max-width: 800px) {
    .about__des h2 {
        color: var(--primary-main);
        font-size: 2.6rem;
        margin: 24px auto 60px;
    }

@media (max-width: 769px) {
    .yt-movie {
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 10px;
    }
}
}

/* ================================
howto
================================= */
.howto {
    padding: 0 8%;
}

.section__topic {
    margin-top: 70px;
    letter-spacing: 2px;
    font-size: 1.6rem;
    text-align: center;
    color: var(--primary-bland);
}

.section__topic span {
    font-size: 2.4rem;
    display: block;
    letter-spacing: 1px;
}

.howto__contents {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: clamp(12px, 3vw, 28px);
    max-width: 1140px;
    margin: 80px auto 0;
}

.howto__content:nth-of-type(2) {
    margin-top: 30px;
}

.howto__content:nth-of-type(3) {
    margin-top: 60px;
}

.howto__content p {
    font-family: "Noto Sans";
    font-size: 1.7rem;
    width: 95%;
} 

@media (max-width: 769px) {
    .howto {
        padding: 0;
    }

    .howto__contents {
        display: grid;
        grid-template-columns: 1fr; 
        justify-items: center;
        gap: clamp(12px, 3vw, 28px);
        max-width: 1140px;
        margin: 80px auto 0;
    }

    .howto__content {    
        /* 箱の最大幅を決めると“中央に並んだカード”に見えやすい */    
        width: 100%;    
        max-width: 350px;             
        /* 好みで 420–560px を目安に調整 */    
        justify-self: center;         
        /* 念のため個別でも中央へ */    
        text-align: left;             
        /* ← テキストは左詰め */  
    }  
    /* 段落の左右マージンが気になる場合（はみ出し防止・揃え） */  
    .howto__content p {    
        width: 100%;                  
        /* 95% が不揃いに見えるなら 100% に */    
        margin: 0;                    
        /* 余白は親の padding/gap で調整 */  
    }

}

/* ================================
contact
================================= */
.contact {
    padding: 5px 8%;
    background-image: url(../../image/contact_background2.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: 150px;
}


.contact p {
    font-family: "Noto Sans";
    text-align: center;
    margin-top: 10px;
}

.contact__btns {
    display: flex;
    gap: 40px;
    justify-content: center;
    position: relative;
    bottom: -60px;
}

.contact__btns a {
    max-width: 500px;
    width: 100%;
}

.btn {
    display: block;
    padding: 40px 80px;
    border-radius: 10px;
    font-size: 1.8rem;
    text-align: center;
}

.btn__contact {
    background-color: var(--primary-white);
    color: var(--primary-bland);
    border: 1px solid var(--primary-bland);
    transition: all 0.3s;
}

.btn__contact:hover {
    background-color: var(--primary-bland);
    color: var(--primary-white);
}

.btn__contact::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../../image/mail_icon-bland.svg') no-repeat center;
  background-size: contain;
  margin-right: 8px; /* テキストとの間隔 */
  transition: all 0.3s;
}

.btn__contact:hover::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../../image/mail_icon.svg') no-repeat center;
  background-size: contain;
  margin-right: 8px; /* テキストとの間隔 */
}


.btn__download {
    background-color: var(--primary-bland);
    color: var(--primary-white);
    border: 1px solid var(--primary-bland);
    transition: all 0.3s;
}

.btn__download:hover {
    background-color: var(--primary-white);
    color: var(--primary-bland);
}

.btn__download::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../../image/download_icon.svg') no-repeat center;
    background-size: contain;
    margin-right: 8px; /* テキストとの間隔 */
    transition: all 0.3s;
}

.btn__download:hover:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../../image/download_icon-bland.svg') no-repeat center;
    background-size: contain;
    margin-right: 8px; /* テキストとの間隔 */
}

@media screen and (max-width:769px){
    .contact__btns {
        display: block;
    }

    .btn__download {
        margin-top: 30px;
    }
}

/* ================================
feature
================================= */
.feature {
    margin-top: 200px;
}

#wrapper {
    margin-top: 70px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

#fixed-area {
    /* 左固定記述 */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    /* 横半分50％　縦を100vhにする */
    width: 50%;
    height: 100vh;
}

#fixed-area img {  
    display: block;      
    /* インライン隙間を消す */  
    width: 100%;  
    height: 100%;  
    object-fit: cover;   
    /* 縦横比を保ったまま全面をカバー（トリミングあり） */
}

/* 右エリア */
#feature__container {
    /* 横半分50%にする */
    width: 50%;
}

#fixed-area > div {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity .5s ease;
}

.fixed-area__src1 {
    background-image: url(../../image/pc_featureright1-4.webp);
}

.fixed-area__src2 {
    background-image: url(../../image/pc_featureright2-2.webp);
}
.fixed-area__src3 {
    background-image: url(../../image/pc_featureright3-3.webp);
}

.feature__content {
    margin-top: 80px;
    padding: 70px 7%;
}

.feature__content:first-of-type {
    margin-top: 20px;
}

.feature__content h3 {
    font-size: 3.8rem;
    color: var(--primary-main);
}

.feature__content-number {
    font-family: "Shippori Mincho", serif;
    letter-spacing: 1px;
    color: var(--primary-main);
    font-size: 1.2rem;
    position: relative;
    padding-left: 15px;
}

.feature__content-number::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 10px;
    height: 1px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-main);
}

.feature__content p {
    font-family:"Noto Sans";
    color: var(--primary-black);
    font-size: 1.5rem;
    margin-top: 46px;
}

.feature__content img {
    display: block;
    margin: 40px auto 0;
}


@media screen and (max-width:769px){
    #wrapper{
        display: block;/*display:flex;を解除*/
    }
    #fixed-area{
        position:relative!important;/*position stickyを解除*/
        width:100%;/*横幅を100%にして1列に見せる*/
        height: 40vh;/*縦幅を100vh⇒40vh　※任意の高さに設定可能*/
    }
    #feature__container{
        width:100%;/*横幅を100%にして1列に見せる*/
    }

    .feature__content {
        margin-top: 0px;
        padding: 70px 7%;
    }
}

/* ================================
use case
================================= */
.usecase__contents {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 30px 8%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 80px;
    place-items: center;
}

.flipY {
    position: relative;
    display: inline-block;
}

.flipY img {
    display: block;
    width: auto;
    max-width: 100%;
    transition: all 0.35s ease;
    backface-visibility: hidden;
}

.flipY:hover img {
    transform: rotateY(-180deg);
    opacity: 0;
}

.flipY span.cap {
    position: absolute;
    inset: 0;
    transition: all 0.35s ease;
    transform: rotateY(90deg);
    transform-origin: 50% 0%;
    opacity: 0;
    background: rgba(0, 129, 221, 0.5);
    border-radius: 20px;
    color: var(--primary-white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.flipY:hover span.cap {
    transform: rotateY(0);
    opacity: 1;
    transition-delay: 0.15s;
}

@media screen and (max-width:769px) {
    .usecase__contents {
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
        padding: 30px 8%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 80px;
        place-items: center;
    }
}

/* ================================
voice
================================= */
.voice {
    margin-top: 150px;
    position: relative;
    background-image: url(../../image/pc_voiceImage.webp);
    background-repeat: no-repeat;
}

.voice__content {
    background-color: var(--primary-white);
    padding: 40px;
    width: 500px;
    font-size: 1.6rem;
    border-radius: 5px;
    margin: 50px 10px;
    width: 350px;
}

.voice__content-name {
    margin-top: 20px;
    text-align: right;
}

/* 矢印の色・サイズ */
.voice__contents .slick-prev:before,
.voice__contents .slick-next:before {
    color: gray;        /* 好きな色に（例：青） */
    font-size: 28px;       /* 大きさ（デフォは20px） */
    opacity: 1;            /* slick-theme.cssでは0.75なので上書き */
}

/* 矢印ボタン自体の位置調整（必要に応じて） */
.voice__contents .slick-prev {
    left: 10px;            /* 左矢印の位置 */
    z-index: 2;
}
.voice__contents .slick-next {
    right: 10px;           /* 右矢印の位置 */
    z-index: 2;
}

@media screen and (max-width:769px) {
    .voice {
        margin-top: 0px;
        position: relative;
        background-repeat: no-repeat;
        background-position: top left;
        background-size: 175px;
    }
}

/* ================================
q&a
================================= */
.faq {
    margin-top: 180px;
}

.accordion-area {
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-area li {
    margin: 20px 0;
    
}

.accordion-area section {
    background-color: var(--primary-white);
    border-radius: 10px;
}

/* アコーディオンタイトル */
.title {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    margin: 0;
    position: relative;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: normal;
    padding: 3% 7% 3% 50px;
    transition: all .5s ease;
}

.title::before,
.title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #333;
}

.title::before {
    top: 48%;
    right: 20px;
    transform: rotate(0deg);
}

.title::after {
    top: 48%;
    right: 20px;
    transform: rotate(90deg);
}

/* closeというクラスがついたら形状変化 */
.title.close::before {
    transform: rotate(0deg);
}

.title.close::after {
    transform: rotate(180deg);
}

/* アコーディオンで現れるエリア */
.box {
    display: none; 
    font-size: 1.6rem;
    /* はじめは非表示 */
    margin: 0 3% 3% 3%;
    padding: 3%;
}

.box p {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    margin: 0;
}

.qa-label {  
    transform: translateY(-2px);
    display: inline-flex;  
    align-items: center;  
    justify-content: center;  
    font-size: 2rem;  
    font-weight: 600;  
    margin-right: 0.6em;  
    line-height: 1.8;  
    vertical-align: middle;
}

.qa-label.q {
    color: var(--primary-main);  
}

.qa-label.a {
    color: brown;  
}

@media screen and (max-width:769px) {
    .title {
        display: flex;
        align-items: flex-start;
        gap: 0.6em;
        margin: 0;
        position: relative;
        cursor: pointer;
        font-size: 1.6rem;
        font-weight: normal;
        padding: 3% 15% 3% 4%;
        transition: all .5s ease;
    }
}

/* ================================
flow
================================= */
.flow {
    padding: 0 8%;
}

.flow__txt {
    font-family: "Noto Sans";
    text-align: center;
    margin-top: 30px;
}

.flow__list {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.flow__content {
    margin-top: 25px;
}

.flow__item {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    max-width: 200px;
    width: 100%;
    height: 150px;
}

.flow__item1 {
    background-image: url(../../image/step1.webp);
    background-repeat: no-repeat;
    background-size: contain;
}

.flow__item2 {
    background-image: url(../../image/step2.webp);
    background-repeat: no-repeat;
    background-size: contain;
}

.flow__item3 {
    background-image: url(../../image/step3.webp);
    background-repeat: no-repeat;
    background-size: contain;
}

.flow__title {
    font-size: 1.6rem;
    font-family: "Noto-Sans";
}

.flow__number {
    font-size: 1.2rem;
    position: relative;
    color: var(--primary-main);
    padding-left: 16px;
    letter-spacing: 0.5px;
}

.flow__number::before {
    content: "●";
    color: var(--primary-main);
    position: absolute;
    top: -2px;
    left: 0px;
}




@media screen and (max-width: 769px) {

  /* コンテナの左右余白（任意） */
  .flow {
    padding: 0 15px; /* 既存の 0 8% をスマホ向けに少し縮める */
  }

  /* リストは縦並びに */
  .flow__list {
    display: block;    /* flex → block にして縦積み */
    margin-top: 24px;  /* 少し詰める（任意） */
  }

  /* 各項目のボックス（白背景、角丸、縦中央揃え） */
  .flow__item {
    /* フレックスで中身を縦中央＆左寄せ */
    display: flex;
    height: 80px;
    align-items: center;         /* ← 縦方向の中央揃え */
    justify-content: flex-start; /* ← 横方向は左寄せ */

    /* ボックス見た目 */
    width: 100%;
    max-width: none;
    min-height: 72px;            /* 中身に応じて伸びる前提。固定にしたいなら height: 72px; */
    padding: 0 16px;             /* 左右の内側余白 */
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); /* 任意の薄い影 */
    margin-top: 16px;            /* 項目間の間隔 */

    /* PCの column 設定を上書き（縦並びを解除） */
    flex-direction: row;
  }

  /* 背景画像はスマホではオフ */
  .flow__item1,
  .flow__item2,
  .flow__item3 {
    background-image: none !important;
    background-repeat: initial;
    background-size: initial;
  }

  /* 中身ラッパー：縦中央＆左寄せ。余計な上マージンを消す */
  .flow__content {
    display: flex;
    align-items: center;         /* ← 縦中央 */
    justify-content: flex-start; /* ← 左寄せ */
    gap: 10px;                   /* STEP番号とタイトルの間隔 */
    width: 100%;
    margin-top: 0;               /* 既存の 40px をリセット（これが“下に広めの余白”の一因） */
    text-align: left;
  }

  .flow__title-br {
    display: none;
  }

  .flow__txt {
    text-align: left;
  }
}

/* ===========================
contact2
============================ */
.contact2 {
    margin-bottom: 50px;
}


/* ===========================
topics
============================ */

.topics__main {
    padding: 0px 8% 70px;
}

.main__ttl {
    font-size: 6.4rem;
    text-transform: uppercase;
    color: var(--primary-main);
}

.main__ttl::before {
    content: '';
    display: block;
    width: 100%;
    border: 1px solid var(--primary-main);
}


.news-pagination .pagination-icon {
  width: 20px;
  height: 20px;
}

/* 前へアイコンを反転 */
.news-pagination .icon-prev {
  transform: rotate(180deg);
}


.layout {
    height: auto;
    overflow: visible;
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 48px;
}

.posts {
    display: grid;
    gap: 28px;
}

.post {
    border-bottom: 1px solid var(--primary-main);
    padding-bottom: 20px;
}

.post__link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.post__thumb {
    width: 100px;
    height: 100px;
    margin: 0;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post__meta-top {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 1rem;
}

.post__category {
    color: var(--primary-main);
}

.post__date {
    color: var(--primary-main);
}

.post__title {  
    font-size: 1.6rem;  
    line-height: 1.7;  
    margin: 0;  
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* 丸矢印ボタン */
.post__arrow {  
    width: 28px;  
    height: 28px;  
}

/* サイドバー */.sidebar__box {  
    background: #fff;  
    border: 1px solid var(--line);  
    border-radius: 8px;  
    padding: 16px 18px;
}

.sidebar__title {  
    font-size: 1rem;  
    margin: 0 0 12px;  
    padding-bottom: 10px;  
    border-bottom: 1px solid var(--line);  
    color: var(--text-sub);
}

.sidebar__list {  
    list-style: none;  
    margin: 0;  
    padding: 0;
}

.sidebar__list li + li {  
    margin-top: 10px;
}

.sidebar__list a {  
    color: var(--text-main);  
    text-decoration: none;
}

.sidebar__list a:hover {  
    color: var(--primary-main);
}

/* 細い区切り線を右側へ長めに見せたい（任意演出） */
.post {  
    position: relative;
}

.post::after {  
    content: "";  
    position: absolute;  
    right: 0;  
    left: calc(var(--thumb-size) + var(--gap-col)); 
    /* 画像の右から線を引く */  
    bottom: 0;  
    height: 1px;  
    background: var(--line);  
    pointer-events: none;
}

.sidebar__title::after {
    display: inline-block;
    content: "";
    width: 100%;
    border: 1px solid var(--primary-sub);
}


/* ページネーション全体のベース */
.news-pagination {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.6rem;          /* 全体の文字サイズ（ページ番号に適用） */
    padding: 56px 0 48px;
    justify-content: center;
    color: var(--primary-main);
}

/* paginate_links() が出すリンクとスパン */
.news-pagination a.page-numbers,
.news-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;          /* 丸みの見た目に安定感 */
    height: 2rem;
    padding: 0 .5rem;
    border-radius: 6px;
    font-size: 16px;          /* ページ番号の文字サイズを直接指定 */
    line-height: 1;
    color: var(--primary-main);              /* ページ番号の通常色 */
    text-decoration: none;
}

/* ホバー時の色・背景 */
.news-pagination a.page-numbers:hover {
    opacity: 0.5;       /* ホバー時の文字色 */
}

/* 現在ページ（数字）は <span class="page-numbers current"> で出ます */
.news-pagination .page-numbers.current {
    color: #fff;              /* 現在ページの文字色 */
    background-color: var(--primary-main);/* 現在ページの背景色（ブランドに合わせて調整） */
    font-weight: 600;
    border-radius: 50%;
}

/* 「前へ」「次へ」のリンク（画像のみでも押しやすく） */
.news-pagination a.prev,
.news-pagination a.next {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .375rem .625rem;
    color: #0078d4;           /* 前へ・次へのリンク色 */
}

/* ホバー時 */
.news-pagination a.prev:hover,
.news-pagination a.next:hover {
    color: #005a9e;           /* 濃いめに */
    background-color: #eef6ff;
}

/* アイコン画像のサイズ（あなたの PNG に合わせて） */
.news-pagination .pagination-icon {
    width: 20px;
    height: 20px;
}

/* 同一画像を前へで反転（左向きに） */
.news-pagination .icon-prev {
    transform: rotate(180deg);
}

/* スクリーンリーダー用テキストは見えないまま（テーマに既にあるなら不要） */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    border: 0;
}


@media (max-width: 900px) {  
    .layout {    
        grid-template-columns: 1fr; 
        /* 1カラムに */    
        gap: 32px;  
    }

    .post__link {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        text-decoration: none;
        color: inherit;
        gap: 12px;
    }

    .post__thumb {
        width: 80px;
        height: 80px;
        margin: 0;
        overflow: hidden;
        border-radius: 5px;
    }

    /* 丸矢印ボタン */
    .post__arrow {  
        width: 18px;  
        height: 18px;  
    }

    .post__title {  
        font-size: 1.4rem;  
    }

    .main__ttl {
        font-size: 4rem;
        text-transform: uppercase;
        color: var(--primary-main);
    }
} 

/* ============================
topics__page
============================= */
.topics__category {
    display: inline-block;
    font-size: 1.3rem;
    padding: 8px 20px;
    background-color: var(--primary-main);
    color: var(--primary-white);
    border-radius: 30px;
}

.topics__content-ttl {
    font-size: 3rem;
}

.topics__content-ttl::after {
    content: '';
    display: block;
    width: 100%;
    border: 1px solid rgba(220, 220, 220, 0.8);
}

.topics__content {
    margin-top: 30px;
}

.topics__content h2 {  
    font-size:2.4rem;  
    font-weight: 700;  
    color: #333;  /* 下線装飾 */  
    border-bottom: 2px solid rgba(200, 200, 200, 0.8); /* 薄めのグレー */  padding-bottom: .4em;  
    margin: 2em 0 .8em;
}

.topics__content h2::before {
    content: '';
    display: block;
    width: 100%;
    border: 1px solid var(--primary-main);
    margin: 1.6em 0 .5em;
}

.topics__content img {
    margin-top: 30px;
}

/* 前の記事、次の記事 */

/* 全体の並び（2枚横並び） */
.adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

/* カード本体 */
.adjacent-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow .2s ease, transform .06s ease;
}

.adjacent-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* 内側レイアウト */
.adjacent-card__inner {
  display: grid;
  grid-template-columns: 160px 1fr; /* 画像と本文 */
  gap: 16px;
  padding: 16px;
}

/* 画像領域 */
.adjacent-card__media {
  position: relative;
}

.adjacent-card__thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* サムネイルが無い時のプレースホルダー */
.adjacent-card__thumb--placeholder {
  background: rgba(220,220,220,0.6);
  border: 1px solid rgba(200,200,200,1);
  width: 100%;
  height: 120px;
  border-radius: 6px;
}

/* カテゴリバッジ（画像右上） */
.adjacent-card__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 12px;
  color: var(--primary-white);
  background: var(--primary-main);
  padding: .2em .6em;
  border-radius: 20px;
}

/* 本文側 */
.adjacent-card__label {
  display: inline-block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.adjacent-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  margin: 0 0 8px;
}

.adjacent-card__date {
  font-size: 13px;
  color: #777;
}

/* 右カードの整え（必要なら左右で違いを出す） */
.adjacent-card--right .adjacent-card__label::after {
  content: '';
}

/* レスポンシブ */
@media (max-width: 768px) {
  .adjacent {
    grid-template-columns: 1fr; /* 縦並び */
    gap: 16px;
  }
  .adjacent-card__inner {
    grid-template-columns: 1fr; /* 画像→本文の縦並び */
  }
  .adjacent-card__thumb {
    height: 180px;
  }
}



/* ===========================
terms
============================ */
.main__terms {
    padding: 20px 8%;
}


.main__terms ul {
    font-size: 1.6rem;
}

h2 {
    margin-top: 50px;
    font-size: 2.4rem;
    font-weight: 500;
}

main p {
    font-size: 1.6rem;
}

.clause {
    margin-top: 40px;
}

.appendix {
    margin-top: 50px;
}

.clause ol {
    text-indent: -1em;
    padding-left: 1em;
}

.clause__ttl {
    font-weight: 700;
    font-size: 2rem;
}

.main__terms {
    margin-bottom: 100px;
}

.policy {
    color: var(--primary-main);
}

.policy:hover {
    border-bottom: 1px solid var(--primary-main);
}

@media (max-width: 769px) {
    main ul {
        font-size: 1.4rem;
    }

    h2 {
        margin-top: 50px;
        font-size: 2rem;
    }

    main p {
        font-size: 1.4rem;
    }

    .clause {
        margin-top: 40px;
    }

    .clause__ttl {
        font-size: 1.8rem;
    }
}



/* =========================
Contact
========================== */
.main__contact {
    padding: 20px 8%;
}

.contact__txt {
    max-width: 1140px;
    font-size: 1.6rem;
    margin: 40px auto 0;
}

#formWrap {
  width: 100%;
  margin: 0 auto;
  line-height: 1.2;
  font-size: 1.4rem; /* 90% of 16px = 14.4px */
}

table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

table.formTable th,
table.formTable td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
}

table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}

form input[type="submit"],
form input[type="reset"],
form input[type="button"] {
  display: block;
  width: 100%;
  height: 40px;
  background-color: var(--primary-main);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
}

form input[type="checkbox"]{
	width: 20px;
	height: 20px;
	border: 1px solid #DDD;
  margin-right: 2px;
}

form .privacy label span{
	position: relative;
	display: inline-block;
}

form .privacy label span::before,
form .privacy label span::after{
	position: absolute;
	left: 50%;
	bottom: 3px;
	margin-left: -2px;
	display: block;
	content: "";
	width: 2px;
	background:  var(--primary-black);
	transform-origin: center bottom;
	opacity: 0;
}

form .privacy label span::before{
	height: 15px;
	transform:  rotate(30deg);
}

form .privacy label span::after{
	height: 10px;
	transform:  rotate(-30deg);
}

form .privacy label span:has(input[type="checkbox"]:checked)::before,
form .privacy label span:has(input[type="checkbox"]:checked)::after{
	opacity:1;
}

.form-container {
  max-width: 600px;
  width: 100%;
  margin: 40px auto;
  padding: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  height: auto;
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 40px;
  border: none;
  border-radius: 3px;
  background-color: var(--primary-white);
  font-size: 14px;
}

label::before {    
  content: "必須";    
  color: red;   
  margin-right: 4px;
  border: 1px solid red;
  border-radius: 10px;
  font-size: 1rem;
  padding: 2px 6px;
}


label.no-mark::before {
  display: none;    
}

textarea {
  resize: none;
}

.privacy {
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.privacy p {
  margin: 8px 0;
}

.submit__btn {
  display: block;
  margin: 30px auto 0;
  padding: 20px 80px;
  font-size: 16px;
  color: var(--primary-main);
  background-color: transparent;
  border: 1px solid var(--primary-main);
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

.submit__btn:hover {
  background-color: var(--primary-main);
  color: #fff;
}

#submitButton:disabled {  
  background-color: #ccc; /* グレー */  
  color: #666;  
  opacity: 0.5; /* 半透明 */  
  cursor: not-allowed;
}


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

.privacy p {
  margin-top: 20px;
}

@media (max-width: 769px) {
  .contact__txt {
    max-width: 1140px;
    font-size: 1.4rem;
    margin: 40px auto 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    width: 100%;
    height: auto;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 40px;
    border: none;
    border-radius: 3px;
    background-color: var(--primary-white);
    font-size: 14px;
  }
}
