@import 'variables.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.org-wide-header {
    position: static;
    top: 0;
    width: 100%;
    height: 200px;
    max-width: 576px;
    display: flex;
    background-position: center;
    justify-content: center;
    align-items: center; 
    background-color: #e7e7e7;
    overflow: hidden;
    z-index: 1;
}

.org-shrink-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    max-width: 576px;
    visibility: hidden;
    background-position: center;
    justify-content: center;
    align-items: center; 
    background-color: #989898;
    overflow: hidden;
    z-index: 1;
    transform: translateY(-100%); /* 初期位置を上に設定 */
    transition: visibility 0s, opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.org-shrink-header.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.org-wide-image-container {
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    transition: filter 0.3s ease;
}

.org-wide-image-container img {
    visibility: hidden;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.org-shrink-image-container {
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    transition: filter 0.3s ease;
}

.org-shrink-image-container img {
    visibility: hidden;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: blur(16px); 
}

.org-icon-container {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center; /* 横方向に中央寄せ */
    align-items: center;     /* 縦方向に中央寄せ */
    border-radius: 10px;
    border: 3px solid #fff;
    top: 160px;
    left: 20px;
    background-color: #efefef;
}

.org-icon-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.org-icon-placeholder {
    margin-left: 4px;
    width: 60px;
    height: 60px;
    fill: #ccc;
}

.org-shrink-header .org-name {
    position: absolute;
    top: 20px; /* 35pxを基準にする */
    transform: translateY(-50%); /* 横方向と縦方向の中央揃え */
    padding: 0 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    line-height: 1.5; /* 行間の調整 */
    transition: opacity 0.3s ease;
    white-space: normal; /* テキストが複数行になるのを許可 */
    width: 100%; /* 要素が中央に揃うための幅を指定 */
}

.org-sns-button-container {
    position: absolute;
    top: 210px;
    right: 20px;
    width: auto;
    max-width: 360px;
    height: auto;
}

.sns-icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 10px;
}

.sns-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を円にフィットさせる */
}



