.page-id-23 .wp-block-post-title {
display: none !important;
}

.wrapper {
  max-width: 960px;
  margin: 1% auto;
  padding: 0 20px;
  box-sizing: border-box;
}

html, body {
    width: 100%;
}

.section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0;
}

.section-title span {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 1.3vw;
    font-weight: bold;
    color: #fff;
    background-color: transparent;
    text-align: center;
}

.faq-title {
    font-size: 2.5vw;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.section {
    padding: 0px 20px;
    text-align: center;
}

h2.sys {
    color:#fff;
    font-size: 3vw;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.price-container{
    border-radius: 10px;
    margin: auto;
    max-width: 1000px;
    padding: 30px 0 6px 0;
}

.price-container2{
    border-radius: 10px;
    margin: auto;
    max-width: 80%;
}

h2.faq{
    color:#fff;
}

.faq-section{
    margin-top: 15%;
    margin-bottom: 5%;
}

.price-box {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* 画面右下に固定表示するCTAボタン（画像のみ） */
#ctabtn {
    position: fixed;
    right: -3%;
    bottom: 15%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctabtn__button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: box-shadow 0.2s, transform 0.1s;
    text-decoration: none;
}

.ctabtn__text {
    display: none;
}

.ctabtn__button:hover,
.ctabtn__button:focus {
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    transform: translateY(-2px) scale(1.05);
}
.ctabtn__img {
    display: block;
    width: 80%;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    object-fit: cover;
    transition: box-shadow 0.2s;
}

.price-card {
    flex-shrink: 0;
    background: #fff;
    padding: 50px;
}

.price-card2 {
    flex-shrink: 0;
}

.kihon{
    font-size:30px;
    color: #000;
}
.kakin{
    font-size:1.5vw;
    color: #fff;
}

.kakin-s{
    font-size:20px;
    color: #ff4040;
    font-weight:bold;
}

.highlight {
    color: red;
    font-weight: bold;
    font-size: 35px !important;
    
}

.btn {
    background: red;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

/* QA */

.faq-title{
    font-size: 1.5vw;
    font-weight: bold;
    text-align: center;
}

.faq-item {
    max-width: 85%;
    color: black;
    margin: auto;
}

.faq-question {
  display: flex;
  align-items: flex-start; /* ← テキストを上寄せに（必要なら） */
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: bold;
  color: white;
  border-bottom: 1px solid #444;
  cursor: pointer;
  text-align: left;
}

.faq-more-link a {
    max-width: fit-content;
    display: flex;
    padding: 12px 40px;
    border: 2px solid #ff4040;
    border-radius: 9999px;
    color: #ff4040;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: .3s;
    margin: 2% auto;
}

.faq-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;     /* ← Qとテキストを上寄せ */
  flex: 1;
  gap: 10px;
  text-align: left;
}

.q-label {
  color: #ff4040;
  font-weight: bold;
  flex-shrink: 0;
}

.question-text {
    color: #000 !important;
 font-size: 18px !important;
  flex: 1;
  text-align: left; /* ← 左寄せ */
  line-height: 1.6;
	margin-bottom: 10px !important;
}

.symbol {
  font-size: 24px;
  color: #ff4040;
  font-weight: bold;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-question .q-label {
  color: #ff4040;
  margin-right: 12px;
}

.faq-question .symbol {
  font-size: 20px;
  color: #ff4040;
  transition: transform 0.3s ease;
}

.faq-question.active .symbol {
  transform: rotate(45deg);
}

.faq-answer {
	font-size:16px !important;
  color: #000 !important;
  display: none;
  line-height: 1.6;
  background: none;
  max-height: 100%;
}

.spv{
    display: none
}

.faq-answer a{
 color:#fff;
}

.section-qlabel{
    margin-top: 15%;
    max-width: fit-content;
    border: 1px solid white;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 3.5vw;
    margin: 2% auto;
    text-align: center;
}

.faq-tabs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.faq-tabs li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  font-size: 16px;
}

.faq-tabs li a.active::after {
  content: "";
  display: block;
  height: 2px;
/*   background: #ff4040; */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.faq-tabs li a:hover {
  text-decoration: underline;
}




/* スマホ用アコーディオン */
.faq-accordion {
  display: none;
  flex-direction: column;
  gap: 8px;
}



.accordion-btn {
    width: 100%;
    max-width: 540px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ff4040;
    color: white;
    text-align: left;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: background 0.3s ease;
	position: relative;
}


.accordion-btn a{
	color:#fff;
	text-decoration: none;
}

.accordion-panel {
  display: none;
  background: #f9f9f9;
  padding: 10px 16px;
  border-radius: 0 0 6px 6px;
}

.accordion-panel a {
  color: #111;
  text-decoration: none;
}

.btn-red-outline:hover {
/*   opacity: 0.6;  */
	background:#fff;
}

.btn-red:hover {
  background: #000;
	border: 2px solid #ff4040;
}


/* TIPSスライド */
.ptips-more-link{
    text-align:center;
    margin-top: 40px;
    
}
.ptips-more-link a{
        display: inline-block;
        padding: 12px 75px !important;
        border: 2px solid #ff4040;
        border-radius: 9999px;
        color: #ff4040;
        font-weight: bold;
        font-size: 16px;
        text-decoration: none;
        transition: 0.3s;
    
    
}

.ptips-label {
        display: inline-block;
        border: 1px solid white;
        border-radius: 20px;
        padding: 6px 20px;
        font-size: 1.5vw;
        margin-bottom: 20px;
    text-align:center !important;
    
}
.tips-price {
    max-width: 1000px;
    width: 100%;
    padding: 60px 20px;
    background:transform !important;
    text-align:center;
}
.four-items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.section-plead{
    margin: 40px 0;
    text-align: center;
    font-size: 1.5vw;
}

.ptips-title{
    font-size: 3vw;
    font-weight: bold;
}

.ptips-title span{
            color: #ff4040;
}

.item {
    flex: 1 1 calc(25% - 20px);
    text-align: center;
    background: #fff;
    border-radius: 2vw;
}

.item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 2vw 2vw 0 0;
}

.item h2{
    font-size:25px !important;
    color:#000 !important;
}
.item a{
    color:#fff;
    text-decoration: underline !important;
    color:#000 !important;
}

.item p{
    text-align:left;
    padding-bottom: 10px;
    font-size: 14px;
    color:#000 !important;
    padding: 10px;
}

/* CTA */

.mail-sec {
    background: url(http://www.brainaegis.com/www/wp/wp-content/uploads/2025/06/aegis_04-1.png) no-repeat;
    background-size: 100%;
    padding: 4% 0 2% 0;
    text-align: center;
    position: relative;
    color: #fff;
    max-width: 85%;
    margin: auto;
}

.mail-sec .mail_tit {
    letter-spacing: 2px;
    font-size: 3vw;
    text-align: center;
    font-weight: bold;
}

.mail-sec .mail_txt {
    font-size: 1.5vw;
    text-align: center;
    padding: 0 0 1% 0;
}

.mail-sec .mail_tele {
    color: #fff;
    padding: 1% 4%;
}

.mail-sec .mail_tele .btn {
    display: block;
    cursor: pointer;
    background: #ff3c46;
    border: none;
    color: white;
    padding: 1% 0% 1% 0%;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    width: 50%;
    margin: 1% 25%;
}

.mail-sec .mail_tele .btn2 {
    display: block;
    cursor: pointer;
    color: #fff;
    padding: 1% 0% 1% 0%;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #ff3c46;
    border-radius: 50px;
    width: 50%;
    margin: 1% 25%;
}

.mail-sec .mail_tele .btn li {
    width: 49%;
    margin-right: 2%;
}

.mail-sec .mail_tele .btn li:nth-child(2n) {
    margin-right: 0;
}

.scroll-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 16px;
    font-size: 18px;
    background-color: #ff4040;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
}

@media (max-width: 768px) {
	.faq-nav{
		padding: 0 1px;
	}
	
	.faq-tabs.desktop {
    display: none;
  }
  .faq-accordion.mobile {
    display: flex;
  }
	
.category-header img{
		margin:auto;
	}
}
    
@media screen and (max-width: 640px) {
    .wrapper {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 0px;
        box-sizing: border-box;
    }
    
    .faq-more-link a{
        font-size: 11px;
    }
    

    .tips-price {
        text-align: center;
        padding:0;
    }
    
    #ctabtn {
        right: -12%;
        bottom: 10%;
    }
    
    #ctabtn.minimized {
        bottom: 10%; /* 位置調整 */
        right: 0px;
        width: auto;
        height: auto;
        z-index: 9999;
    }
    
    #ctabtn.minimized .ctabtn__img {
        display: none;
    }
    
    #ctabtn.minimized .ctabtn__text {
        display: inline-block;
        background: #ff3c46;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        border-radius: 9px;
        padding: 10px 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        letter-spacing: 0.05em;
        writing-mode: vertical-rl;   /* ← これを追加 */
        text-orientation: mixed;     /* ← これも追加（日本語推奨） */
        line-height: 1.2;
    }
    
    #ctabtn.minimized .ctabtn__button {
        padding: 0;
        min-width: 0;
        min-height: 0;
    }
    
    .mail-sec .mail_tit {
        letter-spacing: 0px;
        font-size: 22px;
        padding: 2% 0;
    }
    
    
    .mail-sec .mail_txt {
        font-size: 15px;
        padding: 0 0 3% 0;
    }
    
    
    .mail-sec {
        background: none;
        padding: 4% 0 2% 0;
    }
    
    .mail-sec .mail_tele {
        padding: 5% 4%;
    }
    
    .mail-sec .mail_tele .btn {
        display: grid;
        width: 63%;
        margin: 0 auto;
        padding-bottom: 2%;
        font-size: 1rem;
    }
    
    
    .mail-sec .mail_tele .btn li {
        width: 100%;
        margin-right: 0%;
    }
    
    
    .ptips-label {
        display: inline-block;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 10px;
        border-radius: 9999px; 
        padding: 10px 30px;
        
    }
    
    .ptips-title {
        margin-left:0;
        margin-bottom:20px;
        font-size: 2vw;
    }
    
    .ptips-title span {
        display: block;
        font-weight: bold;
    }
    
    .section-plead {
    margin: 20px 0!important;
     margin-left: 0 !important;
        line-height: 1.5;
        font-size: 14px;
    }
    
    .four-items {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .four-items .item {
       background: #fff;
        border-radius: 8px;
        padding: 15px;
        text-align: left;
    }
    
    .four-items .item img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .four-items .item h2 {
        font-size: 16px;
        margin: 10px 0 5px;
    }
    
    .four-items .item p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .four-items .item a {
        font-size: 14px;
        color: #7ec9ff;
        display: inline-block;
        margin-top: 8px;
        text-decoration: none;
    }
    
    .ptips-more-link {
        margin-top: 30px;
    }
    
    .ptips-more-link a {
        font-size: 14px;
        color: #ff4040;
        text-decoration: underline;
    }
    
    .item {
        flex: 1 1 calc(30% - 20px);
    }
    body {
    overflow-x: hidden;
}
    .faq-section{
        padding: 60px 0px;
    }
    
    .kakin-s{
        font-size:21px !important;
    }
    
    .section-lead{
        font-size: 15px;
        line-height: 1.5;
    }
    
    .tips-section span {
        font-size: 34px;
}
.tips-price {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* 縦方向中央 */
    align-items: center;      /* 横方向中央 */
    text-align: center;
    padding: 40px 20px;
    min-height: 100vh;        /* 必要に応じて画面高さ */
    background-color: #000;   /* 黒背景（画像と同様） */
    color: #fff;
}
    
    h2.sys{
        font-size: 30px;
    }
    .highlight{
        font-size:28px !important;
    }
    .kihon{
        font-size: 25px;
    }
    .price-cta {
    background: #000; /* 背景が黒の場合 */
    padding: 40px 20px;
    text-align: center;
}
    
.price-cta-section {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .price-cta .price-cta-section {
        width: 90vw;
    }
    .price-cta .price-cta-section h2{
        font-size: 25px;
    }
    .price-cta .price-cta-section p{
        font-size: 13px;
    }
    
.mail_tit {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
    
.mail_txt {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}
    
.cta-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
}
    
.btn-red {
    display: inline-block;
    padding: 14px 32px;
    background-color: #ff4a4a;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 9999px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
}
    
.btn-red:hover {
    background-color: #e60033;
}
    
    
    .itiran{
                padding: 0px 20px;
    }
    
    .table-scroll {
        -webkit-overflow-scrolling: touch;
                overflow-x: auto;
                white-space: nowrap;
                width: 80vw;
                display: inline-block;
    }
    
    .itiran table.pricing-table {
        min-width: 700px !important;  /* 表の幅を確保して横スクロール可能にする */
    }
    
    
    
.tips-title {
font-size: 28px;
}
    
    
.tip-card {
width: 100%;
}
    
.tips-section span {
    font-size:40px !important;
}
    
    .example-section{
                padding: 60px 0px;
    }
    h2.faq-title{
        margin-top: 0px !important;
    }
    .faq-title{
        padding-top: 10px;
    }
    
    .faq-question {
        flex-wrap: wrap;
        gap: 10px;
    }
    .question-text {
        font-size: 14px;
    }
    .toggle-icon {
        font-size: 18px;
    }
    .price-box {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center;
        text-align: center;
    }
    
    .price-card {
        width: 60% !important;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .plus-symbol {
        font-size: 28px;
        margin: 0;
    }
    .price-container{
        padding:10px;
    }
    
    .section{
            padding: 0px;
    }
    p.k-riyou{
        font-size: 17px;
    }
    .section-title{
        margin: 0 !important;
    }
    .faq-more-link a{
        padding: 12px 25px;
    }
    
    .example-section h2{
        margin-top: 90px;
    }
    
    :root :where(.is-layout-flow) > :last-child{
        margin: 0 -25px;
    }
    
    .faq-item {
  border: 1px solid #444;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  border: none;
}

.faq-answer {
  padding: 20px;
  display: none;
}
	
.question-text{
		font-size:14px !important;
	}
	
	.accordion-btn {
  display: block;
  width: 100%;
  background-color: #f15a5a;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: background 0.3s;
}

.accordion-btn:hover {
  background-color: #d94848;
}
.faq-accordion.mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  text-align: center;
}
	
	.q-label{
		margin-top: 3px;
    margin-left: 10px;
	}
	.symbol{
		   margin-right: 10px;
	}
}