@charset "UTF-8";

/* --------------------------------------------------------------------------
   Variables & Base Settings
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-sky: #89c3eb;
    --color-blue: #0095d9;
    --color-navy: #19448e;

    --color-green: #00a497;
    --color-red: #c53d43;
    --color-yellow: #ffd900;

    --color-text: #ffffff;
    --color-text-light: #666;
    --color-bg: #111111;
    --color-border: #ddd;
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
}

*,
::before,
::after {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

/* Layout container for demo */
main,
header,
footer {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* --------------------------------------------------------------------------
   Typography (h1-h6, p)
   PC: Contrast, Mobile: Readable
   No borders requested.
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    border: none;
    /* Explicitly no border as requested */
}

/* Heading Sizes - PC First (Desktop) */
h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.32rem;
}

h4 {
    font-size: 1.21rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Typography - Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 1.36rem;
    }

    h2 {
        font-size: 1.24rem;
    }

    h3 {
        font-size: 1.18rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    h6 {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.7;
        /* Increased line-height for easier reading on mobile */
    }
}

/* --------------------------------------------------------------------------
   Links & Images
   -------------------------------------------------------------------------- */
a {
    text-decoration: underline;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    text-decoration: none;
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    /* Optional slight rounding for modern look */
}

/* --------------------------------------------------------------------------
   Lists (ul, ol, li)
   ul: Square markers
   -------------------------------------------------------------------------- */
ul,
ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
ul.wid80,
ol.wid80 {
   width: 80%;
	margin-left: 10%;
}

ul {
    list-style-type: square;
    /* Four-sided mark */
    color: var(--color-navy);
    /* Mark color */
}

ul li,
ol li {
    margin-bottom: 0.5rem;
    color: var(--color-text);
    /* Restore text color */
}

/* Mark-less version */
ul.list-none {
    list-style-type: none;
    padding-left: 0;
}

ul.list-none li {
    padding-left: 0;
}
@media (max-width: 768px) {
	ul.wid80,
	ol.wid80 {
		width: 100%;
		margin-left: 0;
	}
}
/* --------------------------------------------------------------------------
   Definition Lists (dl, dt, dd)
   -------------------------------------------------------------------------- */
dl {
    margin-bottom: 1.5rem;
}

dt {
    font-weight: bold;
    color: var(--color-sky);
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

dd {
    margin-left: 0;
    margin-bottom: 1rem;
}

/* Horizontal version (Side-by-side) */
.dl-horizontal {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--color-border);
}

.dl-horizontal dt {
    width: 30%;
    /* PC Width */
    padding: 1rem 0;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

.dl-horizontal dd {
    width: 70%;
    /* PC Width */
    margin: 0;
    padding: 1rem 0 1rem 1rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

/* Stack vertically on mobile for horizontal DL */
@media (max-width: 768px) {

    .dl-horizontal dt,
    .dl-horizontal dd {
        width: 100%;
        border-bottom: none;
        padding: 0.5rem 0;
    }

    .dl-horizontal dt {
        border-top: 1px solid var(--color-border);
        padding-top: 1rem;
    }

    .dl-horizontal dd {
        padding-bottom: 1rem;
        padding-left: 0;
    }
}
/* --------------------------------------------------------------------------
   FAQ (dl, dt, dd)
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px;
}

/* 質問(dt)と回答(dd)の共通設定 */
.faq-list dt,
.faq-list dd {
  display: flex;         /* Flexboxを適用 */
  align-items: flex-start; /* 上揃え */
  margin: 0;
  padding: 8px 0;
	color: white;
}

/* 質問(dt)のスタイル */
.faq-list dt {
  font-weight: bold;
}

/* 回答(dd)のスタイル */
.faq-list dd {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

/* QとAの共通擬似要素設定 */
.faq-list dt::before,
.faq-list dd::before {
  flex-shrink: 0;   /* マークが潰れないように固定 */
  width: 1.8em;     /* マーク分の幅を確保 */
  font-weight: bold;
  font-size: 1.1em;
}

/* Qのマーク */
.faq-list dt::before {
  content: "Q";
  color: #dda0dd; /* 質問の色 */
}

/* Aのマーク */
.faq-list dd::before {
  content: "A";
  color: #40e0d0; /* 回答の色 */
}
.faq-list dd span {
  flex: 1; /* 残りの幅をすべて専有させる */
}
/* --------------------------------------------------------------------------
   Tables
   Borders required.
   Wrapper for mobile scroll.
   -------------------------------------------------------------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-navy);
}

th,
td {
    border: 1px solid var(--color-navy);
    /* Requested border */
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #f0f8ff;
    /* Very light blue background */
    color: var(--color-navy);
    font-weight: bold;
    white-space: nowrap;
    /* Prevent header wrapping if possible */
}

.widget th,
.widget td {
   padding: 0.4rem;
    text-align: center;
    vertical-align: middle;
}

/* Horizontal Scroll Wrapper for Mobile */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    /* Fix for reliable scroll width */
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-text);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
    color: var(--color-bg);
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    appearance: none;
    /* Normalize UI */
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 149, 217, 0.2);
}

textarea {
    resize: vertical;
    /* Allow vertical resize only */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
}

.btn-primary {
    background-color: var(--color-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-navy);
    color: white;
    opacity: 1;
    /* Reset default opacity change */
}

.btn-secondary {
    background-color: #eee;
    color: #333;
}

.btn-secondary:hover {
    background-color: #ddd;
}

/* Mobile tweaks for form */
@media (max-width: 768px) {

    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
}

/* --------------------------------------------------------------------------
   Other Recommended Tags
   -------------------------------------------------------------------------- */
blockquote {
    border-left: 5px solid var(--color-sky);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background-color: #f9f9f9;
    color: var(--color-text-light);
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--color-border);
    margin: 2rem 0;
}

small {
    font-size: 0.8rem;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
    background: linear-gradient(transparent 60%, var(--color-yellow) 60%);
    /* Marker style */
    padding: 0 2px;
}

code {
    background-color: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
    color: var(--color-green);
    /* Use Green for code */
}

pre {
    background-color: #f4f4f4;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout Flexbox and Grid 2col-4col MobileFirst
  -------------------------------------------------------------------------- */
.item {
    box-sizing: border-box;
    /* Padding won't affect width */
}
.item.box {
    padding: 16px;
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.item.center {
	text-align: center;
}
/* --------------------------------------------------------------------------
   MOBILE FIRST STYLES (Default: 1 Column)
   -------------------------------------------------------------------------- */

/* Flexbox Base */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    /* Space between items */
}

.flex-container .item {
    width: 100%;
    /* 1 col on mobile */
}

/* Grid Base */
.grid-container {
    display: grid;
    gap: 24px;
    /* Space between items */
    grid-template-columns: 1fr;
    /* 1 col on mobile */
}


/* --------------------------------------------------------------------------
   DESKTOP / TABLET STYLES (Media Query)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {

    /* --- FLEXBOX PATTERNS --- */

    /* 2 Columns: (100% - gap) / 2 */
    .flex-2 .item {
        width: calc((100% - 18px) / 2);
    }

    /* 3 Columns: (100% - 2*gap) / 3 */
    .flex-3 .item {
        width: calc((100% - 36px) / 3);
    }

    /* 4 Columns: (100% - 3*gap) / 4 */
    .flex-4 .item {
        width: calc((100% - 54px) / 4);
    }


    /* --- GRID PATTERNS --- */

    /* 2 Columns */
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 3 Columns */
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 4 Columns */
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ページネーション全体のコンテナ */
.pagination {
    display: flex;          /* 横並びにする */
    justify-content: center; /* 中央寄せ */
    align-items: center;     /* 垂直方向の中央（高さがズレないように） */
    gap: 8px;               /* 各要素の間隔 */
    margin: 50px 0;         /* 上下の余白 */
    flex-wrap: wrap;        /* 画面が狭い時に折り返す */
}

/* 各数字・リンクの共通スタイル */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;        /* 正方形に近い形を保つ */
    height: 40px;
    padding: 0 10px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* 現在のページのスタイル */
.pagination .page-numbers.current {
    background-color: #333; /* 背景を黒に */
    color: #fff;           /* 文字を白に */
    border-color: #333;
    cursor: default;       /* クリックできないカーソルに */
}

/* マウスホバー時のスタイル（現在のページ以外） */
.pagination a.page-numbers:hover {
    background-color: #f4f4f4;
    border-color: #999;
}

/* 「…」の部分のスタイル */
.pagination .dots {
    border: none;           /* 枠線を消す */
    background: transparent; /* 背景を透明に */
}

/* 「次へ」「前へ」のリンク（少し幅を持たせる場合） */
.pagination .next, 
.pagination .prev {
    padding: 0 15px;
}


/* --------------------------------------------------------------------------
 モーダルウィンドゥ
-------------------------------------------------------------------------- */
/* 1. チェックボックスは隠しておく */

  #modal-toggle { display: none; }

  /* 2. 開くボタン（アイコン・マークの代わり） */
  .open-btn {
    cursor: pointer;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border-radius: 5px;
    display: inline-block;
  }

  /* 3. モーダルの背景（オーバーレイ） */
  .modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none; /* 初期状態は非表示 */
    justify-content: center;
    align-items: flex-start; /* 上部に表示 */
    padding-top: 50px;
    z-index: 1000;
  }

  /* 4. モーダル本体 */
  .modal-content {
    background: white;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    position: relative;
  }

  /* 5. CLOSEDボタン（実はこれもlabel） */
  .close-btn {
    display: block;
    margin-top: 20px;
    padding: 8px;
    background: #eee;
    cursor: pointer;
    border-radius: 4px;
  }

  /* 6. 【魔法】チェックが入ったら表示する */
  #modal-toggle:checked ~ .modal-overlay {
    display: flex;
  }
/* --------------------------------------------------------------------------
 シェアボタン
-------------------------------------------------------------------------- */
/* ボタン全体を囲むコンテナ */
.share-container {
    width: 100%;          /* 横幅いっぱい確保 */
    display: flex;        /* flexボックスにする */
    justify-content: center; /* 左右中央に配置 */
    margin: 12px 0;       /* 前後の余白（適宜調整） */
}

/* リストの設定 */
.share-list {
    display: flex;
    list-style: none;
    padding: 8px 0; /* 上下に少し余白を足すとさらに誤タップ防止 */
    margin: 0;
    gap: 30px;            /* アイコン同士の間隔 */
}

/* 各アイテムの設定 */
.share-item a {
    text-decoration: none;
    font-size: 24px;      /* アイコンのサイズ */
    width: 48px;          /* ボタンの幅 */
    height: 48px;         /* ボタンの高さ */
    display: flex;
    align-items: center;  /* アイコンを上下中央に */
    justify-content: center; /* アイコンを左右中央に */
    border-radius: 50%;   /* 正円にする */
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: #fff;
	/* 白シャドー */
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}
.share-item a:hover {
    color: #fff;
}
/* ブランドカラー */
.fb a { background-color: #1877f2; }
.x-corp a { background-color: #000; }
.line a { background-color: #06c755; }

/* ホバー演出 */
.share-item a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

/* Facebook Page Pluginのラッパー */
.fb-page-wrapper {
  width: 100%;
  max-width: 500px; /* 最大幅を指定 */
  margin: 0 auto;
  overflow: hidden;
}

/* スマートフォン向けの調整 */
@media (max-width: 768px) {
  .fb-page-wrapper {
    max-width: 100%; /* スマホでは全幅に拡大 */
  }
}
/*-------------------------------------------------------------
 GoogleMap
 */
/* コンテナのスタイル */
.map-container {
  width: 100%;           /* 親要素に対して100% */
  max-width: 450px;      /* 450px以上には大きくならない */
  margin: 0 auto;        /* 必要であれば中央寄せ */
}

.map-container iframe {
  width: 100% !important; /* HTML側のwidth属性を上書き */
  aspect-ratio: 1 / 1;   /* 縦横比を1:1（正方形）に保つ */
  height: auto;          /* 高さはアスペクト比に任せる */
}

/* スマートフォン向けの調整 */
@media (max-width: 768px) {
  .google-doc-container {
    padding: 15px;
  }

  .doc-title {
    font-size: 1.2rem;
  }

  .iframe-wrapper {
    padding-top: 150%; /* スマホ向けに高さを増やす */
  }
}