* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

.hero {
    position: relative;
    height: 100vh;
    background: url(images/Iriso_Shopingstreet_image.png) center / cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    backdrop-filter: blur(3px);
    z-index: 1003;
    transition: backdrop-filter 0.3s ease;
}

.open .site-header {
    backdrop-filter: none;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
}

.header-left,
.header-center,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-left {
    justify-content: flex-start;
}

.header-left img {
    height: 100px;
}

.header-center {
    justify-content: center;
    text-align: center;
}

.header-center a{
    text-decoration: none;
}

.header-center h1 {
    font-size: 50px;
    font-weight: 600;
    color: #222;
}

.header-right {
    justify-content: flex-end;
}

.toggle-btn {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: #c3e2ee;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1003;
}

.toggle-btn span {
    position: absolute;
    left: 50%;
    width: 28px;
    height: 3px;
    background: #222;
    border-radius: 3px;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.toggle-btn span:nth-child(1) { top: 16px; }
.toggle-btn span:nth-child(2) { top: 24px; width: 22px; }
.toggle-btn span:nth-child(3) { top: 32px; width: 16px; }

#navArea {
    position: relative;
    z-index: 1001;
}

nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #c3e2ee;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    z-index: 1002;
}

.open nav {
    right: 0;
}

nav .inner {
    padding: 100px 30px 30px;
}

nav ul {
    list-style: none;
}

nav li {
    margin: 10px 0;
}

nav a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #222;
    border-radius: 8px;
    transition: 0.3s;
}

nav a:hover {
    background: rgba(0,0,0,0.05);
    transform: translateX(6px);
}

#mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 1001;
}

.open #mask {
    display: block;
}

.toggle-btn.open span {
    top: 50%;
    width: 28px;
}

.toggle-btn.open span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.toggle-btn.open span:nth-child(2) {
    opacity: 0;
}

.toggle-btn.open span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.circle-area {
    position: relative;
    margin-top: auto;
    margin-bottom: 100px;
    width: 100%;
    max-width: 900px;
}

.top-row,
.bottom-row {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.bottom-row {
    padding: 0 40px;
}

.top-row {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 66%;
    justify-content: space-around;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
    transition: transform 0.3s;
}

.circle img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.circle p {
    margin-top: 8px;
    font-size: 16px;
}

.circle-orange {
    background-color: #FFA726;
}
.circle-blue {
    background-color: #4FC3F7;
}

/* ===== お知らせバー ===== */

.news-bar{
  position: relative;
  margin-top: 120px; /* ←バーを下げる位置調整 */
  width: 100%;
  overflow: hidden;
  background: #f0908d;
  height: 40px;
  display:flex;
  align-items:center;
}

.news-link{
  text-decoration:none;
  color:white;
  width:100%;
}

.ticker{
  display:flex;
  white-space:nowrap;
  animation: scrollTicker linear infinite;
}

.ticker span{
  padding-right: 80px;
  font-size:16px;
}

@keyframes scrollTicker{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ===== スマホ ===== */
@media (max-width: 768px) {

    html, body {
        height: 100%;
        overflow: hidden;
    }

    .hero {
        height: 100vh;
        overflow: hidden;
    }

    .content {
        height: 100%;
    }

    .header-left img {
        height: 60px;
    }

    .header-center h1 {
        font-size: 15px;
    }

    .site-header {
        height: 80px;
    }

    nav {
        right: auto;
        left: 0;
        top: -100vh;
        width: 100%;
        height: 100vh;
        transition: top 0.5s ease;
    }

    .open nav {
        top: 0;
    }

    .toggle-btn {
        width: 45px;
        height: 45px;
    }

    nav .inner {
        padding-top: 100px;
    }

    /* ===== ボタン配置 ===== */
    .circle-area {
        flex: 1;
        width: 100%;

        /* 少し中心寄り（完全中央ではない） */
        margin-top: 40px;

        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        row-gap: 25px;
        margin-top: calc(80px + 2vh);
    }

    /* row指定を無効化 */
    .top-row,
    .bottom-row {
        display: contents;
    }

    .circle {
        width: 130px;
        height: 130px;
    }

    .circle img {
        width: 34px;
        height: 34px;
    }

    .circle p {
        font-size: 12px;
        margin-top: 6px;
        line-height: 1.2;
        text-align: center;
    }

    /* ===== 左3・右2の配置指定 ===== */

    .circle:nth-child(1) { grid-column: 1; }
    .circle:nth-child(2) { grid-column: 2; }
    .circle:nth-child(3) { grid-column: 1; }
    .circle:nth-child(4) { grid-column: 2; }
    .circle:nth-child(5) { grid-column: 1; }

    .news-bar{
        margin-top: 80px;
    }
}