/* c3（2026-11-05）：全ページ共通の手直し。c2.css の後に読む
   1. よくある質問（Akane「ダサい。余白も変。内容はそのまま」）：2列の箱をやめて、1列の細い線の一覧に
   2. 受付の箱と「AK留学の歴史」の見た目を、トップ以外のページでもトップとそろえる */

/* 1. よくある質問 */
.elementor-element-8d1aecf{padding:88px 20px !important}
.elementor-element-8d1aecf > .elementor-container{max-width:820px !important}
.elementor-element-8d1aecf .elementor-element-387e481,.elementor-element-8d1aecf .elementor-element-387e481 .elementor-widget-container{margin:0 0 30px !important;padding:0 !important;text-align:center}
.elementor-element-8d1aecf .elementor-element-387e481 p{margin:0 !important;font-family:"Helvetica Neue",Helvetica,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",YuGothic,Meiryo,sans-serif !important;font-size:clamp(25px,3vw,34px) !important;font-weight:800 !important;line-height:1.45 !important;letter-spacing:.04em !important;color:#3c3531 !important}
.elementor-element-8d1aecf .elementor-element-387e481 p::before{content:"FAQ";display:block !important;position:static !important;width:auto !important;height:auto !important;background:none !important;border:0 !important;margin:0 0 10px;font-size:12.5px;font-weight:700;letter-spacing:.18em;color:#FF5F50}
.elementor-element-8d1aecf .elementor-element-387e481 p::after{display:none !important}
/* 2列 → 1列 */
.elementor-element-493d738a > .elementor-container{display:block !important}
.elementor-element-493d738a .elementor-column{width:100% !important;max-width:100% !important}
.elementor-element-493d738a .elementor-widget-wrap{padding:0 !important}
.elementor-element-493d738a .elementor-widget,.elementor-element-493d738a .elementor-widget-container{margin:0 !important;padding:0 !important}
.elementor-element-8d1aecf .bdt-ep-accordion{margin:0 !important;background:transparent !important}
/* 1つの問い */
.elementor-element-8d1aecf .bdt-ep-accordion-item{margin:0 !important;padding:0 !important;background:transparent !important;border:0 !important;border-top:1px solid #e9e1da !important;border-radius:0 !important;box-shadow:none !important;overflow:visible !important}
.elementor-element-617312e1 .bdt-ep-accordion-item:last-child{border-bottom:1px solid #e9e1da !important}
.elementor-element-8d1aecf .bdt-ep-accordion-title{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;gap:16px;margin:0 !important;padding:22px 4px !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;cursor:pointer}
.elementor-element-8d1aecf .bdt-ep-title-text{order:1;flex:1 1 auto;display:flex !important;align-items:baseline;font-family:"Helvetica Neue",Helvetica,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",YuGothic,Meiryo,sans-serif !important;font-size:16px !important;font-weight:700 !important;line-height:1.6 !important;letter-spacing:.03em !important;color:#3c3531 !important;transition:color .15s}
.elementor-element-8d1aecf .bdt-ep-title-text::before{content:"Q";flex:0 0 1.7em;color:#FF5F50;font-weight:800;font-family:"Helvetica Neue",Arial,sans-serif}
.elementor-element-8d1aecf .bdt-ep-accordion-title:hover .bdt-ep-title-text{color:#FF5F50 !important}
/* 右の印：細い線の丸に＋、開くと×に回る */
.elementor-element-8d1aecf .bdt-ep-accordion-icon{order:2;position:relative;flex:0 0 auto;float:none !important;width:30px !important;height:30px !important;margin:0 !important;border-radius:50%;border:1px solid #e3d8cf;background:#fff;transition:transform .25s,background .2s,border-color .2s}
.elementor-element-8d1aecf .bdt-ep-accordion-icon > span{display:none !important}
.elementor-element-8d1aecf .bdt-ep-accordion-icon::before,.elementor-element-8d1aecf .bdt-ep-accordion-icon::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:1.6px;border-radius:2px;background:#3c3531;transform:translate(-50%,-50%)}
.elementor-element-8d1aecf .bdt-ep-accordion-icon::after{transform:translate(-50%,-50%) rotate(90deg)}
.elementor-element-8d1aecf .bdt-open .bdt-ep-accordion-icon{transform:rotate(45deg);background:#fff4f1;border-color:#ffd3cc}
/* 答え */
.elementor-element-8d1aecf .bdt-ep-accordion-content{margin:0 0 22px !important;padding:20px 22px !important;background:#F7F4F0 !important;border:0 !important;border-radius:14px !important;box-shadow:none !important}
.elementor-element-8d1aecf .bdt-ep-accordion-content,.elementor-element-8d1aecf .bdt-ep-accordion-content p{font-size:14.5px !important;line-height:1.95 !important;color:#5d554f !important}
.elementor-element-8d1aecf .bdt-ep-accordion-content p{margin:0 0 10px !important}
.elementor-element-8d1aecf .bdt-ep-accordion-content p:last-child{margin-bottom:0 !important}
.elementor-element-8d1aecf .bdt-ep-accordion-content p:first-child{font-weight:700;color:#3c3531 !important}
/* 元の文の中に、青い下線（#99ccff）の span が入っていた。親の下線は子で消せないので、親の方を消す */
.elementor-element-8d1aecf .bdt-ep-accordion-content *:not(a):not(a *){text-decoration:none !important}
.elementor-element-8d1aecf .bdt-ep-accordion-content span:not(a *){color:inherit !important}
/* リンク：テーマの青い下線（box-shadow や border）を消して、コーラルの1本線だけに（2026-11-05 Akane「2色になっている」） */
.elementor-element-8d1aecf .bdt-ep-accordion-content a,.elementor-element-8d1aecf .bdt-ep-accordion-content a:hover,.elementor-element-8d1aecf .bdt-ep-accordion-content a *{color:#FF5F50 !important;background:none !important;box-shadow:none !important;border:0 !important;text-decoration:underline !important;text-decoration-color:rgba(255,95,80,.45) !important;text-decoration-thickness:1.5px !important;text-underline-offset:4px}
@media (max-width:767px){
  .elementor-element-8d1aecf{padding:60px 16px !important}
  .elementor-element-8d1aecf .bdt-ep-accordion-title{padding:18px 2px !important;gap:12px}
  /* 問いはスマホで1行に（2026-11-05 Akane）：画面の幅に合わせて文字を少し小さく */
  .elementor-element-8d1aecf .bdt-ep-title-text{font-size:min(14.5px,3.55vw) !important;letter-spacing:0 !important;white-space:nowrap}
  .elementor-element-8d1aecf .bdt-ep-title-text::before{flex-basis:1.45em !important}
  .elementor-element-8d1aecf .bdt-ep-accordion-title{gap:8px !important}
  .elementor-element-8d1aecf .bdt-ep-accordion-icon{width:28px !important;height:28px !important}
  .elementor-element-8d1aecf .bdt-ep-accordion-content{padding:16px 18px !important;margin-bottom:18px !important}
  .elementor-element-8d1aecf .bdt-ep-accordion-content,.elementor-element-8d1aecf .bdt-ep-accordion-content p{font-size:14px !important}
}

/* 2. 受付の箱：灰色の帯をやめてベージュに。スマホは中央そろえ */
body .elementor-section.elementor-element-8686e1d{background-color:#F7F4F0 !important;background-image:none !important}
.elementor-element-8686e1d .elementor-shape{display:none !important}
@media (max-width:767px){
  .elementor-element-8686e1d .elementor-icon-box-wrapper{text-align:center !important}
  .elementor-element-8686e1d .c-cd-row{justify-content:center !important}
}
/* AK留学の歴史の小見出しを、ほかの小見出しと同じ形に */
.elementor-element-5697e5f .elementor-icon-box-icon{display:none !important}
.elementor-element-5697e5f .elementor-icon-box-title,.elementor-element-5697e5f .elementor-icon-box-title *{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif !important;font-size:12.5px !important;font-weight:700 !important;letter-spacing:.18em !important;color:#FF8A7D !important}

/* 費用のページ：よくある質問の前の帯を白に（新しい中身と並ぶため） */
.fc ~ .elementor-section,.fc-free ~ .elementor-section{background-image:none}

/* 記事の中の古いリンク（水色 #99ccff ＋水色の下線）：全ページで、よくある質問と同じコーラルの1本線に（2026-11-05） */
span[style*="99ccff"]:has(a){text-decoration:none !important;color:inherit !important}
a[style*="99ccff"],span[style*="99ccff"] a,a:has(> span[style*="99ccff"]){color:#FF5F50 !important;text-decoration:underline !important;text-decoration-color:rgba(255,95,80,.45) !important;text-decoration-thickness:1.5px !important;text-underline-offset:4px;box-shadow:none !important;border:0 !important;background:none !important}
a span[style*="99ccff"]{color:inherit !important;text-decoration:none !important}
/* 動画の角丸をサイト全体でそろえる */
.elementor-widget-video .elementor-widget-container,.elementor-widget-video .elementor-wrapper{border-radius:18px !important;overflow:hidden !important}
/* スマホの左右の余白を 20px にそろえる（よくある質問・受付の箱・AK留学の歴史） */
@media (max-width:767px){
  body .elementor-section.elementor-element-8d1aecf,body .elementor-section.elementor-element-8686e1d,body .elementor-section.elementor-element-5697e5f{padding-left:20px !important;padding-right:20px !important}
  .elementor-element-8d1aecf > .elementor-container > .elementor-column > .elementor-widget-wrap,.elementor-element-8686e1d > .elementor-container > .elementor-column > .elementor-widget-wrap,.elementor-element-5697e5f > .elementor-container > .elementor-column > .elementor-widget-wrap,.elementor-element-8686e1d .elementor-inner-section .elementor-widget-wrap{padding-left:0 !important;padding-right:0 !important}
}
/* パソコンで見たときの横幅をそろえる（2026-11-05 Akane「横幅がバラバラ」）。トップの帯の中身は 1100px、よくある質問も同じ幅で2列 */
@media (min-width:1025px){
  body.home .c2-band.elementor-top-section > .elementor-container{max-width:1100px !important}
  body.home .c2-band.elementor-top-section > .elementor-container > .elementor-column > .elementor-widget-wrap{padding-left:10px !important;padding-right:10px !important;margin-left:0 !important;margin-right:0 !important}
  body .elementor-section.elementor-element-8d1aecf > .elementor-container{max-width:1100px !important}
  /* 質問の列（もとは5問ずつの2列）を左右に並べる */
  .elementor-element-8d1aecf .elementor-inner-section > .elementor-container{display:flex !important;gap:48px;align-items:flex-start}
  .elementor-element-8d1aecf .elementor-inner-section > .elementor-container > .elementor-column{width:auto !important;flex:1 1 0;min-width:0}
  .elementor-element-8d1aecf .bdt-ep-accordion-item:last-child{border-bottom:1px solid #e9e1da !important}
}
