@charset "utf-8";

@media print,screen and (min-width : 501px) {

#header_img {
    /* margin-top: 20px; */
    height: 300px; /* ヘッダーの中身が空のため高さを指定 */
    background-image: url("images/header.jpg");
    background-size: cover;
    background-position: 50% 90%; /* 横 縦 */
}
#header_img_gourmet {
    /* margin-top: 20px; */
    height: 300px; /* ヘッダーの中身が空のため高さを指定 */
    background-image: url("images/header_gourmet.jpg");
    background-size: cover;
    background-position: 50% 90%; /* 横 縦 */
}
}
    
h1{
    font-size:26px;font-size:2.6rem;
    margin-bottom: 20px;
    text-align: center;
    color: #263EAD;
}
h2{
    font-size:22px;font-size:2.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px;
    text-align: left;
    color: #263EAD;
    border-bottom: #263EA0;
}
h3{
	position: relative;
	display: inline-block;
	padding: 8px 40px 8px 40px;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	z-index: 1;
	background: #191F8A;
	border: #191F8A solid 1px;
    margin-bottom: 20px;
    font-size: 120%;
}
h4{
	position: relative;
	display: inline-block;
	padding: 6px 30px 6px 30px;
	color: #191F8A !important;
	text-align: center;
	text-decoration: none;
	z-index: 1;
	background: #FFF;
	border: #191F8A solid 1px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 110%;
}

#seisaku{
  margin-top: 40px;
  border:solid 1px #dfdfdf;
  padding: 100px;
  -webkit-box-sizing: border-box;-moz-box-sizing: border-box;-o-box-sizing: border-box;-ms-box-sizing: border-box;box-sizing: border-box;
}

}
@media screen and (max-width : 500px) {

#header_img {
    margin-top: 20px;
    height: 200px; /* ヘッダーの中身が空のため高さを指定 */
    background-image: url("../works/image/header.jpg");
    background-size: cover;
    background-position: 50% 75%; /* 横 縦 */
}

h1{
    font-size:22px;font-size:2.2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #263EAD;
}
h2{
    font-size:18px;font-size:1.8rem;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 5px;
    text-align: left;
    color: #263EAD;
    border-bottom: #263EA0;
}

#seisaku{
  margin-top: 40px;
  border:solid 1px #dfdfdf;
  padding: 40px 10px;
  -webkit-box-sizing: border-box;-moz-box-sizing: border-box;-o-box-sizing: border-box;-ms-box-sizing: border-box;box-sizing: border-box;
}

}

/* クリックでAnswerが開くFAQ */
.faq {
  max-width: 100%;
  margin: 2rem auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
}

.faq-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.faq-item {
  border: 1px solid #e5e7eb;          /* #e5e7eb = gray-200 っぽい */
  border-radius: 0.75rem;              /* 12px */
  background: #fff;
  padding: 0.25rem 0.75rem;
  margin: 0.5rem 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.faq-q {
  list-style: none;                    /* 既定のマーカーを消す */
  cursor: pointer;
  padding: 0.75rem 2.25rem 0.75rem 0.25rem;
  font-weight: 600;
  font-size: 1.8rem;
  position: relative;
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; } /* Safari/Chromeの三角を消す */

.faq-q::after {
  content: "＋";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .2s ease;
  font-weight: 700;
}

.faq-item[open] .faq-q::after {
  content: "–";
  transform: translateY(-50%) rotate(0.001deg);
}

.faq-a {
  padding: 0 0.25rem 0.75rem;
  color: #374151;                      /* gray-700 */
  line-height: 1.8;
  /* 開閉時にちょっとしたアニメを付ける（高さはアニメしにくいのでフェード） */
  animation: faq-fade .18s ease;
}

@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ホバー/フォーカスのアクセシビリティ強化 */
.faq-q:focus-visible {
  outline: 3px solid #93c5fd;          /* sky-300 */
  border-radius: 0.5rem;
}