/* ========================================
   Kajiwara Genzei Web
   90年代ホームページ風 base.css（モバイル対応）
   ※クラス・IDほぼ無しで、タグだけで効く前提
======================================== */

/* 余計な余白を消す */
html, body {
    margin: 0;
    padding: 0;
}
*::before,*::after {
    box-sizing: border-box;
}

/* ページ背景 & フォント */
body {
    background-color: #008080; /* ティール系の背景色 */
    color: #000000;
    font-family: "Times New Roman", "MS PMincho", serif;
    font-size: 17px;          /* 50〜70代を意識して少し大きめ */
    line-height: 1.8;         /* 行間もゆったり */
}

/* 本文の「紙」部分
   - スマホ：画面幅いっぱい（左右に少しパディング）
   - PC   ：最大760pxで中央寄せ
*/
body > * {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 14px 14px 14px;
    background-color: #ffffff;
}

footer {
    padding-top: 10px;
    background-color: transparent;
}
/* 見出し */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 大見出しはど真ん中＆紺色で */
h1 {
    font-size: 30px;
    text-align: center;
    color: #000080;
    margin-top: 20px;
}

/* h2 以下は線や色で区切りをつける */
h2 {
    font-size: 22px;
    color: #000080;
    border-bottom: 2px solid #000080;
    padding-bottom: 4px;
}

h3 {
    font-size: 18px;
    color: #000080;
}

/* テキスト */
p {
    margin-top: 0;
    margin-bottom: 10px;
}

/* 小さい文字はあえて控えめに */
small {
    font-size: 0.9em;
}

/* 引用 */
blockquote {
    margin: 10px 20px;
    padding: 8px 10px;
    border: 1px solid #000080;
    background-color: #f0f8ff;
}

/* 水平線：太めで主張強め */
hr {
    border: none;
    border-top: 3px double #000080;
    margin: 15px 0;
}

/* リンク：青・紫・赤、常に下線（レトロ仕様） */
a {
    color: #0000ee;
    text-decoration: underline;
}

/* クリック領域を少し大きめに（スマホタップ用） */
p a,
li a {
    padding: 4px 0;
    display: inline-block;
}

a:visited {
    color: #551a8b;
}

a:hover,
a:focus {
    color: #ff0000;
    text-decoration: underline;
}

/* リスト */
ul, ol {
    margin-top: 5px;
    margin-bottom: 12px;
    padding-left: 26px;  /* モバイルで食い込みすぎない程度に */
}

li {
    margin: 3px 0;
}

/* 画像：画面に収まるように */
img {
    border: 0;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 6px 0;
}

/* テーブル：枠線ガチガチ（なるべくシンプル用途に） */
table {
    border-collapse: collapse;
    border: 2px solid #000000;
    margin: 10px 0;
    font-size: 0.95em;
}

th, td {
    border: 1px solid #000000;
    padding: 4px 6px;
}

th {
    background-color: #c0c0c0; /* グレー背景 */
    text-align: left;
}

/* フォーム要素（OS標準見た目を活かす） */
input,
textarea,
select,
button {
    font-family: inherit;
    font-size: 1em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid #000000;
}

/* pre/code：等幅フォントで背景グレー */
pre,
code {
    font-family: "Courier New", monospace;
    background-color: #f0f0f0;
}

pre {
    padding: 6px;
    overflow-x: auto;
}

/* ちょいだけPC向け微調整（横幅広いとき） */
@media (min-width: 900px) {
    body {
        font-size: 16px; /* PCでは少しだけ戻す */
    }

    body > * {
        padding: 0 20px 20px 20px;
    }
}

/* スパーク */
.spark {
    animation: spark-flash 1.4s infinite;
}
@keyframes spark-flash {
    0%, 90%  { opacity: 1; }
    95%      { opacity: 0.3; }
    100%     { opacity: 1; }
}
/* 画像走査線 */
/* 画像を入れる箱。はみ出した部分を隠す */
.scan-wrap {
    background-color: #ccc;
    position: relative;
    overflow: hidden;
}

/* 上からだんだん表示される */
.scan-img {
    display: block;
    margin: 0;
    width: 100%;
    clip-path: inset(0 0 100% 0);   /* 最初は上だけちょっと */
    animation: scan-reveal 8s linear forwards;
}

/* 上から下へ “スキャン” していく */
@keyframes scan-reveal {
    from {
        clip-path: inset(0 0 100% 0);  /* 下を 100% 隠す＝上の細い帯だけ見える */
    }
    to {
        clip-path: inset(0 0 0 0);     /* 全部見える */
    }
}

.profile-photo {
    width:40%;
    margin-right: 10px;
}

.pull-left {
    float: left;
}
.clear-both{
    clear: both;
}




/* ========================================
   Kajiwara Genzei Web
======================================== */