@charset "UTF-8";

/*----------------------------------------
    base ベースルール
----------------------------------------*/

/* 標準的なフォント（本文などに使用） */
html {
    font-size: 62.5%; /* rem単位でのフォントサイズ計算を容易にするため(フォントサイズを10pxで揃える)。 62.5％=10pxなので、×10で計算できる */
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    line-height: 1.5;/*行間16×1.5＝24px*/
    color: #000;
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin-top: 0 !important;
}


/* 画像が荒くならないように対策 */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* リンク用の画像のアニメーション */
a > img {
    transition: 0.25s;
}


a:hover {
    color: #8c8888;
}



/*----------------------------------------
    header
----------------------------------------*/

header{
    width: 100%;
    height: auto;
    padding-top: 10px;
}

.header_wrapper{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    align-items: flex-start; /* デフォルトで子要素を上揃えにする */
}

.header_outer{
    display: flex;
    justify-content: space-between;
}

.header_title{
    font-size: 1.8rem;
    font-weight: 700;
    color: #39adc7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* nav */
.hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 0;
}

.hamburger_line {
    position: relative;
    width: 25px;
    height: 2px;
    background: #333;
}

.hamburger_line::before,
.hamburger_line::after {
    position: absolute;
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    background: #727070;
    transition: transform 0.3s;
}

.hamburger_line::before {
    top: -8px;
}

.hamburger_line::after {
    bottom: -8px;
}

/* hamburge-close*/
.hamburger:hover .hamburger_line {
    background: transparent;
}

.hamburger:hover .hamburger_line::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger:hover .hamburger_line::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav_wrapper{
    display: none;/* 768px以下であればグローバルナビゲーションは非表示になる */
    }

.date{
    text-align: end;
}

@media (width>768px) {
    header{
        padding-top: 20px;
    }

    .header_wrapper{
        padding-left: 30px;
    }

    .header_title{
        width: 35vw;
        font-size: 2vw;
        flex-wrap: wrap;
    }

    .hamburger {
        display: none;
    }

    .nav_wrapper{
        padding-left: 70px;
    }

    .nav_wrapper ol{
        padding-top: 40px;
        margin-left: auto
    }

    .nav_wrapper li{
        font-size: 0.8vw;
        background-color: #39adc7;
        border: 1.5px solid #39adc7;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
        color: #fff;
        display: inline-block;
        font-weight: 600;
        padding: 8px 8px;
    }

    .nav_wrapper:hover {
        color: #8c8888;
    }

    .nav_wrapper li:hover{
        background-color: #fff;
        color: #fff;
    }


    .nav_wrapper {
        display: block;
    }

    .date{
        font-size: 1vw;
        text-align: end;
    }
}


/*----------------------------------------
    main
----------------------------------------*/

main{
    max-width: 1000px;/*コンテンツが入る中身の部分*/
    margin-left: auto; /* 中央に寄せる */
    margin-right: auto;
    font-size: 1.4rem;
}

.main_wrapper{
    width: 100%;
    padding-top: 10px;
    padding-left: 20px; /*  (モバイルでの余白) */
    padding-right: 20px; /*  (モバイルでの余白) */
    padding-bottom: 50px;
}

.main_kv{
    width: 100%;
    text-align: center;
    /* margin: 20px auto 20px auto; */
}

.lead {
    margin-top: 10px;
    background-color: #fffdf7;
    padding: 10px;
    border:1px solid #e8e5e5;
}

.agenda{
    margin: 30px auto 0;
}

.agenda_txt{
    background-color: #39adc7;
    color: #fff;
    padding:3px 0px 3px 20px;
    border:1px solid #e8e5e5;
}


.agenda ol{
    padding: 10px;
    line-height: 2;
    list-style-type: decimal;/* 数字を復活 */
    list-style-position: inside;/* 枠の中に入れる */
    background-color:  #fffdf7;
    border:1px solid #e8e5e5;
}



h3 {/* h3統一 */
    border-bottom: solid 3px #39adc7;
    position: relative;
    font-size: 1.7rem;
    margin: 30px 0 20px 0;
}

h3:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #ffc778;
    width: 30%;
}

.thema_txt{
    line-height: 1.8;
}

.recipe_detail{
    padding-top:15px;
    padding-bottom: 5px;
}

.point {
    position: relative;
    margin: 35px 0 0 0;
    padding: 0.5em 1em;
    border: solid 3px #ffc778;
}
.point_title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    background: #ffc778;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.point p{
    padding: 0;
}

.recipe_codepen{
    font-size: 1.6rem;
    padding-top: 20px;
    padding-bottom: 5px;
}

@media (width>768px) {
    main{
        font-size: 1.8rem;
    }

    .main_wrapper{
        padding-bottom: 150px;
    }

    .main_kv{
        width: 60%;
        height: auto;
        margin: 50px auto 50px auto;
    }

    .lead {
        margin-top: 20px;
    }

    .agenda{
        margin: 60px auto 0;
    }

    .agenda_txt{
        padding:10px 0px 10px 10px;
        font-size: 2.3rem;
        font-weight: 600;
    }

    .agenda ol{
        padding: 20px;
    }

    h3 {/* h3統一 */
        font-size: 2.5rem;
        margin: 150px 0 30px 0;
    }

    .recipe_section img{
    width: 700px;
    }

    .recipe_detail{
        padding-top:10px;
        padding-bottom: 10px;
    }

    .point {
        margin: 45px 0 0 0;
    }

    .point_title {
        font-size: 18px;
    }

    .point p{
        padding: 5px;
    }

    .recipe_codepen{
        font-size: 2rem;
        padding-top: 70px;
        padding-bottom: 5px;
    }
}



/* 日報の表 */
.work_section{
    padding: 20px 0 20px 0;
}

.work_detail{
    padding: 15px 0 20px 0;
    line-height: 1.8;
}

.work_wrapper{
    /* width: 280px; */
    padding: 0 0 50px 40px;
    line-height: 1.3em;
    box-sizing: border-box; /* パディングとボーダーを要素の幅・高さに含める*/
    font-size: 1rem;
    border:1px solid #e8e5e5;
}

.time_schedule {
    min-width: 200px; /* 最小幅を200pxに設定 */
    max-width: 200px; /* 最大幅も200pxに設定､固定*/
    list-style: none; /* リストのデフォルトのマーカー（点など）を非表示 */
    margin: 20px auto;
    border-left: 6px solid #a7be18; /* メインのタイムライン線 */
    padding-left: 20px;
}

.time_schedule li {
    width: 100%;
    margin: 0 0 30px 0; /* 上下左右のマージン設定。左は0 */
    padding: 0;
    position: relative;
    display: flex;
    align-items: flex-start; /* Flexアイテム（時間とコンテンツ）の上端を揃える */
}

.time_schedule span.time {/* 時間表示のところ */
    width: 5em; /* 時間表示の領域の幅を固定 */
    flex-shrink: 0; /* Flexアイテムとして幅が縮まないように */
    text-align: right; /* 時間表示のテキストを右寄せ */
    padding-right: 0;
    position: relative;
    font-weight: bold; /* 時間表示を太字 */
    margin-left: -9em;
}

.time_schedule span.time::after {  /* 時間表示の横の丸いマーカー */
    content: ""; /* 疑似要素の内容を空に設定 */
    position: absolute; /* 親要素（span.time）を基準に絶対配置 */
    top: 8px; /* span.time の上端に合わせる */
    left: 47px;
    transform: translateX(50%) translateY(-50%);
    background: #a7be18; /* 丸点の色を設定します */
    width: 20px; /* 丸点の幅 */
    height: 20px; /* 丸点の高さ */
    border-radius: 10px; /* 幅と高さの半分で完全な円になる */
    z-index: 1; /* 線の上に表示されるようにします */
}

  /* スケジュールボックス（div.sch_box）のスタイル */
.time_schedule .sch_box {
    flex-grow: 1;
    background: #efefef; /* 背景色を設定 */
    padding: 15px; /* 内側の余白を設定 */
    border-radius: 6px; /* 角を丸く */
    margin-left: 40px; /* 時間表示とスケジュールコンテンツの間の間隔を設定*/
    display: flex;
    gap: 20px; /* 隙間を設定 */
    align-items: flex-start;
}

.activity_group {
display: flex;
flex-direction: column;
flex: 1;/* 親要素（.sch_box）内で利用可能なスペースを均等に分配し、幅を自動調整 1対1*/
}

.comment_group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

  /* 稼働内容とコメントラベルの共通スタイル */
.comment_label {
    font-size: 11px;
    font-weight: bold; /* 太字 */
    margin-bottom: 5px;
}

  /* テキストエリアの共通スタイル */
.sch_tx_textarea {
    font-size: 10px;
    font-weight: normal;
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box; /* パディングとボーダーを幅・高さに含める */
    border: 1px solid #ccc; /* 枠線 */
    border-radius: 4px; /* 角を丸く */
    resize: vertical; /* 縦方向のみユーザーがサイズ変更できるように */
    line-height: 1.3em; /* 行の高さ */
    height: 70px; /* 見た目を揃ええる */
}

.sch_textarea{
    width: 180px;
    border:1px solid black;
    position: absolute;
}

.textarea_btn {
    background-color: #2f4f4f;
    color: #fff;
    padding: 3px 3px;
    font-size: 0.8em;
    position: relative;
    left: 178px;
    top: -19px;
}
.textarea_btn:hover {
    color: #fff;
    opacity: 0.8;
}



/* 日報の表 */
@media (width>768px) {

.work_wrapper{
    width: 800px;
    height: 750px;
    line-height: 1.8;
}

.time_schedule {
    min-width: 600px;
    max-width: 600px;
}

.textarea_btn {
    padding: 4px 4px;
    font-size: 1em;
    left: 52px;
    top: -25px;
}

.textarea_btn:hover {
    color: #fff;
    opacity: 0.8;
}
.sch_textarea{
    width: 600px;
}
.summary{
padding-top: 10px;
padding-left: 20px;
}

.think_txt,
.problems_txt{
    line-height: 1.8;
}
}

/*----------------------------------------
    footer
----------------------------------------*/
footer{
    width: 100%;
    height: 50px;
    font-size: 1.8rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

footer p{
    padding: 2rem;
    font-size: 15px;
    color: #999;
    line-height: 2;
}

@media (width>768px) {
    footer{
    height: 100px;
}
}

/*----------------------------------------
    ページトップへ戻るボタン
----------------------------------------*/
.page-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #39adc7;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.4rem;
    text-decoration: none;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.page-top-button:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .page-top-button {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px;
        font-size: 1.2rem;
    }
}
