﻿@charset "utf-8";

/*--  onayami_list --*/

body {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}


h1, h2, h3 {
  color: #2b2b2b;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
  border-left: 5px solid #7cb08a;
  padding-left: 0.5em;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background: #f9f9f9;
  margin: 0;
  padding: 5px 0;
}

#logo {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo img {
  display: block;
  width: 110px;
  height: auto;
}

#logo span {
  font-size: 0.75rem;
  color: #2b2b2b;
  white-space: nowrap;
}

a {
  text-decoration: none;
  color: #2b2b2b;
}

a:hover {
  text-decoration: underline;
  color: #6b6b6b;
}


.section-link {
  position: relative;   /* 疑似要素の基準 */
  display: block;          /* 重要：全体をクリック可能に */
  color: inherit;
  text-decoration: none;
  background: #fff;
}


.section-link::after {
  content: "クリック";
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 10px;
  padding: 4px 8px;
  background-color: rgba(120, 123, 255, 0.1);
  color: #007bff;
  border-radius: 12px;
  pointer-events: none; /* クリックを邪魔しない */
}

.section-link:hover {
  text-decoration: none;
  background: #fcfcfc;

}


.hero {
  background: #e9ebe2;
  padding: 20px 20px;
  text-align: center;
}


#contents {
  max-width: 600px;
  margin: 0 auto;
  padding: 0px;
}

.section {
  padding: 5px 20px;
  text-align: left;
  margin-bottom: 20px;
}

.highlight {
  color: #3a7d5e;
  font-weight: bold;
}

footer {
  background: #949c72;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.7em;
}

footer a {
  display: inline-block;
  margin: 0;
  padding: 10px 0;
  font-size: 0.85rem;
  text-decoration: none;
  color:#fff;
}

footer a:hover {
  text-decoration: underline;
}

.logo-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 0px;
  width: 100%;
  box-sizing: border-box;
}



/* ==== スマホ対応の全体調整 ==== */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* スマホ画面では余白を少し小さめに */
@media screen and (max-width: 768px) {
  .section {
    padding: 15px 15px;
  }
  header {
    padding: 10px 0;
  }
  #logo {
    padding: 5px 10px;
  }

}

span.nobr {
  display: inline-block;
}

.center {
  text-align: center;
}

