
/* common */
body {
    margin:0;
    font-family: "Nunito", sans-serif;
    background-color: #fffaf5;
    padding-bottom: 80px;
}
h1{
    text-align: center;
}
input, 
select,
textarea {
    width: 100%;
    padding: 14px 12px;
    box-sizing: border-box; /* widthやhightも含めて計算する記述 */
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: white;
    box-shadow: none;/* 立体感が付いていたのを消した  */
}
label{
    font-weight: bold;
}
.social-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-icon-apple {
    font-size: 40px;
}
/* index.php start */
.index-header{
    text-align: center;
    margin-top: 20px;
    margin-bottom:0;
}
main{
    text-align: center;
    margin-top: 0;
}
.main-logo{
    width:130px;
    height:auto;
}
.main-image {
    width: 100%;
    height:auto;
}

.primary-button{
    display: block;
    background-color: #e86f00;
    color:white;
    padding:15px;
    margin: 30px 20px 0;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.login-button {
    display: block;
    color: black;
    padding: 15px;
    margin: 15px 20px;
    border: 1px solid gray;
    border-radius: 25px;
    text-decoration: none;
    cursor: pointer;
}
.language {
    color: #888888;
    margin: 0;
}
/* register.php start */
.form-container{
    display:flex;
    flex-direction: column;
    margin: 0 30px; 
    gap: 10px;
}
.social-login{
    text-align:center;
}
.social-login button {
    border: none;
    background: none;
    padding: 0;
}
.on-line{
    display: flex;/* 「横線・または・横線」を横一列に並べるため */
    align-items: center; /* 横線と「または」を縦方向の中央で揃えるため */
    gap: 15px;
    background-color: black;
}
.on-line span {
    height: 1px;
    flex: 1;/*親要素の中で余っているスペースを使って広がる*/
}
/* register.php end */

/* login.php start */
.forget-password{
    text-align: right;
}
.no-acount{
    text-align: center;
}
/* profile-setup.php start */
.profile-image-area {
    text-align: center;
}
.profile-image-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #222;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    cursor: pointer;
}
.profile-image-button i {
    font-size: 24px;
}
 #profile-image {
    display: none;
} 
/* login.php end */
/* events.php start */
.event-card {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 12px;
    background-color: white;
    border-radius: 12px;
}
/* イベント名と日付の部分に残りの横幅を使わせる */
.event-info {
    flex: 1;
    text-align: left;
}
.event-link {
    text-decoration: none;
    color: black;
}
.event-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 12px;
}
.recommended-event-link {
    text-decoration: none;
    color: black;
}
.recommended-event {
    background-color: white;
    padding: 15px;
    border-radius: 16px;
    margin: 0 20px 25px;
}
.recommended-event-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background-color: white;
    border-top: 1px solid #ddd;
    z-index: 1000;
}
.bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: #777;
    text-decoration: none;
    font-size: 11px;
}
.bottom-nav i {
    font-size: 18px;
    margin-bottom: 4px;
}
.bottom-nav .active {
    color: #e86f00;
}
.event-search {
    display: flex; /* アイコンと入力欄を横並びにする */
    align-items: center; /* アイコンと入力欄の縦位置を中央にする */
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 0 12px;
    margin-top: 15px;
}
.event-search i {
    color: #888;
    margin-right: 8px;
}
/* 検索入力欄 */
.event-search input {
    flex: 1; /* 検索欄に残りの横幅を使わせる */
    border: none;
    outline: none; /* クリック時の標準枠線を消す */
    background-color: transparent;
}
.event-meta-item {
    display: flex;
    align-items: center;
}
.join-form {
    margin: 0 20px;
}
.join-form .primary-button {
    width: 100%;
}
/* events.php end */
/* event-detail.php start */
.event-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/* event-detail.php end */
/* join-complete.php start */
/* join-complete.php start */
.join-complete {
    box-sizing: border-box;
    /* 内容を中央付近に配置 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
}
/* オレンジ色のチェックマーク */
.complete-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background-color: #e86f00;
    color: white;
    border-radius: 50%;
    /* ✓を円の中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
}
.join-complete h1 {
    font-size: 20px;
    margin-bottom: 15px;
}
.join-complete p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}
/* イベントを探す */
.join-complete .primary-button {
    display: block;
    width: 50%;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
}
/* join-complete.php end */