/*=======ヘッダー=======*/
header {
    background-color: rgb(200, 61, 88);
    border-bottom: none;
    padding: 0;
    margin: 0;
    font-family: "Arial", "Helvetica", sans-serif;
}
 /*上段ロゴ*/
 .header-top {
    list-style: none; /*リストの点消す*/
    display: flex; /*横並び*/
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
 }
 .header-icon {
    width: 2.5rem;
    height: 2.5rem;
 }
 .header-top h1 {
    font-size: 2rem;
    font-weight: bold;
    color: white;
 }
 /*下段メニュー*/
 .header-bottom {
    background-color: white;
 }
 .menu {
    list-style: none;
    margin: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 0;
    align-items: center;
 }
 .menu > li {
    position: relative;
 }
 .menu a {
    display: block;
    padding: 0 20px;
    color: #444;
    text-decoration: none;
    text-align: center;
 }
 .menu a:hover,
 .menu > li:focus-within > a {
    background-color: white;
    color: #444;
 }
 /*サブメニュー*/
 .submenu {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    color: white;
    min-width: 200px;
    padding: 6px 0;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    z-index: 50;
 }
 .submenu li a {
    padding: 10px 16px;
    color: white;
    white-space: nowrap;
 }
 .submenu li a:hover {
    background-color: #555;
    color: white;
 }
 .has-submenu:hover .submenu,
 .has-submenu:focus-within .submenu {
    display:block;
 }
 .menu a::after {
    content: "";
    position: absolute;
    bottom: 0rem;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: crimson;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
 }
 .menu a:hover::after {
    transform: scaleX(1);
 }
 /*スマホ用*/
 @media(max-width:800px) {
    .menu {flex-direction: column; }
    .submenu {position: static; box-shadow: none;}
 }
/*===========フッター==========*/
footer {
    background-color: #333;
    text-decoration: none;
    color: white;
    border-bottom: none;
    text-align: right;
    padding: 10px;
    margin: 20px;
}
.icon-row {
  display: flex;          /* 横並びにする */
  gap: 20px;              /* アイコンの間隔 */
  justify-content: center;/* 中央寄せ */
}