.container-restraunt p {
    color: inherit;
}

.container-restraunt section {
    color: inherit;
    background-color: inherit;
}

.one-restraunt-form-top {
    padding-top: 100px;
}

.nav-logo-restraunt {
    cursor: pointer;
}

/* 親：画像とテキストの基準点 */
.image-item-restraunt {
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.image-text-restraunt {
    /* color: white; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: fit-content;
    height: auto;
    font-weight: 700;
    writing-mode: vertical-rl;
    text-orientation: upright;
    pointer-events: auto;
    z-index: 200;
}

.footer-sns-restraunt {
    padding: 0;
}

.sns-icon {
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

/* .sns-icon.sns-complete {
    color: white;
    /* background-color: #111; */
/* }  */

.sns-mosaic {
    background-color: #454444;
}

.sns-icon i {
    font-style: normal !important;
    font-weight: normal !important;
    font-family: "Font Awesome 5 Brands", sans-serif !important;
}

.sns-icon i.sns-color {
    color:#333;
}
/* .sns-icon i.sns-complete {
    color: white !important;
    /* background-color: #111; */
/* }   */

.sns-link-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    /* border: 1px solid #ccc; */
    padding: 15px;
    font-size: 14px;
    z-index: 1000;
    color: black;
    width: 320px;
    max-width: 90vw;
    box-sizing: border-box;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.sns-link-header {
    display: flex;
    align-items: center;
    gap: 8px;            /* sns-name と title の間隔 */
}

.sns-name,
.sns-link-title {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    line-height: 21px;
    font-weight: normal;
    padding: 0 0 0 5px;
}

.sns-name {
    font-weight: bold;
    white-space: nowrap;
}

.sns-link-title {
    line-height: 21px;
    height: 21px;
    font-weight: normal;
    padding: 0 0 0 5px; 
}

.sns-link-title::after {
     content: "";
    display: block;
    height: 8px;
}

.sns-link-radio-label {
    display: inline-block;
    align-items: center;
    margin: 15px 0;
    cursor: pointer;
}

.sns-link-input {
    width: 100%;
    padding: 0;
    margin: 0;
    height: 30px;
}

.link-input {
    width: 100%;
    padding: 0;
    margin: 0;
    height: 100%;
}

.link-apply {
    width: 60px;
    height: 30px;
    margin: 15px 0 0 0;
    color: white;
    background-color: #2ecc71;
    border: 2px solid #27ae60;
    border-radius: 5px;
}

.link-close {
    width: 60px;
    height: 30px;
    margin: 15px 0 0 10px;
    color: white;
    background-color: #333;
    border: 2px solid #bbb;
    border-radius: 5px;
}

.sns-link-form .link-input {
    width: 100%;
    box-sizing: border-box;
}

.sns-link-form input[disabled],
.sns-link-form button[disabled] {
    opacity: 0.4;
    pointer-events: none;
}



.link-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    /* display: flex; */
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

button {
    cursor: pointer;
}

.link-form-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

#link-page-header {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.link-url-wrap {
    width: 100%;
    margin: 15px 0;
    padding: 0;
}

.link-url-label {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

#url-input {
    height: 28px;
    width: 100%;
    box-sizing: border-box;
    margin: 5px 0 0 0;
    border: 1px solid rgb(64, 64, 64);
}

.link-form-btn {
    font-size: 14px;
     width: 100px;
     height: 28px;
     margin: 0;
     border-radius: 5px;
     border: none;
     color: white;
     cursor: pointer;
}

.link-form-btn.save-link-btn {
     background-color: #4CAF50; /* 緑色 */
}

.link-form-btn.save-link-btn:hover {
    background-color: #45A049; /* 少し暗くした緑 */
}

.link-form-btn.create-link-btn {
    background-color: red;
}

.link-form-btn.create-link-btn:hover {
    background-color: darkred;
}

.link-form-btn.close-link-btn {
    background-color: #B0B0B0;
}

.link-form-btn.close-link-btn:hover {
    background-color: #808080;
}

.complete-btn-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white; /* 内枠の背景色を白に */
    padding: 20px; /* 内枠の余白 */
    border-radius: 10px; /* 角を丸く */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* ボタンのスタイル */
.input-complete-btn {
    width: 140px;
    display: block; /* ボタンは表示 */
    margin: 0 0 10px 0;
    padding: 8px 15px; /* ボタンのサイズ */
    font-size: 18px; /* フォントサイズ */
    background-color: red; /* 赤色の背景 */
    color: white; /* 白い文字 */
    border: none; /* ボーダーなし */
    border-radius: 5px; /* 角を丸く */
    cursor: pointer; /* カーソルをポインターに変更 */
    font-weight: bold; /* 太字にする */
}

.input-complete-close-btn {
    width: 140px;
    display: block;
    margin: 10px 0 0 0;
    padding: 8px 15px;
    font-size: 18px;
    background-color: #B0B0B0;
    color: white;
    border: none;
    border-radius: 5px; /* 角を丸く */
    cursor: pointer;
    /* font-weight: bold; 太字にする */
}

.input-complete-btn:hover {
    background-color: darkred;
}

.input-complete-close-btn:hover {
    background-color: #808080;
}

#image-type-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    /* border: 1px solid #ccc; */
    padding: 15px;
    font-size: 14px;
    z-index: 1000;
    color: black;
    width: 320px;
    max-width: 90vw;
    box-sizing: border-box;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}
   