@charset "UTF-8";
/* ============================================================
   /ai-saiyo-douga/ 記事ページ
   ヘッダー・ハンバーガー・フッターは onetrack.jp の下層ページ
   （/whatwedo/whatwedo.css）と同一の指定をそのまま使用しています。
   記事本文は style.css のトンマナ（#26A7E1 / グラデ / 斜めカット /
   影カード・角丸なし / din-2014 見出し）で組んでいます。
   ============================================================ */

/* ---------- base（サイト共通） ---------- */
* {
    font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", sans-serif;
    margin: 0;
    letter-spacing: 0.05em;
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
}
ul {
    padding-left: 0;
}
li {
    list-style: none;
}
.PC {
    display: block;
}
.SP {
    display: none;
}
.wrap {
    overflow: hidden;
}
body {
    background: #FAFAFA;
}

/* ---------- header（下層ページ＝白ヘッダー） ---------- */
header {
    width: 100%;
    padding: 30px 0px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.header-background {
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: 1s;
}
.header-logo {
    width: 60px;
    float: left;
    padding-left: 50px;
}
.header-logo img {
    width: 100%;
}
.header-menu {
    width: 80%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.header-menu a {
    display: inline-block;
    color: black;
    font-size: 18px;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    font-style: normal;
    border-bottom: 2px solid black;
    padding: 5px 0px;
    margin: 0 20px;
    transition: 0.5s;
}
.header-menu a:hover {
    opacity: 0.3;
}

/* ---------- hamburger menu ---------- */
.hamburger-menu {
    display: none;
}
.hamburger-header-wrap {
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}
.nav-position {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    padding: 33px;
    cursor: pointer;
}
.nav-toggle {
    display: block;
    position: relative;
    width: 1.75rem;
    height: 1.5rem;
}
.nav-toggle i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: black;
    position: absolute;
    transition: transform .5s, opacity .5s;
}
.nav-toggle i:nth-child(1) { top: 0; }
.nav-toggle i:nth-child(2) { top: 0; bottom: 0; margin: auto; }
.nav-toggle i:nth-child(3) { bottom: 0; }
.nav {
    width: 80vw;
    height: 100%;
    background: -moz-linear-gradient(top left, #2FB7FF, #2470C9);
    background: -webkit-linear-gradient(top left, #2FB7FF, #2470C9);
    background: linear-gradient(to bottom right, #2FB7FF, #2470C9);
    z-index: 990;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
}
.nav ul {
    padding: 80px 0 0 40px;
}
.nav ul li a {
    width: 80%;
    height: 25px;
    color: white;
    font-size: 18px;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    font-style: normal;
    padding: 20px 0px 10px 0px;
    margin-top: 20px;
    display: inline-block;
    border-bottom: 1px solid white;
}
.nav ul li a span {
    font-size: 14px;
    font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", sans-serif;
    font-weight: lighter;
    padding-left: 10px;
}
.nav.show {
    opacity: 1;
    visibility: visible;
}
.nav-toggle.show i {
    background-color: white;
}
.nav-toggle.show i:nth-child(1) { transform: translateY(10px) rotate(-45deg); }
.nav-toggle.show i:nth-child(2) { opacity: 0; }
.nav-toggle.show i:nth-child(3) { transform: translateY(-12px) rotate(45deg); }

/* ============================================================
   記事本文
   ============================================================ */
.main {
    width: 100%;
    padding: 180px 0 0 0;
}
.main * {
    box-sizing: border-box;
}

/* ---------- ページ見出し（英字 + -日本語-） ---------- */
.page-head {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.page-head .en {
    color: #26A7E1;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: 0.1em;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    font-style: normal;
}
.sub-title {
    color: #26A7E1;
    font-size: 16px;
    text-align: center;
    padding-top: 6px;
}
.page-head h1 {
    max-width: 900px;
    color: #04497D;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
    margin: 40px auto 0;
}
.page-head .tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}
.tag {
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    background: linear-gradient(to right bottom, #25A7E1, #2679D0);
    padding: 5px 14px;
}
.page-head .date {
    color: #7E7E7E;
    font-size: 14px;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-top: 16px;
}
/* 見出し下の斜めグラデ罫 */
.page-head .rule {
    width: 160px;
    height: 6px;
    margin: 34px auto 0;
    background: linear-gradient(to right bottom, #2FB7FF, #2470C9);
    -webkit-clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
}

/* ---------- パンくず ---------- */
.breadcrumb {
    width: 90%;
    max-width: 1200px;
    margin: 46px auto 0;
    color: #7E7E7E;
    font-size: 12px;
}
.breadcrumb a { color: #7E7E7E; }
.breadcrumb a:hover { color: #26A7E1; }
.breadcrumb span { margin: 0 .5em; }

/* ---------- 2カラム ---------- */
.cols {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0 110px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 50px;
    align-items: start;
}

/* ---------- 本文カード（枠線なし・影・角丸0） ---------- */
article {
    background: #FFF;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
    padding: 60px 64px 72px;
}
article p {
    font-size: 16px;
    line-height: 2.05;
    color: #3A3A3A;
    margin: 0 0 1.5em;
}
article b, article strong { font-weight: 700; color: #1F1F1F; }
article a { color: #26A7E1; border-bottom: 1px solid rgba(38,167,225,.4); }
article a:hover { border-bottom-color: transparent; }

.lede {
    font-size: 17px !important;
    line-height: 2.1 !important;
    color: #1F1F1F !important;
}
.mark {
    background: linear-gradient(transparent 62%, #CFEAF8 62%);
}

/* 見出し */
article h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.04em;
    color: #04497D;
    margin: 74px 0 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid #C6C6C6;
}
article h2::before {
    content: "";
    display: block;
    width: 100px;
    height: 8px;
    margin-bottom: 18px;
    background: linear-gradient(to right bottom, #2FB7FF, #2470C9);
    -webkit-clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);
    clip-path: polygon(9% 0%, 100% 0%, 91% 100%, 0% 100%);
}
article h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.7;
    color: #04497D;
    margin: 44px 0 14px;
    padding-left: 14px;
    border-left: 4px solid #26A7E1;
}

/* リスト */
article ul, article ol {
    margin: 0 0 1.6em;
    padding-left: 0;
}
article ul li {
    position: relative;
    font-size: 16px;
    line-height: 2.0;
    color: #3A3A3A;
    padding-left: 1.5em;
    margin-bottom: .5em;
}
article ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .78em;
    width: 12px;
    height: 5px;
    background: linear-gradient(to right bottom, #2FB7FF, #2470C9);
    -webkit-clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}
article ol {
    counter-reset: num;
}
article ol li {
    position: relative;
    font-size: 16px;
    line-height: 2.0;
    color: #3A3A3A;
    padding-left: 2.2em;
    margin-bottom: .7em;
    counter-increment: num;
}
article ol li::before {
    content: counter(num, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    color: #26A7E1;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.note {
    font-size: 13px !important;
    line-height: 1.95 !important;
    color: #7E7E7E !important;
}

/* ---------- 目次 ---------- */
.toc {
    background: #FAFAFA;
    padding: 30px 34px 26px;
    margin: 40px 0 10px;
}
.toc h2 {
    color: #26A7E1;
    font-size: 22px;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 0;
    margin: 0;
    padding: 0;
}
.toc h2::before { display: none; }
.toc .toc-sub {
    color: #26A7E1;
    font-size: 13px;
    margin: 2px 0 16px;
}
.toc ol {
    margin: 0;
    padding: 0;
}
.toc ol li {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: .35em;
    padding-left: 2.1em;
}
.toc ol li::before { font-size: 15px; top: .18em; }
.toc a {
    color: #3A3A3A;
    border: 0;
}
.toc a:hover { color: #26A7E1; }

/* ---------- 抜き出しカード ---------- */
.weak {
    background: #FFF;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
    padding: 26px 30px 24px;
    margin: 0 0 22px;
    position: relative;
}
.weak::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 8px;
    background: linear-gradient(to right bottom, #2FB7FF, #2470C9);
    -webkit-clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}
.weak h4 {
    font-size: 17px;
    font-weight: 700;
    color: #04497D;
    line-height: 1.6;
    margin: 10px 0 10px;
}
.weak p {
    font-size: 15.5px !important;
    line-height: 2.0 !important;
    margin: 0 !important;
}

/* ---------- 表 ---------- */
.table-scroll {
    overflow-x: auto;
    max-width: 100%;
    margin: 0 0 1.6em;
}
table {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
    font-size: 14px;
}
thead th {
    color: #FFF;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(to right bottom, #25A7E1, #2679D0);
    border: 1px solid #FFF;
    padding: 13px 14px;
    text-align: left;
    white-space: nowrap;
}
tbody th {
    background: #FAFAFA;
    color: #04497D;
    font-weight: 700;
    white-space: nowrap;
}
tbody th, tbody td {
    border: 1px solid #C6C6C6;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.85;
    color: #3A3A3A;
}
@media screen and (min-width: 1001px) {
    .table-wide { margin-left: -64px; margin-right: -64px; max-width: none; }
    .table-wide table { font-size: 13.5px; }
}

/* ---------- FAQ ---------- */
details {
    border-bottom: 1px solid #C6C6C6;
    padding: 18px 2px;
}
details summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.75;
    color: #04497D;
    list-style: none;
    position: relative;
    padding-right: 32px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
    content: "＋";
    position: absolute;
    right: 2px;
    top: 0;
    color: #26A7E1;
    font-weight: 400;
}
details[open] summary::after { content: "−"; }
details .a { padding-top: 14px; }
details .a p { font-size: 15.5px !important; margin-bottom: 0 !important; }

/* ---------- 執筆者 ---------- */
.author {
    margin-top: 56px;
    background: #FAFAFA;
    padding: 28px 30px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.author .ph {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    background: linear-gradient(to right bottom, #25A7E1, #2679D0);
    color: #FFF;
    display: grid;
    place-items: center;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.08em;
}
.author h4 {
    font-size: 16px;
    font-weight: 700;
    color: #04497D;
    margin: 0 0 8px;
}
.author p {
    font-size: 13.5px !important;
    line-height: 1.95 !important;
    color: #7E7E7E !important;
    margin: 0 !important;
}

/* ---------- CTA ---------- */
.cta {
    margin-top: 60px;
    background: linear-gradient(to right bottom, #2FB7FF, #2470C9);
    padding: 44px 46px 46px;
}
.cta h3 {
    color: #FFF;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.7;
    border: 0;
    padding: 0;
    margin: 0 0 14px;
}
.cta p {
    color: #FFF !important;
    font-size: 15px !important;
    line-height: 1.95 !important;
    margin: 0 0 26px !important;
}
.btn {
    display: inline-block;
    background: #FFF;
    color: #2470C9;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid #FFF;
    border-radius: 50px;
    padding: 14px 34px;
    transition: 0.5s;
}
.btn:hover { opacity: .7; }
.btn.ghost {
    background: transparent;
    color: #FFF;
    margin-left: 12px;
}
.btn.ghost:hover { background: rgba(255,255,255,.15); opacity: 1; }
.btn span { padding-left: 10px; }

/* ---------- サイドバー ---------- */
aside {
    position: sticky;
    top: 120px;
}
.side-card {
    background: #FFF;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
    padding: 26px 26px 24px;
    margin-bottom: 22px;
}
.side-card h4 {
    color: #26A7E1;
    font-size: 17px;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 0;
}
.side-card .jp {
    color: #26A7E1;
    font-size: 12px;
    margin: 2px 0 16px;
}
.side-card ul { margin: 0; padding: 0; }
.side-card li {
    font-size: 13.5px;
    line-height: 1.75;
    padding: 10px 0;
    border-bottom: 1px solid #C6C6C6;
}
.side-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-card a { color: #3A3A3A; }
.side-card a:hover { color: #26A7E1; }
.side-fact dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 9px 16px;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}
.side-fact dt { color: #7E7E7E; white-space: nowrap; }
.side-fact dd { margin: 0; color: #3A3A3A; }
.side-btn {
    display: block;
    width: 100%;
    color: #26A7E1;
    font-size: 14px;
    font-family: din-2014, sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    border: 1px solid #26A7E1;
    border-radius: 50px;
    padding: 14px 10px;
    transition: 0.5s;
}
.side-btn:hover { color: #FFF; background: #26A7E1; }
.side-btn span { padding-left: 8px; }

/* ---------- footer ---------- */
.footer {
    width: 100%;
    height: 400px;
    background: #003A64;
    position: relative;
}
.footer-content {
    width: 600px;
    padding-top: 100px;
    margin: 0 auto;
}
.footer-logo {
    width: 100px;
    float: left;
    padding-top: 25px;
}
.footer-logo img {
    width: 100%;
}
.footer-menu {
    float: right;
}
.footer-menu ul {
    float: left;
}
.footer-menu ul li {
    margin-bottom: 35px;
}
.ul-left {
    margin-right: 60px;
}
.footer-menu ul li a {
    color: white;
    font-family: din-2014, sans-serif;
    font-weight: lighter;
}
.footer-copyright {
    color: white;
    font-size: 10px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================================
   responsive
   ============================================================ */
@media screen and (max-width: 1100px) {
    .cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    aside { position: static; margin-top: 30px; }
}

@media screen and (max-width: 1000px) {
    .PC { display: none; }
    .SP { display: block; }

    header { display: none; }
    .hamburger-header-logo {
        width: 50px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
        padding: 20px;
    }
    .hamburger-header-logo img { width: 100%; }
    .hamburger-menu { display: block; }

    .main { padding: 130px 0 0 0; }
    .page-head .en { font-size: 38px; }
    .sub-title { font-size: 14px; }
    .page-head h1 { font-size: 26px; margin-top: 28px; }
    .page-head .rule { margin-top: 26px; }
    .breadcrumb { margin-top: 34px; }

    .cols { padding: 20px 0 80px; }
    article { padding: 34px 24px 44px; }
    article h2 { font-size: 22px; margin: 56px 0 22px; }
    article h3 { font-size: 17.5px; }
    article p, article ul li, article ol li { font-size: 15.5px; }
    .lede { font-size: 16px !important; }

    .toc { padding: 24px 20px 20px; }
    .weak { padding: 22px 20px 20px; }
    .table-wide { margin-left: -24px; margin-right: -24px; max-width: none; }
    .table-wide table { min-width: 720px; }

    .cta { padding: 32px 24px 34px; }
    .cta h3 { font-size: 19px; }

    .author { flex-direction: column; gap: 16px; padding: 24px 20px; }

    /* footer */
    .footer { height: 55px; }
    .footer-content { display: none; }
    .footer-copyright {
        width: 90%;
        color: white;
        text-align: center;
        font-size: 12px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 560px) {
    .page-head .en { font-size: 30px; }
    .page-head h1 { font-size: 22px; }
    .btn { display: block; text-align: center; }
    .btn.ghost { margin: 12px 0 0; }
}

/* ============================================================
   記事ページの追加パーツ
   （/reputation/ /saiyo-douga-joseikin/ などで使う）
   ============================================================ */

/* 書き手・日付の行 */
.meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
    font-size: 13px; color: #7E7E7E;
}
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #C6C6C6; }
.byline { display: flex; align-items: center; gap: 9px; }
.avatar {
    width: 28px; height: 28px;
    background: linear-gradient(to right bottom, #25A7E1, #2679D0);
    color: #FFF; font-size: 10px; font-family: din-2014, sans-serif; font-weight: 600;
    letter-spacing: 0.06em; display: grid; place-items: center;
}

/* 但し書き・注意帯 */
.disclosure {
    background: #FAFAFA;
    border-left: 4px solid #26A7E1;
    padding: 20px 24px;
    margin: 30px 0 0;
    font-size: 14.5px !important;
    line-height: 1.95 !important;
    color: #3A3A3A !important;
}
.disclosure b { color: #04497D; }

/* 引用カード（声・事例） */
.voice {
    background: #FFF;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
    padding: 26px 30px 24px;
    margin: 0 0 22px;
    position: relative;
}
.voice::before {
    content: ""; position: absolute; top: 0; left: 0;
    width: 120px; height: 8px;
    background: linear-gradient(to right bottom, #2FB7FF, #2470C9);
    -webkit-clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}
.voice-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 14px; }
.voice-who { font-weight: 700; font-size: 16px; color: #04497D; }
.voice blockquote {
    margin: 0 0 14px; padding: 0 0 0 18px;
    border-left: 3px solid #C6C6C6;
    font-size: 15.5px; line-height: 2; color: #3A3A3A;
}
.voice dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0; font-size: 13.5px; }
.voice dt { color: #7E7E7E; white-space: nowrap; }
.voice dd { margin: 0; color: #3A3A3A; }

/* ラベル */
.badge {
    font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
    padding: 3px 10px; background: #FAFAFA; color: #7E7E7E; border: 1px solid #C6C6C6;
}
.badge.sample { background: #FDECEC; color: #B02A2A; border-color: #F3C9C9; }

/* チェック付きリスト */
ul.check { list-style: none; padding: 0; margin: 0 0 1.6em; }
ul.check li { position: relative; padding-left: 1.7em; margin-bottom: .5em; }
ul.check li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: #26A7E1; font-weight: 700;
    width: auto; height: auto; background: none; clip-path: none;
}

/* 編集用バナー（公開前に消す） */
.editor-banner { display: none; }
