body {
  font-family: sans-serif;
  margin: 0;
  background: #f5f8fc;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.site-header a {
  color: #2bb7ff;
  text-decoration: none;
  font-weight: bold;
}

.site-header a:hover {
  opacity: 0.7;
}

main {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.card {
  display: flex;
  background: white;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.card img {
  width: 160px;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 12px;
}

h1 {
  font-size: 24px;
  margin-bottom: 12px;
}
.subtitle {
  color: #666;
  margin-bottom: 24px;
}
article p {
  line-height: 1.8;
  margin-bottom: 12px;
}

/* Hero Section */
.hero {
  width: 100%;
  background: #dff1fa;
  padding: 32px 20px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 28px;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.hero-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.hero-sub {
  font-size: 15px;
  margin-top: 6px;
  color: #444;
}


/* Section Title（最新記事の見出し） */
.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-left: 6px;
  border-left: 4px solid #52bfff;
}
/* ======== 記事一覧 2列固定レイアウト ======== */

#article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC もスマホも2列固定 */
  gap: 16px;
  padding: 16px;
}
@media (max-width:768px){

  #article-list{
    grid-template-columns:1fr;
  }

}
/* ======== カード ======== */
.card {
  display: block;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease;
}

.card:hover {
  transform: translateY(-3px);
}

/* サムネ（横長画像） */
.card img {
  width: 100%;
  height: auto;
  display: block;
}

/* タイトル */
.card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 10px 12px 4px;
  line-height: 1.4;
}

/* サブタイトル */
.card .subtitle {
  font-size: 0.8rem;
  color: #666;
  margin: 0 12px 12px;
  line-height: 1.5;
}

.card-body p{
  font-size:.95rem;
  line-height:1.7;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;

  overflow:hidden;
}
.drawer-menu {
  position: fixed;
  top: 0;
  right: -260px; /* 隠しておく位置 */
  width: 240px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  padding: 80px 20px; /* ヘッダーを避ける */
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: right 0.3s ease;
  z-index: 999;
}

.drawer-menu.open {
  right: 0;
}

.drawer-button {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  padding: 8px;
}
/* ドロワー背景（黒い透明のやつ） */
#drawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 998;
}

#drawerOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ドロワーメニュー本体 */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 240px;
  height: 100vh;
  background: #fff;
  padding: 80px 20px;
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: right .25s ease;
  z-index: 999;
}

.drawer-menu.open {
  right: 0;
}

/* 三ボタン */
.drawer-button {
  background: none;
  border: none;
  font-size: 26px;
  padding: 8px;
  cursor: pointer;
}
.menu {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px;
}

.menu.hidden {
  display: none;
}
.menu a {
  display: block;
  padding: 10px 0;
  font-size: 12px;
}
/* toppage */
.main h1{
  font-size:1.8rem;
}
.main h2{
  margin:2.5rem 0 1rem;
  padding-left:12px;

  border-left:4px solid #56bfff;

  font-size:1.6rem;
  line-height:1.3;
}

.thumb-wrap {
  width: 100%;
  margin-bottom: 20px;
}
.article-thumb {
  width: 100%;
  border-radius: 16px;
  display: block;
}
article {
  max-width: 760px;      
  margin: 0 auto;
  font-size:clamp(14px, 2.5vw, 16px);
  line-height:1.9;
}
article h2{
  margin:2.5rem 0 1rem;
  padding-left:12px;

  border-left:4px solid #56bfff;

  font-size:1.6rem;
  line-height:1.3;
}
article h3 {
   margin:2rem 0 .8rem;
   font-size:1.2rem;
}
article ul,
article ol {
  margin: 1em 0 1.5em 1.2em;
}

article li {
  margin-bottom: 0.6em; /* 箇条書きも息させる */
}
article a {
  color: #2bb7ff;
  font-weight: 600;
  text-decoration: none;
}
article a:hover {
  text-decoration: underline;
}
article p {
  margin: 1.2em 0;
}

/* フッター */
.ojapp-about {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #f7f7fb;
  border-radius: 12px;
  line-height: 1.75;
}

.ojapp-about h2 {
  font-size: 30px;
  margin-bottom: 1rem;
}

.ojapp-about p {
  margin-bottom: 1rem;
}

.ojapp-link a {
  font-weight: bold;
}
.ojapp-card {
  margin-top: 3rem;
  padding: 2rem 1.6rem;
  background: linear-gradient(135deg, #e7f5ff 0%, #f4fbff 100%);
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  line-height: 1.75;
}

.ojapp-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #003366;
  font-weight: 800;
}

.ojapp-card p {
  margin-bottom: 1rem;
}

.ojapp-card strong {
  color: #0077cc;
  font-weight: 600;
}

.card-link a {
  font-weight: 700;
  color: #005fcc;
  text-decoration: underline;
}
.oj-footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.oj-footer-logo{
  width:48px;
  height:48px;
  border-radius:50%;
  flex-shrink:0;
}

.oj-footer-brand h2{
  margin:0;
  line-height:1.2;
}
  
.oj-footer{
  margin-top:40px;
  padding:50px 22px;
  background:#110314;
  border-top:1px solid rgba(255,255,255,.08);
  color:#fff;
}

.oj-footer-intro{
  max-width:800px;
  margin:0 auto 20px;
}

.oj-footer-intro h2{
  margin-bottom:20px;
  font-size:31px;
  white-space:nowrap;
}

.oj-footer-intro p{
  line-height:1.5;
  color:#b9c0cc;
  font-size:clamp(12px, 2.5vw, 16px);
}

.oj-products{
  max-width:800px;
  margin:0 auto 25px;
  display:grid;
  gap:12px;
}

.oj-product{
  display:flex;
  align-items:center;
  gap:6px;
  padding:10px;
  border-radius:16px;
  background:rgba(255,255,255,.02);
  text-decoration:none;
  color:white;
}
.oj-product-icon{
  width:40px;
  height:40px;
  object-fit:contain;
  flex-shrink:0;
}
.oj-product span{
  font-size:32px;
}

.oj-product strong{
  display:block;
  font-size:1rem;
}

.oj-product small{
  color:#98a2b3;
  font-size:.7rem;
  line-height:1;
}

.oj-footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-bottom:25px;
}

.oj-footer-links a{
  color:#56bfff;
  text-decoration:none;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(86,191,255,.08);
  font-size:.65rem;
}

.oj-footer-copy{
  text-align:center;
}

.oj-footer-copy p{
  margin:0 0 8px;
  font-size:1rem;
  font-weight:700;
}

.oj-footer-copy small{
  color:#8b93a1;
  font-size:.55rem;
}
  .oj-footer-label{
  display:block;
  color:#8b93a1;
  font-size:.8rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:4px;
}
.guide-image{
  margin:24px 0;
}

.guide-image img{
  width:100%;
  display:block;
  border-radius:16px;
}

.guide-image figcaption{
  margin-top:8px;
  text-align:center;
  font-size:.85rem;
  color:#666;
}
.track-point{
  display:block;
  width:100%;
  height:1px;
  opacity:0;
  pointer-events:none;
}