body {
    font-family: 'Noto Serif JP', serif;
    background-color: rgb(250, 239, 241);
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 100%;
    margin: 0 auto;
    background: transparent;
    padding: 20px;
    /*border-radius: 8px;*/
    box-shadow: none;/*0 2px 4px rgba(0,0,0,0.1)*/
}
h1 {
    font-size: 24px;
    color: #333;
    text-align: center;
}
.form-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

/* 入力ボックスひとつひとつを「水色×白破線」のデザインにする */
input[type="text"], 
input[type="time"], 
select {
    padding: 10px 14px;
    margin-bottom: 16px; /* 入力欄同士が重ならないように間隔をあける */
    background: #d6ebff;
    
    /* 10pxの二重の重なりを作る shadow */
    box-shadow: 0px 0px 0px 8px #d6ebff;
    border: dashed 2px white;
    border-radius: 4px;
    
    font-size: 16px;
    font-family: 'Noto Serif JP', serif;
    color: #333;
    outline: none; /* フォーカス時の黒枠を消す */
    box-sizing: border-box;
    width: 100%; /* shadowの分だけ横幅を収める */
    margin-x: 0 auto 16px;
}

/* 入力欄にマウスを乗せたとき・入力中のちょっとした変化 */
input[type="text"]:focus, 
input[type="time"]:focus, 
select:focus {
    background: #cbe3fc;
    box-shadow: 0px 0px 0px 8px #cbe3fc;
}
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
.card {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-left: 5px solid #4CAF50;
    border-radius: 4px;
}

/* 7つの円を横並びにするエリア */
.date-circles {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央揃え */
    gap: 12px;              /* 行同士の間隔 */
    margin-bottom: 25px;
}

.date-row {
    display: flex;
    justify-content: center;
    gap: 12px;              /* 円同士の間隔 */
}

/* 個別の円のデザイン（水彩画・手書き風） */
.date-circle {
    width: 100px;
    height: 100px;
    /* 角の丸みを不規則にすることで、手書きのにじみ・ゆがみ感を表現 */
    border-radius: 50%;
    
    /* 淡い水彩画のようなグラデーション背景 */
    background: linear-gradient(135deg, #fdfbf7 0%, #f4eee6 100%);
    
    /* 滲んだようなやわらかい枠線 */
    border: 1.5px solid #dcd3c9;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: #5c534b;
    transition: all 0.3s ease;
    
    /* やわらかく広がる影 */
    box-shadow: 0 4px 12px rgba(180, 165, 150, 0.15);
}
/* 中の数字と曜日のバランス調整 */
.date-circle span:first-child {
    font-size: 18px !important; /* 月/日 */
}
.date-circle span:last-child {
    font-size: 20px !important; /* 曜日を大きく！ */
}

/* ホバーしたとき（ふんわり浮き上がる） */
.date-circle:hover {
    background: linear-gradient(135deg, #fffdfa 0%, #eee5da 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(180, 165, 150, 0.25);
}

/* 選択されている（クリック中の）円のデザイン */
.date-circle.active {
    /* 選択中は少し深みのある、でもやさしいアースカラー（例：くすみブルーやテラコッタ） */
    background: linear-gradient(135deg, #7c90a0 0%, #5e7384 100%);
    color: #fff;
    border-color: #4c5e6d;
    font-weight: 500;
    box-shadow: 0 6px 16px rgba(94, 115, 132, 0.35);
}

/* 画面の切り替え用クラス */
.hidden {
    display: none !important;
}

/* 選択中の日付を表示するタイトル部分 */
.selected-date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* 戻るボタンのデザイン */
.back-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.back-btn:hover {
    background-color: #5a6268;
}

h1.title-07 {
  position: relative;
  padding: 8px 16px;
  outline: 1px solid #333;
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: 400;
  display: block;
  box-sizing: border-box;
  max-width: 350px;
  text-align: center; 
  margin: 24px;
  margin-inline: auto;
}

.title-07::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 40px;
  height: 40px;
  background: #d0e0e5;
  clip-path: polygon(0 0, 100% 0%, 0 100%);
  
}

.title-07::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  outline: 1px solid #333;
}

/* 平日用のカラー（薄い水色ベース） */
.date-circle.weekday {
    background: linear-gradient(135deg, #f2f7fc 0%, #e3edf7 100%);
    border: 1.5px solid #c8d8e6;
    color: #4a607a;
}
.date-circle.weekday:hover {
    background: linear-gradient(135deg, #f8fbfe 0%, #eaf2fb 100%);
    box-shadow: 0 6px 15px rgba(160, 185, 210, 0.25);
}

/* 休日・祝日用のカラー（薄いピンクベース） */
.date-circle.holiday {
    background: linear-gradient(135deg, #fcf4f5 0%, #f7e4e6 100%);
    border: 1.5px solid #e6c8cc;
    color: #7a4a50;
}
.date-circle.holiday:hover {
    background: linear-gradient(135deg, #fef8f9 0%, #faecef 100%);
    box-shadow: 0 6px 15px rgba(210, 160, 165, 0.25);
}

@media screen and (max-width: 1024px) {
/* 768px以下の画面サイズで適用されるスタイル */
    body{
        padding: 20px 15px;
    }

    h1.title-07{
        font-size: 26px;
        margin: 16px auto;
        max-width: 90%;
    }

    .date-circle {
        width: 100px;
        height: 100px;
        font-size: 14px;
    }

    .date-circle span:first-child {
        font-size: 15px !important;
    }
    .date-circle span:last-child {
        font-size: 20px !important;
    }


    /* 円と円の間隔を少し広げて、タップしやすくする */
    .date-row {
        gap: 14px !important;
        margin-bottom: 14px !important;
    }
}

@media screen and (min-width: 1025px) {
/* 1025px以上の画面サイズで適用されるスタイル */
}

#addBtn{
    width:100%;
    min-height: 44px;
    padding: 12px;
    font-size: 16px;
    font-family: 'Noto Serif JP',serif;
    box-sizing: border-box;
}