.all-contents {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.main-part {
    width: 100%;
    display: flex; 
    justify-content: center;
    align-items: center; 
    flex-direction: column;
    margin-bottom: 1rem;
}

.title {
    width: 100%;
    margin: 0;
    padding: 1rem 0 1rem 0;
    background: linear-gradient(to bottom, rgb(255, 242, 4), rgb(255, 250, 149));  
}

.title-img {
    max-width: 800px;
    height: auto;
}

.date-box {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin: 1rem 0.5rem 0 0.5rem;
}

.three-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0 0.5rem 0;
}

.button-expand {
    width: 60%;
    margin: 0 0.5rem 0 0.5rem;
    font-size: 1.75rem;
    font-weight: bold;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border: 0;
    border-radius: 0.5rem;
    background-color: rgb(0, 56, 242);
    color: white;

    transition: .2s;
}
.button-expand:hover {
    background-color: rgb(0, 29, 124);
    transform: scale(1.05);
    cursor: pointer;
}

.bg-blue {
    padding: 1rem;
    margin: 0.25rem;
    background: #f5f7fb;
    border: 2px solid #81b3ff;
    border-radius: 0.25rem;
}

.free {
    width: 100%;
    background-color: rgb(48, 48, 48);
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
    color: rgb(241, 255, 49);
    font-weight: bold;
    padding: 0.5rem;
    margin-top: 1rem;
}

.place-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items:start;
    padding: 0 0.5rem 0 0.5rem;
    align-items: stretch;
}

.place {
    max-width: 45%;
    text-align: center;
}

.place img{
    max-width: 90%;
}

.place-sm {
    width: 100%;
    text-align: center;
}

.text-lb {
    font-weight: bold;
    font-size: 1.25rem;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

h2 {
    display: inline;
    margin: 0 0 0 0;
}

h3 {
    font-size: 1.25rem;
}

.margin-box {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.title-with-icon {
    display: flex;
    align-items: start;
}

.details-outer {
    margin: 1rem 0 0 0;
    padding: 0.3rem 0.5rem 0.2rem 0.5rem;
    border-radius: 0.5rem;
    background-color: rgb(242, 231, 0);
}

.details-inner {
    margin: 0 0 0.2rem 0;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    border-radius: 0.5rem;
    background-color: white;
}

.profile {
    background-color: rgb(224, 224, 224);
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
}

.name {
    font-size: 1rem;
}

.affiliation {
    font-size: 0.8rem;
}


/* 火山防災の日 */
.about {
    display: flex;
    align-items: end;
    justify-content: left;
}

.center {
    text-align: center;
}

.about-title {
    font-size: 1.5rem;
    /* color: rgb(126, 67, 0); */
    font-weight: 600;
}

.link-button {
    font-size: 1rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    margin: 0.5rem;
    border: 0;
    border-radius: 0.5rem;
    background-color: rgb(0, 56, 242);
    color: white;
    font: var(--my-font);

    transition: .2s;
}
.link-button:hover {
    background-color: rgb(0, 29, 124);
    transform: scale(1.05);
    cursor: pointer;
    font-weight: bold;
}

.smaller {
    font-size: 1rem;
}

/* ロゴ */
.logos {
    display: flex;
    justify-content: left;
    align-items:start;
    padding: 0.25rem 0 0.25rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.logos img {
    height: 3rem;
    width: auto;
    display: block;
    margin-right: 1rem;
}

/* 折り畳み */
.collapsible details {
    /* 既定の余白調整 */
    margin: 0.5rem 0;
}
  
.collapsible summary {
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: #f5f7fb;
    border: 2px solid #81b3ff;
    border-radius: 0.25rem;
    list-style: none; /* 一部ブラウザのデフォルト三角アイコンを消す */
    position: relative;
    font-weight: normal;
}

/* カスタムの矢印アイコン */
.collapsible summary::after {
    content: "▸";
    position: absolute;
    right: 12px;
    transition: transform 0.2s ease;
}

/* 開いている状態の矢印回転 */
.collapsible details[open] summary::after {
    transform: rotate(90deg);
}

.collapsible .content {
    padding: 0.75rem 1rem;
    border: 1px solid #dbe1ea;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #fff;
}

/* メディアクエリ */
@media (max-width: 750px) {
    .none-sm {
        display: none;
    }
    .three-buttons {
        flex-direction: column;
    }
    .button-expand {
        width: 90%;
    }
}

@media (min-width: 749px) {
    .none-lg {
        display: none;
    }
}
