@charset "UTF-8";

/*------------------------------------------------
breakpoint
pc --> (min-width: 1280px)
tab --> (min-width: 744px) and (max-width: 1279px)
sp --> (max-width: 743px)
-------------------------------------------------*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #222;
    font-family: Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS P Gothic", Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

h2 {
    font-size: 26px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

a,
a:link,
a:visited {
    color: #222222;
}

img {
    max-width: 100%;
    height: auto;
}

@media (hover: hover) {
    a:hover {
        color: #0066cc;
        transition: color 0.2s ease;
        text-decoration: none;
    }

    a:hover img {
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }
}

th,
td {
    vertical-align: middle;
    line-height: 1.3;
}

/*ボタン*/
.link-btn {
    font-size: 20px;
    line-height: 1;
    width: min(290px, 100%);
    color: #fff !important;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    background-color: #d70a16;
    box-shadow: 0px 3px 1px 0px #891f25;
    padding: 15px 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    text-decoration: none;
    text-align: center;
    margin: auto;
}

.link-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 10px;
    height: 16px;
    background: #fff;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}

#generate-btn.link-btn::after {
    width: 16px;
    height: 10px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.copy-btn {
    font-size: 20px;
    line-height: 1;
    width: min(290px, 100%);
    color: #fff !important;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    background-color: #0066cc;
    box-shadow: 0px 3px 1px 0px #20476d;
    padding: 15px 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    text-decoration: none;
    text-align: center;
    min-height: 50px;
    margin: 20px auto 0;
}

.copy-btn::before {
    content: "";
    background: url("/contents/selfpr-generator/img/icon-clipboard.svg") center center / contain no-repeat;
    display: inline-block;
    width: 20px;
    aspect-ratio: 171 / 180;
    vertical-align: -3px;
    margin-right: 5px;
}

@media (hover: hover) {

    .link-btn:hover,
    .copy-btn:hover {
        transform: translateY(3px);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

/*パンくず*/
#bread {
    max-width: 960px;
    font-size: 12px;
    margin: 0 auto;
}

/*ナビ*/
#navi {
    max-width: 960px;
    background: #fff;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    transition: box-shadow 0.2s ease;
}

#navi.shadow {
    border-radius: 3px;
    box-shadow: 0 1px 5px 1px rgba(0, 0, 0, .15);
}

#navi>ul {
    display: flex;
    width: 80%;
    margin: auto;
}

#navi>ul li {
    width: 33.33%;
    text-align: center;
}

#navi>ul li:last-child a {
    border-right: none;
}

#navi>ul li a {
    border-right: solid 2px #ccc;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    padding: 0 10px;
}

#navi>ul li a:after {
    content: "";
    width: 8px;
    height: 6px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    background: #57cbcb;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px;
}

@media (hover: hover) {
    #navi>ul li a:hover {
        color: #57cbcb;
    }
}

#navi>ul li a span {
    display: inline-block;
}

#header {
    max-width: 960px;
    margin: 15px auto 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .logo img {
    display: block;
    width: 168px;
}

@media (hover: hover) {
    #header .logo:hover img {
        opacity: 1;
        transition: none;
    }
}

#header ul#subNavi {
    position: relative;
    top: auto;
    right: auto;
}

#pageTitle {
    position: relative;
    max-width: 960px;
    margin: 5px auto 0;
    background: #ffe7e7;
    display: grid;
    grid-template-columns: min(160px, 24%) 1fr min(160px, 24%);
    align-items: center;
    padding: 0 5px;
}

#pageTitle .pageTitleInner {
    text-align: center;
    padding: 15px 10px 10px;
}

#pageTitle .pageTitleInner h1 {
    font-size: 34px;
    line-height: 1.25;
    font-weight: normal;
}

#pageTitle .pageTitleInner h1 .subText {
    font-size: 24px;
    display: block;
    margin-top: 5px;
}

#pageTitle>img:last-child {
    align-self: end;
}

#main {
    max-width: 960px;
    margin: 0 auto;
}

#contents-wrap {
    margin-top: 30px;
}

#simpleTool h2,
#arranger h2,
#manner h2 {
    font-weight: bold;
    background-color: #ffe7e7;
    padding: 12px 22px 10px;
    margin-bottom: 20px;
    position: relative;
    border-left: solid 5px #d70a16;
}

#simpleTool h2::after,
#arranger h2::after,
#manner h2::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    bottom: -15px;
    left: 0.8em;
    border-width: 22px 15px 0px 15px;
    border-style: solid;
    border-color: #ffe7e7 transparent transparent transparent;
}

.simpleTool-wrap {
    background-color: #ccf3f1;
    border-radius: 10px;
    padding: 30px;
    margin-top: 10px;
}

.simpleTool-wrap .link-btn {
    display: grid;
    margin: 20px auto;
}

.form-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
    counter-reset: simpleToolNumber;
}

.form-area li {
    counter-increment: simpleToolNumber;
}

.form-area label {
    font-size: 18px;
    line-height: 1.3;
    font-weight: bold;
}

.form-area label::before {
    content: counter(simpleToolNumber)".";
    color: #0066cc;
    margin-right: 5px;
}

.result-area {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 30px;
}

label[for="output-text"] {
    font-size: 18px;
    line-height: 1.3;
    font-weight: bold;
    margin-bottom: 3px;
}

label[for="output-text"]::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #0066cc;
    display: inline-block;
    margin-right: 5px;
}

#output-text {
    padding: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.select-wrap {
    position: relative;
    width: 100%;
    margin-right: 10px;
}

.select-wrap::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background: #5a5a5a;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.select-box {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #aaa;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 25px 10px 10px;
    position: relative;
    height: 42px;
    appearance: none;
    cursor: pointer;
    text-overflow: ellipsis;
}

/*-------------------------
さっそくお仕事をさがそう！
-------------------------*/
.search {
    margin-top: 30px;
    background: #eee;
}

.search h3 {
    color: #fff;
    text-align: center;
    background: #d70a16;
    padding: 10px 10px 6px;
}

.search h3:before {
    content: "";
    display: inline-block;
    background: url("/contents/selfpr-generator/img/icon-loupe.svg") center center / contain no-repeat;
    width: 22px;
    height: 22px;
    vertical-align: -2px;
    margin-right: 10px;
}

.select-search {
    position: relative;
    padding: 20px;
}

.select-search form[name="select"] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.select-search form[name="select"] .link-btn {
    grid-column: 1 / -1;
}

.select-search form[name="select"] select {
    appearance: none;
    outline: none;
    border: none;
    width: 100%;
    height: 40px;
    padding: 0 calc(40px + 7px) 0 7px;
    background: #fff url("/contents/selfpr-generator/img/btn-select.png") right top /contain no-repeat;
    line-height: 40px;
    font-size: 14px;
    color: #000;
    text-overflow: ellipsis;
}

@media (hover: hover) {
    .select-search form[name="select"] select:hover {
        cursor: pointer;
    }
}

/*-------------------------
アレンジのコツ／基本マナー
-------------------------*/
#arranger,
#manner {
    margin-top: 80px;
}

.arranger-cont {
    margin-top: 40px;
}

.manner-cont{
    margin-top: 30px;
}

.list>li {
    margin-top: 20px;
}

.number-list {
    counter-reset: numberList;
}

.number-list>li {
    counter-increment: numberList;
    margin-top: 20px;
}

.list>li:first-child,
.number-list>li:first-child {
    margin-top: 0;
}

.arranger-list {
    position: relative;
    padding-left: 13px;
}

.arranger-list dt,
.manner-list dt {
    font-weight: bold;
    font-size: 18px;
}

.arranger-list dt::before {
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    background: #0066cc;
    position: absolute;
    left: 0;
    top: 6px;
}

.arranger-cont h3 {
    background: #d2eef9;
    border-radius: 10px;
    padding: 8px 22px 4px;
    margin-bottom: 15px;
}

.arranger-cont .list,
aside {
    border: 1px dotted #aaa;
    padding: 20px;
    margin-top: 20px;
}

.manner-list {
    position: relative;
    padding-left: 25px;
}

.manner-list dt::before {
    content: counter(numberList)".";
    position: absolute;
    left: 0;
    color: #0066cc;
}

aside {
    margin-top: 30px;
}

aside h3 {
    font-size: 18px;
}

aside h3:before {
    content: "";
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    width: 16px;
    height: 12px;
    background: #0066cc;
    display: inline-block;
    vertical-align: 0.5px;
    margin-right: 4px;
}

aside li {
    margin-top: 8px;
}

/*tab~smallPc
******************/
@media (min-width: 744px) and (max-width: 1279px) {
    body {
        font-size: 15px;
    }

    #pageTitle {
        grid-template-columns: min(140px, 15%) 1fr min(140px, 15%);
        padding: 0;
    }

    #pageTitle .pageTitleInner h1 {
        font-size: 30px;
    }

    #pageTitle .pageTitleInner h1 .subText {
        font-size: 22px;
    }

    #navi>ul {
        width: 100%;
    }

    .select-box {
        font-size: 15px;
    }

    #arranger,
    #manner {
        margin-top: 60px;
    }
}

/*tab
******************/
@media (min-width:744px) and (max-width:980px) {
    #bread {
        margin: 0 15px;
    }

    #header {
        margin: 15px 15px 10px;
    }

    #main {
        margin: 0 15px;
    }

    .select-wrap {
        margin-right: 5px;
    }
}

/*sp
******************/
@media (max-width: 743px) {
    body {
        font-size: 14px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    #bread {
        font-size: 12px;
        display: flex;
        overflow-x: scroll;
        background-color: #dbdbdb;
        padding: 0;
        width: 100%;
    }

    #bread .pcarrow {
        display: none;
    }

    #bread>span {
        position: relative;
        font-size: 12px;
        vertical-align: middle;
        padding: 0 10px;
        height: 30px;
        line-height: 30px;
        white-space: nowrap;
        list-style: none;
        background-image: linear-gradient(to right, #ececec, #dbdbdb);
    }

    #bread>span:after {
        content: '';
        display: inline-block;
        position: absolute;
        margin-left: 10px;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 12px solid #dbdbdb;
        z-index: 1;
    }

    #bread>span:last-child:after {
        display: none;
    }

    #bread>span:nth-child(n+2) {
        padding-left: 20px;
    }

    #navi>ul {
        width: 100%;
    }

    #navi>ul li a {
        font-size: 13px;
        line-height: 1.3;
        padding: 0 5px;
    }

    #navi>ul li a:after {
        bottom: -6px;
    }

    #header {
        width: 100%;
        padding: 0 15px;
    }

    #header .logo img {
        width: 150px;
        height: auto;
    }

    #subNavi {
        display: none;
    }

    #pageTitle {
        grid-template-columns: min(130px, 26%) 1fr min(130px, 26%);
        justify-content: center;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    #pageTitle img {
        width: min(240px, 100%);
        margin: 0 auto;
    }

    #pageTitle .pageTitleInner {
        text-align: center;
        padding: 10px 0;
    }

    #pageTitle .pageTitleInner h1 {
        font-size: min(5.067vw, 28px);
        /* 375px基準：19px → 5.067vw（19 ÷ 375 × 100） */
        white-space: nowrap;
    }

    #pageTitle .pageTitleInner h1 .subText {
        font-size: min(4vw, 20px);
        /* 375px基準：15px → 4vw（15 ÷ 375 × 100） */
    }

    #contents-wrap {
        margin: 15px;
    }

    #simpleTool h2,
    #arranger h2,
    #manner h2 {
        padding: 12px 15px 8px;
        margin-bottom: 20px;
    }

    .simpleTool-wrap {
        padding: 15px;
    }

    .form-area {
        grid-template-columns: 1fr;
    }

    .copy-btn {
        margin-top: 15px;
    }

    #output-text {
        font-size: 14px;
    }

    .select-box {
        font-size: 14px;
        padding: 10px 23px 10px 8px;
    }

    .search {
        margin-top: 20px;
    }

    .search h3 {
        padding: 8px 10px 6px;
    }

    .search h3:before {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }

    .select-search {
        padding: 15px;
    }

    .select-search form[name="select"] {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    #arranger,
    #manner {
        margin-top: 40px;
    }

    .arranger-list dt,
    .manner-list dt,
    aside h3 {
        font-size: 16px;
    }

    .manner-cont{
        margin-top: 20px;
    }

    .arranger-cont .list,
    aside {
        padding: 15px;
        margin-top: 15px;
    }
}

/*smallSp
******************/
@media (max-width: 374px) {
    .select-search form[name="select"] {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}